Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-23 23:59:02.768440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/07/image_21012025_19_07_02_808784_0000.jpg', '/home/pi/Desktop/images/21012025/19/07/image_21012025_19_07_02_808784_0001.jpg', '/home/pi/Desktop/images/21012025/19/07/image_21012025_19_07_02_808784_0002.jpg', '/home/pi/Desktop/images/21012025/19/07/image_21012025_19_07_02_808784_0003.jpg', '/home/pi/Desktop/images/21012025/19/08/image_21012025_19_08_02_986229_0000.jpg', '/home/pi/Desktop/images/21012025/19/08/image_21012025_19_08_02_986229_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/07/image_21012025_19_07_02_808784_0000.jpg
/home/pi/Desktop/images/21012025/19/07/image_21012025_19_07_02_808784_0001.jpg
/home/pi/Desktop/images/21012025/19/07/image_21012025_19_07_02_808784_0002.jpg
/home/pi/Desktop/images/21012025/19/07/image_21012025_19_07_02_808784_0003.jpg
/home/pi/Desktop/images/21012025/19/08/image_21012025_19_08_02_986229_0000.jpg
/home/pi/Desktop/images/21012025/19/08/image_21012025_19_08_02_986229_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330893201","1330893188","1330893193","1330893202","1330893195","1330893198"],"photo_ids_order":["1330893188","1330893193","1330893195","1330893198","1330893201","1330893202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/658f3dbff54e4aebdff208f9ba44aabb.jpg","text":"TemporaryFile(/tmp/multipartBody1146660207914961202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673221036,"filename":"image_21012025_19_08_02_986229_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6395888b4ef884706a340d1b56e5e353.jpg","text":"TemporaryFile(/tmp/multipartBody2520703492911348212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673221036,"filename":"image_21012025_19_07_02_808784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/27a9f9a058da77c62bcd40b4a57d2cd1.jpg","text":"TemporaryFile(/tmp/multipartBody5469394936240125445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673221036,"filename":"image_21012025_19_07_02_808784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/27a60871670c8e38a20f92db5d6d3c12.jpg","text":"TemporaryFile(/tmp/multipartBody4998120825153483179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673221036,"filename":"image_21012025_19_08_02_986229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9dd7f13fdd60513ed174dc649c2034c9.jpg","text":"TemporaryFile(/tmp/multipartBody5493518446908769148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673221036,"filename":"image_21012025_19_07_02_808784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ea874130148ea35b5cdb2885451a377a.jpg","text":"TemporaryFile(/tmp/multipartBody1161916477744739743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673221036,"filename":"image_21012025_19_07_02_808784_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330893195","file1":"1330893193","file0":"1330893188","file4":"1330893201","file5":"1330893202","file3":"1330893198"},"map_files_photo_id_array":[{"photo_id":"1330893202","filename":"file5"},{"photo_id":"1330893195","filename":"file2"},{"photo_id":"1330893201","filename":"file4"},{"photo_id":"1330893193","filename":"file1"},{"photo_id":"1330893188","filename":"file0"},{"photo_id":"1330893198","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330893201":["hashtag1","hashtag2"]},{"1330893188":["hashtag1","hashtag2"]},{"1330893193":["hashtag1","hashtag2"]},{"1330893202":["hashtag1","hashtag2"]},{"1330893195":["hashtag1","hashtag2"]},{"1330893198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330893201, 1330893188, 1330893193, 1330893202, 1330893195, 1330893198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.850467920303345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:00:22.047808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : refus_amiens_0424_24012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19862469, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1737673282000}
533
2508272
533
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/00/image_24012025_00_00_02_208569_0000.jpg', '/home/pi/Desktop/images/24012025/00/00/image_24012025_00_00_02_208569_0001.jpg', '/home/pi/Desktop/images/24012025/00/00/image_24012025_00_00_02_208569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/00/image_24012025_00_00_02_208569_0000.jpg
/home/pi/Desktop/images/24012025/00/00/image_24012025_00_00_02_208569_0001.jpg
/home/pi/Desktop/images/24012025/00/00/image_24012025_00_00_02_208569_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330893221","1330893230","1330893226"],"photo_ids_order":["1330893221","1330893226","1330893230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d70b198f261a7e1c0f7284c691128031.jpg","text":"TemporaryFile(/tmp/multipartBody252353203399327737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673294311,"filename":"image_24012025_00_00_02_208569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21932e43747232e1e1bab04a8fd4d73d.jpg","text":"TemporaryFile(/tmp/multipartBody5012908705499439465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673294311,"filename":"image_24012025_00_00_02_208569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/688bac6342bf54324feb3ae1ebd3eb23.jpg","text":"TemporaryFile(/tmp/multipartBody6649380832198921360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673294311,"filename":"image_24012025_00_00_02_208569_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330893230","file1":"1330893226","file0":"1330893221"},"map_files_photo_id_array":[{"photo_id":"1330893230","filename":"file2"},{"photo_id":"1330893226","filename":"file1"},{"photo_id":"1330893221","filename":"file0"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330893221":["hashtag1","hashtag2"]},{"1330893230":["hashtag1","hashtag2"]},{"1330893226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330893221, 1330893230, 1330893226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.13427925109863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:01:02.902204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/08/image_21012025_19_08_02_986229_0002.jpg', '/home/pi/Desktop/images/21012025/19/08/image_21012025_19_08_02_986229_0003.jpg', '/home/pi/Desktop/images/21012025/19/09/image_21012025_19_09_02_161503_0000.jpg', '/home/pi/Desktop/images/21012025/19/09/image_21012025_19_09_02_161503_0001.jpg', '/home/pi/Desktop/images/21012025/19/09/image_21012025_19_09_02_161503_0002.jpg', '/home/pi/Desktop/images/21012025/19/09/image_21012025_19_09_02_161503_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/08/image_21012025_19_08_02_986229_0002.jpg
/home/pi/Desktop/images/21012025/19/08/image_21012025_19_08_02_986229_0003.jpg
/home/pi/Desktop/images/21012025/19/09/image_21012025_19_09_02_161503_0000.jpg
/home/pi/Desktop/images/21012025/19/09/image_21012025_19_09_02_161503_0001.jpg
/home/pi/Desktop/images/21012025/19/09/image_21012025_19_09_02_161503_0002.jpg
/home/pi/Desktop/images/21012025/19/09/image_21012025_19_09_02_161503_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330893281","1330893277","1330893271","1330893274","1330893268","1330893279"],"photo_ids_order":["1330893268","1330893271","1330893274","1330893277","1330893279","1330893281"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eba8e793629dc90731c484c7a29b8f4d.jpg","text":"TemporaryFile(/tmp/multipartBody1811763512008011361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673341016,"filename":"image_21012025_19_09_02_161503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb17e86713b05505a126ae3a3d321bf9.jpg","text":"TemporaryFile(/tmp/multipartBody7312820058412291302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673341016,"filename":"image_21012025_19_09_02_161503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/22e0b61069d0da3a13c9f57e62e843bc.jpg","text":"TemporaryFile(/tmp/multipartBody2945037713675044423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673341016,"filename":"image_21012025_19_08_02_986229_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98615ee3ce65959ea58417946b6bbee0.jpg","text":"TemporaryFile(/tmp/multipartBody5434164361829267808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673341016,"filename":"image_21012025_19_09_02_161503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9339eb5ce1f7b2ffb4f730682ade9e9c.jpg","text":"TemporaryFile(/tmp/multipartBody4427594699287967676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673341016,"filename":"image_21012025_19_08_02_986229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2541a5285fb6973cc5cf0c33dc3767a9.jpg","text":"TemporaryFile(/tmp/multipartBody3034215670206509886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673341016,"filename":"image_21012025_19_09_02_161503_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330893274","file1":"1330893271","file0":"1330893268","file4":"1330893279","file5":"1330893281","file3":"1330893277"},"map_files_photo_id_array":[{"photo_id":"1330893281","filename":"file5"},{"photo_id":"1330893274","filename":"file2"},{"photo_id":"1330893279","filename":"file4"},{"photo_id":"1330893271","filename":"file1"},{"photo_id":"1330893268","filename":"file0"},{"photo_id":"1330893277","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330893281":["hashtag1","hashtag2"]},{"1330893277":["hashtag1","hashtag2"]},{"1330893271":["hashtag1","hashtag2"]},{"1330893274":["hashtag1","hashtag2"]},{"1330893268":["hashtag1","hashtag2"]},{"1330893279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330893281, 1330893277, 1330893271, 1330893274, 1330893268, 1330893279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.641359090805054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:02:02.799194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/00/image_24012025_00_00_02_208569_0003.jpg', '/home/pi/Desktop/images/24012025/00/01/image_24012025_00_01_02_342944_0000.jpg', '/home/pi/Desktop/images/24012025/00/01/image_24012025_00_01_02_342944_0001.jpg', '/home/pi/Desktop/images/24012025/00/01/image_24012025_00_01_02_342944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/00/image_24012025_00_00_02_208569_0003.jpg
/home/pi/Desktop/images/24012025/00/01/image_24012025_00_01_02_342944_0000.jpg
/home/pi/Desktop/images/24012025/00/01/image_24012025_00_01_02_342944_0001.jpg
/home/pi/Desktop/images/24012025/00/01/image_24012025_00_01_02_342944_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330893637","1330893445","1330893646","1330893621"],"photo_ids_order":["1330893445","1330893621","1330893637","1330893646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c9e0148c4941e00958f922f96a96a915.jpg","text":"TemporaryFile(/tmp/multipartBody6625136831465108972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673394451,"filename":"image_24012025_00_01_02_342944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aed8637a589e33a1fbfd624e32d81141.jpg","text":"TemporaryFile(/tmp/multipartBody4490944090240347093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673394451,"filename":"image_24012025_00_00_02_208569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cf3755c56883c4d723e72d30cb71b82d.jpg","text":"TemporaryFile(/tmp/multipartBody2529276245527538397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673394451,"filename":"image_24012025_00_01_02_342944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0b78bb3e2dff780f94d883a99418936c.jpg","text":"TemporaryFile(/tmp/multipartBody4381379004669258975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673394451,"filename":"image_24012025_00_01_02_342944_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330893637","file1":"1330893621","file0":"1330893445","file3":"1330893646"},"map_files_photo_id_array":[{"photo_id":"1330893637","filename":"file2"},{"photo_id":"1330893621","filename":"file1"},{"photo_id":"1330893445","filename":"file0"},{"photo_id":"1330893646","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330893637":["hashtag1","hashtag2"]},{"1330893445":["hashtag1","hashtag2"]},{"1330893646":["hashtag1","hashtag2"]},{"1330893621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330893637, 1330893445, 1330893646, 1330893621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.729458808898926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:02:52.333081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/10/image_21012025_19_10_02_425575_0000.jpg', '/home/pi/Desktop/images/21012025/19/10/image_21012025_19_10_02_425575_0001.jpg', '/home/pi/Desktop/images/21012025/19/10/image_21012025_19_10_02_425575_0002.jpg', '/home/pi/Desktop/images/21012025/19/10/image_21012025_19_10_02_425575_0003.jpg', '/home/pi/Desktop/images/21012025/19/11/image_21012025_19_11_02_618470_0000.jpg', '/home/pi/Desktop/images/21012025/19/11/image_21012025_19_11_02_618470_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/10/image_21012025_19_10_02_425575_0000.jpg
/home/pi/Desktop/images/21012025/19/10/image_21012025_19_10_02_425575_0001.jpg
/home/pi/Desktop/images/21012025/19/10/image_21012025_19_10_02_425575_0002.jpg
/home/pi/Desktop/images/21012025/19/10/image_21012025_19_10_02_425575_0003.jpg
/home/pi/Desktop/images/21012025/19/11/image_21012025_19_11_02_618470_0000.jpg
/home/pi/Desktop/images/21012025/19/11/image_21012025_19_11_02_618470_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330893801","1330893818","1330893796","1330893815","1330893811","1330893807"],"photo_ids_order":["1330893796","1330893801","1330893807","1330893811","1330893815","1330893818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9ee380c4338f119f108484b8c79e1254.jpg","text":"TemporaryFile(/tmp/multipartBody2757260462412986155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673449859,"filename":"image_21012025_19_10_02_425575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab490e75473eeaf07f1b015696a244b5.jpg","text":"TemporaryFile(/tmp/multipartBody2635304868505145205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673449859,"filename":"image_21012025_19_11_02_618470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fbc892acd6483c4f234a0f868668760d.jpg","text":"TemporaryFile(/tmp/multipartBody6343658471357543939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673449859,"filename":"image_21012025_19_10_02_425575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b19e60bf4ebf722ae0349119f8601bae.jpg","text":"TemporaryFile(/tmp/multipartBody2465704152170804248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673449859,"filename":"image_21012025_19_11_02_618470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/280232950da7c383af18d5eea6fe882e.jpg","text":"TemporaryFile(/tmp/multipartBody4862368712507805374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673449859,"filename":"image_21012025_19_10_02_425575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/774dc69377f3b2fd6d60482b1315ddd7.jpg","text":"TemporaryFile(/tmp/multipartBody8782106245885894405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673449859,"filename":"image_21012025_19_10_02_425575_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330893807","file1":"1330893801","file0":"1330893796","file4":"1330893815","file5":"1330893818","file3":"1330893811"},"map_files_photo_id_array":[{"photo_id":"1330893818","filename":"file5"},{"photo_id":"1330893807","filename":"file2"},{"photo_id":"1330893815","filename":"file4"},{"photo_id":"1330893801","filename":"file1"},{"photo_id":"1330893796","filename":"file0"},{"photo_id":"1330893811","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330893801":["hashtag1","hashtag2"]},{"1330893818":["hashtag1","hashtag2"]},{"1330893796":["hashtag1","hashtag2"]},{"1330893815":["hashtag1","hashtag2"]},{"1330893811":["hashtag1","hashtag2"]},{"1330893807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330893801, 1330893818, 1330893796, 1330893815, 1330893811, 1330893807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.07707715034485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:03:52.467145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/11/image_21012025_19_11_02_618470_0002.jpg', '/home/pi/Desktop/images/21012025/19/11/image_21012025_19_11_02_618470_0003.jpg', '/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0000.jpg', '/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0001.jpg', '/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0002.jpg', '/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/11/image_21012025_19_11_02_618470_0002.jpg
/home/pi/Desktop/images/21012025/19/11/image_21012025_19_11_02_618470_0003.jpg
/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0000.jpg
/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0001.jpg
/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0002.jpg
/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.462718963623047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:04:22.642788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/01/image_24012025_00_01_02_342944_0003.jpg', '/home/pi/Desktop/images/24012025/00/02/image_24012025_00_02_02_520713_0000.jpg', '/home/pi/Desktop/images/24012025/00/02/image_24012025_00_02_02_520713_0001.jpg', '/home/pi/Desktop/images/24012025/00/02/image_24012025_00_02_02_520713_0002.jpg', '/home/pi/Desktop/images/24012025/00/02/image_24012025_00_02_02_520713_0003.jpg', '/home/pi/Desktop/images/24012025/00/03/image_24012025_00_03_02_680227_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/01/image_24012025_00_01_02_342944_0003.jpg
/home/pi/Desktop/images/24012025/00/02/image_24012025_00_02_02_520713_0000.jpg
/home/pi/Desktop/images/24012025/00/02/image_24012025_00_02_02_520713_0001.jpg
/home/pi/Desktop/images/24012025/00/02/image_24012025_00_02_02_520713_0002.jpg
/home/pi/Desktop/images/24012025/00/02/image_24012025_00_02_02_520713_0003.jpg
/home/pi/Desktop/images/24012025/00/03/image_24012025_00_03_02_680227_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330894307","1330894657","1330894660","1330894086","1330894665","1330894670"],"photo_ids_order":["1330894086","1330894307","1330894657","1330894660","1330894665","1330894670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/311c2527fd113224a383944df1c14af3.jpg","text":"TemporaryFile(/tmp/multipartBody4117756261603889268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673539539,"filename":"image_24012025_00_02_02_520713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c0ed46f2ed28be07cacc7825e5ff884.jpg","text":"TemporaryFile(/tmp/multipartBody3682549360740979572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673539539,"filename":"image_24012025_00_02_02_520713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4811b1a3f8d80d5c49e9f02032643982.jpg","text":"TemporaryFile(/tmp/multipartBody3651514579229037986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673539539,"filename":"image_24012025_00_02_02_520713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/35ffd144194edb6dd22705899f6e9317.jpg","text":"TemporaryFile(/tmp/multipartBody4963118993000749192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673539539,"filename":"image_24012025_00_01_02_342944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a3d5c2da8ae75bc99c9fc50cc2660da.jpg","text":"TemporaryFile(/tmp/multipartBody6864495772558579312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673539539,"filename":"image_24012025_00_02_02_520713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4585b1a64f6f8b60dacdf4a748eba7bc.jpg","text":"TemporaryFile(/tmp/multipartBody1216382894397573743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673539539,"filename":"image_24012025_00_03_02_680227_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330894657","file1":"1330894307","file0":"1330894086","file4":"1330894665","file5":"1330894670","file3":"1330894660"},"map_files_photo_id_array":[{"photo_id":"1330894670","filename":"file5"},{"photo_id":"1330894657","filename":"file2"},{"photo_id":"1330894665","filename":"file4"},{"photo_id":"1330894307","filename":"file1"},{"photo_id":"1330894086","filename":"file0"},{"photo_id":"1330894660","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330894307":["hashtag1","hashtag2"]},{"1330894657":["hashtag1","hashtag2"]},{"1330894660":["hashtag1","hashtag2"]},{"1330894086":["hashtag1","hashtag2"]},{"1330894665":["hashtag1","hashtag2"]},{"1330894670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330894307, 1330894657, 1330894660, 1330894086, 1330894665, 1330894670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.27617168426514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:05:51.791848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/11/image_21012025_19_11_02_618470_0002.jpg', '/home/pi/Desktop/images/21012025/19/11/image_21012025_19_11_02_618470_0003.jpg', '/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0000.jpg', '/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0001.jpg', '/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0002.jpg', '/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/11/image_21012025_19_11_02_618470_0002.jpg
/home/pi/Desktop/images/21012025/19/11/image_21012025_19_11_02_618470_0003.jpg
/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0000.jpg
/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0001.jpg
/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0002.jpg
/home/pi/Desktop/images/21012025/19/12/image_21012025_19_12_02_758560_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330895120","1330895125","1330894884","1330895124","1330894725","1330894719"],"photo_ids_order":["1330894719","1330894725","1330894884","1330895120","1330895124","1330895125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eae63b1d54d5352337ec15e0afa198e9.jpg","text":"TemporaryFile(/tmp/multipartBody720653828967130428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673629475,"filename":"image_21012025_19_12_02_758560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3f71be47d72d1b1db128be5a072b0fdb.jpg","text":"TemporaryFile(/tmp/multipartBody2934126107534172045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673629475,"filename":"image_21012025_19_12_02_758560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d3dac8ecf4f366a9098c121866887979.jpg","text":"TemporaryFile(/tmp/multipartBody2126056635676625449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673629475,"filename":"image_21012025_19_12_02_758560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/058ff4b25fac73d6499419854aa18093.jpg","text":"TemporaryFile(/tmp/multipartBody45987724027472267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673629475,"filename":"image_21012025_19_12_02_758560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2bee0bdbdea10c5d0305b307deb795fb.jpg","text":"TemporaryFile(/tmp/multipartBody4223967860011533602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673629475,"filename":"image_21012025_19_11_02_618470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/604372a32a0afae6d8454df3b743fc27.jpg","text":"TemporaryFile(/tmp/multipartBody1630747305508498896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673629475,"filename":"image_21012025_19_11_02_618470_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330894884","file1":"1330894725","file0":"1330894719","file4":"1330895124","file5":"1330895125","file3":"1330895120"},"map_files_photo_id_array":[{"photo_id":"1330895125","filename":"file5"},{"photo_id":"1330894884","filename":"file2"},{"photo_id":"1330895124","filename":"file4"},{"photo_id":"1330894725","filename":"file1"},{"photo_id":"1330894719","filename":"file0"},{"photo_id":"1330895120","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330895120":["hashtag1","hashtag2"]},{"1330895125":["hashtag1","hashtag2"]},{"1330894884":["hashtag1","hashtag2"]},{"1330895124":["hashtag1","hashtag2"]},{"1330894725":["hashtag1","hashtag2"]},{"1330894719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330895120, 1330895125, 1330894884, 1330895124, 1330894725, 1330894719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.102628231048584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:06:51.948000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/13/image_21012025_19_13_02_888489_0000.jpg', '/home/pi/Desktop/images/21012025/19/13/image_21012025_19_13_02_888489_0001.jpg', '/home/pi/Desktop/images/21012025/19/13/image_21012025_19_13_02_888489_0002.jpg', '/home/pi/Desktop/images/21012025/19/13/image_21012025_19_13_02_888489_0003.jpg', '/home/pi/Desktop/images/21012025/19/14/image_21012025_19_14_03_120251_0000.jpg', '/home/pi/Desktop/images/21012025/19/14/image_21012025_19_14_03_120251_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/13/image_21012025_19_13_02_888489_0000.jpg
/home/pi/Desktop/images/21012025/19/13/image_21012025_19_13_02_888489_0001.jpg
/home/pi/Desktop/images/21012025/19/13/image_21012025_19_13_02_888489_0002.jpg
/home/pi/Desktop/images/21012025/19/13/image_21012025_19_13_02_888489_0003.jpg
/home/pi/Desktop/images/21012025/19/14/image_21012025_19_14_03_120251_0000.jpg
/home/pi/Desktop/images/21012025/19/14/image_21012025_19_14_03_120251_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330895479","1330895458","1330895473","1330895487","1330895445","1330895465"],"photo_ids_order":["1330895445","1330895458","1330895465","1330895473","1330895479","1330895487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9beec2bc1c0dc4e0980456cffc1e9d9e.jpg","text":"TemporaryFile(/tmp/multipartBody317551306620877416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673689683,"filename":"image_21012025_19_14_03_120251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/635a9f6a6f64484b6acabfd857bc3abc.jpg","text":"TemporaryFile(/tmp/multipartBody1173408615788599847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673689683,"filename":"image_21012025_19_13_02_888489_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e128736b1a3f7fa6db9585a214b23321.jpg","text":"TemporaryFile(/tmp/multipartBody6966146551566012836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673689683,"filename":"image_21012025_19_13_02_888489_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5d64478f6a3545a45b2e6d7a9727b9b5.jpg","text":"TemporaryFile(/tmp/multipartBody7768062864076451050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673689683,"filename":"image_21012025_19_14_03_120251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1cb6c836035acb0ff7202ca83cf171a4.jpg","text":"TemporaryFile(/tmp/multipartBody3704418860612191782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673689683,"filename":"image_21012025_19_13_02_888489_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a337ef68e23532a03321c8712b563011.jpg","text":"TemporaryFile(/tmp/multipartBody2647401990415441243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673689683,"filename":"image_21012025_19_13_02_888489_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330895465","file1":"1330895458","file0":"1330895445","file4":"1330895479","file5":"1330895487","file3":"1330895473"},"map_files_photo_id_array":[{"photo_id":"1330895487","filename":"file5"},{"photo_id":"1330895465","filename":"file2"},{"photo_id":"1330895479","filename":"file4"},{"photo_id":"1330895458","filename":"file1"},{"photo_id":"1330895445","filename":"file0"},{"photo_id":"1330895473","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330895479":["hashtag1","hashtag2"]},{"1330895458":["hashtag1","hashtag2"]},{"1330895473":["hashtag1","hashtag2"]},{"1330895487":["hashtag1","hashtag2"]},{"1330895445":["hashtag1","hashtag2"]},{"1330895465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330895479, 1330895458, 1330895473, 1330895487, 1330895445, 1330895465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.74761390686035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:08:02.753053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/03/image_24012025_00_03_02_680227_0001.jpg', '/home/pi/Desktop/images/24012025/00/03/image_24012025_00_03_02_680227_0002.jpg', '/home/pi/Desktop/images/24012025/00/03/image_24012025_00_03_02_680227_0003.jpg', '/home/pi/Desktop/images/24012025/00/04/image_24012025_00_04_02_861374_0000.jpg', '/home/pi/Desktop/images/24012025/00/04/image_24012025_00_04_02_861374_0001.jpg', '/home/pi/Desktop/images/24012025/00/04/image_24012025_00_04_02_861374_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/03/image_24012025_00_03_02_680227_0001.jpg
/home/pi/Desktop/images/24012025/00/03/image_24012025_00_03_02_680227_0002.jpg
/home/pi/Desktop/images/24012025/00/03/image_24012025_00_03_02_680227_0003.jpg
/home/pi/Desktop/images/24012025/00/04/image_24012025_00_04_02_861374_0000.jpg
/home/pi/Desktop/images/24012025/00/04/image_24012025_00_04_02_861374_0001.jpg
/home/pi/Desktop/images/24012025/00/04/image_24012025_00_04_02_861374_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330895587","1330895548","1330895576","1330895567","1330895531","1330895555"],"photo_ids_order":["1330895531","1330895548","1330895555","1330895567","1330895576","1330895587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5b12acfa5bbd47f39b47d8dd41509de.jpg","text":"TemporaryFile(/tmp/multipartBody2579567769344410408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673759949,"filename":"image_24012025_00_04_02_861374_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06583fe4476a457b71681eacb84d3d0c.jpg","text":"TemporaryFile(/tmp/multipartBody1659517384489798038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673759949,"filename":"image_24012025_00_03_02_680227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/05e2bf36348fbd175b80909de4d95a27.jpg","text":"TemporaryFile(/tmp/multipartBody3807675480063942807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673759949,"filename":"image_24012025_00_04_02_861374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3eda8810d44b80bb92932cd71f1ff2e4.jpg","text":"TemporaryFile(/tmp/multipartBody8211280886357083910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673759949,"filename":"image_24012025_00_04_02_861374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7bb75754f07aad1944939bcf4677a8e0.jpg","text":"TemporaryFile(/tmp/multipartBody1874192743498636922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673759949,"filename":"image_24012025_00_03_02_680227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b86c994721803877d79f7c7495a7f418.jpg","text":"TemporaryFile(/tmp/multipartBody482583105564239248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673759949,"filename":"image_24012025_00_03_02_680227_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330895555","file1":"1330895548","file0":"1330895531","file4":"1330895576","file5":"1330895587","file3":"1330895567"},"map_files_photo_id_array":[{"photo_id":"1330895587","filename":"file5"},{"photo_id":"1330895555","filename":"file2"},{"photo_id":"1330895576","filename":"file4"},{"photo_id":"1330895548","filename":"file1"},{"photo_id":"1330895531","filename":"file0"},{"photo_id":"1330895567","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330895587":["hashtag1","hashtag2"]},{"1330895548":["hashtag1","hashtag2"]},{"1330895576":["hashtag1","hashtag2"]},{"1330895567":["hashtag1","hashtag2"]},{"1330895531":["hashtag1","hashtag2"]},{"1330895555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330895587, 1330895548, 1330895576, 1330895567, 1330895531, 1330895555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.686575174331665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:09:03.292528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/04/image_24012025_00_04_02_861374_0003.jpg', '/home/pi/Desktop/images/24012025/00/05/image_24012025_00_05_03_036072_0000.jpg', '/home/pi/Desktop/images/24012025/00/05/image_24012025_00_05_03_036072_0001.jpg', '/home/pi/Desktop/images/24012025/00/05/image_24012025_00_05_03_036072_0002.jpg', '/home/pi/Desktop/images/24012025/00/05/image_24012025_00_05_03_036072_0003.jpg', '/home/pi/Desktop/images/24012025/00/06/image_24012025_00_06_02_203844_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/04/image_24012025_00_04_02_861374_0003.jpg
/home/pi/Desktop/images/24012025/00/05/image_24012025_00_05_03_036072_0000.jpg
/home/pi/Desktop/images/24012025/00/05/image_24012025_00_05_03_036072_0001.jpg
/home/pi/Desktop/images/24012025/00/05/image_24012025_00_05_03_036072_0002.jpg
/home/pi/Desktop/images/24012025/00/05/image_24012025_00_05_03_036072_0003.jpg
/home/pi/Desktop/images/24012025/00/06/image_24012025_00_06_02_203844_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330895603","1330895620","1330895622","1330895616","1330895627","1330895609"],"photo_ids_order":["1330895603","1330895609","1330895616","1330895620","1330895622","1330895627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d8011e6df87fbd1afcde511f4780e9d.jpg","text":"TemporaryFile(/tmp/multipartBody4049940434761845172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673820321,"filename":"image_24012025_00_04_02_861374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bcec6231df1f286133ee9eea5b5012b3.jpg","text":"TemporaryFile(/tmp/multipartBody1708859404716078826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673820321,"filename":"image_24012025_00_05_03_036072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d3b8efbf55387067fa0e16e37212747b.jpg","text":"TemporaryFile(/tmp/multipartBody3625581730044130548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673820321,"filename":"image_24012025_00_05_03_036072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/84f1889eb28d0a3799198afa2ce76c0b.jpg","text":"TemporaryFile(/tmp/multipartBody420832517563728710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673820321,"filename":"image_24012025_00_05_03_036072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5c3d0026bf50425ee7625bf42ec44ed.jpg","text":"TemporaryFile(/tmp/multipartBody394511084863708951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673820321,"filename":"image_24012025_00_06_02_203844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9974900abe7af39c117b00926cb6d28c.jpg","text":"TemporaryFile(/tmp/multipartBody7555096640213291097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673820321,"filename":"image_24012025_00_05_03_036072_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330895616","file1":"1330895609","file0":"1330895603","file4":"1330895622","file5":"1330895627","file3":"1330895620"},"map_files_photo_id_array":[{"photo_id":"1330895627","filename":"file5"},{"photo_id":"1330895616","filename":"file2"},{"photo_id":"1330895622","filename":"file4"},{"photo_id":"1330895609","filename":"file1"},{"photo_id":"1330895603","filename":"file0"},{"photo_id":"1330895620","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330895603":["hashtag1","hashtag2"]},{"1330895620":["hashtag1","hashtag2"]},{"1330895622":["hashtag1","hashtag2"]},{"1330895616":["hashtag1","hashtag2"]},{"1330895627":["hashtag1","hashtag2"]},{"1330895609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330895603, 1330895620, 1330895622, 1330895616, 1330895627, 1330895609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.962488889694214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:10:03.143227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/06/image_24012025_00_06_02_203844_0001.jpg', '/home/pi/Desktop/images/24012025/00/06/image_24012025_00_06_02_203844_0002.jpg', '/home/pi/Desktop/images/24012025/00/06/image_24012025_00_06_02_203844_0003.jpg', '/home/pi/Desktop/images/24012025/00/07/image_24012025_00_07_02_348429_0000.jpg', '/home/pi/Desktop/images/24012025/00/07/image_24012025_00_07_02_348429_0001.jpg', '/home/pi/Desktop/images/24012025/00/07/image_24012025_00_07_02_348429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/06/image_24012025_00_06_02_203844_0001.jpg
/home/pi/Desktop/images/24012025/00/06/image_24012025_00_06_02_203844_0002.jpg
/home/pi/Desktop/images/24012025/00/06/image_24012025_00_06_02_203844_0003.jpg
/home/pi/Desktop/images/24012025/00/07/image_24012025_00_07_02_348429_0000.jpg
/home/pi/Desktop/images/24012025/00/07/image_24012025_00_07_02_348429_0001.jpg
/home/pi/Desktop/images/24012025/00/07/image_24012025_00_07_02_348429_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330895674","1330895683","1330895664","1330895655","1330895672","1330895642"],"photo_ids_order":["1330895642","1330895655","1330895664","1330895672","1330895674","1330895683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4866f8dfce3c8fea23ac7d29c84815b9.jpg","text":"TemporaryFile(/tmp/multipartBody7210865900318131967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673880754,"filename":"image_24012025_00_07_02_348429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47f81e793bd5f47c4004e037da6b5c21.jpg","text":"TemporaryFile(/tmp/multipartBody7679886176977652903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673880754,"filename":"image_24012025_00_07_02_348429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d5badaac87d0d7a0334769aca5c27332.jpg","text":"TemporaryFile(/tmp/multipartBody2378610791690681664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673880754,"filename":"image_24012025_00_06_02_203844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/73c98a71b92b0e8cf337ee1ad8c257a6.jpg","text":"TemporaryFile(/tmp/multipartBody899288177913730807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673880754,"filename":"image_24012025_00_06_02_203844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee340a888d0a0aa19fdab492c85a3887.jpg","text":"TemporaryFile(/tmp/multipartBody1908326908820878705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673880754,"filename":"image_24012025_00_07_02_348429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d369d06d4df06d7a9b9290051e92faf3.jpg","text":"TemporaryFile(/tmp/multipartBody3554133345670600252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673880754,"filename":"image_24012025_00_06_02_203844_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330895664","file1":"1330895655","file0":"1330895642","file4":"1330895674","file5":"1330895683","file3":"1330895672"},"map_files_photo_id_array":[{"photo_id":"1330895683","filename":"file5"},{"photo_id":"1330895664","filename":"file2"},{"photo_id":"1330895674","filename":"file4"},{"photo_id":"1330895655","filename":"file1"},{"photo_id":"1330895642","filename":"file0"},{"photo_id":"1330895672","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330895674":["hashtag1","hashtag2"]},{"1330895683":["hashtag1","hashtag2"]},{"1330895664":["hashtag1","hashtag2"]},{"1330895655":["hashtag1","hashtag2"]},{"1330895672":["hashtag1","hashtag2"]},{"1330895642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330895674, 1330895683, 1330895664, 1330895655, 1330895672, 1330895642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.83513689041138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:11:02.430813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/07/image_24012025_00_07_02_348429_0003.jpg', '/home/pi/Desktop/images/24012025/00/08/image_24012025_00_08_02_476394_0000.jpg', '/home/pi/Desktop/images/24012025/00/08/image_24012025_00_08_02_476394_0001.jpg', '/home/pi/Desktop/images/24012025/00/08/image_24012025_00_08_02_476394_0002.jpg', '/home/pi/Desktop/images/24012025/00/08/image_24012025_00_08_02_476394_0003.jpg', '/home/pi/Desktop/images/24012025/00/09/image_24012025_00_09_02_641701_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/07/image_24012025_00_07_02_348429_0003.jpg
/home/pi/Desktop/images/24012025/00/08/image_24012025_00_08_02_476394_0000.jpg
/home/pi/Desktop/images/24012025/00/08/image_24012025_00_08_02_476394_0001.jpg
/home/pi/Desktop/images/24012025/00/08/image_24012025_00_08_02_476394_0002.jpg
/home/pi/Desktop/images/24012025/00/08/image_24012025_00_08_02_476394_0003.jpg
/home/pi/Desktop/images/24012025/00/09/image_24012025_00_09_02_641701_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330895782","1330895778","1330895772","1330895751","1330895765","1330895759"],"photo_ids_order":["1330895751","1330895759","1330895765","1330895772","1330895778","1330895782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9bb59a371cf40e372f3955c096bd620c.jpg","text":"TemporaryFile(/tmp/multipartBody5633532119570956730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673939592,"filename":"image_24012025_00_09_02_641701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/300aee70103ceb3398aff45534ff8fb9.jpg","text":"TemporaryFile(/tmp/multipartBody8835986904401018677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673939592,"filename":"image_24012025_00_08_02_476394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9079d8a7f980ca49ef4f7635dedf68af.jpg","text":"TemporaryFile(/tmp/multipartBody2779242606739800050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673939592,"filename":"image_24012025_00_08_02_476394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0b181ffcd9eb1f64e32a1f3c215cf1f3.jpg","text":"TemporaryFile(/tmp/multipartBody7972945076878434321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673939592,"filename":"image_24012025_00_07_02_348429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e6ecf92f66f9906b6a4dda75d08863f1.jpg","text":"TemporaryFile(/tmp/multipartBody9148236748336860613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673939592,"filename":"image_24012025_00_08_02_476394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/61623f84e4e6d7b8b832c1546dbaea06.jpg","text":"TemporaryFile(/tmp/multipartBody6473300120405956436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673939592,"filename":"image_24012025_00_08_02_476394_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330895765","file1":"1330895759","file0":"1330895751","file4":"1330895778","file5":"1330895782","file3":"1330895772"},"map_files_photo_id_array":[{"photo_id":"1330895782","filename":"file5"},{"photo_id":"1330895765","filename":"file2"},{"photo_id":"1330895778","filename":"file4"},{"photo_id":"1330895759","filename":"file1"},{"photo_id":"1330895751","filename":"file0"},{"photo_id":"1330895772","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330895782":["hashtag1","hashtag2"]},{"1330895778":["hashtag1","hashtag2"]},{"1330895772":["hashtag1","hashtag2"]},{"1330895751":["hashtag1","hashtag2"]},{"1330895765":["hashtag1","hashtag2"]},{"1330895759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330895782, 1330895778, 1330895772, 1330895751, 1330895765, 1330895759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2108793258667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:12:02.351742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/09/image_24012025_00_09_02_641701_0001.jpg', '/home/pi/Desktop/images/24012025/00/09/image_24012025_00_09_02_641701_0002.jpg', '/home/pi/Desktop/images/24012025/00/09/image_24012025_00_09_02_641701_0003.jpg', '/home/pi/Desktop/images/24012025/00/10/image_24012025_00_10_02_967266_0000.jpg', '/home/pi/Desktop/images/24012025/00/10/image_24012025_00_10_02_967266_0001.jpg', '/home/pi/Desktop/images/24012025/00/10/image_24012025_00_10_02_967266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/09/image_24012025_00_09_02_641701_0001.jpg
/home/pi/Desktop/images/24012025/00/09/image_24012025_00_09_02_641701_0002.jpg
/home/pi/Desktop/images/24012025/00/09/image_24012025_00_09_02_641701_0003.jpg
/home/pi/Desktop/images/24012025/00/10/image_24012025_00_10_02_967266_0000.jpg
/home/pi/Desktop/images/24012025/00/10/image_24012025_00_10_02_967266_0001.jpg
/home/pi/Desktop/images/24012025/00/10/image_24012025_00_10_02_967266_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330895860","1330895842","1330895847","1330895831","1330895825","1330895819"],"photo_ids_order":["1330895819","1330895825","1330895831","1330895842","1330895847","1330895860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/13118eea9e028abe1b91d845ed6b1aaf.jpg","text":"TemporaryFile(/tmp/multipartBody2275552108281963614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673999332,"filename":"image_24012025_00_10_02_967266_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45466e6de3314e63911d302f3b821451.jpg","text":"TemporaryFile(/tmp/multipartBody6054492722795887902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673999332,"filename":"image_24012025_00_10_02_967266_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/232e345f673bc438d2a8ea03cb196162.jpg","text":"TemporaryFile(/tmp/multipartBody9193561803760953904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673999332,"filename":"image_24012025_00_10_02_967266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12c6c8e485522644455aa27127bd3183.jpg","text":"TemporaryFile(/tmp/multipartBody2672658806401313484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673999332,"filename":"image_24012025_00_09_02_641701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98e9bab6440576ee82427518af284be7.jpg","text":"TemporaryFile(/tmp/multipartBody2333152973695122152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673999332,"filename":"image_24012025_00_09_02_641701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b66e32670cef5184366a8fbb8a69dca2.jpg","text":"TemporaryFile(/tmp/multipartBody482897591052684246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673999332,"filename":"image_24012025_00_09_02_641701_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330895831","file1":"1330895825","file0":"1330895819","file4":"1330895847","file5":"1330895860","file3":"1330895842"},"map_files_photo_id_array":[{"photo_id":"1330895860","filename":"file5"},{"photo_id":"1330895831","filename":"file2"},{"photo_id":"1330895847","filename":"file4"},{"photo_id":"1330895825","filename":"file1"},{"photo_id":"1330895819","filename":"file0"},{"photo_id":"1330895842","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330895860":["hashtag1","hashtag2"]},{"1330895842":["hashtag1","hashtag2"]},{"1330895847":["hashtag1","hashtag2"]},{"1330895831":["hashtag1","hashtag2"]},{"1330895825":["hashtag1","hashtag2"]},{"1330895819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330895860, 1330895842, 1330895847, 1330895831, 1330895825, 1330895819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.65493130683899 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:13:02.672808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/10/image_24012025_00_10_02_967266_0003.jpg', '/home/pi/Desktop/images/24012025/00/11/image_24012025_00_11_03_024283_0000.jpg', '/home/pi/Desktop/images/24012025/00/11/image_24012025_00_11_03_024283_0001.jpg', '/home/pi/Desktop/images/24012025/00/11/image_24012025_00_11_03_024283_0002.jpg', '/home/pi/Desktop/images/24012025/00/11/image_24012025_00_11_03_024283_0003.jpg', '/home/pi/Desktop/images/24012025/00/12/image_24012025_00_12_02_132473_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/10/image_24012025_00_10_02_967266_0003.jpg
/home/pi/Desktop/images/24012025/00/11/image_24012025_00_11_03_024283_0000.jpg
/home/pi/Desktop/images/24012025/00/11/image_24012025_00_11_03_024283_0001.jpg
/home/pi/Desktop/images/24012025/00/11/image_24012025_00_11_03_024283_0002.jpg
/home/pi/Desktop/images/24012025/00/11/image_24012025_00_11_03_024283_0003.jpg
/home/pi/Desktop/images/24012025/00/12/image_24012025_00_12_02_132473_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330895903","1330895917","1330895895","1330895886","1330895922","1330895876"],"photo_ids_order":["1330895876","1330895886","1330895895","1330895903","1330895917","1330895922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/89e1f4ad9ade174e322e76222763a115.jpg","text":"TemporaryFile(/tmp/multipartBody1378011835888913611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674059782,"filename":"image_24012025_00_11_03_024283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2c84af0e1a98c1933f1e979bd6b5d3de.jpg","text":"TemporaryFile(/tmp/multipartBody1126607518819070234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674059782,"filename":"image_24012025_00_11_03_024283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d5cadd2beb413f71c1ce5add6ed70958.jpg","text":"TemporaryFile(/tmp/multipartBody6702937204993771382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674059782,"filename":"image_24012025_00_11_03_024283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/efa4c072aa0834a164f120576241a420.jpg","text":"TemporaryFile(/tmp/multipartBody6483727425142805946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674059782,"filename":"image_24012025_00_11_03_024283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db9b736f9626fe23b14e1e4576ae27b7.jpg","text":"TemporaryFile(/tmp/multipartBody8191015693288544126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674059782,"filename":"image_24012025_00_12_02_132473_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eb4128de7443056e3a30a3016ff2d5b4.jpg","text":"TemporaryFile(/tmp/multipartBody5247903091415002615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674059782,"filename":"image_24012025_00_10_02_967266_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330895895","file1":"1330895886","file0":"1330895876","file4":"1330895917","file5":"1330895922","file3":"1330895903"},"map_files_photo_id_array":[{"photo_id":"1330895922","filename":"file5"},{"photo_id":"1330895895","filename":"file2"},{"photo_id":"1330895917","filename":"file4"},{"photo_id":"1330895886","filename":"file1"},{"photo_id":"1330895876","filename":"file0"},{"photo_id":"1330895903","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330895903":["hashtag1","hashtag2"]},{"1330895917":["hashtag1","hashtag2"]},{"1330895895":["hashtag1","hashtag2"]},{"1330895886":["hashtag1","hashtag2"]},{"1330895922":["hashtag1","hashtag2"]},{"1330895876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330895903, 1330895917, 1330895895, 1330895886, 1330895922, 1330895876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.73121523857117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:14:02.698880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/12/image_24012025_00_12_02_132473_0001.jpg', '/home/pi/Desktop/images/24012025/00/12/image_24012025_00_12_02_132473_0002.jpg', '/home/pi/Desktop/images/24012025/00/12/image_24012025_00_12_02_132473_0003.jpg', '/home/pi/Desktop/images/24012025/00/13/image_24012025_00_13_02_367435_0000.jpg', '/home/pi/Desktop/images/24012025/00/13/image_24012025_00_13_02_367435_0001.jpg', '/home/pi/Desktop/images/24012025/00/13/image_24012025_00_13_02_367435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/12/image_24012025_00_12_02_132473_0001.jpg
/home/pi/Desktop/images/24012025/00/12/image_24012025_00_12_02_132473_0002.jpg
/home/pi/Desktop/images/24012025/00/12/image_24012025_00_12_02_132473_0003.jpg
/home/pi/Desktop/images/24012025/00/13/image_24012025_00_13_02_367435_0000.jpg
/home/pi/Desktop/images/24012025/00/13/image_24012025_00_13_02_367435_0001.jpg
/home/pi/Desktop/images/24012025/00/13/image_24012025_00_13_02_367435_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330896001","1330895989","1330895980","1330895974","1330895985","1330895966"],"photo_ids_order":["1330895966","1330895974","1330895980","1330895985","1330895989","1330896001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/41d77aff0123d4d5ac677e103b9921c5.jpg","text":"TemporaryFile(/tmp/multipartBody4612364295273039732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674120182,"filename":"image_24012025_00_13_02_367435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d46d6bb5ee6d6f2704f1a9ae701ec6e.jpg","text":"TemporaryFile(/tmp/multipartBody3423627691025303298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674120182,"filename":"image_24012025_00_13_02_367435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/acad30d9f59e4a8273de74495e57b491.jpg","text":"TemporaryFile(/tmp/multipartBody2530355021999778076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674120182,"filename":"image_24012025_00_12_02_132473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2dc2524d2beaf36a64baee6911565aa3.jpg","text":"TemporaryFile(/tmp/multipartBody7179589921759944563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674120182,"filename":"image_24012025_00_12_02_132473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee51e5041c8f6301578fe0febbc8c22c.jpg","text":"TemporaryFile(/tmp/multipartBody5178617339695254449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674120182,"filename":"image_24012025_00_13_02_367435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0e8738d1773a9d83e1c8b34d3a34eb21.jpg","text":"TemporaryFile(/tmp/multipartBody8632199657447678248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674120182,"filename":"image_24012025_00_12_02_132473_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330895980","file1":"1330895974","file0":"1330895966","file4":"1330895989","file5":"1330896001","file3":"1330895985"},"map_files_photo_id_array":[{"photo_id":"1330896001","filename":"file5"},{"photo_id":"1330895980","filename":"file2"},{"photo_id":"1330895989","filename":"file4"},{"photo_id":"1330895974","filename":"file1"},{"photo_id":"1330895966","filename":"file0"},{"photo_id":"1330895985","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330896001":["hashtag1","hashtag2"]},{"1330895989":["hashtag1","hashtag2"]},{"1330895980":["hashtag1","hashtag2"]},{"1330895974":["hashtag1","hashtag2"]},{"1330895985":["hashtag1","hashtag2"]},{"1330895966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330896001, 1330895989, 1330895980, 1330895974, 1330895985, 1330895966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.54933261871338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:15:03.236927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/13/image_24012025_00_13_02_367435_0003.jpg', '/home/pi/Desktop/images/24012025/00/14/image_24012025_00_14_02_521138_0000.jpg', '/home/pi/Desktop/images/24012025/00/14/image_24012025_00_14_02_521138_0001.jpg', '/home/pi/Desktop/images/24012025/00/14/image_24012025_00_14_02_521138_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/13/image_24012025_00_13_02_367435_0003.jpg
/home/pi/Desktop/images/24012025/00/14/image_24012025_00_14_02_521138_0000.jpg
/home/pi/Desktop/images/24012025/00/14/image_24012025_00_14_02_521138_0001.jpg
/home/pi/Desktop/images/24012025/00/14/image_24012025_00_14_02_521138_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330896151","1330896217","1330896243","1330896188"],"photo_ids_order":["1330896151","1330896188","1330896217","1330896243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c789babc0f7be8f90786c5faaba95fdf.jpg","text":"TemporaryFile(/tmp/multipartBody8902014101112091256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674174731,"filename":"image_24012025_00_13_02_367435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/926f4961d9bdd57a4ac3ff9f80dddc8b.jpg","text":"TemporaryFile(/tmp/multipartBody2169691859156303790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674174731,"filename":"image_24012025_00_14_02_521138_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e090e3a32d9e7be47b93866784c90905.jpg","text":"TemporaryFile(/tmp/multipartBody3454497392536505975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674174731,"filename":"image_24012025_00_14_02_521138_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b9cad7db3a87a6134fdc8ff79eb4bb99.jpg","text":"TemporaryFile(/tmp/multipartBody6328715065851639734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674174731,"filename":"image_24012025_00_14_02_521138_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330896217","file1":"1330896188","file0":"1330896151","file3":"1330896243"},"map_files_photo_id_array":[{"photo_id":"1330896217","filename":"file2"},{"photo_id":"1330896188","filename":"file1"},{"photo_id":"1330896151","filename":"file0"},{"photo_id":"1330896243","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330896151":["hashtag1","hashtag2"]},{"1330896217":["hashtag1","hashtag2"]},{"1330896243":["hashtag1","hashtag2"]},{"1330896188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330896151, 1330896217, 1330896243, 1330896188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.28325128555298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:15:52.464228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/14/image_21012025_19_14_03_120251_0002.jpg', '/home/pi/Desktop/images/21012025/19/14/image_21012025_19_14_03_120251_0003.jpg', '/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0000.jpg', '/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0001.jpg', '/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0002.jpg', '/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/14/image_21012025_19_14_03_120251_0002.jpg
/home/pi/Desktop/images/21012025/19/14/image_21012025_19_14_03_120251_0003.jpg
/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0000.jpg
/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0001.jpg
/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0002.jpg
/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.774949312210083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:16:22.800044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/14/image_24012025_00_14_02_521138_0003.jpg', '/home/pi/Desktop/images/24012025/00/15/image_24012025_00_15_02_653403_0000.jpg', '/home/pi/Desktop/images/24012025/00/15/image_24012025_00_15_02_653403_0001.jpg', '/home/pi/Desktop/images/24012025/00/15/image_24012025_00_15_02_653403_0002.jpg', '/home/pi/Desktop/images/24012025/00/15/image_24012025_00_15_02_653403_0003.jpg', '/home/pi/Desktop/images/24012025/00/16/image_24012025_00_16_02_887106_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/14/image_24012025_00_14_02_521138_0003.jpg
/home/pi/Desktop/images/24012025/00/15/image_24012025_00_15_02_653403_0000.jpg
/home/pi/Desktop/images/24012025/00/15/image_24012025_00_15_02_653403_0001.jpg
/home/pi/Desktop/images/24012025/00/15/image_24012025_00_15_02_653403_0002.jpg
/home/pi/Desktop/images/24012025/00/15/image_24012025_00_15_02_653403_0003.jpg
/home/pi/Desktop/images/24012025/00/16/image_24012025_00_16_02_887106_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330896400","1330896375","1330896369","1330896360","1330896363","1330896407"],"photo_ids_order":["1330896360","1330896363","1330896369","1330896375","1330896400","1330896407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1b9f759709d2ca9b02de9c574636f633.jpg","text":"TemporaryFile(/tmp/multipartBody5097085619873006718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674259698,"filename":"image_24012025_00_15_02_653403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f3255a05fe99072f7ba5db86e81f4370.jpg","text":"TemporaryFile(/tmp/multipartBody1935114203661253631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674259698,"filename":"image_24012025_00_15_02_653403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f22d415d6bba359cdd8c0ed72c43a06d.jpg","text":"TemporaryFile(/tmp/multipartBody8028808368400387538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674259698,"filename":"image_24012025_00_15_02_653403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e5318556807030a4ad00a5923cb9203b.jpg","text":"TemporaryFile(/tmp/multipartBody7162046769417497223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674259698,"filename":"image_24012025_00_14_02_521138_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d8fcac4882b2c9218139775bd49105a8.jpg","text":"TemporaryFile(/tmp/multipartBody6448553807167817443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674259698,"filename":"image_24012025_00_15_02_653403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e1981e3a4f1917cddafacb1264c8ad98.jpg","text":"TemporaryFile(/tmp/multipartBody6335148986773490110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674259698,"filename":"image_24012025_00_16_02_887106_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330896369","file1":"1330896363","file0":"1330896360","file4":"1330896400","file5":"1330896407","file3":"1330896375"},"map_files_photo_id_array":[{"photo_id":"1330896407","filename":"file5"},{"photo_id":"1330896369","filename":"file2"},{"photo_id":"1330896400","filename":"file4"},{"photo_id":"1330896363","filename":"file1"},{"photo_id":"1330896360","filename":"file0"},{"photo_id":"1330896375","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330896400":["hashtag1","hashtag2"]},{"1330896375":["hashtag1","hashtag2"]},{"1330896369":["hashtag1","hashtag2"]},{"1330896360":["hashtag1","hashtag2"]},{"1330896363":["hashtag1","hashtag2"]},{"1330896407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330896400, 1330896375, 1330896369, 1330896360, 1330896363, 1330896407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.36275601387024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:17:21.805044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/16/image_24012025_00_16_02_887106_0001.jpg', '/home/pi/Desktop/images/24012025/00/16/image_24012025_00_16_02_887106_0002.jpg', '/home/pi/Desktop/images/24012025/00/16/image_24012025_00_16_02_887106_0003.jpg', '/home/pi/Desktop/images/24012025/00/17/image_24012025_00_17_03_015844_0000.jpg', '/home/pi/Desktop/images/24012025/00/17/image_24012025_00_17_03_015844_0001.jpg', '/home/pi/Desktop/images/24012025/00/17/image_24012025_00_17_03_015844_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/16/image_24012025_00_16_02_887106_0001.jpg
/home/pi/Desktop/images/24012025/00/16/image_24012025_00_16_02_887106_0002.jpg
/home/pi/Desktop/images/24012025/00/16/image_24012025_00_16_02_887106_0003.jpg
/home/pi/Desktop/images/24012025/00/17/image_24012025_00_17_03_015844_0000.jpg
/home/pi/Desktop/images/24012025/00/17/image_24012025_00_17_03_015844_0001.jpg
/home/pi/Desktop/images/24012025/00/17/image_24012025_00_17_03_015844_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330896433","1330896456","1330896441","1330896444","1330896438","1330896446"],"photo_ids_order":["1330896433","1330896438","1330896441","1330896444","1330896446","1330896456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f0013097032819612a4b76c7e154c29.jpg","text":"TemporaryFile(/tmp/multipartBody3736860146647147057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674318830,"filename":"image_24012025_00_16_02_887106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f3d5fb274001b66e195c21d354ebabee.jpg","text":"TemporaryFile(/tmp/multipartBody7235268737833291172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674318830,"filename":"image_24012025_00_17_03_015844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c0c3e9d43f7017de8edfea8d990434dd.jpg","text":"TemporaryFile(/tmp/multipartBody1378897859642260734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674318830,"filename":"image_24012025_00_16_02_887106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ddaf97d5877ba992688973a74787ff9.jpg","text":"TemporaryFile(/tmp/multipartBody4072682278337797908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674318830,"filename":"image_24012025_00_17_03_015844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4cad7936240fdf9656892802a36685f7.jpg","text":"TemporaryFile(/tmp/multipartBody6119486176924029652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674318830,"filename":"image_24012025_00_16_02_887106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40a088e91b8465cb8bb1f56a29e21f24.jpg","text":"TemporaryFile(/tmp/multipartBody4282324871077021549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674318830,"filename":"image_24012025_00_17_03_015844_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330896441","file1":"1330896438","file0":"1330896433","file4":"1330896446","file5":"1330896456","file3":"1330896444"},"map_files_photo_id_array":[{"photo_id":"1330896456","filename":"file5"},{"photo_id":"1330896441","filename":"file2"},{"photo_id":"1330896446","filename":"file4"},{"photo_id":"1330896438","filename":"file1"},{"photo_id":"1330896433","filename":"file0"},{"photo_id":"1330896444","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330896433":["hashtag1","hashtag2"]},{"1330896456":["hashtag1","hashtag2"]},{"1330896441":["hashtag1","hashtag2"]},{"1330896444":["hashtag1","hashtag2"]},{"1330896438":["hashtag1","hashtag2"]},{"1330896446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330896433, 1330896456, 1330896441, 1330896444, 1330896438, 1330896446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.933491468429565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:18:22.056588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/17/image_24012025_00_17_03_015844_0003.jpg', '/home/pi/Desktop/images/24012025/00/18/image_24012025_00_18_02_266447_0000.jpg', '/home/pi/Desktop/images/24012025/00/18/image_24012025_00_18_02_266447_0001.jpg', '/home/pi/Desktop/images/24012025/00/18/image_24012025_00_18_02_266447_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/17/image_24012025_00_17_03_015844_0003.jpg
/home/pi/Desktop/images/24012025/00/18/image_24012025_00_18_02_266447_0000.jpg
/home/pi/Desktop/images/24012025/00/18/image_24012025_00_18_02_266447_0001.jpg
/home/pi/Desktop/images/24012025/00/18/image_24012025_00_18_02_266447_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330896541","1330896551","1330896548","1330896527"],"photo_ids_order":["1330896527","1330896541","1330896548","1330896551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c52993fa40190cfa9262a27fe3e51879.jpg","text":"TemporaryFile(/tmp/multipartBody6658801646342904448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674373216,"filename":"image_24012025_00_18_02_266447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da2e95fa8e977ab02b65363a368bac9e.jpg","text":"TemporaryFile(/tmp/multipartBody6376562682214775781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674373216,"filename":"image_24012025_00_18_02_266447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/322aa86501dd44ac22f3edb4c07cfefb.jpg","text":"TemporaryFile(/tmp/multipartBody4237495491975974578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674373216,"filename":"image_24012025_00_18_02_266447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c38cd3297f304b478afdf7914dedfcdc.jpg","text":"TemporaryFile(/tmp/multipartBody6442083789629991455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674373216,"filename":"image_24012025_00_17_03_015844_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330896548","file1":"1330896541","file0":"1330896527","file3":"1330896551"},"map_files_photo_id_array":[{"photo_id":"1330896548","filename":"file2"},{"photo_id":"1330896541","filename":"file1"},{"photo_id":"1330896527","filename":"file0"},{"photo_id":"1330896551","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330896541":["hashtag1","hashtag2"]},{"1330896551":["hashtag1","hashtag2"]},{"1330896548":["hashtag1","hashtag2"]},{"1330896527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330896541, 1330896551, 1330896548, 1330896527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.767765283584595 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:19:22.236967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/18/image_24012025_00_18_02_266447_0003.jpg', '/home/pi/Desktop/images/24012025/00/19/image_24012025_00_19_02_426187_0000.jpg', '/home/pi/Desktop/images/24012025/00/19/image_24012025_00_19_02_426187_0001.jpg', '/home/pi/Desktop/images/24012025/00/19/image_24012025_00_19_02_426187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/18/image_24012025_00_18_02_266447_0003.jpg
/home/pi/Desktop/images/24012025/00/19/image_24012025_00_19_02_426187_0000.jpg
/home/pi/Desktop/images/24012025/00/19/image_24012025_00_19_02_426187_0001.jpg
/home/pi/Desktop/images/24012025/00/19/image_24012025_00_19_02_426187_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330896610","1330896607","1330896612","1330896605"],"photo_ids_order":["1330896605","1330896607","1330896610","1330896612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/caa406e2dadf43b398fba157612a73db.jpg","text":"TemporaryFile(/tmp/multipartBody8173320420122326692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674434083,"filename":"image_24012025_00_19_02_426187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2f4fa43efbc570ab3cd2d2c69d5772aa.jpg","text":"TemporaryFile(/tmp/multipartBody1217334364962047729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674434083,"filename":"image_24012025_00_19_02_426187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e4208d0675d915bca32ad296df1af046.jpg","text":"TemporaryFile(/tmp/multipartBody6077468755476684806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674434083,"filename":"image_24012025_00_19_02_426187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/44e2985203d1c64dc20d592e7e0b83e1.jpg","text":"TemporaryFile(/tmp/multipartBody8200412541775619969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674434083,"filename":"image_24012025_00_18_02_266447_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330896610","file1":"1330896607","file0":"1330896605","file3":"1330896612"},"map_files_photo_id_array":[{"photo_id":"1330896610","filename":"file2"},{"photo_id":"1330896607","filename":"file1"},{"photo_id":"1330896605","filename":"file0"},{"photo_id":"1330896612","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330896610":["hashtag1","hashtag2"]},{"1330896607":["hashtag1","hashtag2"]},{"1330896612":["hashtag1","hashtag2"]},{"1330896605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330896610, 1330896607, 1330896612, 1330896605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.542272329330444 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:20:22.450804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/19/image_24012025_00_19_02_426187_0003.jpg', '/home/pi/Desktop/images/24012025/00/20/image_24012025_00_20_02_671963_0000.jpg', '/home/pi/Desktop/images/24012025/00/20/image_24012025_00_20_02_671963_0001.jpg', '/home/pi/Desktop/images/24012025/00/20/image_24012025_00_20_02_671963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/19/image_24012025_00_19_02_426187_0003.jpg
/home/pi/Desktop/images/24012025/00/20/image_24012025_00_20_02_671963_0000.jpg
/home/pi/Desktop/images/24012025/00/20/image_24012025_00_20_02_671963_0001.jpg
/home/pi/Desktop/images/24012025/00/20/image_24012025_00_20_02_671963_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330896649","1330896642","1330896653","1330896646"],"photo_ids_order":["1330896642","1330896646","1330896649","1330896653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fe51e59e6b05853ea36f5e97ee708a67.jpg","text":"TemporaryFile(/tmp/multipartBody5167341636408927178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674493891,"filename":"image_24012025_00_20_02_671963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/941521c1ae3f55f47116c86243ff2305.jpg","text":"TemporaryFile(/tmp/multipartBody1299870468393551072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674493891,"filename":"image_24012025_00_19_02_426187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e6f2d2b8ec09e4d7edf05e5b516b330d.jpg","text":"TemporaryFile(/tmp/multipartBody7780222822248192202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674493891,"filename":"image_24012025_00_20_02_671963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d6566425298ef35e45e25fee5c47b226.jpg","text":"TemporaryFile(/tmp/multipartBody5141632949417760219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674493891,"filename":"image_24012025_00_20_02_671963_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330896649","file1":"1330896646","file0":"1330896642","file3":"1330896653"},"map_files_photo_id_array":[{"photo_id":"1330896649","filename":"file2"},{"photo_id":"1330896646","filename":"file1"},{"photo_id":"1330896642","filename":"file0"},{"photo_id":"1330896653","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330896649":["hashtag1","hashtag2"]},{"1330896642":["hashtag1","hashtag2"]},{"1330896653":["hashtag1","hashtag2"]},{"1330896646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330896649, 1330896642, 1330896653, 1330896646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.039910554885864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:21:22.612497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/20/image_24012025_00_20_02_671963_0003.jpg', '/home/pi/Desktop/images/24012025/00/21/image_24012025_00_21_02_878138_0000.jpg', '/home/pi/Desktop/images/24012025/00/21/image_24012025_00_21_02_878138_0001.jpg', '/home/pi/Desktop/images/24012025/00/21/image_24012025_00_21_02_878138_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/20/image_24012025_00_20_02_671963_0003.jpg
/home/pi/Desktop/images/24012025/00/21/image_24012025_00_21_02_878138_0000.jpg
/home/pi/Desktop/images/24012025/00/21/image_24012025_00_21_02_878138_0001.jpg
/home/pi/Desktop/images/24012025/00/21/image_24012025_00_21_02_878138_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330896700","1330896678","1330896686","1330896682"],"photo_ids_order":["1330896678","1330896682","1330896686","1330896700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d46abbe5df142d807bd947f19f7999cc.jpg","text":"TemporaryFile(/tmp/multipartBody6156292727674939470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674554007,"filename":"image_24012025_00_21_02_878138_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/709e3092ddffb8ce823887fdffe4bf56.jpg","text":"TemporaryFile(/tmp/multipartBody5903305230070778672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674554007,"filename":"image_24012025_00_20_02_671963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a60541c6fda1f27425c5e31201b5dce.jpg","text":"TemporaryFile(/tmp/multipartBody1777935597365591365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674554007,"filename":"image_24012025_00_21_02_878138_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/77bec2d33cb41cba8c210572fef480af.jpg","text":"TemporaryFile(/tmp/multipartBody6120029314867997325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674554007,"filename":"image_24012025_00_21_02_878138_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330896686","file1":"1330896682","file0":"1330896678","file3":"1330896700"},"map_files_photo_id_array":[{"photo_id":"1330896686","filename":"file2"},{"photo_id":"1330896682","filename":"file1"},{"photo_id":"1330896678","filename":"file0"},{"photo_id":"1330896700","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330896700":["hashtag1","hashtag2"]},{"1330896678":["hashtag1","hashtag2"]},{"1330896686":["hashtag1","hashtag2"]},{"1330896682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330896700, 1330896678, 1330896686, 1330896682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.998589515686035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:22:21.770891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/21/image_24012025_00_21_02_878138_0003.jpg', '/home/pi/Desktop/images/24012025/00/22/image_24012025_00_22_03_051895_0000.jpg', '/home/pi/Desktop/images/24012025/00/22/image_24012025_00_22_03_051895_0001.jpg', '/home/pi/Desktop/images/24012025/00/22/image_24012025_00_22_03_051895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/21/image_24012025_00_21_02_878138_0003.jpg
/home/pi/Desktop/images/24012025/00/22/image_24012025_00_22_03_051895_0000.jpg
/home/pi/Desktop/images/24012025/00/22/image_24012025_00_22_03_051895_0001.jpg
/home/pi/Desktop/images/24012025/00/22/image_24012025_00_22_03_051895_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330896777","1330896779","1330896773","1330896781"],"photo_ids_order":["1330896773","1330896777","1330896779","1330896781"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/26a2e0717890548a9a5841f1b034205c.jpg","text":"TemporaryFile(/tmp/multipartBody8145992434562983401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674613120,"filename":"image_24012025_00_22_03_051895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/521ff44561cd0e30a7822804eafce4a6.jpg","text":"TemporaryFile(/tmp/multipartBody3222673062496252288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674613120,"filename":"image_24012025_00_22_03_051895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6d49131557f45f46e66f127b2ffd7472.jpg","text":"TemporaryFile(/tmp/multipartBody9028684723901670528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674613120,"filename":"image_24012025_00_21_02_878138_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0e055df4b18d305a0380369c335accf1.jpg","text":"TemporaryFile(/tmp/multipartBody6926480533926744525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674613120,"filename":"image_24012025_00_22_03_051895_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330896779","file1":"1330896777","file0":"1330896773","file3":"1330896781"},"map_files_photo_id_array":[{"photo_id":"1330896779","filename":"file2"},{"photo_id":"1330896777","filename":"file1"},{"photo_id":"1330896773","filename":"file0"},{"photo_id":"1330896781","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330896777":["hashtag1","hashtag2"]},{"1330896779":["hashtag1","hashtag2"]},{"1330896773":["hashtag1","hashtag2"]},{"1330896781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330896777, 1330896779, 1330896773, 1330896781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75809693336487 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:23:21.964680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/22/image_24012025_00_22_03_051895_0003.jpg', '/home/pi/Desktop/images/24012025/00/23/image_24012025_00_23_02_198136_0000.jpg', '/home/pi/Desktop/images/24012025/00/23/image_24012025_00_23_02_198136_0001.jpg', '/home/pi/Desktop/images/24012025/00/23/image_24012025_00_23_02_198136_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/22/image_24012025_00_22_03_051895_0003.jpg
/home/pi/Desktop/images/24012025/00/23/image_24012025_00_23_02_198136_0000.jpg
/home/pi/Desktop/images/24012025/00/23/image_24012025_00_23_02_198136_0001.jpg
/home/pi/Desktop/images/24012025/00/23/image_24012025_00_23_02_198136_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330896860","1330896863","1330896857","1330896865"],"photo_ids_order":["1330896857","1330896860","1330896863","1330896865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e7c5706bb8f1fde62f756de2edeb642.jpg","text":"TemporaryFile(/tmp/multipartBody7492298835286482078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674673751,"filename":"image_24012025_00_23_02_198136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad4c886b5cd21915a527005ec7b1d2c5.jpg","text":"TemporaryFile(/tmp/multipartBody5046471181494392247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674673751,"filename":"image_24012025_00_23_02_198136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2dfffda0fbde51d97c6cec6935a89cba.jpg","text":"TemporaryFile(/tmp/multipartBody7702507573569136145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674673751,"filename":"image_24012025_00_22_03_051895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb9e5fe42aae93032c097debe6626faa.jpg","text":"TemporaryFile(/tmp/multipartBody2159101976569024179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674673751,"filename":"image_24012025_00_23_02_198136_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330896863","file1":"1330896860","file0":"1330896857","file3":"1330896865"},"map_files_photo_id_array":[{"photo_id":"1330896863","filename":"file2"},{"photo_id":"1330896860","filename":"file1"},{"photo_id":"1330896857","filename":"file0"},{"photo_id":"1330896865","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330896860":["hashtag1","hashtag2"]},{"1330896863":["hashtag1","hashtag2"]},{"1330896857":["hashtag1","hashtag2"]},{"1330896865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330896860, 1330896863, 1330896857, 1330896865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.61564826965332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:24:22.143262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/23/image_24012025_00_23_02_198136_0003.jpg', '/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0000.jpg', '/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0001.jpg', '/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/23/image_24012025_00_23_02_198136_0003.jpg
/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0000.jpg
/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0001.jpg
/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.26061224937439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:24:52.183273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/14/image_21012025_19_14_03_120251_0002.jpg', '/home/pi/Desktop/images/21012025/19/14/image_21012025_19_14_03_120251_0003.jpg', '/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0000.jpg', '/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0001.jpg', '/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0002.jpg', '/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/14/image_21012025_19_14_03_120251_0002.jpg
/home/pi/Desktop/images/21012025/19/14/image_21012025_19_14_03_120251_0003.jpg
/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0000.jpg
/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0001.jpg
/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0002.jpg
/home/pi/Desktop/images/21012025/19/15/image_21012025_19_15_02_297938_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330897018","1330897059","1330897052","1330897046","1330897040","1330897034"],"photo_ids_order":["1330897018","1330897034","1330897040","1330897046","1330897052","1330897059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/557edb797b9600eeaecd954afaa0e43d.jpg","text":"TemporaryFile(/tmp/multipartBody3139641502457800129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674770241,"filename":"image_21012025_19_14_03_120251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d98baeec29d77fe518f7ddfb2a19e014.jpg","text":"TemporaryFile(/tmp/multipartBody8001184592925479098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674770241,"filename":"image_21012025_19_15_02_297938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1dca6a509573d8af5b7e1c077df8ffaf.jpg","text":"TemporaryFile(/tmp/multipartBody6546059486935100185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674770241,"filename":"image_21012025_19_15_02_297938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc15dbd67c2707e7780036bf62917aea.jpg","text":"TemporaryFile(/tmp/multipartBody3447432125015648404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674770241,"filename":"image_21012025_19_15_02_297938_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f0bf28d0e5aa7951e2cd5bef6d2362c.jpg","text":"TemporaryFile(/tmp/multipartBody2513736907888845653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674770241,"filename":"image_21012025_19_15_02_297938_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/24644b08446b7b17a1fdb07f1d9d45f4.jpg","text":"TemporaryFile(/tmp/multipartBody2125701169554724108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674770241,"filename":"image_21012025_19_14_03_120251_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330897040","file1":"1330897034","file0":"1330897018","file4":"1330897052","file5":"1330897059","file3":"1330897046"},"map_files_photo_id_array":[{"photo_id":"1330897059","filename":"file5"},{"photo_id":"1330897040","filename":"file2"},{"photo_id":"1330897052","filename":"file4"},{"photo_id":"1330897034","filename":"file1"},{"photo_id":"1330897018","filename":"file0"},{"photo_id":"1330897046","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330897018":["hashtag1","hashtag2"]},{"1330897059":["hashtag1","hashtag2"]},{"1330897052":["hashtag1","hashtag2"]},{"1330897046":["hashtag1","hashtag2"]},{"1330897040":["hashtag1","hashtag2"]},{"1330897034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330897018, 1330897059, 1330897052, 1330897046, 1330897040, 1330897034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.98542404174805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:25:52.333959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0000.jpg', '/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0001.jpg', '/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0002.jpg', '/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0003.jpg', '/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0000.jpg', '/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0000.jpg
/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0001.jpg
/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0002.jpg
/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0003.jpg
/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0000.jpg
/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.05201554298401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:26:22.551551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/23/image_24012025_00_23_02_198136_0003.jpg', '/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0000.jpg', '/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0001.jpg', '/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0002.jpg', '/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0003.jpg', '/home/pi/Desktop/images/24012025/00/25/image_24012025_00_25_02_547940_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/23/image_24012025_00_23_02_198136_0003.jpg
/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0000.jpg
/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0001.jpg
/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0002.jpg
/home/pi/Desktop/images/24012025/00/24/image_24012025_00_24_02_382326_0003.jpg
/home/pi/Desktop/images/24012025/00/25/image_24012025_00_25_02_547940_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330897190","1330897157","1330897220","1330897222","1330897216","1330897231"],"photo_ids_order":["1330897157","1330897190","1330897216","1330897220","1330897222","1330897231"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/11e18ea5d30d50d7d4f7fadeba475587.jpg","text":"TemporaryFile(/tmp/multipartBody862972660838631659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674859245,"filename":"image_24012025_00_24_02_382326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b61690edefa0ec6d0a8dac17baca433d.jpg","text":"TemporaryFile(/tmp/multipartBody3180161208316108181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674859245,"filename":"image_24012025_00_23_02_198136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/31c9abb2a01ca0538c31d15a345ccf2d.jpg","text":"TemporaryFile(/tmp/multipartBody165573810559700468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674859245,"filename":"image_24012025_00_24_02_382326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/453e600971a22323121cab8526b1d0e8.jpg","text":"TemporaryFile(/tmp/multipartBody5710463466737317245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674859245,"filename":"image_24012025_00_24_02_382326_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e9afdda2610882d7c39c9275fc54695e.jpg","text":"TemporaryFile(/tmp/multipartBody4705624668119357561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674859245,"filename":"image_24012025_00_24_02_382326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f7ee63ba3496481964510ee48d07aca.jpg","text":"TemporaryFile(/tmp/multipartBody5003042758542908042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674859245,"filename":"image_24012025_00_25_02_547940_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330897216","file1":"1330897190","file0":"1330897157","file4":"1330897222","file5":"1330897231","file3":"1330897220"},"map_files_photo_id_array":[{"photo_id":"1330897231","filename":"file5"},{"photo_id":"1330897216","filename":"file2"},{"photo_id":"1330897222","filename":"file4"},{"photo_id":"1330897190","filename":"file1"},{"photo_id":"1330897157","filename":"file0"},{"photo_id":"1330897220","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330897190":["hashtag1","hashtag2"]},{"1330897157":["hashtag1","hashtag2"]},{"1330897220":["hashtag1","hashtag2"]},{"1330897222":["hashtag1","hashtag2"]},{"1330897216":["hashtag1","hashtag2"]},{"1330897231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330897190, 1330897157, 1330897220, 1330897222, 1330897216, 1330897231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.30928897857666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:27:22.697404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/25/image_24012025_00_25_02_547940_0001.jpg', '/home/pi/Desktop/images/24012025/00/25/image_24012025_00_25_02_547940_0002.jpg', '/home/pi/Desktop/images/24012025/00/25/image_24012025_00_25_02_547940_0003.jpg', '/home/pi/Desktop/images/24012025/00/26/image_24012025_00_26_02_700086_0000.jpg', '/home/pi/Desktop/images/24012025/00/26/image_24012025_00_26_02_700086_0001.jpg', '/home/pi/Desktop/images/24012025/00/26/image_24012025_00_26_02_700086_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/25/image_24012025_00_25_02_547940_0001.jpg
/home/pi/Desktop/images/24012025/00/25/image_24012025_00_25_02_547940_0002.jpg
/home/pi/Desktop/images/24012025/00/25/image_24012025_00_25_02_547940_0003.jpg
/home/pi/Desktop/images/24012025/00/26/image_24012025_00_26_02_700086_0000.jpg
/home/pi/Desktop/images/24012025/00/26/image_24012025_00_26_02_700086_0001.jpg
/home/pi/Desktop/images/24012025/00/26/image_24012025_00_26_02_700086_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330897326","1330897317","1330897340","1330897301","1330897366","1330897348"],"photo_ids_order":["1330897301","1330897317","1330897326","1330897340","1330897348","1330897366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/83c113576a10d67763931be68538b85e.jpg","text":"TemporaryFile(/tmp/multipartBody8218597622707444302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674919206,"filename":"image_24012025_00_25_02_547940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/61d5b8ea48a5cd67baa736f356904c6d.jpg","text":"TemporaryFile(/tmp/multipartBody3186656620376582590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674919206,"filename":"image_24012025_00_25_02_547940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c3b41fb0ed6b86e80da21bc4a143300.jpg","text":"TemporaryFile(/tmp/multipartBody7459152941639912486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674919206,"filename":"image_24012025_00_26_02_700086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b856f7a3b380dfc054fd66b70472454.jpg","text":"TemporaryFile(/tmp/multipartBody2751363874413404632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674919206,"filename":"image_24012025_00_25_02_547940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0be8bb232617da3c589a533ce602ef26.jpg","text":"TemporaryFile(/tmp/multipartBody7117982337003007187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674919206,"filename":"image_24012025_00_26_02_700086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c38ef2e8b433ea5872f8e66eb56443fd.jpg","text":"TemporaryFile(/tmp/multipartBody5249091379500083828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674919206,"filename":"image_24012025_00_26_02_700086_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330897326","file1":"1330897317","file0":"1330897301","file4":"1330897348","file5":"1330897366","file3":"1330897340"},"map_files_photo_id_array":[{"photo_id":"1330897366","filename":"file5"},{"photo_id":"1330897326","filename":"file2"},{"photo_id":"1330897348","filename":"file4"},{"photo_id":"1330897317","filename":"file1"},{"photo_id":"1330897301","filename":"file0"},{"photo_id":"1330897340","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330897326":["hashtag1","hashtag2"]},{"1330897317":["hashtag1","hashtag2"]},{"1330897340":["hashtag1","hashtag2"]},{"1330897301":["hashtag1","hashtag2"]},{"1330897366":["hashtag1","hashtag2"]},{"1330897348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330897326, 1330897317, 1330897340, 1330897301, 1330897366, 1330897348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75612187385559 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:28:21.926321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/26/image_24012025_00_26_02_700086_0003.jpg', '/home/pi/Desktop/images/24012025/00/27/image_24012025_00_27_02_958788_0000.jpg', '/home/pi/Desktop/images/24012025/00/27/image_24012025_00_27_02_958788_0001.jpg', '/home/pi/Desktop/images/24012025/00/27/image_24012025_00_27_02_958788_0002.jpg', '/home/pi/Desktop/images/24012025/00/27/image_24012025_00_27_02_958788_0003.jpg', '/home/pi/Desktop/images/24012025/00/28/image_24012025_00_28_03_117953_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/26/image_24012025_00_26_02_700086_0003.jpg
/home/pi/Desktop/images/24012025/00/27/image_24012025_00_27_02_958788_0000.jpg
/home/pi/Desktop/images/24012025/00/27/image_24012025_00_27_02_958788_0001.jpg
/home/pi/Desktop/images/24012025/00/27/image_24012025_00_27_02_958788_0002.jpg
/home/pi/Desktop/images/24012025/00/27/image_24012025_00_27_02_958788_0003.jpg
/home/pi/Desktop/images/24012025/00/28/image_24012025_00_28_03_117953_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330897408","1330897454","1330897448","1330897421","1330897441","1330897444"],"photo_ids_order":["1330897408","1330897421","1330897441","1330897444","1330897448","1330897454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/393bfe2a01d86aeecc17d15dcb6d8fa0.jpg","text":"TemporaryFile(/tmp/multipartBody2807762055202627499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674978578,"filename":"image_24012025_00_26_02_700086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0cb7c00a997239f6c48399ea8a449e3.jpg","text":"TemporaryFile(/tmp/multipartBody8630752406697427921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674978578,"filename":"image_24012025_00_28_03_117953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34c048361ecf70cc32598bba3b535085.jpg","text":"TemporaryFile(/tmp/multipartBody8827874757203341048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674978578,"filename":"image_24012025_00_27_02_958788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/216af0245f04a515dcd8ce0ca3825528.jpg","text":"TemporaryFile(/tmp/multipartBody2609522255378742371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674978578,"filename":"image_24012025_00_27_02_958788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/99efeda10605e058e57d95ac521a38f9.jpg","text":"TemporaryFile(/tmp/multipartBody9105685523813868443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674978578,"filename":"image_24012025_00_27_02_958788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8249abe8bd8e745daa19dda6acd3b26c.jpg","text":"TemporaryFile(/tmp/multipartBody574586378248874472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737674978578,"filename":"image_24012025_00_27_02_958788_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330897441","file1":"1330897421","file0":"1330897408","file4":"1330897448","file5":"1330897454","file3":"1330897444"},"map_files_photo_id_array":[{"photo_id":"1330897454","filename":"file5"},{"photo_id":"1330897441","filename":"file2"},{"photo_id":"1330897448","filename":"file4"},{"photo_id":"1330897421","filename":"file1"},{"photo_id":"1330897408","filename":"file0"},{"photo_id":"1330897444","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330897408":["hashtag1","hashtag2"]},{"1330897454":["hashtag1","hashtag2"]},{"1330897448":["hashtag1","hashtag2"]},{"1330897421":["hashtag1","hashtag2"]},{"1330897441":["hashtag1","hashtag2"]},{"1330897444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330897408, 1330897454, 1330897448, 1330897421, 1330897441, 1330897444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.87403059005737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:29:52.097268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0000.jpg', '/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0001.jpg', '/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0002.jpg', '/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0003.jpg', '/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0000.jpg', '/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0000.jpg
/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0001.jpg
/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0002.jpg
/home/pi/Desktop/images/21012025/19/16/image_21012025_19_16_02_501265_0003.jpg
/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0000.jpg
/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330897554","1330897586","1330897589","1330897577","1330897564","1330897660"],"photo_ids_order":["1330897554","1330897564","1330897577","1330897586","1330897589","1330897660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40662d5caeca14c2d9defd184bebff5e.jpg","text":"TemporaryFile(/tmp/multipartBody2791726467341319102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675069372,"filename":"image_21012025_19_16_02_501265_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad94febe5c183e2084e974020ee8018e.jpg","text":"TemporaryFile(/tmp/multipartBody1536731810675099861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675069372,"filename":"image_21012025_19_16_02_501265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d786fa420d4cd236b7d3a811aff47d60.jpg","text":"TemporaryFile(/tmp/multipartBody3231598556968106299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675069372,"filename":"image_21012025_19_17_02_786954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/66d53666b29dbb715eb97db845bfd8b6.jpg","text":"TemporaryFile(/tmp/multipartBody7698200667485258767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675069372,"filename":"image_21012025_19_16_02_501265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1da305ec35ded0396758bc675c71b93f.jpg","text":"TemporaryFile(/tmp/multipartBody4560135965443315426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675069372,"filename":"image_21012025_19_16_02_501265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e6b31558f8690cc7752a980448f68b29.jpg","text":"TemporaryFile(/tmp/multipartBody1770525384449321328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675069372,"filename":"image_21012025_19_17_02_786954_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330897577","file1":"1330897564","file0":"1330897554","file4":"1330897589","file5":"1330897660","file3":"1330897586"},"map_files_photo_id_array":[{"photo_id":"1330897660","filename":"file5"},{"photo_id":"1330897577","filename":"file2"},{"photo_id":"1330897589","filename":"file4"},{"photo_id":"1330897564","filename":"file1"},{"photo_id":"1330897554","filename":"file0"},{"photo_id":"1330897586","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330897554":["hashtag1","hashtag2"]},{"1330897586":["hashtag1","hashtag2"]},{"1330897589":["hashtag1","hashtag2"]},{"1330897577":["hashtag1","hashtag2"]},{"1330897564":["hashtag1","hashtag2"]},{"1330897660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330897554, 1330897586, 1330897589, 1330897577, 1330897564, 1330897660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.27747344970703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:30:52.305028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0002.jpg', '/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0003.jpg', '/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0000.jpg', '/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0001.jpg', '/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0002.jpg', '/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0002.jpg
/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0003.jpg
/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0000.jpg
/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0001.jpg
/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0002.jpg
/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.15547251701355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:31:22.512837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/28/image_24012025_00_28_03_117953_0001.jpg', '/home/pi/Desktop/images/24012025/00/28/image_24012025_00_28_03_117953_0002.jpg', '/home/pi/Desktop/images/24012025/00/28/image_24012025_00_28_03_117953_0003.jpg', '/home/pi/Desktop/images/24012025/00/29/image_24012025_00_29_02_312439_0000.jpg', '/home/pi/Desktop/images/24012025/00/29/image_24012025_00_29_02_312439_0001.jpg', '/home/pi/Desktop/images/24012025/00/29/image_24012025_00_29_02_312439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/28/image_24012025_00_28_03_117953_0001.jpg
/home/pi/Desktop/images/24012025/00/28/image_24012025_00_28_03_117953_0002.jpg
/home/pi/Desktop/images/24012025/00/28/image_24012025_00_28_03_117953_0003.jpg
/home/pi/Desktop/images/24012025/00/29/image_24012025_00_29_02_312439_0000.jpg
/home/pi/Desktop/images/24012025/00/29/image_24012025_00_29_02_312439_0001.jpg
/home/pi/Desktop/images/24012025/00/29/image_24012025_00_29_02_312439_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330897767","1330897782","1330897827","1330897814","1330897777","1330897837"],"photo_ids_order":["1330897767","1330897777","1330897782","1330897814","1330897827","1330897837"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cef4a7ed856ee5d98f6ee7905b163973.jpg","text":"TemporaryFile(/tmp/multipartBody8342789685233771780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675159091,"filename":"image_24012025_00_28_03_117953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/81fa133ff296dce24b0aa6bd23ed06cf.jpg","text":"TemporaryFile(/tmp/multipartBody987941788377432888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675159091,"filename":"image_24012025_00_28_03_117953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74d8180741c9a4c5b8b879a5ce1bf636.jpg","text":"TemporaryFile(/tmp/multipartBody5370135950846818827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675159091,"filename":"image_24012025_00_29_02_312439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fbdbd6b6e6c095fac36e3786ae643856.jpg","text":"TemporaryFile(/tmp/multipartBody2978677746071851927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675159091,"filename":"image_24012025_00_29_02_312439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/35f5b6894d51fff710670930c15e5997.jpg","text":"TemporaryFile(/tmp/multipartBody8801046473013678468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675159091,"filename":"image_24012025_00_28_03_117953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/29e7ae1ee36de22432a8ba0269c6c4f9.jpg","text":"TemporaryFile(/tmp/multipartBody3259072951017076451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675159091,"filename":"image_24012025_00_29_02_312439_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330897782","file1":"1330897777","file0":"1330897767","file4":"1330897827","file5":"1330897837","file3":"1330897814"},"map_files_photo_id_array":[{"photo_id":"1330897837","filename":"file5"},{"photo_id":"1330897782","filename":"file2"},{"photo_id":"1330897827","filename":"file4"},{"photo_id":"1330897777","filename":"file1"},{"photo_id":"1330897767","filename":"file0"},{"photo_id":"1330897814","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330897767":["hashtag1","hashtag2"]},{"1330897782":["hashtag1","hashtag2"]},{"1330897827":["hashtag1","hashtag2"]},{"1330897814":["hashtag1","hashtag2"]},{"1330897777":["hashtag1","hashtag2"]},{"1330897837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330897767, 1330897782, 1330897827, 1330897814, 1330897777, 1330897837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.84056615829468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:32:52.646815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0002.jpg', '/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0003.jpg', '/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0000.jpg', '/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0001.jpg', '/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0002.jpg', '/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0002.jpg
/home/pi/Desktop/images/21012025/19/17/image_21012025_19_17_02_786954_0003.jpg
/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0000.jpg
/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0001.jpg
/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0002.jpg
/home/pi/Desktop/images/21012025/19/18/image_21012025_19_18_02_983579_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330897941","1330897898","1330897925","1330897916","1330897885","1330897912"],"photo_ids_order":["1330897885","1330897898","1330897912","1330897916","1330897925","1330897941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/acf9824c040caef340cb484e366828b0.jpg","text":"TemporaryFile(/tmp/multipartBody4918580487352878779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675250046,"filename":"image_21012025_19_18_02_983579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30b04bfd47d1668f792e3cd1a434d771.jpg","text":"TemporaryFile(/tmp/multipartBody7876675461835442772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675250046,"filename":"image_21012025_19_17_02_786954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/685095924be378ce12948bdd00c92719.jpg","text":"TemporaryFile(/tmp/multipartBody8766545596867864114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675250046,"filename":"image_21012025_19_18_02_983579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdec261114478dd4c4cfa8231fd78d7f.jpg","text":"TemporaryFile(/tmp/multipartBody3263234105175356795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675250046,"filename":"image_21012025_19_18_02_983579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e38c1f601a77a055d3dc12f5e85bd7fe.jpg","text":"TemporaryFile(/tmp/multipartBody6423492317921259529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675250046,"filename":"image_21012025_19_17_02_786954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7e2ca7ad419dbc242a50ff5679bd7b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8511542760128631251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675250046,"filename":"image_21012025_19_18_02_983579_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330897912","file1":"1330897898","file0":"1330897885","file4":"1330897925","file5":"1330897941","file3":"1330897916"},"map_files_photo_id_array":[{"photo_id":"1330897941","filename":"file5"},{"photo_id":"1330897912","filename":"file2"},{"photo_id":"1330897925","filename":"file4"},{"photo_id":"1330897898","filename":"file1"},{"photo_id":"1330897885","filename":"file0"},{"photo_id":"1330897916","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330897941":["hashtag1","hashtag2"]},{"1330897898":["hashtag1","hashtag2"]},{"1330897925":["hashtag1","hashtag2"]},{"1330897916":["hashtag1","hashtag2"]},{"1330897885":["hashtag1","hashtag2"]},{"1330897912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330897941, 1330897898, 1330897925, 1330897916, 1330897885, 1330897912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.21920585632324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:33:51.847554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/19/image_21012025_19_19_03_210606_0000.jpg', '/home/pi/Desktop/images/21012025/19/19/image_21012025_19_19_03_210606_0001.jpg', '/home/pi/Desktop/images/21012025/19/19/image_21012025_19_19_03_210606_0002.jpg', '/home/pi/Desktop/images/21012025/19/19/image_21012025_19_19_03_210606_0003.jpg', '/home/pi/Desktop/images/21012025/19/20/image_21012025_19_20_02_401007_0000.jpg', '/home/pi/Desktop/images/21012025/19/20/image_21012025_19_20_02_401007_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/19/image_21012025_19_19_03_210606_0000.jpg
/home/pi/Desktop/images/21012025/19/19/image_21012025_19_19_03_210606_0001.jpg
/home/pi/Desktop/images/21012025/19/19/image_21012025_19_19_03_210606_0002.jpg
/home/pi/Desktop/images/21012025/19/19/image_21012025_19_19_03_210606_0003.jpg
/home/pi/Desktop/images/21012025/19/20/image_21012025_19_20_02_401007_0000.jpg
/home/pi/Desktop/images/21012025/19/20/image_21012025_19_20_02_401007_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330897950","1330897991","1330897973","1330897960","1330897954","1330898026"],"photo_ids_order":["1330897950","1330897954","1330897960","1330897973","1330897991","1330898026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f969a5db8ff763ef588e88d9bb777931.jpg","text":"TemporaryFile(/tmp/multipartBody4410578222626741156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675308483,"filename":"image_21012025_19_19_03_210606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10583a49d77a34a82b29bb6b442b9040.jpg","text":"TemporaryFile(/tmp/multipartBody7319315382111005710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675308483,"filename":"image_21012025_19_20_02_401007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/236ba7641d5cfd56ef1598c46531a3eb.jpg","text":"TemporaryFile(/tmp/multipartBody6141867951989765284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675308483,"filename":"image_21012025_19_19_03_210606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8a76c66127e49171d151866f8581976.jpg","text":"TemporaryFile(/tmp/multipartBody3312901374144172805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675308483,"filename":"image_21012025_19_19_03_210606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/57e9cf92de12f93a0a13f463ca4e2fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3289675256479280265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675308483,"filename":"image_21012025_19_19_03_210606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0645b44b80019fede3c3e0594ee210bb.jpg","text":"TemporaryFile(/tmp/multipartBody5116064256946404467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675308483,"filename":"image_21012025_19_20_02_401007_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330897960","file1":"1330897954","file0":"1330897950","file4":"1330897991","file5":"1330898026","file3":"1330897973"},"map_files_photo_id_array":[{"photo_id":"1330898026","filename":"file5"},{"photo_id":"1330897960","filename":"file2"},{"photo_id":"1330897991","filename":"file4"},{"photo_id":"1330897954","filename":"file1"},{"photo_id":"1330897950","filename":"file0"},{"photo_id":"1330897973","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330897950":["hashtag1","hashtag2"]},{"1330897991":["hashtag1","hashtag2"]},{"1330897973":["hashtag1","hashtag2"]},{"1330897960":["hashtag1","hashtag2"]},{"1330897954":["hashtag1","hashtag2"]},{"1330898026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330897950, 1330897991, 1330897973, 1330897960, 1330897954, 1330898026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.027743339538574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:34:52.001331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/20/image_21012025_19_20_02_401007_0002.jpg', '/home/pi/Desktop/images/21012025/19/20/image_21012025_19_20_02_401007_0003.jpg', '/home/pi/Desktop/images/21012025/19/21/image_21012025_19_21_02_558173_0000.jpg', '/home/pi/Desktop/images/21012025/19/21/image_21012025_19_21_02_558173_0001.jpg', '/home/pi/Desktop/images/21012025/19/21/image_21012025_19_21_02_558173_0002.jpg', '/home/pi/Desktop/images/21012025/19/21/image_21012025_19_21_02_558173_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/20/image_21012025_19_20_02_401007_0002.jpg
/home/pi/Desktop/images/21012025/19/20/image_21012025_19_20_02_401007_0003.jpg
/home/pi/Desktop/images/21012025/19/21/image_21012025_19_21_02_558173_0000.jpg
/home/pi/Desktop/images/21012025/19/21/image_21012025_19_21_02_558173_0001.jpg
/home/pi/Desktop/images/21012025/19/21/image_21012025_19_21_02_558173_0002.jpg
/home/pi/Desktop/images/21012025/19/21/image_21012025_19_21_02_558173_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330898109","1330898117","1330898102","1330898095","1330898122","1330898125"],"photo_ids_order":["1330898095","1330898102","1330898109","1330898117","1330898122","1330898125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74efccf7e5c320e95f5597e1660911e8.jpg","text":"TemporaryFile(/tmp/multipartBody6221209477717042724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675369695,"filename":"image_21012025_19_21_02_558173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b473d460a6227bc4c1934db7aa3438d3.jpg","text":"TemporaryFile(/tmp/multipartBody1570243076644139952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675369695,"filename":"image_21012025_19_21_02_558173_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/290195a6f8b7404a3528db2890db5283.jpg","text":"TemporaryFile(/tmp/multipartBody500134838811585042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675369695,"filename":"image_21012025_19_20_02_401007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b3431494f41144aaed4b3bc50139445.jpg","text":"TemporaryFile(/tmp/multipartBody8036073781364383925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675369695,"filename":"image_21012025_19_20_02_401007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c27bab2d96c48f7c2dca5cc437ff005f.jpg","text":"TemporaryFile(/tmp/multipartBody1739663095159787802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675369695,"filename":"image_21012025_19_21_02_558173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8d890c9576cf1e88ecec50675c42ed90.jpg","text":"TemporaryFile(/tmp/multipartBody4571662652087531091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675369695,"filename":"image_21012025_19_21_02_558173_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330898109","file1":"1330898102","file0":"1330898095","file4":"1330898122","file5":"1330898125","file3":"1330898117"},"map_files_photo_id_array":[{"photo_id":"1330898125","filename":"file5"},{"photo_id":"1330898109","filename":"file2"},{"photo_id":"1330898122","filename":"file4"},{"photo_id":"1330898102","filename":"file1"},{"photo_id":"1330898095","filename":"file0"},{"photo_id":"1330898117","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330898109":["hashtag1","hashtag2"]},{"1330898117":["hashtag1","hashtag2"]},{"1330898102":["hashtag1","hashtag2"]},{"1330898095":["hashtag1","hashtag2"]},{"1330898122":["hashtag1","hashtag2"]},{"1330898125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330898109, 1330898117, 1330898102, 1330898095, 1330898122, 1330898125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.67653679847717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:35:52.204336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/22/image_21012025_19_22_02_713209_0000.jpg', '/home/pi/Desktop/images/21012025/19/22/image_21012025_19_22_02_713209_0001.jpg', '/home/pi/Desktop/images/21012025/19/22/image_21012025_19_22_02_713209_0002.jpg', '/home/pi/Desktop/images/21012025/19/22/image_21012025_19_22_02_713209_0003.jpg', '/home/pi/Desktop/images/21012025/19/23/image_21012025_19_23_02_877734_0000.jpg', '/home/pi/Desktop/images/21012025/19/23/image_21012025_19_23_02_877734_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/22/image_21012025_19_22_02_713209_0000.jpg
/home/pi/Desktop/images/21012025/19/22/image_21012025_19_22_02_713209_0001.jpg
/home/pi/Desktop/images/21012025/19/22/image_21012025_19_22_02_713209_0002.jpg
/home/pi/Desktop/images/21012025/19/22/image_21012025_19_22_02_713209_0003.jpg
/home/pi/Desktop/images/21012025/19/23/image_21012025_19_23_02_877734_0000.jpg
/home/pi/Desktop/images/21012025/19/23/image_21012025_19_23_02_877734_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330898130","1330898148","1330898133","1330898136","1330898144","1330898152"],"photo_ids_order":["1330898130","1330898133","1330898136","1330898144","1330898148","1330898152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/661dfa6278604a9ff4c89f733a8b88e7.jpg","text":"TemporaryFile(/tmp/multipartBody4159107996833280692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675429478,"filename":"image_21012025_19_22_02_713209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdceb7bce71d7784c0d2db6b8ec9e473.jpg","text":"TemporaryFile(/tmp/multipartBody4062201903183753713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675429478,"filename":"image_21012025_19_23_02_877734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00a940327f923174a67e350bd33addca.jpg","text":"TemporaryFile(/tmp/multipartBody3351582409542329976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675429478,"filename":"image_21012025_19_22_02_713209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/43241dbc37724ea168d343a5364f32bb.jpg","text":"TemporaryFile(/tmp/multipartBody901118748561989510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675429478,"filename":"image_21012025_19_22_02_713209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1b1c51e9ff00dbfdfa98e2355b1c3d04.jpg","text":"TemporaryFile(/tmp/multipartBody6425438116048381302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675429478,"filename":"image_21012025_19_22_02_713209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/225bd8b0ee7c53d8c3ee10e62b8a8ec9.jpg","text":"TemporaryFile(/tmp/multipartBody2145339238610789356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675429478,"filename":"image_21012025_19_23_02_877734_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330898136","file1":"1330898133","file0":"1330898130","file4":"1330898148","file5":"1330898152","file3":"1330898144"},"map_files_photo_id_array":[{"photo_id":"1330898152","filename":"file5"},{"photo_id":"1330898136","filename":"file2"},{"photo_id":"1330898148","filename":"file4"},{"photo_id":"1330898133","filename":"file1"},{"photo_id":"1330898130","filename":"file0"},{"photo_id":"1330898144","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330898130":["hashtag1","hashtag2"]},{"1330898148":["hashtag1","hashtag2"]},{"1330898133":["hashtag1","hashtag2"]},{"1330898136":["hashtag1","hashtag2"]},{"1330898144":["hashtag1","hashtag2"]},{"1330898152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330898130, 1330898148, 1330898133, 1330898136, 1330898144, 1330898152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.83779335021973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:36:52.425194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/23/image_21012025_19_23_02_877734_0002.jpg', '/home/pi/Desktop/images/21012025/19/23/image_21012025_19_23_02_877734_0003.jpg', '/home/pi/Desktop/images/21012025/19/24/image_21012025_19_24_03_026552_0000.jpg', '/home/pi/Desktop/images/21012025/19/24/image_21012025_19_24_03_026552_0001.jpg', '/home/pi/Desktop/images/21012025/19/24/image_21012025_19_24_03_026552_0002.jpg', '/home/pi/Desktop/images/21012025/19/24/image_21012025_19_24_03_026552_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/23/image_21012025_19_23_02_877734_0002.jpg
/home/pi/Desktop/images/21012025/19/23/image_21012025_19_23_02_877734_0003.jpg
/home/pi/Desktop/images/21012025/19/24/image_21012025_19_24_03_026552_0000.jpg
/home/pi/Desktop/images/21012025/19/24/image_21012025_19_24_03_026552_0001.jpg
/home/pi/Desktop/images/21012025/19/24/image_21012025_19_24_03_026552_0002.jpg
/home/pi/Desktop/images/21012025/19/24/image_21012025_19_24_03_026552_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330898220","1330898240","1330898246","1330898209","1330898239","1330898199"],"photo_ids_order":["1330898199","1330898209","1330898220","1330898239","1330898240","1330898246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/487db90574c518254fdd80f0eba25ac6.jpg","text":"TemporaryFile(/tmp/multipartBody2118577176520405622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675490199,"filename":"image_21012025_19_24_03_026552_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b95be1f2e1225aaee843d7aa03989c82.jpg","text":"TemporaryFile(/tmp/multipartBody2325446595744412746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675490199,"filename":"image_21012025_19_24_03_026552_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/27759de869dd134b50899ead534c9c03.jpg","text":"TemporaryFile(/tmp/multipartBody7705825430515375531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675490199,"filename":"image_21012025_19_24_03_026552_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb77f43914dd6ad214dea40f039d1f84.jpg","text":"TemporaryFile(/tmp/multipartBody1750802509848100573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675490199,"filename":"image_21012025_19_23_02_877734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d637e8f781337a3b2ba257c4909b925.jpg","text":"TemporaryFile(/tmp/multipartBody6041420496315005612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675490199,"filename":"image_21012025_19_24_03_026552_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5e403d56df00c20564457585e76fec1a.jpg","text":"TemporaryFile(/tmp/multipartBody3917749127688906056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675490199,"filename":"image_21012025_19_23_02_877734_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330898220","file1":"1330898209","file0":"1330898199","file4":"1330898240","file5":"1330898246","file3":"1330898239"},"map_files_photo_id_array":[{"photo_id":"1330898246","filename":"file5"},{"photo_id":"1330898220","filename":"file2"},{"photo_id":"1330898240","filename":"file4"},{"photo_id":"1330898209","filename":"file1"},{"photo_id":"1330898199","filename":"file0"},{"photo_id":"1330898239","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330898220":["hashtag1","hashtag2"]},{"1330898240":["hashtag1","hashtag2"]},{"1330898246":["hashtag1","hashtag2"]},{"1330898209":["hashtag1","hashtag2"]},{"1330898239":["hashtag1","hashtag2"]},{"1330898199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330898220, 1330898240, 1330898246, 1330898209, 1330898239, 1330898199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.099828481674194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:38:03.134681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/29/image_24012025_00_29_02_312439_0003.jpg', '/home/pi/Desktop/images/24012025/00/30/image_24012025_00_30_02_524783_0000.jpg', '/home/pi/Desktop/images/24012025/00/30/image_24012025_00_30_02_524783_0001.jpg', '/home/pi/Desktop/images/24012025/00/30/image_24012025_00_30_02_524783_0002.jpg', '/home/pi/Desktop/images/24012025/00/30/image_24012025_00_30_02_524783_0003.jpg', '/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/29/image_24012025_00_29_02_312439_0003.jpg
/home/pi/Desktop/images/24012025/00/30/image_24012025_00_30_02_524783_0000.jpg
/home/pi/Desktop/images/24012025/00/30/image_24012025_00_30_02_524783_0001.jpg
/home/pi/Desktop/images/24012025/00/30/image_24012025_00_30_02_524783_0002.jpg
/home/pi/Desktop/images/24012025/00/30/image_24012025_00_30_02_524783_0003.jpg
/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330898297","1330898290","1330898292","1330898286","1330898295","1330898298"],"photo_ids_order":["1330898286","1330898290","1330898292","1330898295","1330898297","1330898298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/99e1c7ffec7529d16203c87dd737b0e9.jpg","text":"TemporaryFile(/tmp/multipartBody2568588551827829445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675559678,"filename":"image_24012025_00_30_02_524783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/602b0b74f134d42d4e0fcf01e3357c15.jpg","text":"TemporaryFile(/tmp/multipartBody6118952679554900322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675559678,"filename":"image_24012025_00_30_02_524783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8e4b3dbeda6560023d1703dfe1514ff9.jpg","text":"TemporaryFile(/tmp/multipartBody4706216161967532130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675559678,"filename":"image_24012025_00_30_02_524783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1012b8bcf80f3304126a48e44897bf1f.jpg","text":"TemporaryFile(/tmp/multipartBody8560776996190881451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675559678,"filename":"image_24012025_00_29_02_312439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9e833ab80f9b5ea783c1f6c9458c548c.jpg","text":"TemporaryFile(/tmp/multipartBody4815725777192273735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675559678,"filename":"image_24012025_00_30_02_524783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37a7d22c4a5141d3a0b860fc8e5607c5.jpg","text":"TemporaryFile(/tmp/multipartBody8138594840659247838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675559678,"filename":"image_24012025_00_31_02_620077_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330898292","file1":"1330898290","file0":"1330898286","file4":"1330898297","file5":"1330898298","file3":"1330898295"},"map_files_photo_id_array":[{"photo_id":"1330898298","filename":"file5"},{"photo_id":"1330898292","filename":"file2"},{"photo_id":"1330898297","filename":"file4"},{"photo_id":"1330898290","filename":"file1"},{"photo_id":"1330898286","filename":"file0"},{"photo_id":"1330898295","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330898297":["hashtag1","hashtag2"]},{"1330898290":["hashtag1","hashtag2"]},{"1330898292":["hashtag1","hashtag2"]},{"1330898286":["hashtag1","hashtag2"]},{"1330898295":["hashtag1","hashtag2"]},{"1330898298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330898297, 1330898290, 1330898292, 1330898286, 1330898295, 1330898298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.36568474769592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:39:02.597440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0001.jpg', '/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0002.jpg', '/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0003.jpg', '/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0000.jpg', '/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0001.jpg', '/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0001.jpg
/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0002.jpg
/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0003.jpg
/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0000.jpg
/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0001.jpg
/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.624216556549072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:39:21.910332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0001.jpg', '/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0002.jpg', '/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0003.jpg', '/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0000.jpg', '/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0001.jpg', '/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0001.jpg
/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0002.jpg
/home/pi/Desktop/images/24012025/00/31/image_24012025_00_31_02_620077_0003.jpg
/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0000.jpg
/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0001.jpg
/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330898366","1330898363","1330898380","1330898371","1330898359","1330898361"],"photo_ids_order":["1330898359","1330898361","1330898363","1330898366","1330898371","1330898380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d7556d8030669aef39fd264ddb918bd.jpg","text":"TemporaryFile(/tmp/multipartBody8909868355813684983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675638851,"filename":"image_24012025_00_32_02_880885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ca3f4226c1848bab579496b7d68e6b7.jpg","text":"TemporaryFile(/tmp/multipartBody1888613363038799990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675638851,"filename":"image_24012025_00_31_02_620077_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/070d522e6f41a610ddc7993c89add0fd.jpg","text":"TemporaryFile(/tmp/multipartBody5874557518008869529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675638851,"filename":"image_24012025_00_32_02_880885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c656e3b095294373fac5000aaaa6c39e.jpg","text":"TemporaryFile(/tmp/multipartBody3786991170789793236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675638851,"filename":"image_24012025_00_32_02_880885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ffaef927209d2672bab3ece09a04bc19.jpg","text":"TemporaryFile(/tmp/multipartBody1835355151915207225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675638851,"filename":"image_24012025_00_31_02_620077_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c90ef318ceacca8a22067f63d6d7f90e.jpg","text":"TemporaryFile(/tmp/multipartBody5443566952882863738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675638851,"filename":"image_24012025_00_31_02_620077_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330898363","file1":"1330898361","file0":"1330898359","file4":"1330898371","file5":"1330898380","file3":"1330898366"},"map_files_photo_id_array":[{"photo_id":"1330898380","filename":"file5"},{"photo_id":"1330898363","filename":"file2"},{"photo_id":"1330898371","filename":"file4"},{"photo_id":"1330898361","filename":"file1"},{"photo_id":"1330898359","filename":"file0"},{"photo_id":"1330898366","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330898366":["hashtag1","hashtag2"]},{"1330898363":["hashtag1","hashtag2"]},{"1330898380":["hashtag1","hashtag2"]},{"1330898371":["hashtag1","hashtag2"]},{"1330898359":["hashtag1","hashtag2"]},{"1330898361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330898366, 1330898363, 1330898380, 1330898371, 1330898359, 1330898361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.987035512924194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:40:22.134818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0003.jpg', '/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0000.jpg', '/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0001.jpg', '/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0002.jpg', '/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0003.jpg', '/home/pi/Desktop/images/24012025/00/34/image_24012025_00_34_02_196357_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0003.jpg
/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0000.jpg
/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0001.jpg
/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0002.jpg
/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0003.jpg
/home/pi/Desktop/images/24012025/00/34/image_24012025_00_34_02_196357_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.57967710494995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:40:52.118294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/25/image_21012025_19_25_02_221253_0000.jpg', '/home/pi/Desktop/images/21012025/19/25/image_21012025_19_25_02_221253_0001.jpg', '/home/pi/Desktop/images/21012025/19/25/image_21012025_19_25_02_221253_0002.jpg', '/home/pi/Desktop/images/21012025/19/25/image_21012025_19_25_02_221253_0003.jpg', '/home/pi/Desktop/images/21012025/19/26/image_21012025_19_26_02_338578_0000.jpg', '/home/pi/Desktop/images/21012025/19/26/image_21012025_19_26_02_338578_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/25/image_21012025_19_25_02_221253_0000.jpg
/home/pi/Desktop/images/21012025/19/25/image_21012025_19_25_02_221253_0001.jpg
/home/pi/Desktop/images/21012025/19/25/image_21012025_19_25_02_221253_0002.jpg
/home/pi/Desktop/images/21012025/19/25/image_21012025_19_25_02_221253_0003.jpg
/home/pi/Desktop/images/21012025/19/26/image_21012025_19_26_02_338578_0000.jpg
/home/pi/Desktop/images/21012025/19/26/image_21012025_19_26_02_338578_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330898508","1330898666","1330898548","1330898707","1330898515","1330898701"],"photo_ids_order":["1330898508","1330898515","1330898548","1330898666","1330898701","1330898707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c3128aad6f98d84620b3340a1c81c05.jpg","text":"TemporaryFile(/tmp/multipartBody1296568654648208972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675730203,"filename":"image_21012025_19_25_02_221253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/922deabbf83f420c277c1a32fcceb786.jpg","text":"TemporaryFile(/tmp/multipartBody2363472985918359568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675730203,"filename":"image_21012025_19_25_02_221253_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2053dcd91cb4e4958b1ff3b419259b1f.jpg","text":"TemporaryFile(/tmp/multipartBody2843829639045719655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675730203,"filename":"image_21012025_19_25_02_221253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4937e5d463fff0435aafc97df9f5ce16.jpg","text":"TemporaryFile(/tmp/multipartBody8798526220584357935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675730203,"filename":"image_21012025_19_26_02_338578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e7993a9b1cc4e0a67fe9df71ab9eebab.jpg","text":"TemporaryFile(/tmp/multipartBody7498665646024860976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675730203,"filename":"image_21012025_19_25_02_221253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d9ddf0d8b556ede5fbf0c6115c1d914.jpg","text":"TemporaryFile(/tmp/multipartBody390077140434305742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675730203,"filename":"image_21012025_19_26_02_338578_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330898548","file1":"1330898515","file0":"1330898508","file4":"1330898701","file5":"1330898707","file3":"1330898666"},"map_files_photo_id_array":[{"photo_id":"1330898707","filename":"file5"},{"photo_id":"1330898548","filename":"file2"},{"photo_id":"1330898701","filename":"file4"},{"photo_id":"1330898515","filename":"file1"},{"photo_id":"1330898508","filename":"file0"},{"photo_id":"1330898666","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330898508":["hashtag1","hashtag2"]},{"1330898666":["hashtag1","hashtag2"]},{"1330898548":["hashtag1","hashtag2"]},{"1330898707":["hashtag1","hashtag2"]},{"1330898515":["hashtag1","hashtag2"]},{"1330898701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330898508, 1330898666, 1330898548, 1330898707, 1330898515, 1330898701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.187995195388794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:41:52.229634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/26/image_21012025_19_26_02_338578_0002.jpg', '/home/pi/Desktop/images/21012025/19/26/image_21012025_19_26_02_338578_0003.jpg', '/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0000.jpg', '/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0001.jpg', '/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0002.jpg', '/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/26/image_21012025_19_26_02_338578_0002.jpg
/home/pi/Desktop/images/21012025/19/26/image_21012025_19_26_02_338578_0003.jpg
/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0000.jpg
/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0001.jpg
/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0002.jpg
/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.53777766227722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:42:22.481454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0003.jpg', '/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0000.jpg', '/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0001.jpg', '/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0002.jpg', '/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0003.jpg', '/home/pi/Desktop/images/24012025/00/34/image_24012025_00_34_02_196357_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/32/image_24012025_00_32_02_880885_0003.jpg
/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0000.jpg
/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0001.jpg
/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0002.jpg
/home/pi/Desktop/images/24012025/00/33/image_24012025_00_33_03_040710_0003.jpg
/home/pi/Desktop/images/24012025/00/34/image_24012025_00_34_02_196357_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330898811","1330898816","1330898821","1330898812","1330898806","1330898809"],"photo_ids_order":["1330898806","1330898809","1330898811","1330898812","1330898816","1330898821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/67f81b7d0c2c15e16efa4cee19c9b534.jpg","text":"TemporaryFile(/tmp/multipartBody6360466192303968328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675819446,"filename":"image_24012025_00_33_03_040710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/034ffbb2474c39ed0da39eeddec9350e.jpg","text":"TemporaryFile(/tmp/multipartBody5019394630260183669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675819446,"filename":"image_24012025_00_33_03_040710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8d95961c1ff5cd092ca0b0e91fd2b031.jpg","text":"TemporaryFile(/tmp/multipartBody6206001176434557814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675819446,"filename":"image_24012025_00_34_02_196357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ab9617f89f0492fad1a30558b31a75a.jpg","text":"TemporaryFile(/tmp/multipartBody2889928332084475882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675819446,"filename":"image_24012025_00_33_03_040710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/231ca1adb4c8b78369e53f319d11a8f4.jpg","text":"TemporaryFile(/tmp/multipartBody1722212145149908096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675819446,"filename":"image_24012025_00_32_02_880885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0b4164ed0d6b423a2788105c8a12788d.jpg","text":"TemporaryFile(/tmp/multipartBody7119133403977661040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675819446,"filename":"image_24012025_00_33_03_040710_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330898811","file1":"1330898809","file0":"1330898806","file4":"1330898816","file5":"1330898821","file3":"1330898812"},"map_files_photo_id_array":[{"photo_id":"1330898821","filename":"file5"},{"photo_id":"1330898811","filename":"file2"},{"photo_id":"1330898816","filename":"file4"},{"photo_id":"1330898809","filename":"file1"},{"photo_id":"1330898806","filename":"file0"},{"photo_id":"1330898812","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330898811":["hashtag1","hashtag2"]},{"1330898816":["hashtag1","hashtag2"]},{"1330898821":["hashtag1","hashtag2"]},{"1330898812":["hashtag1","hashtag2"]},{"1330898806":["hashtag1","hashtag2"]},{"1330898809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330898811, 1330898816, 1330898821, 1330898812, 1330898806, 1330898809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.25491952896118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:43:22.620043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/34/image_24012025_00_34_02_196357_0001.jpg', '/home/pi/Desktop/images/24012025/00/34/image_24012025_00_34_02_196357_0002.jpg', '/home/pi/Desktop/images/24012025/00/34/image_24012025_00_34_02_196357_0003.jpg', '/home/pi/Desktop/images/24012025/00/35/image_24012025_00_35_02_401027_0000.jpg', '/home/pi/Desktop/images/24012025/00/35/image_24012025_00_35_02_401027_0001.jpg', '/home/pi/Desktop/images/24012025/00/35/image_24012025_00_35_02_401027_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/34/image_24012025_00_34_02_196357_0001.jpg
/home/pi/Desktop/images/24012025/00/34/image_24012025_00_34_02_196357_0002.jpg
/home/pi/Desktop/images/24012025/00/34/image_24012025_00_34_02_196357_0003.jpg
/home/pi/Desktop/images/24012025/00/35/image_24012025_00_35_02_401027_0000.jpg
/home/pi/Desktop/images/24012025/00/35/image_24012025_00_35_02_401027_0001.jpg
/home/pi/Desktop/images/24012025/00/35/image_24012025_00_35_02_401027_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330898901","1330898878","1330898866","1330898875","1330898869","1330898850"],"photo_ids_order":["1330898850","1330898866","1330898869","1330898875","1330898878","1330898901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9ea18ce673fc2fb10ab84514ea0ee03d.jpg","text":"TemporaryFile(/tmp/multipartBody2971946119742009415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675879281,"filename":"image_24012025_00_35_02_401027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6d30b327464ca0533fd79af761e73780.jpg","text":"TemporaryFile(/tmp/multipartBody2204394637973101845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675879281,"filename":"image_24012025_00_35_02_401027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff2ba88727f5ba01b0f6d81eb322057c.jpg","text":"TemporaryFile(/tmp/multipartBody2660282363045061749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675879281,"filename":"image_24012025_00_34_02_196357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/22a249c3069273e3a38591caaf8ac49e.jpg","text":"TemporaryFile(/tmp/multipartBody8722585122935132951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675879281,"filename":"image_24012025_00_35_02_401027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ebe47b6b672533893089689af66c03d9.jpg","text":"TemporaryFile(/tmp/multipartBody9215686827636504379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675879281,"filename":"image_24012025_00_34_02_196357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/771f4767c19159f6b92c2428b971d145.jpg","text":"TemporaryFile(/tmp/multipartBody8141440179636067632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675879281,"filename":"image_24012025_00_34_02_196357_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330898869","file1":"1330898866","file0":"1330898850","file4":"1330898878","file5":"1330898901","file3":"1330898875"},"map_files_photo_id_array":[{"photo_id":"1330898901","filename":"file5"},{"photo_id":"1330898869","filename":"file2"},{"photo_id":"1330898878","filename":"file4"},{"photo_id":"1330898866","filename":"file1"},{"photo_id":"1330898850","filename":"file0"},{"photo_id":"1330898875","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330898901":["hashtag1","hashtag2"]},{"1330898878":["hashtag1","hashtag2"]},{"1330898866":["hashtag1","hashtag2"]},{"1330898875":["hashtag1","hashtag2"]},{"1330898869":["hashtag1","hashtag2"]},{"1330898850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330898901, 1330898878, 1330898866, 1330898875, 1330898869, 1330898850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.58742833137512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:44:51.860485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/26/image_21012025_19_26_02_338578_0002.jpg', '/home/pi/Desktop/images/21012025/19/26/image_21012025_19_26_02_338578_0003.jpg', '/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0000.jpg', '/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0001.jpg', '/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0002.jpg', '/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/26/image_21012025_19_26_02_338578_0002.jpg
/home/pi/Desktop/images/21012025/19/26/image_21012025_19_26_02_338578_0003.jpg
/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0000.jpg
/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0001.jpg
/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0002.jpg
/home/pi/Desktop/images/21012025/19/27/image_21012025_19_27_02_599416_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330898942","1330898945","1330898939","1330898950","1330898947","1330898938"],"photo_ids_order":["1330898938","1330898939","1330898942","1330898945","1330898947","1330898950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/08a1bb5c86a93d1a1d886f23343f8700.jpg","text":"TemporaryFile(/tmp/multipartBody7992402180915105955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675969665,"filename":"image_21012025_19_27_02_599416_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c189ed7568fde6356b840e4ba6455bc3.jpg","text":"TemporaryFile(/tmp/multipartBody7640480883744495059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675969665,"filename":"image_21012025_19_27_02_599416_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c3841a0d518ce1bc1e7de397350eb61c.jpg","text":"TemporaryFile(/tmp/multipartBody8606429377026797721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675969665,"filename":"image_21012025_19_26_02_338578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c67c077acc8da27b16806cf0496c5be9.jpg","text":"TemporaryFile(/tmp/multipartBody4066948902347205817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675969665,"filename":"image_21012025_19_27_02_599416_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/553d513aeeaa408566cb83f790789c00.jpg","text":"TemporaryFile(/tmp/multipartBody3223739589161776172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675969665,"filename":"image_21012025_19_27_02_599416_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/285dffe240ba6dafcfb8e8a657bbe4a3.jpg","text":"TemporaryFile(/tmp/multipartBody1063602613880521241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737675969665,"filename":"image_21012025_19_26_02_338578_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330898942","file1":"1330898939","file0":"1330898938","file4":"1330898947","file5":"1330898950","file3":"1330898945"},"map_files_photo_id_array":[{"photo_id":"1330898950","filename":"file5"},{"photo_id":"1330898942","filename":"file2"},{"photo_id":"1330898947","filename":"file4"},{"photo_id":"1330898939","filename":"file1"},{"photo_id":"1330898938","filename":"file0"},{"photo_id":"1330898945","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330898942":["hashtag1","hashtag2"]},{"1330898945":["hashtag1","hashtag2"]},{"1330898939":["hashtag1","hashtag2"]},{"1330898950":["hashtag1","hashtag2"]},{"1330898947":["hashtag1","hashtag2"]},{"1330898938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330898942, 1330898945, 1330898939, 1330898950, 1330898947, 1330898938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.76124548912048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:46:02.707278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/35/image_24012025_00_35_02_401027_0003.jpg', '/home/pi/Desktop/images/24012025/00/36/image_24012025_00_36_02_558253_0000.jpg', '/home/pi/Desktop/images/24012025/00/36/image_24012025_00_36_02_558253_0001.jpg', '/home/pi/Desktop/images/24012025/00/36/image_24012025_00_36_02_558253_0002.jpg', '/home/pi/Desktop/images/24012025/00/36/image_24012025_00_36_02_558253_0003.jpg', '/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/35/image_24012025_00_35_02_401027_0003.jpg
/home/pi/Desktop/images/24012025/00/36/image_24012025_00_36_02_558253_0000.jpg
/home/pi/Desktop/images/24012025/00/36/image_24012025_00_36_02_558253_0001.jpg
/home/pi/Desktop/images/24012025/00/36/image_24012025_00_36_02_558253_0002.jpg
/home/pi/Desktop/images/24012025/00/36/image_24012025_00_36_02_558253_0003.jpg
/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330899176","1330899218","1330899151","1330899205","1330899229","1330899126"],"photo_ids_order":["1330899126","1330899151","1330899176","1330899205","1330899218","1330899229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72520ef5e8c864eb16b3d7f4e6f4beae.jpg","text":"TemporaryFile(/tmp/multipartBody7365688135970205952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676039792,"filename":"image_24012025_00_36_02_558253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/33d435f864d873fdc9c46c3bbd2648c8.jpg","text":"TemporaryFile(/tmp/multipartBody9201474303772122105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676039792,"filename":"image_24012025_00_36_02_558253_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cb9c6b83d2940bf6c75417aea4115804.jpg","text":"TemporaryFile(/tmp/multipartBody4859467382960372912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676039792,"filename":"image_24012025_00_36_02_558253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/362fd2d957476d135b7fb0ad0c5b36f1.jpg","text":"TemporaryFile(/tmp/multipartBody5696583862697427165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676039792,"filename":"image_24012025_00_36_02_558253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d3aa3da9a5672a6fde8800844ddeb1ef.jpg","text":"TemporaryFile(/tmp/multipartBody6282100274476804159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676039792,"filename":"image_24012025_00_37_02_740101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47629527d4f9118c87c419a33aa7fb5a.jpg","text":"TemporaryFile(/tmp/multipartBody4410184350756622032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676039792,"filename":"image_24012025_00_35_02_401027_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330899176","file1":"1330899151","file0":"1330899126","file4":"1330899218","file5":"1330899229","file3":"1330899205"},"map_files_photo_id_array":[{"photo_id":"1330899229","filename":"file5"},{"photo_id":"1330899176","filename":"file2"},{"photo_id":"1330899218","filename":"file4"},{"photo_id":"1330899151","filename":"file1"},{"photo_id":"1330899126","filename":"file0"},{"photo_id":"1330899205","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330899176":["hashtag1","hashtag2"]},{"1330899218":["hashtag1","hashtag2"]},{"1330899151":["hashtag1","hashtag2"]},{"1330899205":["hashtag1","hashtag2"]},{"1330899229":["hashtag1","hashtag2"]},{"1330899126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330899176, 1330899218, 1330899151, 1330899205, 1330899229, 1330899126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.198020219802856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:47:03.108078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0001.jpg', '/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0002.jpg', '/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0003.jpg', '/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0000.jpg', '/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0001.jpg', '/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0001.jpg
/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0002.jpg
/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0003.jpg
/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0000.jpg
/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0001.jpg
/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.076748371124268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:47:22.387989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0001.jpg', '/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0002.jpg', '/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0003.jpg', '/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0000.jpg', '/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0001.jpg', '/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0001.jpg
/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0002.jpg
/home/pi/Desktop/images/24012025/00/37/image_24012025_00_37_02_740101_0003.jpg
/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0000.jpg
/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0001.jpg
/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330899359","1330899350","1330899347","1330899335","1330899320","1330899354"],"photo_ids_order":["1330899320","1330899335","1330899347","1330899350","1330899354","1330899359"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5ccb8c946477eb4e4fb9c4fcaa819d9.jpg","text":"TemporaryFile(/tmp/multipartBody1704282285592725139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676118752,"filename":"image_24012025_00_38_02_992700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/511c9984d36c3c09f123d8c400e337b0.jpg","text":"TemporaryFile(/tmp/multipartBody4471770777032620535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676118752,"filename":"image_24012025_00_38_02_992700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/405078ecf9b698e80ed47968a4dc49e9.jpg","text":"TemporaryFile(/tmp/multipartBody6775744210566244046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676118752,"filename":"image_24012025_00_37_02_740101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da9ef8762cf3fd1843133c19397da87e.jpg","text":"TemporaryFile(/tmp/multipartBody8203595158921587663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676118752,"filename":"image_24012025_00_37_02_740101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9ef6ffcd0e8a38e6f82c5eee396fa846.jpg","text":"TemporaryFile(/tmp/multipartBody5241315241314328523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676118752,"filename":"image_24012025_00_37_02_740101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd6e001719c9618194f00d175c53bc56.jpg","text":"TemporaryFile(/tmp/multipartBody3581724048057483651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676118752,"filename":"image_24012025_00_38_02_992700_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330899347","file1":"1330899335","file0":"1330899320","file4":"1330899354","file5":"1330899359","file3":"1330899350"},"map_files_photo_id_array":[{"photo_id":"1330899359","filename":"file5"},{"photo_id":"1330899347","filename":"file2"},{"photo_id":"1330899354","filename":"file4"},{"photo_id":"1330899335","filename":"file1"},{"photo_id":"1330899320","filename":"file0"},{"photo_id":"1330899350","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330899359":["hashtag1","hashtag2"]},{"1330899350":["hashtag1","hashtag2"]},{"1330899347":["hashtag1","hashtag2"]},{"1330899335":["hashtag1","hashtag2"]},{"1330899320":["hashtag1","hashtag2"]},{"1330899354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330899359, 1330899350, 1330899347, 1330899335, 1330899320, 1330899354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.97926902770996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:48:52.586229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/28/image_21012025_19_28_02_884709_0000.jpg', '/home/pi/Desktop/images/21012025/19/28/image_21012025_19_28_02_884709_0001.jpg', '/home/pi/Desktop/images/21012025/19/28/image_21012025_19_28_02_884709_0002.jpg', '/home/pi/Desktop/images/21012025/19/28/image_21012025_19_28_02_884709_0003.jpg', '/home/pi/Desktop/images/21012025/19/29/image_21012025_19_29_03_082045_0000.jpg', '/home/pi/Desktop/images/21012025/19/29/image_21012025_19_29_03_082045_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/28/image_21012025_19_28_02_884709_0000.jpg
/home/pi/Desktop/images/21012025/19/28/image_21012025_19_28_02_884709_0001.jpg
/home/pi/Desktop/images/21012025/19/28/image_21012025_19_28_02_884709_0002.jpg
/home/pi/Desktop/images/21012025/19/28/image_21012025_19_28_02_884709_0003.jpg
/home/pi/Desktop/images/21012025/19/29/image_21012025_19_29_03_082045_0000.jpg
/home/pi/Desktop/images/21012025/19/29/image_21012025_19_29_03_082045_0001.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":["1330899519","1330899497","1330899476","1330899503","1330899511","1330899491"],"photo_ids_order":["1330899476","1330899491","1330899497","1330899503","1330899511","1330899519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d6b54587553c666aabbefaa7b622819.jpg","text":"TemporaryFile(/tmp/multipartBody4358967042557346194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676210630,"filename":"image_21012025_19_29_03_082045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dca2e18e663393d9bcabcb39bc37ebf5.jpg","text":"TemporaryFile(/tmp/multipartBody4060852381779493473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676210630,"filename":"image_21012025_19_28_02_884709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/69dd1e65573cfe4522544e6e9e2bfc05.jpg","text":"TemporaryFile(/tmp/multipartBody118103308871195292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676210630,"filename":"image_21012025_19_28_02_884709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d89a4bc68cd0e2574a7e9e900e35f65c.jpg","text":"TemporaryFile(/tmp/multipartBody4634670558609321153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676210630,"filename":"image_21012025_19_28_02_884709_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3a389f6c0c8e377c625d06b08e4b6785.jpg","text":"TemporaryFile(/tmp/multipartBody1015827188313538046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676210630,"filename":"image_21012025_19_29_03_082045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f81fd23b6d78bd8d8929a10a676c279.jpg","text":"TemporaryFile(/tmp/multipartBody2425372693684223158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676210630,"filename":"image_21012025_19_28_02_884709_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330899497","file1":"1330899491","file0":"1330899476","file4":"1330899511","file5":"1330899519","file3":"1330899503"},"map_files_photo_id_array":[{"photo_id":"1330899519","filename":"file5"},{"photo_id":"1330899497","filename":"file2"},{"photo_id":"1330899511","filename":"file4"},{"photo_id":"1330899491","filename":"file1"},{"photo_id":"1330899476","filename":"file0"},{"photo_id":"1330899503","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330899519":["hashtag1","hashtag2"]},{"1330899497":["hashtag1","hashtag2"]},{"1330899476":["hashtag1","hashtag2"]},{"1330899503":["hashtag1","hashtag2"]},{"1330899511":["hashtag1","hashtag2"]},{"1330899491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330899519, 1330899497, 1330899476, 1330899503, 1330899511, 1330899491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.81685662269592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:50:21.982431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0003.jpg', '/home/pi/Desktop/images/24012025/00/39/image_24012025_00_39_03_101393_0000.jpg', '/home/pi/Desktop/images/24012025/00/39/image_24012025_00_39_03_101393_0001.jpg', '/home/pi/Desktop/images/24012025/00/39/image_24012025_00_39_03_101393_0002.jpg', '/home/pi/Desktop/images/24012025/00/39/image_24012025_00_39_03_101393_0003.jpg', '/home/pi/Desktop/images/24012025/00/40/image_24012025_00_40_02_342826_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/38/image_24012025_00_38_02_992700_0003.jpg
/home/pi/Desktop/images/24012025/00/39/image_24012025_00_39_03_101393_0000.jpg
/home/pi/Desktop/images/24012025/00/39/image_24012025_00_39_03_101393_0001.jpg
/home/pi/Desktop/images/24012025/00/39/image_24012025_00_39_03_101393_0002.jpg
/home/pi/Desktop/images/24012025/00/39/image_24012025_00_39_03_101393_0003.jpg
/home/pi/Desktop/images/24012025/00/40/image_24012025_00_40_02_342826_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330899586","1330899582","1330899576","1330899579","1330899564","1330899573"],"photo_ids_order":["1330899564","1330899573","1330899576","1330899579","1330899582","1330899586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/24cdeb05b6bbc4ea3207dc8744bba24f.jpg","text":"TemporaryFile(/tmp/multipartBody566124909847362217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676299356,"filename":"image_24012025_00_40_02_342826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6db1edba96b58ecbdf2bf365790aafa5.jpg","text":"TemporaryFile(/tmp/multipartBody2261752741400705662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676299356,"filename":"image_24012025_00_39_03_101393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0ca51e19be63a933747493909e2fa07e.jpg","text":"TemporaryFile(/tmp/multipartBody8043815074734879573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676299356,"filename":"image_24012025_00_39_03_101393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/19b139a747f79c6fe5a128b563adc395.jpg","text":"TemporaryFile(/tmp/multipartBody6670441496399545491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676299356,"filename":"image_24012025_00_39_03_101393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51871dcadc0c4ee46ad49730c4d1924a.jpg","text":"TemporaryFile(/tmp/multipartBody2652235049804567633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676299356,"filename":"image_24012025_00_38_02_992700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5387b06d81f8f67a50f841bb11220e02.jpg","text":"TemporaryFile(/tmp/multipartBody4920806642045084610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676299356,"filename":"image_24012025_00_39_03_101393_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330899576","file1":"1330899573","file0":"1330899564","file4":"1330899582","file5":"1330899586","file3":"1330899579"},"map_files_photo_id_array":[{"photo_id":"1330899586","filename":"file5"},{"photo_id":"1330899576","filename":"file2"},{"photo_id":"1330899582","filename":"file4"},{"photo_id":"1330899573","filename":"file1"},{"photo_id":"1330899564","filename":"file0"},{"photo_id":"1330899579","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330899586":["hashtag1","hashtag2"]},{"1330899582":["hashtag1","hashtag2"]},{"1330899576":["hashtag1","hashtag2"]},{"1330899579":["hashtag1","hashtag2"]},{"1330899564":["hashtag1","hashtag2"]},{"1330899573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330899586, 1330899582, 1330899576, 1330899579, 1330899564, 1330899573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.51074957847595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:51:22.118139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/40/image_24012025_00_40_02_342826_0001.jpg', '/home/pi/Desktop/images/24012025/00/40/image_24012025_00_40_02_342826_0002.jpg', '/home/pi/Desktop/images/24012025/00/40/image_24012025_00_40_02_342826_0003.jpg', '/home/pi/Desktop/images/24012025/00/41/image_24012025_00_41_02_504461_0000.jpg', '/home/pi/Desktop/images/24012025/00/41/image_24012025_00_41_02_504461_0001.jpg', '/home/pi/Desktop/images/24012025/00/41/image_24012025_00_41_02_504461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/40/image_24012025_00_40_02_342826_0001.jpg
/home/pi/Desktop/images/24012025/00/40/image_24012025_00_40_02_342826_0002.jpg
/home/pi/Desktop/images/24012025/00/40/image_24012025_00_40_02_342826_0003.jpg
/home/pi/Desktop/images/24012025/00/41/image_24012025_00_41_02_504461_0000.jpg
/home/pi/Desktop/images/24012025/00/41/image_24012025_00_41_02_504461_0001.jpg
/home/pi/Desktop/images/24012025/00/41/image_24012025_00_41_02_504461_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330899671","1330899650","1330899710","1330899646","1330899715","1330899648"],"photo_ids_order":["1330899646","1330899648","1330899650","1330899671","1330899710","1330899715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e53a790326db0bf2e1f9d013455102bf.jpg","text":"TemporaryFile(/tmp/multipartBody6804931892760329051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676359749,"filename":"image_24012025_00_41_02_504461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0ad164a8389668f22c30f0d9c74ce7b.jpg","text":"TemporaryFile(/tmp/multipartBody1065550754766322216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676359749,"filename":"image_24012025_00_40_02_342826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a464e92ac1106620115a7e71832e4528.jpg","text":"TemporaryFile(/tmp/multipartBody57661490926552675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676359749,"filename":"image_24012025_00_41_02_504461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/855b53923a332f37d61d3f54251e552f.jpg","text":"TemporaryFile(/tmp/multipartBody2502813320953260640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676359749,"filename":"image_24012025_00_40_02_342826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8ba838521995e82c87015ac68fd63aea.jpg","text":"TemporaryFile(/tmp/multipartBody3069048316385447482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676359749,"filename":"image_24012025_00_41_02_504461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2870e4f96e16817e72fe152a08001ef3.jpg","text":"TemporaryFile(/tmp/multipartBody77790679616036888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676359749,"filename":"image_24012025_00_40_02_342826_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330899650","file1":"1330899648","file0":"1330899646","file4":"1330899710","file5":"1330899715","file3":"1330899671"},"map_files_photo_id_array":[{"photo_id":"1330899715","filename":"file5"},{"photo_id":"1330899650","filename":"file2"},{"photo_id":"1330899710","filename":"file4"},{"photo_id":"1330899648","filename":"file1"},{"photo_id":"1330899646","filename":"file0"},{"photo_id":"1330899671","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330899671":["hashtag1","hashtag2"]},{"1330899650":["hashtag1","hashtag2"]},{"1330899710":["hashtag1","hashtag2"]},{"1330899646":["hashtag1","hashtag2"]},{"1330899715":["hashtag1","hashtag2"]},{"1330899648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330899671, 1330899650, 1330899710, 1330899646, 1330899715, 1330899648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.91661334037781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:52:22.294289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/41/image_24012025_00_41_02_504461_0003.jpg', '/home/pi/Desktop/images/24012025/00/42/image_24012025_00_42_02_633057_0000.jpg', '/home/pi/Desktop/images/24012025/00/42/image_24012025_00_42_02_633057_0001.jpg', '/home/pi/Desktop/images/24012025/00/42/image_24012025_00_42_02_633057_0002.jpg', '/home/pi/Desktop/images/24012025/00/42/image_24012025_00_42_02_633057_0003.jpg', '/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/41/image_24012025_00_41_02_504461_0003.jpg
/home/pi/Desktop/images/24012025/00/42/image_24012025_00_42_02_633057_0000.jpg
/home/pi/Desktop/images/24012025/00/42/image_24012025_00_42_02_633057_0001.jpg
/home/pi/Desktop/images/24012025/00/42/image_24012025_00_42_02_633057_0002.jpg
/home/pi/Desktop/images/24012025/00/42/image_24012025_00_42_02_633057_0003.jpg
/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330899749","1330899758","1330899763","1330899751","1330899754","1330899756"],"photo_ids_order":["1330899749","1330899751","1330899754","1330899756","1330899758","1330899763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/84fc9e12560f5e2a65aa7c78c82547e9.jpg","text":"TemporaryFile(/tmp/multipartBody8105121542207036678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676419505,"filename":"image_24012025_00_41_02_504461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac687c858221ea0f57f6437ab1846e9d.jpg","text":"TemporaryFile(/tmp/multipartBody913958323921135032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676419505,"filename":"image_24012025_00_42_02_633057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f7767df5ece323684478dbec2c2f10c8.jpg","text":"TemporaryFile(/tmp/multipartBody7598266009615176379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676419505,"filename":"image_24012025_00_43_02_839083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ecdde2e09f07e4036ec4a6c8075f0f43.jpg","text":"TemporaryFile(/tmp/multipartBody2485329006529404568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676419505,"filename":"image_24012025_00_42_02_633057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/177ca5f4c2741e73dd8d7d4f471e7df3.jpg","text":"TemporaryFile(/tmp/multipartBody5278616765838438422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676419505,"filename":"image_24012025_00_42_02_633057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad1914eb6cc1a8398f41eb880a1afea0.jpg","text":"TemporaryFile(/tmp/multipartBody6982100990983869256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676419505,"filename":"image_24012025_00_42_02_633057_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330899754","file1":"1330899751","file0":"1330899749","file4":"1330899758","file5":"1330899763","file3":"1330899756"},"map_files_photo_id_array":[{"photo_id":"1330899763","filename":"file5"},{"photo_id":"1330899754","filename":"file2"},{"photo_id":"1330899758","filename":"file4"},{"photo_id":"1330899751","filename":"file1"},{"photo_id":"1330899749","filename":"file0"},{"photo_id":"1330899756","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330899749":["hashtag1","hashtag2"]},{"1330899758":["hashtag1","hashtag2"]},{"1330899763":["hashtag1","hashtag2"]},{"1330899751":["hashtag1","hashtag2"]},{"1330899754":["hashtag1","hashtag2"]},{"1330899756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330899749, 1330899758, 1330899763, 1330899751, 1330899754, 1330899756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.93004608154297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:53:22.470494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0001.jpg', '/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0002.jpg', '/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0003.jpg', '/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0000.jpg', '/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0001.jpg', '/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0001.jpg
/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0002.jpg
/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0003.jpg
/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0000.jpg
/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0001.jpg
/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.826372146606445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:53:52.529940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/29/image_21012025_19_29_03_082045_0002.jpg', '/home/pi/Desktop/images/21012025/19/29/image_21012025_19_29_03_082045_0003.jpg', '/home/pi/Desktop/images/21012025/19/30/image_21012025_19_30_02_312985_0000.jpg', '/home/pi/Desktop/images/21012025/19/30/image_21012025_19_30_02_312985_0001.jpg', '/home/pi/Desktop/images/21012025/19/30/image_21012025_19_30_02_312985_0002.jpg', '/home/pi/Desktop/images/21012025/19/30/image_21012025_19_30_02_312985_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/29/image_21012025_19_29_03_082045_0002.jpg
/home/pi/Desktop/images/21012025/19/29/image_21012025_19_29_03_082045_0003.jpg
/home/pi/Desktop/images/21012025/19/30/image_21012025_19_30_02_312985_0000.jpg
/home/pi/Desktop/images/21012025/19/30/image_21012025_19_30_02_312985_0001.jpg
/home/pi/Desktop/images/21012025/19/30/image_21012025_19_30_02_312985_0002.jpg
/home/pi/Desktop/images/21012025/19/30/image_21012025_19_30_02_312985_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330899909","1330899926","1330899913","1330899894","1330899882","1330899918"],"photo_ids_order":["1330899882","1330899894","1330899909","1330899913","1330899918","1330899926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/709178fac1bfb7fc567231ddd563478a.jpg","text":"TemporaryFile(/tmp/multipartBody4084538401576881439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676510630,"filename":"image_21012025_19_30_02_312985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f9f2201321a71da759c0b6ce3a45ef06.jpg","text":"TemporaryFile(/tmp/multipartBody5067584893531644159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676510630,"filename":"image_21012025_19_30_02_312985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c6143ba3d40347d3338d507cc0a9e54.jpg","text":"TemporaryFile(/tmp/multipartBody8749610757738712884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676510630,"filename":"image_21012025_19_30_02_312985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a55a0dc2d06bd4f7f668eb761f54dfba.jpg","text":"TemporaryFile(/tmp/multipartBody228119964845295032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676510630,"filename":"image_21012025_19_29_03_082045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b664b479cee924029a173f172a445b89.jpg","text":"TemporaryFile(/tmp/multipartBody30764955934284263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676510630,"filename":"image_21012025_19_29_03_082045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e6d4e3f20e9019aac9b79e1d22c564ca.jpg","text":"TemporaryFile(/tmp/multipartBody8370552764167605484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676510630,"filename":"image_21012025_19_30_02_312985_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330899909","file1":"1330899894","file0":"1330899882","file4":"1330899918","file5":"1330899926","file3":"1330899913"},"map_files_photo_id_array":[{"photo_id":"1330899926","filename":"file5"},{"photo_id":"1330899909","filename":"file2"},{"photo_id":"1330899918","filename":"file4"},{"photo_id":"1330899894","filename":"file1"},{"photo_id":"1330899882","filename":"file0"},{"photo_id":"1330899913","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330899909":["hashtag1","hashtag2"]},{"1330899926":["hashtag1","hashtag2"]},{"1330899913":["hashtag1","hashtag2"]},{"1330899894":["hashtag1","hashtag2"]},{"1330899882":["hashtag1","hashtag2"]},{"1330899918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330899909, 1330899926, 1330899913, 1330899894, 1330899882, 1330899918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.791407108306885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:55:02.608392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0001.jpg', '/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0002.jpg', '/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0003.jpg', '/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0000.jpg', '/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0001.jpg', '/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0001.jpg
/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0002.jpg
/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0003.jpg
/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0000.jpg
/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0001.jpg
/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.569711923599243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:55:21.905404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0001.jpg', '/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0002.jpg', '/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0003.jpg', '/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0000.jpg', '/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0001.jpg', '/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0001.jpg
/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0002.jpg
/home/pi/Desktop/images/24012025/00/43/image_24012025_00_43_02_839083_0003.jpg
/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0000.jpg
/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0001.jpg
/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330900048","1330900030","1330900024","1330900050","1330900026","1330900055"],"photo_ids_order":["1330900024","1330900026","1330900030","1330900048","1330900050","1330900055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc8a86da2d0ed29b968ccc4515cded6f.jpg","text":"TemporaryFile(/tmp/multipartBody7858952024662783464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676598791,"filename":"image_24012025_00_44_03_058395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5117880140d7933b21d4d1d745bed07.jpg","text":"TemporaryFile(/tmp/multipartBody8133565876856551017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676598791,"filename":"image_24012025_00_43_02_839083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9be080ded2a9adb7e56cfbe89ec0557a.jpg","text":"TemporaryFile(/tmp/multipartBody5035852483641381759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676598791,"filename":"image_24012025_00_43_02_839083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47738ba7d222967986617532db64e831.jpg","text":"TemporaryFile(/tmp/multipartBody35926782292955538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676598791,"filename":"image_24012025_00_44_03_058395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf233183defffb8200ce3041392e07ee.jpg","text":"TemporaryFile(/tmp/multipartBody4364143739614481809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676598791,"filename":"image_24012025_00_43_02_839083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/50e6896483ff08f32996e4f1747af885.jpg","text":"TemporaryFile(/tmp/multipartBody718886623643617662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676598791,"filename":"image_24012025_00_44_03_058395_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330900030","file1":"1330900026","file0":"1330900024","file4":"1330900050","file5":"1330900055","file3":"1330900048"},"map_files_photo_id_array":[{"photo_id":"1330900055","filename":"file5"},{"photo_id":"1330900030","filename":"file2"},{"photo_id":"1330900050","filename":"file4"},{"photo_id":"1330900026","filename":"file1"},{"photo_id":"1330900024","filename":"file0"},{"photo_id":"1330900048","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330900048":["hashtag1","hashtag2"]},{"1330900030":["hashtag1","hashtag2"]},{"1330900024":["hashtag1","hashtag2"]},{"1330900050":["hashtag1","hashtag2"]},{"1330900026":["hashtag1","hashtag2"]},{"1330900055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330900048, 1330900030, 1330900024, 1330900050, 1330900026, 1330900055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.11435556411743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 00:56:22.072855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0003.jpg', '/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0000.jpg', '/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0001.jpg', '/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0002.jpg', '/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0003.jpg', '/home/pi/Desktop/images/24012025/00/46/image_24012025_00_46_02_486244_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0003.jpg
/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0000.jpg
/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0001.jpg
/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0002.jpg
/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0003.jpg
/home/pi/Desktop/images/24012025/00/46/image_24012025_00_46_02_486244_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.248851537704468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-24 00:56:52.054072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/31/image_21012025_19_31_02_432699_0000.jpg', '/home/pi/Desktop/images/21012025/19/31/image_21012025_19_31_02_432699_0001.jpg', '/home/pi/Desktop/images/21012025/19/31/image_21012025_19_31_02_432699_0002.jpg', '/home/pi/Desktop/images/21012025/19/31/image_21012025_19_31_02_432699_0003.jpg', '/home/pi/Desktop/images/21012025/19/32/image_21012025_19_32_02_611603_0000.jpg', '/home/pi/Desktop/images/21012025/19/32/image_21012025_19_32_02_611603_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/31/image_21012025_19_31_02_432699_0000.jpg
/home/pi/Desktop/images/21012025/19/31/image_21012025_19_31_02_432699_0001.jpg
/home/pi/Desktop/images/21012025/19/31/image_21012025_19_31_02_432699_0002.jpg
/home/pi/Desktop/images/21012025/19/31/image_21012025_19_31_02_432699_0003.jpg
/home/pi/Desktop/images/21012025/19/32/image_21012025_19_32_02_611603_0000.jpg
/home/pi/Desktop/images/21012025/19/32/image_21012025_19_32_02_611603_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330900183","1330900189","1330900201","1330900210","1330900207","1330900193"],"photo_ids_order":["1330900183","1330900189","1330900193","1330900201","1330900207","1330900210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee88291267cfdc95012ae4214bfe5683.jpg","text":"TemporaryFile(/tmp/multipartBody5584265465400267598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676690590,"filename":"image_21012025_19_31_02_432699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/097123729aa594b590a8a77bbbc97196.jpg","text":"TemporaryFile(/tmp/multipartBody7202781836046700860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676690590,"filename":"image_21012025_19_31_02_432699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/377e07db7a94bc570b2b423a6ff8c13e.jpg","text":"TemporaryFile(/tmp/multipartBody4507387641322614808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676690590,"filename":"image_21012025_19_31_02_432699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/78e6b00d75bd663819aede1b6791eba1.jpg","text":"TemporaryFile(/tmp/multipartBody5265838366235643729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676690590,"filename":"image_21012025_19_32_02_611603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/93f7388711495fde356b76bf811b4302.jpg","text":"TemporaryFile(/tmp/multipartBody168850180118100808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676690590,"filename":"image_21012025_19_32_02_611603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9a288a8b729cf0059a08d0068e5d5dd3.jpg","text":"TemporaryFile(/tmp/multipartBody7597871581830321281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676690590,"filename":"image_21012025_19_31_02_432699_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330900193","file1":"1330900189","file0":"1330900183","file4":"1330900207","file5":"1330900210","file3":"1330900201"},"map_files_photo_id_array":[{"photo_id":"1330900210","filename":"file5"},{"photo_id":"1330900193","filename":"file2"},{"photo_id":"1330900207","filename":"file4"},{"photo_id":"1330900189","filename":"file1"},{"photo_id":"1330900183","filename":"file0"},{"photo_id":"1330900201","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330900183":["hashtag1","hashtag2"]},{"1330900189":["hashtag1","hashtag2"]},{"1330900201":["hashtag1","hashtag2"]},{"1330900210":["hashtag1","hashtag2"]},{"1330900207":["hashtag1","hashtag2"]},{"1330900193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330900183, 1330900189, 1330900201, 1330900210, 1330900207, 1330900193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.57759642601013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 00:59:03.347439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0003.jpg', '/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0000.jpg', '/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0001.jpg', '/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0002.jpg', '/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0003.jpg', '/home/pi/Desktop/images/24012025/00/46/image_24012025_00_46_02_486244_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/44/image_24012025_00_44_03_058395_0003.jpg
/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0000.jpg
/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0001.jpg
/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0002.jpg
/home/pi/Desktop/images/24012025/00/45/image_24012025_00_45_02_314387_0003.jpg
/home/pi/Desktop/images/24012025/00/46/image_24012025_00_46_02_486244_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330900342","1330900336","1330900347","1330900326","1330900373","1330900358"],"photo_ids_order":["1330900326","1330900336","1330900342","1330900347","1330900358","1330900373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/50f71670785f5d15312294c7392dd964.jpg","text":"TemporaryFile(/tmp/multipartBody4096277163632005603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676819990,"filename":"image_24012025_00_45_02_314387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d78bbca8d7c6ffa868102b54c0736c6e.jpg","text":"TemporaryFile(/tmp/multipartBody749548673818303696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676819990,"filename":"image_24012025_00_45_02_314387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/88ed4f0380b11938c69346b60a8f3588.jpg","text":"TemporaryFile(/tmp/multipartBody6077993654148800015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676819990,"filename":"image_24012025_00_45_02_314387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06d8b6883bc6d7bfd7d2988f4e53a0a2.jpg","text":"TemporaryFile(/tmp/multipartBody5065390497900342816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676819990,"filename":"image_24012025_00_44_03_058395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0efc46abf2c26b952c9abfd3a43e848.jpg","text":"TemporaryFile(/tmp/multipartBody3289113475985426187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676819990,"filename":"image_24012025_00_46_02_486244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d6552a9e1c4462a8091b984efcbd16a9.jpg","text":"TemporaryFile(/tmp/multipartBody8862231651337646281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676819990,"filename":"image_24012025_00_45_02_314387_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330900342","file1":"1330900336","file0":"1330900326","file4":"1330900358","file5":"1330900373","file3":"1330900347"},"map_files_photo_id_array":[{"photo_id":"1330900373","filename":"file5"},{"photo_id":"1330900342","filename":"file2"},{"photo_id":"1330900358","filename":"file4"},{"photo_id":"1330900336","filename":"file1"},{"photo_id":"1330900326","filename":"file0"},{"photo_id":"1330900347","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330900342":["hashtag1","hashtag2"]},{"1330900336":["hashtag1","hashtag2"]},{"1330900347":["hashtag1","hashtag2"]},{"1330900326":["hashtag1","hashtag2"]},{"1330900373":["hashtag1","hashtag2"]},{"1330900358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330900342, 1330900336, 1330900347, 1330900326, 1330900373, 1330900358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.72519636154175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:00:22.178165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/46/image_24012025_00_46_02_486244_0001.jpg', '/home/pi/Desktop/images/24012025/00/46/image_24012025_00_46_02_486244_0002.jpg', '/home/pi/Desktop/images/24012025/00/46/image_24012025_00_46_02_486244_0003.jpg', '/home/pi/Desktop/images/24012025/00/47/image_24012025_00_47_02_641303_0000.jpg', '/home/pi/Desktop/images/24012025/00/47/image_24012025_00_47_02_641303_0001.jpg', '/home/pi/Desktop/images/24012025/00/47/image_24012025_00_47_02_641303_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/46/image_24012025_00_46_02_486244_0001.jpg
/home/pi/Desktop/images/24012025/00/46/image_24012025_00_46_02_486244_0002.jpg
/home/pi/Desktop/images/24012025/00/46/image_24012025_00_46_02_486244_0003.jpg
/home/pi/Desktop/images/24012025/00/47/image_24012025_00_47_02_641303_0000.jpg
/home/pi/Desktop/images/24012025/00/47/image_24012025_00_47_02_641303_0001.jpg
/home/pi/Desktop/images/24012025/00/47/image_24012025_00_47_02_641303_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330900486","1330900495","1330900470","1330900431","1330900433","1330900436"],"photo_ids_order":["1330900431","1330900433","1330900436","1330900470","1330900486","1330900495"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1aa9f6452975314a71659cfcefc25d65.jpg","text":"TemporaryFile(/tmp/multipartBody932267247342894808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676899369,"filename":"image_24012025_00_47_02_641303_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c71b1beeb497b6cdbaf8c046629c1ce.jpg","text":"TemporaryFile(/tmp/multipartBody5693527598764840369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676899369,"filename":"image_24012025_00_47_02_641303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/93c987cf1f26bb598fd891bc84be7230.jpg","text":"TemporaryFile(/tmp/multipartBody5448157776124184495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676899369,"filename":"image_24012025_00_47_02_641303_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/96eb2e919fa4661b15e97ee3cdb8486c.jpg","text":"TemporaryFile(/tmp/multipartBody8414177880772572593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676899369,"filename":"image_24012025_00_46_02_486244_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f32118cf781e1b69002352898a3d1665.jpg","text":"TemporaryFile(/tmp/multipartBody3953215982613217783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676899369,"filename":"image_24012025_00_46_02_486244_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b7d82c8ae0268e311bceed5ca842031.jpg","text":"TemporaryFile(/tmp/multipartBody335034890697349334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676899369,"filename":"image_24012025_00_46_02_486244_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330900436","file1":"1330900433","file0":"1330900431","file4":"1330900486","file5":"1330900495","file3":"1330900470"},"map_files_photo_id_array":[{"photo_id":"1330900495","filename":"file5"},{"photo_id":"1330900436","filename":"file2"},{"photo_id":"1330900486","filename":"file4"},{"photo_id":"1330900433","filename":"file1"},{"photo_id":"1330900431","filename":"file0"},{"photo_id":"1330900470","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330900486":["hashtag1","hashtag2"]},{"1330900495":["hashtag1","hashtag2"]},{"1330900470":["hashtag1","hashtag2"]},{"1330900431":["hashtag1","hashtag2"]},{"1330900433":["hashtag1","hashtag2"]},{"1330900436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330900486, 1330900495, 1330900470, 1330900431, 1330900433, 1330900436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.8750228881836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:02:02.502964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/47/image_24012025_00_47_02_641303_0003.jpg', '/home/pi/Desktop/images/24012025/00/48/image_24012025_00_48_02_835386_0000.jpg', '/home/pi/Desktop/images/24012025/00/48/image_24012025_00_48_02_835386_0001.jpg', '/home/pi/Desktop/images/24012025/00/48/image_24012025_00_48_02_835386_0002.jpg', '/home/pi/Desktop/images/24012025/00/48/image_24012025_00_48_02_835386_0003.jpg', '/home/pi/Desktop/images/24012025/00/49/image_24012025_00_49_02_950472_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/47/image_24012025_00_47_02_641303_0003.jpg
/home/pi/Desktop/images/24012025/00/48/image_24012025_00_48_02_835386_0000.jpg
/home/pi/Desktop/images/24012025/00/48/image_24012025_00_48_02_835386_0001.jpg
/home/pi/Desktop/images/24012025/00/48/image_24012025_00_48_02_835386_0002.jpg
/home/pi/Desktop/images/24012025/00/48/image_24012025_00_48_02_835386_0003.jpg
/home/pi/Desktop/images/24012025/00/49/image_24012025_00_49_02_950472_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330900622","1330900585","1330900588","1330900582","1330900612","1330900600"],"photo_ids_order":["1330900582","1330900585","1330900588","1330900600","1330900612","1330900622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/66f36749702ad902b96aaf0e61bcc687.jpg","text":"TemporaryFile(/tmp/multipartBody1337846287565301702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676999408,"filename":"image_24012025_00_49_02_950472_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb16ea7bc84be84733af94156b326ce1.jpg","text":"TemporaryFile(/tmp/multipartBody3044832278903868493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676999408,"filename":"image_24012025_00_48_02_835386_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7016d4ef9cdaaae773b5b01ca0ae3b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3416113473955049964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676999408,"filename":"image_24012025_00_48_02_835386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6035eef27b1380d233f27faf951dbba3.jpg","text":"TemporaryFile(/tmp/multipartBody3662236584046267850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676999408,"filename":"image_24012025_00_47_02_641303_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b8747d9cb155c9254f8be28fc5e03fee.jpg","text":"TemporaryFile(/tmp/multipartBody2956951540959475237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676999408,"filename":"image_24012025_00_48_02_835386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb345e795ac6d29a1ea38928382ac6b2.jpg","text":"TemporaryFile(/tmp/multipartBody5385752188730720146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737676999408,"filename":"image_24012025_00_48_02_835386_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330900588","file1":"1330900585","file0":"1330900582","file4":"1330900612","file5":"1330900622","file3":"1330900600"},"map_files_photo_id_array":[{"photo_id":"1330900622","filename":"file5"},{"photo_id":"1330900588","filename":"file2"},{"photo_id":"1330900612","filename":"file4"},{"photo_id":"1330900585","filename":"file1"},{"photo_id":"1330900582","filename":"file0"},{"photo_id":"1330900600","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330900622":["hashtag1","hashtag2"]},{"1330900585":["hashtag1","hashtag2"]},{"1330900588":["hashtag1","hashtag2"]},{"1330900582":["hashtag1","hashtag2"]},{"1330900612":["hashtag1","hashtag2"]},{"1330900600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330900622, 1330900585, 1330900588, 1330900582, 1330900612, 1330900600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.35613012313843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:03:03.379761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/49/image_24012025_00_49_02_950472_0001.jpg', '/home/pi/Desktop/images/24012025/00/49/image_24012025_00_49_02_950472_0002.jpg', '/home/pi/Desktop/images/24012025/00/49/image_24012025_00_49_02_950472_0003.jpg', '/home/pi/Desktop/images/24012025/00/50/image_24012025_00_50_02_212259_0000.jpg', '/home/pi/Desktop/images/24012025/00/50/image_24012025_00_50_02_212259_0001.jpg', '/home/pi/Desktop/images/24012025/00/50/image_24012025_00_50_02_212259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/49/image_24012025_00_49_02_950472_0001.jpg
/home/pi/Desktop/images/24012025/00/49/image_24012025_00_49_02_950472_0002.jpg
/home/pi/Desktop/images/24012025/00/49/image_24012025_00_49_02_950472_0003.jpg
/home/pi/Desktop/images/24012025/00/50/image_24012025_00_50_02_212259_0000.jpg
/home/pi/Desktop/images/24012025/00/50/image_24012025_00_50_02_212259_0001.jpg
/home/pi/Desktop/images/24012025/00/50/image_24012025_00_50_02_212259_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330900703","1330900723","1330900698","1330900673","1330900670","1330900727"],"photo_ids_order":["1330900670","1330900673","1330900698","1330900703","1330900723","1330900727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c136831ca04a897448bfb94e111fcc3.jpg","text":"TemporaryFile(/tmp/multipartBody6024849601543896418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677060547,"filename":"image_24012025_00_50_02_212259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b2d56725bd919d9069069375c45392a9.jpg","text":"TemporaryFile(/tmp/multipartBody4192570813671085283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677060547,"filename":"image_24012025_00_50_02_212259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e3b02ccf32a8577bb8e42720026a1f79.jpg","text":"TemporaryFile(/tmp/multipartBody4192020733215025689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677060547,"filename":"image_24012025_00_49_02_950472_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d5a76f7150f135cfd5fe1ad6212f6cd7.jpg","text":"TemporaryFile(/tmp/multipartBody3222039992208319642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677060547,"filename":"image_24012025_00_49_02_950472_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/508ea25e31f0862f1e46c6ae105432f4.jpg","text":"TemporaryFile(/tmp/multipartBody3945714926999444509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677060547,"filename":"image_24012025_00_49_02_950472_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e0340c4879ba47835400131ca5561758.jpg","text":"TemporaryFile(/tmp/multipartBody7585672001524223107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677060547,"filename":"image_24012025_00_50_02_212259_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330900698","file1":"1330900673","file0":"1330900670","file4":"1330900723","file5":"1330900727","file3":"1330900703"},"map_files_photo_id_array":[{"photo_id":"1330900727","filename":"file5"},{"photo_id":"1330900698","filename":"file2"},{"photo_id":"1330900723","filename":"file4"},{"photo_id":"1330900673","filename":"file1"},{"photo_id":"1330900670","filename":"file0"},{"photo_id":"1330900703","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330900703":["hashtag1","hashtag2"]},{"1330900723":["hashtag1","hashtag2"]},{"1330900698":["hashtag1","hashtag2"]},{"1330900673":["hashtag1","hashtag2"]},{"1330900670":["hashtag1","hashtag2"]},{"1330900727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330900703, 1330900723, 1330900698, 1330900673, 1330900670, 1330900727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.25044584274292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:04:22.277592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/50/image_24012025_00_50_02_212259_0003.jpg', '/home/pi/Desktop/images/24012025/00/51/image_24012025_00_51_02_320788_0000.jpg', '/home/pi/Desktop/images/24012025/00/51/image_24012025_00_51_02_320788_0001.jpg', '/home/pi/Desktop/images/24012025/00/51/image_24012025_00_51_02_320788_0002.jpg', '/home/pi/Desktop/images/24012025/00/51/image_24012025_00_51_02_320788_0003.jpg', '/home/pi/Desktop/images/24012025/00/52/image_24012025_00_52_02_535435_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/50/image_24012025_00_50_02_212259_0003.jpg
/home/pi/Desktop/images/24012025/00/51/image_24012025_00_51_02_320788_0000.jpg
/home/pi/Desktop/images/24012025/00/51/image_24012025_00_51_02_320788_0001.jpg
/home/pi/Desktop/images/24012025/00/51/image_24012025_00_51_02_320788_0002.jpg
/home/pi/Desktop/images/24012025/00/51/image_24012025_00_51_02_320788_0003.jpg
/home/pi/Desktop/images/24012025/00/52/image_24012025_00_52_02_535435_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330900966","1330900956","1330900970","1330900952","1330900961","1330900958"],"photo_ids_order":["1330900952","1330900956","1330900958","1330900961","1330900966","1330900970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6dd8886559a34bd4ba25f6498e0a7ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2871371200385319459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677139123,"filename":"image_24012025_00_51_02_320788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b2a9db4ea0fd03277123b75508cf9338.jpg","text":"TemporaryFile(/tmp/multipartBody8654865634819690138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677139123,"filename":"image_24012025_00_51_02_320788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d23e92894daa575d3a52a772cd9e6176.jpg","text":"TemporaryFile(/tmp/multipartBody2576139730721288917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677139123,"filename":"image_24012025_00_52_02_535435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f882e8535c7ac921ee95910e2fc81f95.jpg","text":"TemporaryFile(/tmp/multipartBody2687795012602417154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677139123,"filename":"image_24012025_00_50_02_212259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63d932d35fe0837af181ee22edd35302.jpg","text":"TemporaryFile(/tmp/multipartBody5897040861180925841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677139123,"filename":"image_24012025_00_51_02_320788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/646e6a8961d8582eaf871074bae6aa0f.jpg","text":"TemporaryFile(/tmp/multipartBody2492719522759344272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677139123,"filename":"image_24012025_00_51_02_320788_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330900958","file1":"1330900956","file0":"1330900952","file4":"1330900966","file5":"1330900970","file3":"1330900961"},"map_files_photo_id_array":[{"photo_id":"1330900970","filename":"file5"},{"photo_id":"1330900958","filename":"file2"},{"photo_id":"1330900966","filename":"file4"},{"photo_id":"1330900956","filename":"file1"},{"photo_id":"1330900952","filename":"file0"},{"photo_id":"1330900961","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330900966":["hashtag1","hashtag2"]},{"1330900956":["hashtag1","hashtag2"]},{"1330900970":["hashtag1","hashtag2"]},{"1330900952":["hashtag1","hashtag2"]},{"1330900961":["hashtag1","hashtag2"]},{"1330900958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330900966, 1330900956, 1330900970, 1330900952, 1330900961, 1330900958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.184728145599365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:05:22.670875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/52/image_24012025_00_52_02_535435_0001.jpg', '/home/pi/Desktop/images/24012025/00/52/image_24012025_00_52_02_535435_0002.jpg', '/home/pi/Desktop/images/24012025/00/52/image_24012025_00_52_02_535435_0003.jpg', '/home/pi/Desktop/images/24012025/00/53/image_24012025_00_53_02_708656_0000.jpg', '/home/pi/Desktop/images/24012025/00/53/image_24012025_00_53_02_708656_0001.jpg', '/home/pi/Desktop/images/24012025/00/53/image_24012025_00_53_02_708656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/52/image_24012025_00_52_02_535435_0001.jpg
/home/pi/Desktop/images/24012025/00/52/image_24012025_00_52_02_535435_0002.jpg
/home/pi/Desktop/images/24012025/00/52/image_24012025_00_52_02_535435_0003.jpg
/home/pi/Desktop/images/24012025/00/53/image_24012025_00_53_02_708656_0000.jpg
/home/pi/Desktop/images/24012025/00/53/image_24012025_00_53_02_708656_0001.jpg
/home/pi/Desktop/images/24012025/00/53/image_24012025_00_53_02_708656_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330901121","1330901004","1330900997","1330900991","1330900994","1330901000"],"photo_ids_order":["1330900991","1330900994","1330900997","1330901000","1330901004","1330901121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9247c5cbaa94245a9d1266ef85fb3681.jpg","text":"TemporaryFile(/tmp/multipartBody4656518329045226553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677199433,"filename":"image_24012025_00_53_02_708656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/86624507dc77bdc8f3f9db5be1e47c10.jpg","text":"TemporaryFile(/tmp/multipartBody8197091021457988200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677199433,"filename":"image_24012025_00_53_02_708656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c46b6631cd23dd726d7c1a45d5a13455.jpg","text":"TemporaryFile(/tmp/multipartBody9196081083534187457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677199433,"filename":"image_24012025_00_52_02_535435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab4506cb0a0e9449f716f4d769cca474.jpg","text":"TemporaryFile(/tmp/multipartBody594305584022927937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677199433,"filename":"image_24012025_00_52_02_535435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/89fcc1311e54b7e134cf53544d962752.jpg","text":"TemporaryFile(/tmp/multipartBody8829853133152490845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677199433,"filename":"image_24012025_00_52_02_535435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b950405cbd6d3cc6e9f1eee0dfc8feb7.jpg","text":"TemporaryFile(/tmp/multipartBody4524443444653120598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677199433,"filename":"image_24012025_00_53_02_708656_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330900997","file1":"1330900994","file0":"1330900991","file4":"1330901004","file5":"1330901121","file3":"1330901000"},"map_files_photo_id_array":[{"photo_id":"1330901121","filename":"file5"},{"photo_id":"1330900997","filename":"file2"},{"photo_id":"1330901004","filename":"file4"},{"photo_id":"1330900994","filename":"file1"},{"photo_id":"1330900991","filename":"file0"},{"photo_id":"1330901000","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330901121":["hashtag1","hashtag2"]},{"1330901004":["hashtag1","hashtag2"]},{"1330900997":["hashtag1","hashtag2"]},{"1330900991":["hashtag1","hashtag2"]},{"1330900994":["hashtag1","hashtag2"]},{"1330901000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330901121, 1330901004, 1330900997, 1330900991, 1330900994, 1330901000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.091240644454956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:07:03.198117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/53/image_24012025_00_53_02_708656_0003.jpg', '/home/pi/Desktop/images/24012025/00/54/image_24012025_00_54_02_838849_0000.jpg', '/home/pi/Desktop/images/24012025/00/54/image_24012025_00_54_02_838849_0001.jpg', '/home/pi/Desktop/images/24012025/00/54/image_24012025_00_54_02_838849_0002.jpg', '/home/pi/Desktop/images/24012025/00/54/image_24012025_00_54_02_838849_0003.jpg', '/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/53/image_24012025_00_53_02_708656_0003.jpg
/home/pi/Desktop/images/24012025/00/54/image_24012025_00_54_02_838849_0000.jpg
/home/pi/Desktop/images/24012025/00/54/image_24012025_00_54_02_838849_0001.jpg
/home/pi/Desktop/images/24012025/00/54/image_24012025_00_54_02_838849_0002.jpg
/home/pi/Desktop/images/24012025/00/54/image_24012025_00_54_02_838849_0003.jpg
/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330901674","1330901687","1330901666","1330901669","1330901677","1330901671"],"photo_ids_order":["1330901666","1330901669","1330901671","1330901674","1330901677","1330901687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e45ad18d68db6898117daa868e31ef60.jpg","text":"TemporaryFile(/tmp/multipartBody6676305689045899569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677299802,"filename":"image_24012025_00_54_02_838849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d9c432a96bc54f673830878c63e830b.jpg","text":"TemporaryFile(/tmp/multipartBody6265751218414318551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677299802,"filename":"image_24012025_00_55_03_072122_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5937935b2b13c9557a1a22dd62b3f387.jpg","text":"TemporaryFile(/tmp/multipartBody2481840748043501726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677299802,"filename":"image_24012025_00_53_02_708656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7034c0b0e746786a9026806e8b156896.jpg","text":"TemporaryFile(/tmp/multipartBody454539125931308265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677299802,"filename":"image_24012025_00_54_02_838849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5980063914026162ff6760afcc4a2fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1124882816623778061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677299802,"filename":"image_24012025_00_54_02_838849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/19ce92b8a05a5005c4fda804ce4890c8.jpg","text":"TemporaryFile(/tmp/multipartBody2580440258752283766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677299802,"filename":"image_24012025_00_54_02_838849_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330901671","file1":"1330901669","file0":"1330901666","file4":"1330901677","file5":"1330901687","file3":"1330901674"},"map_files_photo_id_array":[{"photo_id":"1330901687","filename":"file5"},{"photo_id":"1330901671","filename":"file2"},{"photo_id":"1330901677","filename":"file4"},{"photo_id":"1330901669","filename":"file1"},{"photo_id":"1330901666","filename":"file0"},{"photo_id":"1330901674","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330901674":["hashtag1","hashtag2"]},{"1330901687":["hashtag1","hashtag2"]},{"1330901666":["hashtag1","hashtag2"]},{"1330901669":["hashtag1","hashtag2"]},{"1330901677":["hashtag1","hashtag2"]},{"1330901671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330901674, 1330901687, 1330901666, 1330901669, 1330901677, 1330901671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.15109610557556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:08:22.319411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0001.jpg', '/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0002.jpg', '/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0003.jpg', '/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0000.jpg', '/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0001.jpg', '/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0001.jpg
/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0002.jpg
/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0003.jpg
/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0000.jpg
/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0001.jpg
/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.272718906402588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:09:02.497905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0001.jpg', '/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0002.jpg', '/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0003.jpg', '/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0000.jpg', '/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0001.jpg', '/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0001.jpg
/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0002.jpg
/home/pi/Desktop/images/24012025/00/55/image_24012025_00_55_03_072122_0003.jpg
/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0000.jpg
/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0001.jpg
/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330902273","1330902260","1330902221","1330902241","1330902235","1330902238"],"photo_ids_order":["1330902221","1330902235","1330902238","1330902241","1330902260","1330902273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad6c6c04b92ced423a3837220c45291a.jpg","text":"TemporaryFile(/tmp/multipartBody6893980778115760596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677419243,"filename":"image_24012025_00_56_02_275314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab627b8afd68d313571a74802edda6ae.jpg","text":"TemporaryFile(/tmp/multipartBody2502947275206753108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677419243,"filename":"image_24012025_00_56_02_275314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3223bf2cae634de144b97f94533f2cbd.jpg","text":"TemporaryFile(/tmp/multipartBody2071820947338136201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677419243,"filename":"image_24012025_00_55_03_072122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5031d50156a0a07d4859f5d9e8f5a974.jpg","text":"TemporaryFile(/tmp/multipartBody1259656852760177373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677419243,"filename":"image_24012025_00_56_02_275314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3a17c8666ded025ccedf49f403d43b35.jpg","text":"TemporaryFile(/tmp/multipartBody6257339497058593311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677419243,"filename":"image_24012025_00_55_03_072122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c971fd50be278e37a18e9fc4740ef58.jpg","text":"TemporaryFile(/tmp/multipartBody6840181919790749803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677419243,"filename":"image_24012025_00_55_03_072122_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330902238","file1":"1330902235","file0":"1330902221","file4":"1330902260","file5":"1330902273","file3":"1330902241"},"map_files_photo_id_array":[{"photo_id":"1330902273","filename":"file5"},{"photo_id":"1330902238","filename":"file2"},{"photo_id":"1330902260","filename":"file4"},{"photo_id":"1330902235","filename":"file1"},{"photo_id":"1330902221","filename":"file0"},{"photo_id":"1330902241","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330902273":["hashtag1","hashtag2"]},{"1330902260":["hashtag1","hashtag2"]},{"1330902221":["hashtag1","hashtag2"]},{"1330902241":["hashtag1","hashtag2"]},{"1330902235":["hashtag1","hashtag2"]},{"1330902238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330902273, 1330902260, 1330902221, 1330902241, 1330902235, 1330902238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.56937074661255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:10:02.753516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0003.jpg', '/home/pi/Desktop/images/24012025/00/57/image_24012025_00_57_02_399877_0000.jpg', '/home/pi/Desktop/images/24012025/00/57/image_24012025_00_57_02_399877_0001.jpg', '/home/pi/Desktop/images/24012025/00/57/image_24012025_00_57_02_399877_0002.jpg', '/home/pi/Desktop/images/24012025/00/57/image_24012025_00_57_02_399877_0003.jpg', '/home/pi/Desktop/images/24012025/00/58/image_24012025_00_58_02_628368_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/56/image_24012025_00_56_02_275314_0003.jpg
/home/pi/Desktop/images/24012025/00/57/image_24012025_00_57_02_399877_0000.jpg
/home/pi/Desktop/images/24012025/00/57/image_24012025_00_57_02_399877_0001.jpg
/home/pi/Desktop/images/24012025/00/57/image_24012025_00_57_02_399877_0002.jpg
/home/pi/Desktop/images/24012025/00/57/image_24012025_00_57_02_399877_0003.jpg
/home/pi/Desktop/images/24012025/00/58/image_24012025_00_58_02_628368_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330902331","1330902357","1330902405","1330902419","1330902401","1330902439"],"photo_ids_order":["1330902331","1330902357","1330902401","1330902405","1330902419","1330902439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/17c0c89e5d8f075471c0ff6c41fa4532.jpg","text":"TemporaryFile(/tmp/multipartBody629274580704402537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677479550,"filename":"image_24012025_00_56_02_275314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/253af87de7fbe43381504450a3fb62da.jpg","text":"TemporaryFile(/tmp/multipartBody8585754243745437290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677479550,"filename":"image_24012025_00_57_02_399877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c47ea86b6181b0c8db51d27120fa7e65.jpg","text":"TemporaryFile(/tmp/multipartBody1498346490662665590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677479550,"filename":"image_24012025_00_57_02_399877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c5b7deedb42a48b480bf855867f4f556.jpg","text":"TemporaryFile(/tmp/multipartBody1285026673419537454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677479550,"filename":"image_24012025_00_57_02_399877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3c13c9a994017d2e1c684332f78b97b7.jpg","text":"TemporaryFile(/tmp/multipartBody3820982657597690884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677479550,"filename":"image_24012025_00_57_02_399877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/83bd3a2b233dc8fb14b9e98056b6fa5a.jpg","text":"TemporaryFile(/tmp/multipartBody1794387521953738511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677479550,"filename":"image_24012025_00_58_02_628368_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330902401","file1":"1330902357","file0":"1330902331","file4":"1330902419","file5":"1330902439","file3":"1330902405"},"map_files_photo_id_array":[{"photo_id":"1330902439","filename":"file5"},{"photo_id":"1330902401","filename":"file2"},{"photo_id":"1330902419","filename":"file4"},{"photo_id":"1330902357","filename":"file1"},{"photo_id":"1330902331","filename":"file0"},{"photo_id":"1330902405","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330902331":["hashtag1","hashtag2"]},{"1330902357":["hashtag1","hashtag2"]},{"1330902405":["hashtag1","hashtag2"]},{"1330902419":["hashtag1","hashtag2"]},{"1330902401":["hashtag1","hashtag2"]},{"1330902439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330902331, 1330902357, 1330902405, 1330902419, 1330902401, 1330902439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.619001626968384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:11:21.865196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/58/image_24012025_00_58_02_628368_0001.jpg', '/home/pi/Desktop/images/24012025/00/58/image_24012025_00_58_02_628368_0002.jpg', '/home/pi/Desktop/images/24012025/00/58/image_24012025_00_58_02_628368_0003.jpg', '/home/pi/Desktop/images/24012025/00/59/image_24012025_00_59_02_830659_0000.jpg', '/home/pi/Desktop/images/24012025/00/59/image_24012025_00_59_02_830659_0001.jpg', '/home/pi/Desktop/images/24012025/00/59/image_24012025_00_59_02_830659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/58/image_24012025_00_58_02_628368_0001.jpg
/home/pi/Desktop/images/24012025/00/58/image_24012025_00_58_02_628368_0002.jpg
/home/pi/Desktop/images/24012025/00/58/image_24012025_00_58_02_628368_0003.jpg
/home/pi/Desktop/images/24012025/00/59/image_24012025_00_59_02_830659_0000.jpg
/home/pi/Desktop/images/24012025/00/59/image_24012025_00_59_02_830659_0001.jpg
/home/pi/Desktop/images/24012025/00/59/image_24012025_00_59_02_830659_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330902540","1330902546","1330902519","1330902515","1330902524","1330902512"],"photo_ids_order":["1330902512","1330902515","1330902519","1330902524","1330902540","1330902546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e9bae96c8e700365f353d5ad71afd673.jpg","text":"TemporaryFile(/tmp/multipartBody473742692716267320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677558567,"filename":"image_24012025_00_59_02_830659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/498c877b6c43a36023e5cd1a721ff422.jpg","text":"TemporaryFile(/tmp/multipartBody9103803651952369545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677558567,"filename":"image_24012025_00_59_02_830659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7b4b37e7c72d60f3a59fb109fa3a7cb6.jpg","text":"TemporaryFile(/tmp/multipartBody6149693749563432850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677558567,"filename":"image_24012025_00_58_02_628368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21f4e46dcd2f4aaeb49d4da7277b3c1e.jpg","text":"TemporaryFile(/tmp/multipartBody3953990762465581287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677558567,"filename":"image_24012025_00_58_02_628368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f282c10a3f916597b4c3176ec575352.jpg","text":"TemporaryFile(/tmp/multipartBody5007094193908755947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677558567,"filename":"image_24012025_00_59_02_830659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a431c09e373bdb5bd1411485030cfc4.jpg","text":"TemporaryFile(/tmp/multipartBody8825205646977515921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677558567,"filename":"image_24012025_00_58_02_628368_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330902519","file1":"1330902515","file0":"1330902512","file4":"1330902540","file5":"1330902546","file3":"1330902524"},"map_files_photo_id_array":[{"photo_id":"1330902546","filename":"file5"},{"photo_id":"1330902519","filename":"file2"},{"photo_id":"1330902540","filename":"file4"},{"photo_id":"1330902515","filename":"file1"},{"photo_id":"1330902512","filename":"file0"},{"photo_id":"1330902524","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330902540":["hashtag1","hashtag2"]},{"1330902546":["hashtag1","hashtag2"]},{"1330902519":["hashtag1","hashtag2"]},{"1330902515":["hashtag1","hashtag2"]},{"1330902524":["hashtag1","hashtag2"]},{"1330902512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330902540, 1330902546, 1330902519, 1330902515, 1330902524, 1330902512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.03155851364136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:12:22.406124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/59/image_24012025_00_59_02_830659_0003.jpg', '/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0000.jpg', '/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0001.jpg', '/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0002.jpg', '/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0003.jpg', '/home/pi/Desktop/images/24012025/01/01/image_24012025_01_01_02_515773_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/59/image_24012025_00_59_02_830659_0003.jpg
/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0000.jpg
/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0001.jpg
/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0002.jpg
/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0003.jpg
/home/pi/Desktop/images/24012025/01/01/image_24012025_01_01_02_515773_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.480186939239502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:13:02.691113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/00/59/image_24012025_00_59_02_830659_0003.jpg', '/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0000.jpg', '/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0001.jpg', '/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0002.jpg', '/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0003.jpg', '/home/pi/Desktop/images/24012025/01/01/image_24012025_01_01_02_515773_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/00/59/image_24012025_00_59_02_830659_0003.jpg
/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0000.jpg
/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0001.jpg
/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0002.jpg
/home/pi/Desktop/images/24012025/01/00/image_24012025_01_00_03_028936_0003.jpg
/home/pi/Desktop/images/24012025/01/01/image_24012025_01_01_02_515773_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330902687","1330902683","1330902671","1330902674","1330902691","1330902676"],"photo_ids_order":["1330902671","1330902674","1330902676","1330902683","1330902687","1330902691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b010b2bfdfaa0098941652029e00a895.jpg","text":"TemporaryFile(/tmp/multipartBody7192583622420570692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677659607,"filename":"image_24012025_01_00_03_028936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/77b1b412639f2653d900fd432fa3d2ae.jpg","text":"TemporaryFile(/tmp/multipartBody8707997594524288283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677659607,"filename":"image_24012025_01_00_03_028936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0bebbce49a197f022a7f92e34b1a3a91.jpg","text":"TemporaryFile(/tmp/multipartBody1350236356829824091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677659607,"filename":"image_24012025_00_59_02_830659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f60bf91d60c1a1f17eb6a38373e278b2.jpg","text":"TemporaryFile(/tmp/multipartBody578620654159110669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677659607,"filename":"image_24012025_01_00_03_028936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9589588092768b087eabd404fb291bbc.jpg","text":"TemporaryFile(/tmp/multipartBody5793914138279896943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677659607,"filename":"image_24012025_01_01_02_515773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5f919526153a539771d61fda0992c307.jpg","text":"TemporaryFile(/tmp/multipartBody79434726213898755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677659607,"filename":"image_24012025_01_00_03_028936_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330902676","file1":"1330902674","file0":"1330902671","file4":"1330902687","file5":"1330902691","file3":"1330902683"},"map_files_photo_id_array":[{"photo_id":"1330902691","filename":"file5"},{"photo_id":"1330902676","filename":"file2"},{"photo_id":"1330902687","filename":"file4"},{"photo_id":"1330902674","filename":"file1"},{"photo_id":"1330902671","filename":"file0"},{"photo_id":"1330902683","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330902687":["hashtag1","hashtag2"]},{"1330902683":["hashtag1","hashtag2"]},{"1330902671":["hashtag1","hashtag2"]},{"1330902674":["hashtag1","hashtag2"]},{"1330902691":["hashtag1","hashtag2"]},{"1330902676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330902687, 1330902683, 1330902671, 1330902674, 1330902691, 1330902676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.46684122085571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:14:03.094112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/01/image_24012025_01_01_02_515773_0001.jpg', '/home/pi/Desktop/images/24012025/01/01/image_24012025_01_01_02_515773_0002.jpg', '/home/pi/Desktop/images/24012025/01/01/image_24012025_01_01_02_515773_0003.jpg', '/home/pi/Desktop/images/24012025/01/02/image_24012025_01_02_03_021452_0000.jpg', '/home/pi/Desktop/images/24012025/01/02/image_24012025_01_02_03_021452_0001.jpg', '/home/pi/Desktop/images/24012025/01/02/image_24012025_01_02_03_021452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/01/image_24012025_01_01_02_515773_0001.jpg
/home/pi/Desktop/images/24012025/01/01/image_24012025_01_01_02_515773_0002.jpg
/home/pi/Desktop/images/24012025/01/01/image_24012025_01_01_02_515773_0003.jpg
/home/pi/Desktop/images/24012025/01/02/image_24012025_01_02_03_021452_0000.jpg
/home/pi/Desktop/images/24012025/01/02/image_24012025_01_02_03_021452_0001.jpg
/home/pi/Desktop/images/24012025/01/02/image_24012025_01_02_03_021452_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330902715","1330902732","1330902740","1330902722","1330902719","1330902727"],"photo_ids_order":["1330902715","1330902719","1330902722","1330902727","1330902732","1330902740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd98f48959b3c7fd394c5f0e8ec815c0.jpg","text":"TemporaryFile(/tmp/multipartBody8272754279866614116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677719943,"filename":"image_24012025_01_01_02_515773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/848b7190fbfa687a3a8df578b7c08c6d.jpg","text":"TemporaryFile(/tmp/multipartBody5632271618133462726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677719943,"filename":"image_24012025_01_02_03_021452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7b2d29a69f2df86c547b210fb94283d.jpg","text":"TemporaryFile(/tmp/multipartBody1034158175497500327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677719943,"filename":"image_24012025_01_02_03_021452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e16ac168c472ce8288403b9a9079de04.jpg","text":"TemporaryFile(/tmp/multipartBody2922923422309088911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677719943,"filename":"image_24012025_01_01_02_515773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6755de8303692f39bb3121dc653f33f8.jpg","text":"TemporaryFile(/tmp/multipartBody5010842940681899640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677719943,"filename":"image_24012025_01_01_02_515773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bbc380909b649af0f4a4a26ed30e2b35.jpg","text":"TemporaryFile(/tmp/multipartBody5211913912607877815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677719943,"filename":"image_24012025_01_02_03_021452_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330902722","file1":"1330902719","file0":"1330902715","file4":"1330902732","file5":"1330902740","file3":"1330902727"},"map_files_photo_id_array":[{"photo_id":"1330902740","filename":"file5"},{"photo_id":"1330902722","filename":"file2"},{"photo_id":"1330902732","filename":"file4"},{"photo_id":"1330902719","filename":"file1"},{"photo_id":"1330902715","filename":"file0"},{"photo_id":"1330902727","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330902715":["hashtag1","hashtag2"]},{"1330902732":["hashtag1","hashtag2"]},{"1330902740":["hashtag1","hashtag2"]},{"1330902722":["hashtag1","hashtag2"]},{"1330902719":["hashtag1","hashtag2"]},{"1330902727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330902715, 1330902732, 1330902740, 1330902722, 1330902719, 1330902727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.27371835708618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:15:02.938758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/02/image_24012025_01_02_03_021452_0003.jpg', '/home/pi/Desktop/images/24012025/01/03/image_24012025_01_03_02_566285_0000.jpg', '/home/pi/Desktop/images/24012025/01/03/image_24012025_01_03_02_566285_0001.jpg', '/home/pi/Desktop/images/24012025/01/03/image_24012025_01_03_02_566285_0002.jpg', '/home/pi/Desktop/images/24012025/01/03/image_24012025_01_03_02_566285_0003.jpg', '/home/pi/Desktop/images/24012025/01/04/image_24012025_01_04_03_031397_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/02/image_24012025_01_02_03_021452_0003.jpg
/home/pi/Desktop/images/24012025/01/03/image_24012025_01_03_02_566285_0000.jpg
/home/pi/Desktop/images/24012025/01/03/image_24012025_01_03_02_566285_0001.jpg
/home/pi/Desktop/images/24012025/01/03/image_24012025_01_03_02_566285_0002.jpg
/home/pi/Desktop/images/24012025/01/03/image_24012025_01_03_02_566285_0003.jpg
/home/pi/Desktop/images/24012025/01/04/image_24012025_01_04_03_031397_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330902780","1330902804","1330902791","1330902809","1330902784","1330902795"],"photo_ids_order":["1330902780","1330902784","1330902791","1330902795","1330902804","1330902809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3c3a1df7c1c336a4528635979a0a562b.jpg","text":"TemporaryFile(/tmp/multipartBody7545250836524825688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677779838,"filename":"image_24012025_01_02_03_021452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1602fbb7a326f464e3f3f5aa010b62d7.jpg","text":"TemporaryFile(/tmp/multipartBody8261660097777865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677779838,"filename":"image_24012025_01_03_02_566285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a846d40d9550c438b16e55db74abb0b9.jpg","text":"TemporaryFile(/tmp/multipartBody3213061655352905653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677779838,"filename":"image_24012025_01_03_02_566285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b8ebe0fb3feff2a34675b446efac65f.jpg","text":"TemporaryFile(/tmp/multipartBody5514205100654860526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677779838,"filename":"image_24012025_01_04_03_031397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a72b5d722321ba4a86422512e263861.jpg","text":"TemporaryFile(/tmp/multipartBody5447352612099663420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677779838,"filename":"image_24012025_01_03_02_566285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/381b160b54d8040f76c03e3d1bc09441.jpg","text":"TemporaryFile(/tmp/multipartBody289680700435158468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677779838,"filename":"image_24012025_01_03_02_566285_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330902791","file1":"1330902784","file0":"1330902780","file4":"1330902804","file5":"1330902809","file3":"1330902795"},"map_files_photo_id_array":[{"photo_id":"1330902809","filename":"file5"},{"photo_id":"1330902791","filename":"file2"},{"photo_id":"1330902804","filename":"file4"},{"photo_id":"1330902784","filename":"file1"},{"photo_id":"1330902780","filename":"file0"},{"photo_id":"1330902795","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330902780":["hashtag1","hashtag2"]},{"1330902804":["hashtag1","hashtag2"]},{"1330902791":["hashtag1","hashtag2"]},{"1330902809":["hashtag1","hashtag2"]},{"1330902784":["hashtag1","hashtag2"]},{"1330902795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330902780, 1330902804, 1330902791, 1330902809, 1330902784, 1330902795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.39920282363892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:17:03.287195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/04/image_24012025_01_04_03_031397_0001.jpg', '/home/pi/Desktop/images/24012025/01/04/image_24012025_01_04_03_031397_0002.jpg', '/home/pi/Desktop/images/24012025/01/04/image_24012025_01_04_03_031397_0003.jpg', '/home/pi/Desktop/images/24012025/01/05/image_24012025_01_05_02_628188_0001.jpg', '/home/pi/Desktop/images/24012025/01/05/image_24012025_01_05_02_628188_0002.jpg', '/home/pi/Desktop/images/24012025/01/05/image_24012025_01_05_02_628188_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/04/image_24012025_01_04_03_031397_0001.jpg
/home/pi/Desktop/images/24012025/01/04/image_24012025_01_04_03_031397_0002.jpg
/home/pi/Desktop/images/24012025/01/04/image_24012025_01_04_03_031397_0003.jpg
/home/pi/Desktop/images/24012025/01/05/image_24012025_01_05_02_628188_0001.jpg
/home/pi/Desktop/images/24012025/01/05/image_24012025_01_05_02_628188_0002.jpg
/home/pi/Desktop/images/24012025/01/05/image_24012025_01_05_02_628188_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330902975","1330902927","1330902921","1330902973","1330902934","1330902937"],"photo_ids_order":["1330902921","1330902927","1330902934","1330902937","1330902973","1330902975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/818a26447a23739b8d51cf0545ec621d.jpg","text":"TemporaryFile(/tmp/multipartBody6153101738023189606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677900226,"filename":"image_24012025_01_05_02_628188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eebd8a928d11c4240f4dae6087f3f6f1.jpg","text":"TemporaryFile(/tmp/multipartBody4623586449328032969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677900226,"filename":"image_24012025_01_04_03_031397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab31fcf10267f10b40dbfa4e58dcaca6.jpg","text":"TemporaryFile(/tmp/multipartBody5556194726653338611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677900226,"filename":"image_24012025_01_04_03_031397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b909205ebf64ee4fefe817ef8cab767.jpg","text":"TemporaryFile(/tmp/multipartBody6815363093459844154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677900226,"filename":"image_24012025_01_05_02_628188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e1e5ef104e3258cb6e6fdad0fc0b275.jpg","text":"TemporaryFile(/tmp/multipartBody7189151264242743476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677900226,"filename":"image_24012025_01_04_03_031397_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/daf6f4bd43c7250fbdf66fd4d4346f2d.jpg","text":"TemporaryFile(/tmp/multipartBody7900161940719666582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677900226,"filename":"image_24012025_01_05_02_628188_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330902934","file1":"1330902927","file0":"1330902921","file4":"1330902973","file5":"1330902975","file3":"1330902937"},"map_files_photo_id_array":[{"photo_id":"1330902975","filename":"file5"},{"photo_id":"1330902934","filename":"file2"},{"photo_id":"1330902973","filename":"file4"},{"photo_id":"1330902927","filename":"file1"},{"photo_id":"1330902921","filename":"file0"},{"photo_id":"1330902937","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330902975":["hashtag1","hashtag2"]},{"1330902927":["hashtag1","hashtag2"]},{"1330902921":["hashtag1","hashtag2"]},{"1330902973":["hashtag1","hashtag2"]},{"1330902934":["hashtag1","hashtag2"]},{"1330902937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330902975, 1330902927, 1330902921, 1330902973, 1330902934, 1330902937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.13326597213745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:18:02.636719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/06/image_24012025_01_06_03_068971_0000.jpg', '/home/pi/Desktop/images/24012025/01/06/image_24012025_01_06_03_068971_0001.jpg', '/home/pi/Desktop/images/24012025/01/06/image_24012025_01_06_03_068971_0002.jpg', '/home/pi/Desktop/images/24012025/01/06/image_24012025_01_06_03_068971_0003.jpg', '/home/pi/Desktop/images/24012025/01/07/image_24012025_01_07_02_534987_0000.jpg', '/home/pi/Desktop/images/24012025/01/07/image_24012025_01_07_02_534987_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/06/image_24012025_01_06_03_068971_0000.jpg
/home/pi/Desktop/images/24012025/01/06/image_24012025_01_06_03_068971_0001.jpg
/home/pi/Desktop/images/24012025/01/06/image_24012025_01_06_03_068971_0002.jpg
/home/pi/Desktop/images/24012025/01/06/image_24012025_01_06_03_068971_0003.jpg
/home/pi/Desktop/images/24012025/01/07/image_24012025_01_07_02_534987_0000.jpg
/home/pi/Desktop/images/24012025/01/07/image_24012025_01_07_02_534987_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330902996","1330903008","1330903005","1330902989","1330903000","1330902993"],"photo_ids_order":["1330902989","1330902993","1330902996","1330903000","1330903005","1330903008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bae08aefaf3c91ca86b076ffdc032cd7.jpg","text":"TemporaryFile(/tmp/multipartBody7280605470968692493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677959534,"filename":"image_24012025_01_06_03_068971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5e8a4b6be00328ed9856a31c04872c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6074055353564857892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677959534,"filename":"image_24012025_01_07_02_534987_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d246f0e3853a3355b16dec0c0991e882.jpg","text":"TemporaryFile(/tmp/multipartBody3255475729409340813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677959534,"filename":"image_24012025_01_07_02_534987_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5149f3df24a1e6a2d1c1fa2c8eefc9c6.jpg","text":"TemporaryFile(/tmp/multipartBody8487352997766744777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677959534,"filename":"image_24012025_01_06_03_068971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7589bc8732303bd367450aa6af285cff.jpg","text":"TemporaryFile(/tmp/multipartBody5925822151085299434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677959534,"filename":"image_24012025_01_06_03_068971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c00f95d8e594196cfcc2fc0f9c782b2.jpg","text":"TemporaryFile(/tmp/multipartBody6846281378277480136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737677959534,"filename":"image_24012025_01_06_03_068971_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330902996","file1":"1330902993","file0":"1330902989","file4":"1330903005","file5":"1330903008","file3":"1330903000"},"map_files_photo_id_array":[{"photo_id":"1330903008","filename":"file5"},{"photo_id":"1330902996","filename":"file2"},{"photo_id":"1330903005","filename":"file4"},{"photo_id":"1330902993","filename":"file1"},{"photo_id":"1330902989","filename":"file0"},{"photo_id":"1330903000","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330902996":["hashtag1","hashtag2"]},{"1330903008":["hashtag1","hashtag2"]},{"1330903005":["hashtag1","hashtag2"]},{"1330902989":["hashtag1","hashtag2"]},{"1330903000":["hashtag1","hashtag2"]},{"1330902993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330902996, 1330903008, 1330903005, 1330902989, 1330903000, 1330902993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.17814588546753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:19:02.456947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/07/image_24012025_01_07_02_534987_0003.jpg', '/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0000.jpg', '/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0001.jpg', '/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0002.jpg', '/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0003.jpg', '/home/pi/Desktop/images/24012025/01/09/image_24012025_01_09_02_683882_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/07/image_24012025_01_07_02_534987_0003.jpg
/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0000.jpg
/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0001.jpg
/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0002.jpg
/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0003.jpg
/home/pi/Desktop/images/24012025/01/09/image_24012025_01_09_02_683882_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.552347660064697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:19:21.706451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/07/image_24012025_01_07_02_534987_0003.jpg', '/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0000.jpg', '/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0001.jpg', '/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0002.jpg', '/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0003.jpg', '/home/pi/Desktop/images/24012025/01/09/image_24012025_01_09_02_683882_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/07/image_24012025_01_07_02_534987_0003.jpg
/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0000.jpg
/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0001.jpg
/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0002.jpg
/home/pi/Desktop/images/24012025/01/08/image_24012025_01_08_03_057574_0003.jpg
/home/pi/Desktop/images/24012025/01/09/image_24012025_01_09_02_683882_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330903071","1330903094","1330903082","1330903076","1330903066","1330903108"],"photo_ids_order":["1330903066","1330903071","1330903076","1330903082","1330903094","1330903108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cfc937c8c73e81490b34ef52cc2c24a6.jpg","text":"TemporaryFile(/tmp/multipartBody1592389883376762305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678038584,"filename":"image_24012025_01_08_03_057574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/285854cf7259724e07f8cd37b3c65ab5.jpg","text":"TemporaryFile(/tmp/multipartBody3926585746470077410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678038584,"filename":"image_24012025_01_08_03_057574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/570985ee7080b73b9368b6302644a618.jpg","text":"TemporaryFile(/tmp/multipartBody3990614499773810570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678038584,"filename":"image_24012025_01_08_03_057574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/967dcaf2956707c00f4423cc3021cf79.jpg","text":"TemporaryFile(/tmp/multipartBody2869705469803507315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678038584,"filename":"image_24012025_01_08_03_057574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1263af4cb4bce3d7b3d07f56dd59aa37.jpg","text":"TemporaryFile(/tmp/multipartBody2532948318165909604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678038584,"filename":"image_24012025_01_07_02_534987_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce03a91c89c856fa8df3f402b790aa3e.jpg","text":"TemporaryFile(/tmp/multipartBody3827818812595743658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678038584,"filename":"image_24012025_01_09_02_683882_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330903076","file1":"1330903071","file0":"1330903066","file4":"1330903094","file5":"1330903108","file3":"1330903082"},"map_files_photo_id_array":[{"photo_id":"1330903108","filename":"file5"},{"photo_id":"1330903076","filename":"file2"},{"photo_id":"1330903094","filename":"file4"},{"photo_id":"1330903071","filename":"file1"},{"photo_id":"1330903066","filename":"file0"},{"photo_id":"1330903082","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330903071":["hashtag1","hashtag2"]},{"1330903094":["hashtag1","hashtag2"]},{"1330903082":["hashtag1","hashtag2"]},{"1330903076":["hashtag1","hashtag2"]},{"1330903066":["hashtag1","hashtag2"]},{"1330903108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330903071, 1330903094, 1330903082, 1330903076, 1330903066, 1330903108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.211487770080566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:20:22.438569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/09/image_24012025_01_09_02_683882_0001.jpg', '/home/pi/Desktop/images/24012025/01/10/image_24012025_01_10_02_257319_0000.jpg', '/home/pi/Desktop/images/24012025/01/10/image_24012025_01_10_02_257319_0002.jpg', '/home/pi/Desktop/images/24012025/01/10/image_24012025_01_10_02_257319_0003.jpg', '/home/pi/Desktop/images/24012025/01/11/image_24012025_01_11_02_756409_0000.jpg', '/home/pi/Desktop/images/24012025/01/11/image_24012025_01_11_02_756409_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/09/image_24012025_01_09_02_683882_0001.jpg
/home/pi/Desktop/images/24012025/01/10/image_24012025_01_10_02_257319_0000.jpg
/home/pi/Desktop/images/24012025/01/10/image_24012025_01_10_02_257319_0002.jpg
/home/pi/Desktop/images/24012025/01/10/image_24012025_01_10_02_257319_0003.jpg
/home/pi/Desktop/images/24012025/01/11/image_24012025_01_11_02_756409_0000.jpg
/home/pi/Desktop/images/24012025/01/11/image_24012025_01_11_02_756409_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330903158","1330903137","1330903163","1330903151","1330903141","1330903155"],"photo_ids_order":["1330903137","1330903141","1330903151","1330903155","1330903158","1330903163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d287f25032b19ed5c5620e313367673d.jpg","text":"TemporaryFile(/tmp/multipartBody7951487539036192902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678099300,"filename":"image_24012025_01_11_02_756409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f9ac1cd9d36bccfdf61dcd1e2c9ee6fc.jpg","text":"TemporaryFile(/tmp/multipartBody210398352917976945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678099300,"filename":"image_24012025_01_09_02_683882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2c0ca14e5294a66b2b3abdcb808add32.jpg","text":"TemporaryFile(/tmp/multipartBody1294168589082685496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678099300,"filename":"image_24012025_01_11_02_756409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e4e217ac7fad84265dbfaebbc2246af9.jpg","text":"TemporaryFile(/tmp/multipartBody8779817862459948899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678099300,"filename":"image_24012025_01_10_02_257319_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/22a81f27383644fcf7dcf151ca94e80c.jpg","text":"TemporaryFile(/tmp/multipartBody7496702972449905513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678099300,"filename":"image_24012025_01_10_02_257319_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd026af988718aea42fc561d6ae86cba.jpg","text":"TemporaryFile(/tmp/multipartBody6894487219883238808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678099300,"filename":"image_24012025_01_10_02_257319_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330903151","file1":"1330903141","file0":"1330903137","file4":"1330903158","file5":"1330903163","file3":"1330903155"},"map_files_photo_id_array":[{"photo_id":"1330903163","filename":"file5"},{"photo_id":"1330903151","filename":"file2"},{"photo_id":"1330903158","filename":"file4"},{"photo_id":"1330903141","filename":"file1"},{"photo_id":"1330903137","filename":"file0"},{"photo_id":"1330903155","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330903158":["hashtag1","hashtag2"]},{"1330903137":["hashtag1","hashtag2"]},{"1330903163":["hashtag1","hashtag2"]},{"1330903151":["hashtag1","hashtag2"]},{"1330903141":["hashtag1","hashtag2"]},{"1330903155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330903158, 1330903137, 1330903163, 1330903151, 1330903141, 1330903155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.43403148651123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:21:21.858243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/11/image_24012025_01_11_02_756409_0002.jpg', '/home/pi/Desktop/images/24012025/01/11/image_24012025_01_11_02_756409_0003.jpg', '/home/pi/Desktop/images/24012025/01/12/image_24012025_01_12_02_211890_0000.jpg', '/home/pi/Desktop/images/24012025/01/12/image_24012025_01_12_02_211890_0002.jpg', '/home/pi/Desktop/images/24012025/01/12/image_24012025_01_12_02_211890_0003.jpg', '/home/pi/Desktop/images/24012025/01/13/image_24012025_01_13_02_801144_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/11/image_24012025_01_11_02_756409_0002.jpg
/home/pi/Desktop/images/24012025/01/11/image_24012025_01_11_02_756409_0003.jpg
/home/pi/Desktop/images/24012025/01/12/image_24012025_01_12_02_211890_0000.jpg
/home/pi/Desktop/images/24012025/01/12/image_24012025_01_12_02_211890_0002.jpg
/home/pi/Desktop/images/24012025/01/12/image_24012025_01_12_02_211890_0003.jpg
/home/pi/Desktop/images/24012025/01/13/image_24012025_01_13_02_801144_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330903187","1330903211","1330903195","1330903180","1330903183","1330903191"],"photo_ids_order":["1330903180","1330903183","1330903187","1330903191","1330903195","1330903211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fdd277d33a605c1abf9902c1876ccfb7.jpg","text":"TemporaryFile(/tmp/multipartBody1508518674537676234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678158712,"filename":"image_24012025_01_12_02_211890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/57838e9a538c587c009098fc2f05ecb5.jpg","text":"TemporaryFile(/tmp/multipartBody2134881585156164481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678158712,"filename":"image_24012025_01_13_02_801144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eceac077222c64c6b3deab4b830b67be.jpg","text":"TemporaryFile(/tmp/multipartBody3873068808208095441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678158712,"filename":"image_24012025_01_12_02_211890_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed8a65680fdf550163759d9c5eeb3081.jpg","text":"TemporaryFile(/tmp/multipartBody8369749638544201362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678158712,"filename":"image_24012025_01_11_02_756409_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/83b5628040ae3f528d14e834fdc19f12.jpg","text":"TemporaryFile(/tmp/multipartBody471865580907388884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678158712,"filename":"image_24012025_01_11_02_756409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8047ac97399691565a045d6fe55c8e6b.jpg","text":"TemporaryFile(/tmp/multipartBody1864564568028259423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678158712,"filename":"image_24012025_01_12_02_211890_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330903187","file1":"1330903183","file0":"1330903180","file4":"1330903195","file5":"1330903211","file3":"1330903191"},"map_files_photo_id_array":[{"photo_id":"1330903211","filename":"file5"},{"photo_id":"1330903187","filename":"file2"},{"photo_id":"1330903195","filename":"file4"},{"photo_id":"1330903183","filename":"file1"},{"photo_id":"1330903180","filename":"file0"},{"photo_id":"1330903191","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330903187":["hashtag1","hashtag2"]},{"1330903211":["hashtag1","hashtag2"]},{"1330903195":["hashtag1","hashtag2"]},{"1330903180":["hashtag1","hashtag2"]},{"1330903183":["hashtag1","hashtag2"]},{"1330903191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330903187, 1330903211, 1330903195, 1330903180, 1330903183, 1330903191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.92286515235901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:22:22.409325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/13/image_24012025_01_13_02_801144_0001.jpg', '/home/pi/Desktop/images/24012025/01/13/image_24012025_01_13_02_801144_0003.jpg', '/home/pi/Desktop/images/24012025/01/14/image_24012025_01_14_02_302709_0000.jpg', '/home/pi/Desktop/images/24012025/01/14/image_24012025_01_14_02_302709_0002.jpg', '/home/pi/Desktop/images/24012025/01/14/image_24012025_01_14_02_302709_0003.jpg', '/home/pi/Desktop/images/24012025/01/15/image_24012025_01_15_02_957403_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/13/image_24012025_01_13_02_801144_0001.jpg
/home/pi/Desktop/images/24012025/01/13/image_24012025_01_13_02_801144_0003.jpg
/home/pi/Desktop/images/24012025/01/14/image_24012025_01_14_02_302709_0000.jpg
/home/pi/Desktop/images/24012025/01/14/image_24012025_01_14_02_302709_0002.jpg
/home/pi/Desktop/images/24012025/01/14/image_24012025_01_14_02_302709_0003.jpg
/home/pi/Desktop/images/24012025/01/15/image_24012025_01_15_02_957403_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330903284","1330903253","1330903297","1330903255","1330903290","1330903287"],"photo_ids_order":["1330903253","1330903255","1330903284","1330903287","1330903290","1330903297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5f9f6107c3ba8f780d34d37fbe677917.jpg","text":"TemporaryFile(/tmp/multipartBody373015392959932447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678219273,"filename":"image_24012025_01_14_02_302709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0d127c301d8b466d741c91fc506c0152.jpg","text":"TemporaryFile(/tmp/multipartBody2640422054319974084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678219273,"filename":"image_24012025_01_13_02_801144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b67ce7b80d05a1604dee5c70a8b0a1d8.jpg","text":"TemporaryFile(/tmp/multipartBody416418205845202116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678219273,"filename":"image_24012025_01_15_02_957403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12f36db9ae61aec157fd86f069fbdfa5.jpg","text":"TemporaryFile(/tmp/multipartBody3501450145512241430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678219273,"filename":"image_24012025_01_13_02_801144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b841ada17909673d706ab75b653cfa71.jpg","text":"TemporaryFile(/tmp/multipartBody7518593701588626908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678219273,"filename":"image_24012025_01_14_02_302709_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e009145c059466d078f8ff5e053f62f.jpg","text":"TemporaryFile(/tmp/multipartBody2161125035115619883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678219273,"filename":"image_24012025_01_14_02_302709_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330903284","file1":"1330903255","file0":"1330903253","file4":"1330903290","file5":"1330903297","file3":"1330903287"},"map_files_photo_id_array":[{"photo_id":"1330903297","filename":"file5"},{"photo_id":"1330903284","filename":"file2"},{"photo_id":"1330903290","filename":"file4"},{"photo_id":"1330903255","filename":"file1"},{"photo_id":"1330903253","filename":"file0"},{"photo_id":"1330903287","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330903284":["hashtag1","hashtag2"]},{"1330903253":["hashtag1","hashtag2"]},{"1330903297":["hashtag1","hashtag2"]},{"1330903255":["hashtag1","hashtag2"]},{"1330903290":["hashtag1","hashtag2"]},{"1330903287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330903284, 1330903253, 1330903297, 1330903255, 1330903290, 1330903287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.84270429611206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:23:21.915204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/15/image_24012025_01_15_02_957403_0001.jpg', '/home/pi/Desktop/images/24012025/01/15/image_24012025_01_15_02_957403_0002.jpg', '/home/pi/Desktop/images/24012025/01/15/image_24012025_01_15_02_957403_0003.jpg', '/home/pi/Desktop/images/24012025/01/16/image_24012025_01_16_02_494708_0000.jpg', '/home/pi/Desktop/images/24012025/01/16/image_24012025_01_16_02_494708_0001.jpg', '/home/pi/Desktop/images/24012025/01/16/image_24012025_01_16_02_494708_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/15/image_24012025_01_15_02_957403_0001.jpg
/home/pi/Desktop/images/24012025/01/15/image_24012025_01_15_02_957403_0002.jpg
/home/pi/Desktop/images/24012025/01/15/image_24012025_01_15_02_957403_0003.jpg
/home/pi/Desktop/images/24012025/01/16/image_24012025_01_16_02_494708_0000.jpg
/home/pi/Desktop/images/24012025/01/16/image_24012025_01_16_02_494708_0001.jpg
/home/pi/Desktop/images/24012025/01/16/image_24012025_01_16_02_494708_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330903362","1330903317","1330903332","1330903352","1330903330","1330903327"],"photo_ids_order":["1330903317","1330903327","1330903330","1330903332","1330903352","1330903362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ef470d2d2be79545f7cb5232060b54de.jpg","text":"TemporaryFile(/tmp/multipartBody4770397318289710063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678278769,"filename":"image_24012025_01_16_02_494708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/752fa154a22157e3b0ffa47cbacb821a.jpg","text":"TemporaryFile(/tmp/multipartBody1189618623254416344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678278769,"filename":"image_24012025_01_15_02_957403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4110ed586a2a17a622544dad83ced1b5.jpg","text":"TemporaryFile(/tmp/multipartBody3613783753902324362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678278769,"filename":"image_24012025_01_16_02_494708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e5833f9c100e3bb59786518e3c2b709c.jpg","text":"TemporaryFile(/tmp/multipartBody3617116992413452964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678278769,"filename":"image_24012025_01_16_02_494708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c259240e3f3cb5d15782e2bbfa2e926.jpg","text":"TemporaryFile(/tmp/multipartBody1700195843944829951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678278769,"filename":"image_24012025_01_15_02_957403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/312d6b654712efab425784b36eb4fcaf.jpg","text":"TemporaryFile(/tmp/multipartBody6085288754024061937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678278769,"filename":"image_24012025_01_15_02_957403_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330903330","file1":"1330903327","file0":"1330903317","file4":"1330903352","file5":"1330903362","file3":"1330903332"},"map_files_photo_id_array":[{"photo_id":"1330903362","filename":"file5"},{"photo_id":"1330903330","filename":"file2"},{"photo_id":"1330903352","filename":"file4"},{"photo_id":"1330903327","filename":"file1"},{"photo_id":"1330903317","filename":"file0"},{"photo_id":"1330903332","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330903362":["hashtag1","hashtag2"]},{"1330903317":["hashtag1","hashtag2"]},{"1330903332":["hashtag1","hashtag2"]},{"1330903352":["hashtag1","hashtag2"]},{"1330903330":["hashtag1","hashtag2"]},{"1330903327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330903362, 1330903317, 1330903332, 1330903352, 1330903330, 1330903327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.880030393600464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:24:22.419952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/17/image_24012025_01_17_02_221553_0000.jpg', '/home/pi/Desktop/images/24012025/01/17/image_24012025_01_17_02_221553_0003.jpg', '/home/pi/Desktop/images/24012025/01/19/image_24012025_01_19_02_632814_0000.jpg', '/home/pi/Desktop/images/24012025/01/19/image_24012025_01_19_02_632814_0001.jpg', '/home/pi/Desktop/images/24012025/01/19/image_24012025_01_19_02_632814_0002.jpg', '/home/pi/Desktop/images/24012025/01/20/image_24012025_01_20_02_193068_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/17/image_24012025_01_17_02_221553_0000.jpg
/home/pi/Desktop/images/24012025/01/17/image_24012025_01_17_02_221553_0003.jpg
/home/pi/Desktop/images/24012025/01/19/image_24012025_01_19_02_632814_0000.jpg
/home/pi/Desktop/images/24012025/01/19/image_24012025_01_19_02_632814_0001.jpg
/home/pi/Desktop/images/24012025/01/19/image_24012025_01_19_02_632814_0002.jpg
/home/pi/Desktop/images/24012025/01/20/image_24012025_01_20_02_193068_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330903463","1330903457","1330903445","1330903460","1330903454","1330903462"],"photo_ids_order":["1330903445","1330903454","1330903457","1330903460","1330903462","1330903463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/079ee8c84daa9f9cde6a6cec1ca5bc19.jpg","text":"TemporaryFile(/tmp/multipartBody8003533886735182575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678339302,"filename":"image_24012025_01_20_02_193068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a5f04f14e53b08dc9765617beb9fc7b6.jpg","text":"TemporaryFile(/tmp/multipartBody596598636493222388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678339302,"filename":"image_24012025_01_19_02_632814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/058aa3dba68d1bdcd65b6a5f8321506d.jpg","text":"TemporaryFile(/tmp/multipartBody4455518831622450151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678339302,"filename":"image_24012025_01_17_02_221553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74ed2191c75f9ccd7c57a49546a39ff6.jpg","text":"TemporaryFile(/tmp/multipartBody5316301256827346949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678339302,"filename":"image_24012025_01_19_02_632814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/93b23a1b05823d34da149c09b122d7cc.jpg","text":"TemporaryFile(/tmp/multipartBody4116728154948238324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678339302,"filename":"image_24012025_01_17_02_221553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7429167a932d79c559885fee153bf34.jpg","text":"TemporaryFile(/tmp/multipartBody4937283515268757945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678339302,"filename":"image_24012025_01_19_02_632814_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330903457","file1":"1330903454","file0":"1330903445","file4":"1330903462","file5":"1330903463","file3":"1330903460"},"map_files_photo_id_array":[{"photo_id":"1330903463","filename":"file5"},{"photo_id":"1330903457","filename":"file2"},{"photo_id":"1330903462","filename":"file4"},{"photo_id":"1330903454","filename":"file1"},{"photo_id":"1330903445","filename":"file0"},{"photo_id":"1330903460","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330903463":["hashtag1","hashtag2"]},{"1330903457":["hashtag1","hashtag2"]},{"1330903445":["hashtag1","hashtag2"]},{"1330903460":["hashtag1","hashtag2"]},{"1330903454":["hashtag1","hashtag2"]},{"1330903462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330903463, 1330903457, 1330903445, 1330903460, 1330903454, 1330903462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.33027148246765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:25:21.908642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/20/image_24012025_01_20_02_193068_0002.jpg', '/home/pi/Desktop/images/24012025/01/20/image_24012025_01_20_02_193068_0003.jpg', '/home/pi/Desktop/images/24012025/01/21/image_24012025_01_21_02_771698_0001.jpg', '/home/pi/Desktop/images/24012025/01/21/image_24012025_01_21_02_771698_0002.jpg', '/home/pi/Desktop/images/24012025/01/21/image_24012025_01_21_02_771698_0003.jpg', '/home/pi/Desktop/images/24012025/01/22/image_24012025_01_22_02_259772_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/20/image_24012025_01_20_02_193068_0002.jpg
/home/pi/Desktop/images/24012025/01/20/image_24012025_01_20_02_193068_0003.jpg
/home/pi/Desktop/images/24012025/01/21/image_24012025_01_21_02_771698_0001.jpg
/home/pi/Desktop/images/24012025/01/21/image_24012025_01_21_02_771698_0002.jpg
/home/pi/Desktop/images/24012025/01/21/image_24012025_01_21_02_771698_0003.jpg
/home/pi/Desktop/images/24012025/01/22/image_24012025_01_22_02_259772_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330903493","1330903481","1330903526","1330903486","1330903504","1330903507"],"photo_ids_order":["1330903481","1330903486","1330903493","1330903504","1330903507","1330903526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/69a4510bb6047cf67d52be16fbc6020b.jpg","text":"TemporaryFile(/tmp/multipartBody4481485087693685672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678398768,"filename":"image_24012025_01_21_02_771698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd251b3f0bc2cbf6081537f39879dbd4.jpg","text":"TemporaryFile(/tmp/multipartBody3290680666989625268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678398768,"filename":"image_24012025_01_20_02_193068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/849dd4f01cd2e6162a8d3e8942f0fe9b.jpg","text":"TemporaryFile(/tmp/multipartBody2762249220499661849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678398768,"filename":"image_24012025_01_22_02_259772_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ea929dd41556780c70e9d3264506dc0.jpg","text":"TemporaryFile(/tmp/multipartBody7817979418054575386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678398768,"filename":"image_24012025_01_20_02_193068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/92153d1c2c237c58ca44f511624ad0c8.jpg","text":"TemporaryFile(/tmp/multipartBody5166779942707221762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678398768,"filename":"image_24012025_01_21_02_771698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/178ee55bbe5403a1bdf4a964bf808d65.jpg","text":"TemporaryFile(/tmp/multipartBody1418841644528100758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678398768,"filename":"image_24012025_01_21_02_771698_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330903493","file1":"1330903486","file0":"1330903481","file4":"1330903507","file5":"1330903526","file3":"1330903504"},"map_files_photo_id_array":[{"photo_id":"1330903526","filename":"file5"},{"photo_id":"1330903493","filename":"file2"},{"photo_id":"1330903507","filename":"file4"},{"photo_id":"1330903486","filename":"file1"},{"photo_id":"1330903481","filename":"file0"},{"photo_id":"1330903504","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330903493":["hashtag1","hashtag2"]},{"1330903481":["hashtag1","hashtag2"]},{"1330903526":["hashtag1","hashtag2"]},{"1330903486":["hashtag1","hashtag2"]},{"1330903504":["hashtag1","hashtag2"]},{"1330903507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330903493, 1330903481, 1330903526, 1330903486, 1330903504, 1330903507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.056936264038086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:26:22.485123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/22/image_24012025_01_22_02_259772_0001.jpg', '/home/pi/Desktop/images/24012025/01/22/image_24012025_01_22_02_259772_0003.jpg', '/home/pi/Desktop/images/24012025/01/23/image_24012025_01_23_02_721452_0000.jpg', '/home/pi/Desktop/images/24012025/01/23/image_24012025_01_23_02_721452_0001.jpg', '/home/pi/Desktop/images/24012025/01/23/image_24012025_01_23_02_721452_0002.jpg', '/home/pi/Desktop/images/24012025/01/24/image_24012025_01_24_02_277854_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/22/image_24012025_01_22_02_259772_0001.jpg
/home/pi/Desktop/images/24012025/01/22/image_24012025_01_22_02_259772_0003.jpg
/home/pi/Desktop/images/24012025/01/23/image_24012025_01_23_02_721452_0000.jpg
/home/pi/Desktop/images/24012025/01/23/image_24012025_01_23_02_721452_0001.jpg
/home/pi/Desktop/images/24012025/01/23/image_24012025_01_23_02_721452_0002.jpg
/home/pi/Desktop/images/24012025/01/24/image_24012025_01_24_02_277854_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330903560","1330903544","1330903594","1330903555","1330903665","1330903551"],"photo_ids_order":["1330903544","1330903551","1330903555","1330903560","1330903594","1330903665"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/93ff16ff2134498f386f0a9bbb05230a.jpg","text":"TemporaryFile(/tmp/multipartBody7765244604088151513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678459346,"filename":"image_24012025_01_23_02_721452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d79c72f8a9b9525ee69b049e7a1638de.jpg","text":"TemporaryFile(/tmp/multipartBody6542862542865657245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678459346,"filename":"image_24012025_01_22_02_259772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8fa8adccd3826eda5e2235bc85734b5b.jpg","text":"TemporaryFile(/tmp/multipartBody8594188978483156621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678459346,"filename":"image_24012025_01_23_02_721452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a96c6d9f030759183452b0a483572028.jpg","text":"TemporaryFile(/tmp/multipartBody6025289940392071404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678459346,"filename":"image_24012025_01_23_02_721452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8fa55bacba16c3394a038f2b15083a2d.jpg","text":"TemporaryFile(/tmp/multipartBody1754156471688561055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678459346,"filename":"image_24012025_01_24_02_277854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b239a5b403c25367622c07ef3999f52c.jpg","text":"TemporaryFile(/tmp/multipartBody3695183595022471163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678459346,"filename":"image_24012025_01_22_02_259772_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330903555","file1":"1330903551","file0":"1330903544","file4":"1330903594","file5":"1330903665","file3":"1330903560"},"map_files_photo_id_array":[{"photo_id":"1330903665","filename":"file5"},{"photo_id":"1330903555","filename":"file2"},{"photo_id":"1330903594","filename":"file4"},{"photo_id":"1330903551","filename":"file1"},{"photo_id":"1330903544","filename":"file0"},{"photo_id":"1330903560","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330903560":["hashtag1","hashtag2"]},{"1330903544":["hashtag1","hashtag2"]},{"1330903594":["hashtag1","hashtag2"]},{"1330903555":["hashtag1","hashtag2"]},{"1330903665":["hashtag1","hashtag2"]},{"1330903551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330903560, 1330903544, 1330903594, 1330903555, 1330903665, 1330903551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.51324391365051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:28:03.049115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/25/image_24012025_01_25_02_803698_0000.jpg', '/home/pi/Desktop/images/24012025/01/25/image_24012025_01_25_02_803698_0001.jpg', '/home/pi/Desktop/images/24012025/01/25/image_24012025_01_25_02_803698_0002.jpg', '/home/pi/Desktop/images/24012025/01/25/image_24012025_01_25_02_803698_0003.jpg', '/home/pi/Desktop/images/24012025/01/26/image_24012025_01_26_02_382829_0000.jpg', '/home/pi/Desktop/images/24012025/01/26/image_24012025_01_26_02_382829_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/25/image_24012025_01_25_02_803698_0000.jpg
/home/pi/Desktop/images/24012025/01/25/image_24012025_01_25_02_803698_0001.jpg
/home/pi/Desktop/images/24012025/01/25/image_24012025_01_25_02_803698_0002.jpg
/home/pi/Desktop/images/24012025/01/25/image_24012025_01_25_02_803698_0003.jpg
/home/pi/Desktop/images/24012025/01/26/image_24012025_01_26_02_382829_0000.jpg
/home/pi/Desktop/images/24012025/01/26/image_24012025_01_26_02_382829_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330903853","1330903850","1330903832","1330903843","1330903837","1330903857"],"photo_ids_order":["1330903832","1330903837","1330903843","1330903850","1330903853","1330903857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d052b33ec89a4dcbe18e2cd425a4ffe8.jpg","text":"TemporaryFile(/tmp/multipartBody1350318744566968660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678559826,"filename":"image_24012025_01_26_02_382829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45061c0b370e2d93ace24174f79dd50d.jpg","text":"TemporaryFile(/tmp/multipartBody5506538082183226455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678559826,"filename":"image_24012025_01_25_02_803698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/283f027964222fab33263f03f9e9425c.jpg","text":"TemporaryFile(/tmp/multipartBody572728314011703891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678559826,"filename":"image_24012025_01_25_02_803698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4eb19a98af80a5d3aaef3c57722e347a.jpg","text":"TemporaryFile(/tmp/multipartBody343807883230576220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678559826,"filename":"image_24012025_01_25_02_803698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af2b4178d7bb8f971574e57e8063af7e.jpg","text":"TemporaryFile(/tmp/multipartBody1296815095913817667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678559826,"filename":"image_24012025_01_25_02_803698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74a6e2aee280ee1eafe75c14d890cb8b.jpg","text":"TemporaryFile(/tmp/multipartBody508118148609289845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678559826,"filename":"image_24012025_01_26_02_382829_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330903843","file1":"1330903837","file0":"1330903832","file4":"1330903853","file5":"1330903857","file3":"1330903850"},"map_files_photo_id_array":[{"photo_id":"1330903857","filename":"file5"},{"photo_id":"1330903843","filename":"file2"},{"photo_id":"1330903853","filename":"file4"},{"photo_id":"1330903837","filename":"file1"},{"photo_id":"1330903832","filename":"file0"},{"photo_id":"1330903850","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330903853":["hashtag1","hashtag2"]},{"1330903850":["hashtag1","hashtag2"]},{"1330903832":["hashtag1","hashtag2"]},{"1330903843":["hashtag1","hashtag2"]},{"1330903837":["hashtag1","hashtag2"]},{"1330903857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330903853, 1330903850, 1330903832, 1330903843, 1330903837, 1330903857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.70840048789978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:29:02.688134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/26/image_24012025_01_26_02_382829_0002.jpg', '/home/pi/Desktop/images/24012025/01/26/image_24012025_01_26_02_382829_0003.jpg', '/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0000.jpg', '/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0001.jpg', '/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0002.jpg', '/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/26/image_24012025_01_26_02_382829_0002.jpg
/home/pi/Desktop/images/24012025/01/26/image_24012025_01_26_02_382829_0003.jpg
/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0000.jpg
/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0001.jpg
/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0002.jpg
/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.97789478302002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:29:21.996583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/26/image_24012025_01_26_02_382829_0002.jpg', '/home/pi/Desktop/images/24012025/01/26/image_24012025_01_26_02_382829_0003.jpg', '/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0000.jpg', '/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0001.jpg', '/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0002.jpg', '/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/26/image_24012025_01_26_02_382829_0002.jpg
/home/pi/Desktop/images/24012025/01/26/image_24012025_01_26_02_382829_0003.jpg
/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0000.jpg
/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0001.jpg
/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0002.jpg
/home/pi/Desktop/images/24012025/01/27/image_24012025_01_27_02_890809_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330903905","1330903914","1330903897","1330903912","1330903909","1330903918"],"photo_ids_order":["1330903897","1330903905","1330903909","1330903912","1330903914","1330903918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a02d4fdf4ced9009b8ba280a7cd45493.jpg","text":"TemporaryFile(/tmp/multipartBody5550695641982516941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678638281,"filename":"image_24012025_01_26_02_382829_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a616d0a275f62b5f5bfb27104592d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8732170242467346583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678638281,"filename":"image_24012025_01_27_02_890809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/08681b3976c825394ee24c992ccd5f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6723743294084743439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678638281,"filename":"image_24012025_01_26_02_382829_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/724cd9dedfe7848345b5abfdaa30852a.jpg","text":"TemporaryFile(/tmp/multipartBody4308806412680572217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678638281,"filename":"image_24012025_01_27_02_890809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bc3d0b7c0c2b8704dc2750788f2570b9.jpg","text":"TemporaryFile(/tmp/multipartBody1806551801673673753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678638281,"filename":"image_24012025_01_27_02_890809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55b9b4958b4658303fe47b033bc1a2f3.jpg","text":"TemporaryFile(/tmp/multipartBody3747099251566108416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678638281,"filename":"image_24012025_01_27_02_890809_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330903909","file1":"1330903905","file0":"1330903897","file4":"1330903914","file5":"1330903918","file3":"1330903912"},"map_files_photo_id_array":[{"photo_id":"1330903918","filename":"file5"},{"photo_id":"1330903909","filename":"file2"},{"photo_id":"1330903914","filename":"file4"},{"photo_id":"1330903905","filename":"file1"},{"photo_id":"1330903897","filename":"file0"},{"photo_id":"1330903912","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330903905":["hashtag1","hashtag2"]},{"1330903914":["hashtag1","hashtag2"]},{"1330903897":["hashtag1","hashtag2"]},{"1330903912":["hashtag1","hashtag2"]},{"1330903909":["hashtag1","hashtag2"]},{"1330903918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330903905, 1330903914, 1330903897, 1330903912, 1330903909, 1330903918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.641183614730835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:30:22.685981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0000.jpg', '/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0001.jpg', '/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0002.jpg', '/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0003.jpg', '/home/pi/Desktop/images/24012025/01/29/image_24012025_01_29_02_928594_0000.jpg', '/home/pi/Desktop/images/24012025/01/29/image_24012025_01_29_02_928594_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0000.jpg
/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0001.jpg
/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0002.jpg
/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0003.jpg
/home/pi/Desktop/images/24012025/01/29/image_24012025_01_29_02_928594_0000.jpg
/home/pi/Desktop/images/24012025/01/29/image_24012025_01_29_02_928594_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.883766174316406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:31:03.062701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0000.jpg', '/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0001.jpg', '/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0002.jpg', '/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0003.jpg', '/home/pi/Desktop/images/24012025/01/29/image_24012025_01_29_02_928594_0000.jpg', '/home/pi/Desktop/images/24012025/01/29/image_24012025_01_29_02_928594_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0000.jpg
/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0001.jpg
/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0002.jpg
/home/pi/Desktop/images/24012025/01/28/image_24012025_01_28_02_449504_0003.jpg
/home/pi/Desktop/images/24012025/01/29/image_24012025_01_29_02_928594_0000.jpg
/home/pi/Desktop/images/24012025/01/29/image_24012025_01_29_02_928594_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330903975","1330904002","1330903998","1330903992","1330903986","1330903980"],"photo_ids_order":["1330903975","1330903980","1330903986","1330903992","1330903998","1330904002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b230fbb956d8a9832c474bb3008b114.jpg","text":"TemporaryFile(/tmp/multipartBody9217115114730365435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678739387,"filename":"image_24012025_01_28_02_449504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23fc134ee45c6dd9f4c511e22ebddb30.jpg","text":"TemporaryFile(/tmp/multipartBody6536969284043573637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678739387,"filename":"image_24012025_01_29_02_928594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b03897a2ae2f927789009f2915af06fe.jpg","text":"TemporaryFile(/tmp/multipartBody5936932056674671921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678739387,"filename":"image_24012025_01_29_02_928594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/78198bfbd16f67aab02f9352fbb4784b.jpg","text":"TemporaryFile(/tmp/multipartBody6910604789499144705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678739387,"filename":"image_24012025_01_28_02_449504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21da56845de9faa3b1112d5e1bc4460f.jpg","text":"TemporaryFile(/tmp/multipartBody8228718428882168783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678739387,"filename":"image_24012025_01_28_02_449504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9942792ce2ac723443d807c6014f0116.jpg","text":"TemporaryFile(/tmp/multipartBody2630643395714641101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678739387,"filename":"image_24012025_01_28_02_449504_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330903986","file1":"1330903980","file0":"1330903975","file4":"1330903998","file5":"1330904002","file3":"1330903992"},"map_files_photo_id_array":[{"photo_id":"1330904002","filename":"file5"},{"photo_id":"1330903986","filename":"file2"},{"photo_id":"1330903998","filename":"file4"},{"photo_id":"1330903980","filename":"file1"},{"photo_id":"1330903975","filename":"file0"},{"photo_id":"1330903992","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330903975":["hashtag1","hashtag2"]},{"1330904002":["hashtag1","hashtag2"]},{"1330903998":["hashtag1","hashtag2"]},{"1330903992":["hashtag1","hashtag2"]},{"1330903986":["hashtag1","hashtag2"]},{"1330903980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330903975, 1330904002, 1330903998, 1330903992, 1330903986, 1330903980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.02027130126953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:32:02.321833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/29/image_24012025_01_29_02_928594_0002.jpg', '/home/pi/Desktop/images/24012025/01/29/image_24012025_01_29_02_928594_0003.jpg', '/home/pi/Desktop/images/24012025/01/30/image_24012025_01_30_02_430112_0000.jpg', '/home/pi/Desktop/images/24012025/01/30/image_24012025_01_30_02_430112_0001.jpg', '/home/pi/Desktop/images/24012025/01/30/image_24012025_01_30_02_430112_0002.jpg', '/home/pi/Desktop/images/24012025/01/30/image_24012025_01_30_02_430112_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/29/image_24012025_01_29_02_928594_0002.jpg
/home/pi/Desktop/images/24012025/01/29/image_24012025_01_29_02_928594_0003.jpg
/home/pi/Desktop/images/24012025/01/30/image_24012025_01_30_02_430112_0000.jpg
/home/pi/Desktop/images/24012025/01/30/image_24012025_01_30_02_430112_0001.jpg
/home/pi/Desktop/images/24012025/01/30/image_24012025_01_30_02_430112_0002.jpg
/home/pi/Desktop/images/24012025/01/30/image_24012025_01_30_02_430112_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330904074","1330904059","1330904053","1330904047","1330904067","1330904076"],"photo_ids_order":["1330904047","1330904053","1330904059","1330904067","1330904074","1330904076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/974297059d28eadd40d8d48efef0afde.jpg","text":"TemporaryFile(/tmp/multipartBody8375314819476852768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678798945,"filename":"image_24012025_01_30_02_430112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7dab7113c75176315955e2fa043b65b5.jpg","text":"TemporaryFile(/tmp/multipartBody259938345721262296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678798945,"filename":"image_24012025_01_30_02_430112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40610f7bc0045672a1a12dc1d2792a24.jpg","text":"TemporaryFile(/tmp/multipartBody6838113918244917457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678798945,"filename":"image_24012025_01_29_02_928594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dea6580040366a65c8501971dc9c6d39.jpg","text":"TemporaryFile(/tmp/multipartBody2239638312840360881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678798945,"filename":"image_24012025_01_29_02_928594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c85f462e0e101fabe5f5c4dfa4fc3a73.jpg","text":"TemporaryFile(/tmp/multipartBody6773399221006452994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678798945,"filename":"image_24012025_01_30_02_430112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/81fa0bc4fbb18740267c3976e4cdefd0.jpg","text":"TemporaryFile(/tmp/multipartBody8701306763452456176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678798945,"filename":"image_24012025_01_30_02_430112_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330904059","file1":"1330904053","file0":"1330904047","file4":"1330904074","file5":"1330904076","file3":"1330904067"},"map_files_photo_id_array":[{"photo_id":"1330904076","filename":"file5"},{"photo_id":"1330904059","filename":"file2"},{"photo_id":"1330904074","filename":"file4"},{"photo_id":"1330904053","filename":"file1"},{"photo_id":"1330904047","filename":"file0"},{"photo_id":"1330904067","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330904074":["hashtag1","hashtag2"]},{"1330904059":["hashtag1","hashtag2"]},{"1330904053":["hashtag1","hashtag2"]},{"1330904047":["hashtag1","hashtag2"]},{"1330904067":["hashtag1","hashtag2"]},{"1330904076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330904074, 1330904059, 1330904053, 1330904047, 1330904067, 1330904076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.158324241638184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:33:22.702226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/31/image_24012025_01_31_03_085151_0000.jpg', '/home/pi/Desktop/images/24012025/01/31/image_24012025_01_31_03_085151_0001.jpg', '/home/pi/Desktop/images/24012025/01/31/image_24012025_01_31_03_085151_0002.jpg', '/home/pi/Desktop/images/24012025/01/31/image_24012025_01_31_03_085151_0003.jpg', '/home/pi/Desktop/images/24012025/01/32/image_24012025_01_32_02_662598_0000.jpg', '/home/pi/Desktop/images/24012025/01/32/image_24012025_01_32_02_662598_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/31/image_24012025_01_31_03_085151_0000.jpg
/home/pi/Desktop/images/24012025/01/31/image_24012025_01_31_03_085151_0001.jpg
/home/pi/Desktop/images/24012025/01/31/image_24012025_01_31_03_085151_0002.jpg
/home/pi/Desktop/images/24012025/01/31/image_24012025_01_31_03_085151_0003.jpg
/home/pi/Desktop/images/24012025/01/32/image_24012025_01_32_02_662598_0000.jpg
/home/pi/Desktop/images/24012025/01/32/image_24012025_01_32_02_662598_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330904105","1330904119","1330904110","1330904113","1330904116","1330904121"],"photo_ids_order":["1330904105","1330904110","1330904113","1330904116","1330904119","1330904121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9239f4ceb3b438701e362e7fdba838a6.jpg","text":"TemporaryFile(/tmp/multipartBody4626172719313950051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678879245,"filename":"image_24012025_01_31_03_085151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1d61445e028b79631127ec3515ed739b.jpg","text":"TemporaryFile(/tmp/multipartBody3993984918072349631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678879245,"filename":"image_24012025_01_32_02_662598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c83281d03a7b1e9e491dcdbacf6d1059.jpg","text":"TemporaryFile(/tmp/multipartBody1212658903770598903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678879245,"filename":"image_24012025_01_31_03_085151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/635d0df9256504d753cf4165516da6cf.jpg","text":"TemporaryFile(/tmp/multipartBody1567153457854553042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678879245,"filename":"image_24012025_01_31_03_085151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/018e51d8b51e579c121cb1ba69e16c52.jpg","text":"TemporaryFile(/tmp/multipartBody3727711422442312467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678879245,"filename":"image_24012025_01_31_03_085151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3115de948543a388b9c9d501f2c4fd84.jpg","text":"TemporaryFile(/tmp/multipartBody396446261209032049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678879245,"filename":"image_24012025_01_32_02_662598_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330904113","file1":"1330904110","file0":"1330904105","file4":"1330904119","file5":"1330904121","file3":"1330904116"},"map_files_photo_id_array":[{"photo_id":"1330904121","filename":"file5"},{"photo_id":"1330904113","filename":"file2"},{"photo_id":"1330904119","filename":"file4"},{"photo_id":"1330904110","filename":"file1"},{"photo_id":"1330904105","filename":"file0"},{"photo_id":"1330904116","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330904105":["hashtag1","hashtag2"]},{"1330904119":["hashtag1","hashtag2"]},{"1330904110":["hashtag1","hashtag2"]},{"1330904113":["hashtag1","hashtag2"]},{"1330904116":["hashtag1","hashtag2"]},{"1330904121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330904105, 1330904119, 1330904110, 1330904113, 1330904116, 1330904121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.726064682006836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:34:22.240147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/32/image_24012025_01_32_02_662598_0002.jpg', '/home/pi/Desktop/images/24012025/01/32/image_24012025_01_32_02_662598_0003.jpg', '/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0000.jpg', '/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0001.jpg', '/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0002.jpg', '/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/32/image_24012025_01_32_02_662598_0002.jpg
/home/pi/Desktop/images/24012025/01/32/image_24012025_01_32_02_662598_0003.jpg
/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0000.jpg
/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0001.jpg
/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0002.jpg
/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.343599557876587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:35:03.373682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/32/image_24012025_01_32_02_662598_0002.jpg', '/home/pi/Desktop/images/24012025/01/32/image_24012025_01_32_02_662598_0003.jpg', '/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0000.jpg', '/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0001.jpg', '/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0002.jpg', '/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/32/image_24012025_01_32_02_662598_0002.jpg
/home/pi/Desktop/images/24012025/01/32/image_24012025_01_32_02_662598_0003.jpg
/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0000.jpg
/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0001.jpg
/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0002.jpg
/home/pi/Desktop/images/24012025/01/33/image_24012025_01_33_02_317834_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330904180","1330904185","1330904170","1330904212","1330904215","1330904202"],"photo_ids_order":["1330904170","1330904180","1330904185","1330904202","1330904212","1330904215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7fea2f3b237011e51ecd22f0a80d076a.jpg","text":"TemporaryFile(/tmp/multipartBody7056596268611559929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678980182,"filename":"image_24012025_01_32_02_662598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2eb09ef99806530fc4d2e500c3b17a40.jpg","text":"TemporaryFile(/tmp/multipartBody4335094445755597697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678980182,"filename":"image_24012025_01_33_02_317834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1c3a146ad7b18a91dccb754f963dd18d.jpg","text":"TemporaryFile(/tmp/multipartBody6444462736629233328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678980182,"filename":"image_24012025_01_32_02_662598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce5f6068e81cf535132324874b7b13f2.jpg","text":"TemporaryFile(/tmp/multipartBody421410269650479312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678980182,"filename":"image_24012025_01_33_02_317834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f09a9cbdc628c4dd39ae49184ce45f1.jpg","text":"TemporaryFile(/tmp/multipartBody6157674597733689751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678980182,"filename":"image_24012025_01_33_02_317834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/771e7c1639ad9de889c6bd4a64685820.jpg","text":"TemporaryFile(/tmp/multipartBody7590278717718826140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737678980182,"filename":"image_24012025_01_33_02_317834_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330904185","file1":"1330904180","file0":"1330904170","file4":"1330904212","file5":"1330904215","file3":"1330904202"},"map_files_photo_id_array":[{"photo_id":"1330904215","filename":"file5"},{"photo_id":"1330904185","filename":"file2"},{"photo_id":"1330904212","filename":"file4"},{"photo_id":"1330904180","filename":"file1"},{"photo_id":"1330904170","filename":"file0"},{"photo_id":"1330904202","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330904180":["hashtag1","hashtag2"]},{"1330904185":["hashtag1","hashtag2"]},{"1330904170":["hashtag1","hashtag2"]},{"1330904212":["hashtag1","hashtag2"]},{"1330904215":["hashtag1","hashtag2"]},{"1330904202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330904180, 1330904185, 1330904170, 1330904212, 1330904215, 1330904202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.47408676147461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:36:02.783374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/34/image_24012025_01_34_03_108176_0000.jpg', '/home/pi/Desktop/images/24012025/01/34/image_24012025_01_34_03_108176_0001.jpg', '/home/pi/Desktop/images/24012025/01/34/image_24012025_01_34_03_108176_0002.jpg', '/home/pi/Desktop/images/24012025/01/34/image_24012025_01_34_03_108176_0003.jpg', '/home/pi/Desktop/images/24012025/01/35/image_24012025_01_35_02_596358_0000.jpg', '/home/pi/Desktop/images/24012025/01/35/image_24012025_01_35_02_596358_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/34/image_24012025_01_34_03_108176_0000.jpg
/home/pi/Desktop/images/24012025/01/34/image_24012025_01_34_03_108176_0001.jpg
/home/pi/Desktop/images/24012025/01/34/image_24012025_01_34_03_108176_0002.jpg
/home/pi/Desktop/images/24012025/01/34/image_24012025_01_34_03_108176_0003.jpg
/home/pi/Desktop/images/24012025/01/35/image_24012025_01_35_02_596358_0000.jpg
/home/pi/Desktop/images/24012025/01/35/image_24012025_01_35_02_596358_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330904246","1330904255","1330904234","1330904298","1330904259","1330904241"],"photo_ids_order":["1330904234","1330904241","1330904246","1330904255","1330904259","1330904298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b4fe48fafb7c07b6689cb3d8ff4c9a6.jpg","text":"TemporaryFile(/tmp/multipartBody5668463785447890097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679039355,"filename":"image_24012025_01_34_03_108176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f9a381eaf55109aa41a84b98373678f7.jpg","text":"TemporaryFile(/tmp/multipartBody712148417715424114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679039355,"filename":"image_24012025_01_34_03_108176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/07a971c91b40bfa4d2116617494f32fc.jpg","text":"TemporaryFile(/tmp/multipartBody217859846284565271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679039355,"filename":"image_24012025_01_34_03_108176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d0df7753b9b9d2df225dbff1eea707a.jpg","text":"TemporaryFile(/tmp/multipartBody2492892846512982149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679039355,"filename":"image_24012025_01_35_02_596358_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9de2f7c45f92a01c97429edca3823931.jpg","text":"TemporaryFile(/tmp/multipartBody1083769064633654038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679039355,"filename":"image_24012025_01_35_02_596358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/60bb3cf6e3a2b326257d10a1c689ab78.jpg","text":"TemporaryFile(/tmp/multipartBody2281750868527139841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679039355,"filename":"image_24012025_01_34_03_108176_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330904246","file1":"1330904241","file0":"1330904234","file4":"1330904259","file5":"1330904298","file3":"1330904255"},"map_files_photo_id_array":[{"photo_id":"1330904298","filename":"file5"},{"photo_id":"1330904246","filename":"file2"},{"photo_id":"1330904259","filename":"file4"},{"photo_id":"1330904241","filename":"file1"},{"photo_id":"1330904234","filename":"file0"},{"photo_id":"1330904255","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330904246":["hashtag1","hashtag2"]},{"1330904255":["hashtag1","hashtag2"]},{"1330904234":["hashtag1","hashtag2"]},{"1330904298":["hashtag1","hashtag2"]},{"1330904259":["hashtag1","hashtag2"]},{"1330904241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330904246, 1330904255, 1330904234, 1330904298, 1330904259, 1330904241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.64655137062073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:37:02.638813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/35/image_24012025_01_35_02_596358_0002.jpg', '/home/pi/Desktop/images/24012025/01/35/image_24012025_01_35_02_596358_0003.jpg', '/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0000.jpg', '/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0001.jpg', '/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/35/image_24012025_01_35_02_596358_0002.jpg
/home/pi/Desktop/images/24012025/01/35/image_24012025_01_35_02_596358_0003.jpg
/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0000.jpg
/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0001.jpg
/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 13.764630794525146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:37:21.840108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/35/image_24012025_01_35_02_596358_0002.jpg', '/home/pi/Desktop/images/24012025/01/35/image_24012025_01_35_02_596358_0003.jpg', '/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0000.jpg', '/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0001.jpg', '/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0002.jpg', '/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/35/image_24012025_01_35_02_596358_0002.jpg
/home/pi/Desktop/images/24012025/01/35/image_24012025_01_35_02_596358_0003.jpg
/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0000.jpg
/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0001.jpg
/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0002.jpg
/home/pi/Desktop/images/24012025/01/36/image_24012025_01_36_03_158704_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330904440","1330904443","1330904407","1330904448","1330904412","1330904415"],"photo_ids_order":["1330904407","1330904412","1330904415","1330904440","1330904443","1330904448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3f67841bd56f567ecf3857f7596bdd95.jpg","text":"TemporaryFile(/tmp/multipartBody1487277780835983170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679118500,"filename":"image_24012025_01_36_03_158704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/daa68487ad755234384a83096d7320d1.jpg","text":"TemporaryFile(/tmp/multipartBody8991430158550423085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679118500,"filename":"image_24012025_01_36_03_158704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ea4a8f23de78aceaf52eca47b490632.jpg","text":"TemporaryFile(/tmp/multipartBody7078872102662666062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679118500,"filename":"image_24012025_01_35_02_596358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db9a978884ede3c3b9a0f613bb9ced46.jpg","text":"TemporaryFile(/tmp/multipartBody1324458009797855570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679118500,"filename":"image_24012025_01_36_03_158704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3c5a30f2653a6fe2f58b7f467f0bfd44.jpg","text":"TemporaryFile(/tmp/multipartBody7792709691864044863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679118500,"filename":"image_24012025_01_35_02_596358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5809590b1ded7b449c55e171a7d4572f.jpg","text":"TemporaryFile(/tmp/multipartBody5510318990952075572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679118500,"filename":"image_24012025_01_36_03_158704_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330904415","file1":"1330904412","file0":"1330904407","file4":"1330904443","file5":"1330904448","file3":"1330904440"},"map_files_photo_id_array":[{"photo_id":"1330904448","filename":"file5"},{"photo_id":"1330904415","filename":"file2"},{"photo_id":"1330904443","filename":"file4"},{"photo_id":"1330904412","filename":"file1"},{"photo_id":"1330904407","filename":"file0"},{"photo_id":"1330904440","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330904440":["hashtag1","hashtag2"]},{"1330904443":["hashtag1","hashtag2"]},{"1330904407":["hashtag1","hashtag2"]},{"1330904448":["hashtag1","hashtag2"]},{"1330904412":["hashtag1","hashtag2"]},{"1330904415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330904440, 1330904443, 1330904407, 1330904448, 1330904412, 1330904415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.77408790588379 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:39:02.870433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/37/image_24012025_01_37_02_750398_0000.jpg', '/home/pi/Desktop/images/24012025/01/37/image_24012025_01_37_02_750398_0001.jpg', '/home/pi/Desktop/images/24012025/01/37/image_24012025_01_37_02_750398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/37/image_24012025_01_37_02_750398_0000.jpg
/home/pi/Desktop/images/24012025/01/37/image_24012025_01_37_02_750398_0001.jpg
/home/pi/Desktop/images/24012025/01/37/image_24012025_01_37_02_750398_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330904505","1330904497","1330904512"],"photo_ids_order":["1330904497","1330904505","1330904512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/82aab7658ce775b0e7378e0b41b13811.jpg","text":"TemporaryFile(/tmp/multipartBody8271635961038903405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679211784,"filename":"image_24012025_01_37_02_750398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06ffb693a0d11cabadcdbd2e21accc5c.jpg","text":"TemporaryFile(/tmp/multipartBody3149019819952193238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679211784,"filename":"image_24012025_01_37_02_750398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c5a634d81fd5e99bc50827d7e3aafffa.jpg","text":"TemporaryFile(/tmp/multipartBody8871052804847498716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679211784,"filename":"image_24012025_01_37_02_750398_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330904512","file1":"1330904505","file0":"1330904497"},"map_files_photo_id_array":[{"photo_id":"1330904512","filename":"file2"},{"photo_id":"1330904505","filename":"file1"},{"photo_id":"1330904497","filename":"file0"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330904505":["hashtag1","hashtag2"]},{"1330904497":["hashtag1","hashtag2"]},{"1330904512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330904505, 1330904497, 1330904512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.040011644363403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:40:02.840867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/32/image_21012025_19_32_02_611603_0002.jpg', '/home/pi/Desktop/images/21012025/19/32/image_21012025_19_32_02_611603_0003.jpg', '/home/pi/Desktop/images/21012025/19/33/image_21012025_19_33_02_755796_0000.jpg', '/home/pi/Desktop/images/21012025/19/33/image_21012025_19_33_02_755796_0001.jpg', '/home/pi/Desktop/images/21012025/19/33/image_21012025_19_33_02_755796_0002.jpg', '/home/pi/Desktop/images/21012025/19/33/image_21012025_19_33_02_755796_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/32/image_21012025_19_32_02_611603_0002.jpg
/home/pi/Desktop/images/21012025/19/32/image_21012025_19_32_02_611603_0003.jpg
/home/pi/Desktop/images/21012025/19/33/image_21012025_19_33_02_755796_0000.jpg
/home/pi/Desktop/images/21012025/19/33/image_21012025_19_33_02_755796_0001.jpg
/home/pi/Desktop/images/21012025/19/33/image_21012025_19_33_02_755796_0002.jpg
/home/pi/Desktop/images/21012025/19/33/image_21012025_19_33_02_755796_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330904759","1330904780","1330904655","1330904940","1330904838","1330904724"],"photo_ids_order":["1330904655","1330904724","1330904759","1330904780","1330904838","1330904940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/87c5f8f2186af973da962b9ad19d5059.jpg","text":"TemporaryFile(/tmp/multipartBody2783121815195744405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679281270,"filename":"image_21012025_19_33_02_755796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/506b24d406b47addb31c8a7e60bc4796.jpg","text":"TemporaryFile(/tmp/multipartBody1767285002876992477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679281270,"filename":"image_21012025_19_33_02_755796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f9d84bbf3f12e3ae4f81b9060815b900.jpg","text":"TemporaryFile(/tmp/multipartBody1224215374423686994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679281270,"filename":"image_21012025_19_32_02_611603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/497c89545bdaacd79ac6b0939bb3c66d.jpg","text":"TemporaryFile(/tmp/multipartBody7400394591195371471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679281270,"filename":"image_21012025_19_33_02_755796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ac1d888cd0fe622bc35bd72e7f7c55f.jpg","text":"TemporaryFile(/tmp/multipartBody1753049297747007580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679281270,"filename":"image_21012025_19_33_02_755796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c2404e1e0d3a463cc054aab34bc9e7d6.jpg","text":"TemporaryFile(/tmp/multipartBody8745328796210020200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679281270,"filename":"image_21012025_19_32_02_611603_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330904759","file1":"1330904724","file0":"1330904655","file4":"1330904838","file5":"1330904940","file3":"1330904780"},"map_files_photo_id_array":[{"photo_id":"1330904940","filename":"file5"},{"photo_id":"1330904759","filename":"file2"},{"photo_id":"1330904838","filename":"file4"},{"photo_id":"1330904724","filename":"file1"},{"photo_id":"1330904655","filename":"file0"},{"photo_id":"1330904780","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330904759":["hashtag1","hashtag2"]},{"1330904780":["hashtag1","hashtag2"]},{"1330904655":["hashtag1","hashtag2"]},{"1330904940":["hashtag1","hashtag2"]},{"1330904838":["hashtag1","hashtag2"]},{"1330904724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330904759, 1330904780, 1330904655, 1330904940, 1330904838, 1330904724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.60964512825012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:41:22.577728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/34/image_21012025_19_34_02_985497_0000.jpg', '/home/pi/Desktop/images/21012025/19/34/image_21012025_19_34_02_985497_0001.jpg', '/home/pi/Desktop/images/21012025/19/34/image_21012025_19_34_02_985497_0002.jpg', '/home/pi/Desktop/images/21012025/19/34/image_21012025_19_34_02_985497_0003.jpg', '/home/pi/Desktop/images/21012025/19/35/image_21012025_19_35_03_084856_0000.jpg', '/home/pi/Desktop/images/21012025/19/35/image_21012025_19_35_03_084856_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/34/image_21012025_19_34_02_985497_0000.jpg
/home/pi/Desktop/images/21012025/19/34/image_21012025_19_34_02_985497_0001.jpg
/home/pi/Desktop/images/21012025/19/34/image_21012025_19_34_02_985497_0002.jpg
/home/pi/Desktop/images/21012025/19/34/image_21012025_19_34_02_985497_0003.jpg
/home/pi/Desktop/images/21012025/19/35/image_21012025_19_35_03_084856_0000.jpg
/home/pi/Desktop/images/21012025/19/35/image_21012025_19_35_03_084856_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330905509","1330905530","1330905506","1330905396","1330905513","1330905452"],"photo_ids_order":["1330905396","1330905452","1330905506","1330905509","1330905513","1330905530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b13d2311af1a668dc4d6dab975c64b1f.jpg","text":"TemporaryFile(/tmp/multipartBody961315988252932572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679360933,"filename":"image_21012025_19_34_02_985497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/874c23b0da13e0f9d909294a11caae26.jpg","text":"TemporaryFile(/tmp/multipartBody3447248987383213857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679360933,"filename":"image_21012025_19_35_03_084856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/de35fa8f1e4d255985c2409bedbde289.jpg","text":"TemporaryFile(/tmp/multipartBody1761935299289283937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679360933,"filename":"image_21012025_19_34_02_985497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/643fa92803f26dc035a2ceaf61b8d0bb.jpg","text":"TemporaryFile(/tmp/multipartBody7244330223299889709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679360933,"filename":"image_21012025_19_34_02_985497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7e35b9a20afaad600461b0ce836d7288.jpg","text":"TemporaryFile(/tmp/multipartBody4305552947329293145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679360933,"filename":"image_21012025_19_35_03_084856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1c9b5067b5948531c8aaa81dd7dfea8d.jpg","text":"TemporaryFile(/tmp/multipartBody3654000506673481176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679360933,"filename":"image_21012025_19_34_02_985497_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330905506","file1":"1330905452","file0":"1330905396","file4":"1330905513","file5":"1330905530","file3":"1330905509"},"map_files_photo_id_array":[{"photo_id":"1330905530","filename":"file5"},{"photo_id":"1330905506","filename":"file2"},{"photo_id":"1330905513","filename":"file4"},{"photo_id":"1330905452","filename":"file1"},{"photo_id":"1330905396","filename":"file0"},{"photo_id":"1330905509","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330905509":["hashtag1","hashtag2"]},{"1330905530":["hashtag1","hashtag2"]},{"1330905506":["hashtag1","hashtag2"]},{"1330905396":["hashtag1","hashtag2"]},{"1330905513":["hashtag1","hashtag2"]},{"1330905452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330905509, 1330905530, 1330905506, 1330905396, 1330905513, 1330905452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.844034910202026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:43:02.556598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/35/image_21012025_19_35_03_084856_0002.jpg', '/home/pi/Desktop/images/21012025/19/35/image_21012025_19_35_03_084856_0003.jpg', '/home/pi/Desktop/images/21012025/19/36/image_21012025_19_36_02_354845_0000.jpg', '/home/pi/Desktop/images/21012025/19/36/image_21012025_19_36_02_354845_0001.jpg', '/home/pi/Desktop/images/21012025/19/36/image_21012025_19_36_02_354845_0002.jpg', '/home/pi/Desktop/images/21012025/19/36/image_21012025_19_36_02_354845_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/35/image_21012025_19_35_03_084856_0002.jpg
/home/pi/Desktop/images/21012025/19/35/image_21012025_19_35_03_084856_0003.jpg
/home/pi/Desktop/images/21012025/19/36/image_21012025_19_36_02_354845_0000.jpg
/home/pi/Desktop/images/21012025/19/36/image_21012025_19_36_02_354845_0001.jpg
/home/pi/Desktop/images/21012025/19/36/image_21012025_19_36_02_354845_0002.jpg
/home/pi/Desktop/images/21012025/19/36/image_21012025_19_36_02_354845_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330905908","1330905892","1330905897","1330905903","1330905761","1330905842"],"photo_ids_order":["1330905761","1330905842","1330905892","1330905897","1330905903","1330905908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2511ffd4ab54f5f8c6541b953e13f60f.jpg","text":"TemporaryFile(/tmp/multipartBody1334087584468725414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679460464,"filename":"image_21012025_19_36_02_354845_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a8b3ec913a2e071ad2154b8c2b82c4e5.jpg","text":"TemporaryFile(/tmp/multipartBody4046317312470516504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679460464,"filename":"image_21012025_19_36_02_354845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47ba124837a4d0311a5fe7527a871574.jpg","text":"TemporaryFile(/tmp/multipartBody8983991534037976247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679460464,"filename":"image_21012025_19_36_02_354845_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff2105e6bbf193d1a49e311af03a3c98.jpg","text":"TemporaryFile(/tmp/multipartBody8124309990671088689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679460464,"filename":"image_21012025_19_36_02_354845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/62157d769639e4b3ecee1c2c13bc4f70.jpg","text":"TemporaryFile(/tmp/multipartBody6310006771361766033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679460464,"filename":"image_21012025_19_35_03_084856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5273ec60b17aeef759e194936dec7b62.jpg","text":"TemporaryFile(/tmp/multipartBody302171175883235633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679460464,"filename":"image_21012025_19_35_03_084856_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330905892","file1":"1330905842","file0":"1330905761","file4":"1330905903","file5":"1330905908","file3":"1330905897"},"map_files_photo_id_array":[{"photo_id":"1330905908","filename":"file5"},{"photo_id":"1330905892","filename":"file2"},{"photo_id":"1330905903","filename":"file4"},{"photo_id":"1330905842","filename":"file1"},{"photo_id":"1330905761","filename":"file0"},{"photo_id":"1330905897","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330905908":["hashtag1","hashtag2"]},{"1330905892":["hashtag1","hashtag2"]},{"1330905897":["hashtag1","hashtag2"]},{"1330905903":["hashtag1","hashtag2"]},{"1330905761":["hashtag1","hashtag2"]},{"1330905842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330905908, 1330905892, 1330905897, 1330905903, 1330905761, 1330905842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.15884041786194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:44:22.070102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/37/image_21012025_19_37_02_501916_0000.jpg', '/home/pi/Desktop/images/21012025/19/37/image_21012025_19_37_02_501916_0001.jpg', '/home/pi/Desktop/images/21012025/19/37/image_21012025_19_37_02_501916_0002.jpg', '/home/pi/Desktop/images/21012025/19/37/image_21012025_19_37_02_501916_0003.jpg', '/home/pi/Desktop/images/21012025/19/38/image_21012025_19_38_02_644880_0000.jpg', '/home/pi/Desktop/images/21012025/19/38/image_21012025_19_38_02_644880_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/37/image_21012025_19_37_02_501916_0000.jpg
/home/pi/Desktop/images/21012025/19/37/image_21012025_19_37_02_501916_0001.jpg
/home/pi/Desktop/images/21012025/19/37/image_21012025_19_37_02_501916_0002.jpg
/home/pi/Desktop/images/21012025/19/37/image_21012025_19_37_02_501916_0003.jpg
/home/pi/Desktop/images/21012025/19/38/image_21012025_19_38_02_644880_0000.jpg
/home/pi/Desktop/images/21012025/19/38/image_21012025_19_38_02_644880_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330906045","1330906054","1330906056","1330906038","1330906052","1330906049"],"photo_ids_order":["1330906038","1330906045","1330906049","1330906052","1330906054","1330906056"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e43fdde6f9c395e643e69eecb634234b.jpg","text":"TemporaryFile(/tmp/multipartBody7501508745910521004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679540495,"filename":"image_21012025_19_37_02_501916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd785ad922ade6738488fccc5273f12c.jpg","text":"TemporaryFile(/tmp/multipartBody454195502384782086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679540495,"filename":"image_21012025_19_38_02_644880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c2c084fcacc88f42278faefdeb9cb67a.jpg","text":"TemporaryFile(/tmp/multipartBody7725126581250924915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679540495,"filename":"image_21012025_19_38_02_644880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eaf9d54001a97545ac8eea1d3161b52d.jpg","text":"TemporaryFile(/tmp/multipartBody7678623116210059958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679540495,"filename":"image_21012025_19_37_02_501916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cb003acfa6049277635b3889970645d9.jpg","text":"TemporaryFile(/tmp/multipartBody6340020700273250070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679540495,"filename":"image_21012025_19_37_02_501916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0ddc77f2e6e5f9af54aa9b6af18064d2.jpg","text":"TemporaryFile(/tmp/multipartBody8902439267911770400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679540495,"filename":"image_21012025_19_37_02_501916_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330906049","file1":"1330906045","file0":"1330906038","file4":"1330906054","file5":"1330906056","file3":"1330906052"},"map_files_photo_id_array":[{"photo_id":"1330906056","filename":"file5"},{"photo_id":"1330906049","filename":"file2"},{"photo_id":"1330906054","filename":"file4"},{"photo_id":"1330906045","filename":"file1"},{"photo_id":"1330906038","filename":"file0"},{"photo_id":"1330906052","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330906045":["hashtag1","hashtag2"]},{"1330906054":["hashtag1","hashtag2"]},{"1330906056":["hashtag1","hashtag2"]},{"1330906038":["hashtag1","hashtag2"]},{"1330906052":["hashtag1","hashtag2"]},{"1330906049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330906045, 1330906054, 1330906056, 1330906038, 1330906052, 1330906049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.03681826591492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:46:02.919614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/38/image_21012025_19_38_02_644880_0002.jpg', '/home/pi/Desktop/images/21012025/19/38/image_21012025_19_38_02_644880_0003.jpg', '/home/pi/Desktop/images/21012025/19/39/image_21012025_19_39_02_836377_0000.jpg', '/home/pi/Desktop/images/21012025/19/39/image_21012025_19_39_02_836377_0001.jpg', '/home/pi/Desktop/images/21012025/19/39/image_21012025_19_39_02_836377_0002.jpg', '/home/pi/Desktop/images/21012025/19/39/image_21012025_19_39_02_836377_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/38/image_21012025_19_38_02_644880_0002.jpg
/home/pi/Desktop/images/21012025/19/38/image_21012025_19_38_02_644880_0003.jpg
/home/pi/Desktop/images/21012025/19/39/image_21012025_19_39_02_836377_0000.jpg
/home/pi/Desktop/images/21012025/19/39/image_21012025_19_39_02_836377_0001.jpg
/home/pi/Desktop/images/21012025/19/39/image_21012025_19_39_02_836377_0002.jpg
/home/pi/Desktop/images/21012025/19/39/image_21012025_19_39_02_836377_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330906092","1330906113","1330906107","1330906101","1330906094","1330906088"],"photo_ids_order":["1330906088","1330906092","1330906094","1330906101","1330906107","1330906113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8725927a690fd53553603447375fd773.jpg","text":"TemporaryFile(/tmp/multipartBody2419668553645458553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679640974,"filename":"image_21012025_19_38_02_644880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bdaa298d3df625df13f45a83b08015b7.jpg","text":"TemporaryFile(/tmp/multipartBody408063510155336676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679640974,"filename":"image_21012025_19_39_02_836377_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39bc85673a13066c0fd32f20ecf737e1.jpg","text":"TemporaryFile(/tmp/multipartBody8636958569133256902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679640974,"filename":"image_21012025_19_39_02_836377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb96c08a063688e42563b9ff8f05d30d.jpg","text":"TemporaryFile(/tmp/multipartBody7023376801495414368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679640974,"filename":"image_21012025_19_39_02_836377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/85cb42e9fa7873e21f2466df3d20bcb3.jpg","text":"TemporaryFile(/tmp/multipartBody4234535232154951732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679640974,"filename":"image_21012025_19_39_02_836377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac92744c0fc06cecc9e423657605e663.jpg","text":"TemporaryFile(/tmp/multipartBody2266310979971458410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679640974,"filename":"image_21012025_19_38_02_644880_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330906094","file1":"1330906092","file0":"1330906088","file4":"1330906107","file5":"1330906113","file3":"1330906101"},"map_files_photo_id_array":[{"photo_id":"1330906113","filename":"file5"},{"photo_id":"1330906094","filename":"file2"},{"photo_id":"1330906107","filename":"file4"},{"photo_id":"1330906092","filename":"file1"},{"photo_id":"1330906088","filename":"file0"},{"photo_id":"1330906101","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330906092":["hashtag1","hashtag2"]},{"1330906113":["hashtag1","hashtag2"]},{"1330906107":["hashtag1","hashtag2"]},{"1330906101":["hashtag1","hashtag2"]},{"1330906094":["hashtag1","hashtag2"]},{"1330906088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330906092, 1330906113, 1330906107, 1330906101, 1330906094, 1330906088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.35287094116211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:47:22.627966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/40/image_21012025_19_40_03_027676_0000.jpg', '/home/pi/Desktop/images/21012025/19/40/image_21012025_19_40_03_027676_0001.jpg', '/home/pi/Desktop/images/21012025/19/40/image_21012025_19_40_03_027676_0002.jpg', '/home/pi/Desktop/images/21012025/19/40/image_21012025_19_40_03_027676_0003.jpg', '/home/pi/Desktop/images/21012025/19/41/image_21012025_19_41_02_188901_0000.jpg', '/home/pi/Desktop/images/21012025/19/41/image_21012025_19_41_02_188901_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/40/image_21012025_19_40_03_027676_0000.jpg
/home/pi/Desktop/images/21012025/19/40/image_21012025_19_40_03_027676_0001.jpg
/home/pi/Desktop/images/21012025/19/40/image_21012025_19_40_03_027676_0002.jpg
/home/pi/Desktop/images/21012025/19/40/image_21012025_19_40_03_027676_0003.jpg
/home/pi/Desktop/images/21012025/19/41/image_21012025_19_41_02_188901_0000.jpg
/home/pi/Desktop/images/21012025/19/41/image_21012025_19_41_02_188901_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330906325","1330906201","1330906210","1330906179","1330906190","1330906214"],"photo_ids_order":["1330906179","1330906190","1330906201","1330906210","1330906214","1330906325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a4a032cdddddefaa036878f015b9e4e2.jpg","text":"TemporaryFile(/tmp/multipartBody288689428546908452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679720271,"filename":"image_21012025_19_41_02_188901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39466acecdd74e3593cd1a264238c66f.jpg","text":"TemporaryFile(/tmp/multipartBody4884577904662234015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679720271,"filename":"image_21012025_19_40_03_027676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/97c3833a006d5cdab4e7530b858c92fe.jpg","text":"TemporaryFile(/tmp/multipartBody7341705893982620926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679720271,"filename":"image_21012025_19_40_03_027676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ef4b7b94dc32e426068de66a448f5acc.jpg","text":"TemporaryFile(/tmp/multipartBody2852523593054603958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679720271,"filename":"image_21012025_19_40_03_027676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/756c2248476db1f26aa31dee7d60dc8f.jpg","text":"TemporaryFile(/tmp/multipartBody7226283690314401205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679720271,"filename":"image_21012025_19_40_03_027676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f4faf01bd5046ad8648de64b1486b811.jpg","text":"TemporaryFile(/tmp/multipartBody7891270188963992170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679720271,"filename":"image_21012025_19_41_02_188901_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330906201","file1":"1330906190","file0":"1330906179","file4":"1330906214","file5":"1330906325","file3":"1330906210"},"map_files_photo_id_array":[{"photo_id":"1330906325","filename":"file5"},{"photo_id":"1330906201","filename":"file2"},{"photo_id":"1330906214","filename":"file4"},{"photo_id":"1330906190","filename":"file1"},{"photo_id":"1330906179","filename":"file0"},{"photo_id":"1330906210","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330906325":["hashtag1","hashtag2"]},{"1330906201":["hashtag1","hashtag2"]},{"1330906210":["hashtag1","hashtag2"]},{"1330906179":["hashtag1","hashtag2"]},{"1330906190":["hashtag1","hashtag2"]},{"1330906214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330906325, 1330906201, 1330906210, 1330906179, 1330906190, 1330906214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.11827993392944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:49:02.639534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/41/image_21012025_19_41_02_188901_0002.jpg', '/home/pi/Desktop/images/21012025/19/41/image_21012025_19_41_02_188901_0003.jpg', '/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0000.jpg', '/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0001.jpg', '/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0002.jpg', '/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/41/image_21012025_19_41_02_188901_0002.jpg
/home/pi/Desktop/images/21012025/19/41/image_21012025_19_41_02_188901_0003.jpg
/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0000.jpg
/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0001.jpg
/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0002.jpg
/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.836032390594482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:49:21.919023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/41/image_21012025_19_41_02_188901_0002.jpg', '/home/pi/Desktop/images/21012025/19/41/image_21012025_19_41_02_188901_0003.jpg', '/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0000.jpg', '/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0001.jpg', '/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0002.jpg', '/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/41/image_21012025_19_41_02_188901_0002.jpg
/home/pi/Desktop/images/21012025/19/41/image_21012025_19_41_02_188901_0003.jpg
/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0000.jpg
/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0001.jpg
/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0002.jpg
/home/pi/Desktop/images/21012025/19/42/image_21012025_19_42_02_434414_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330906693","1330906660","1330906665","1330906697","1330906655","1330906805"],"photo_ids_order":["1330906655","1330906660","1330906665","1330906693","1330906697","1330906805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cd9b7a394050fb0766a964d7a3e58cba.jpg","text":"TemporaryFile(/tmp/multipartBody767324070612901071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679839824,"filename":"image_21012025_19_42_02_434414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0f10eb56221e979d612c4af69e9e8177.jpg","text":"TemporaryFile(/tmp/multipartBody8684849614008991809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679839824,"filename":"image_21012025_19_41_02_188901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e9b62aaae9f6f3c1e143f0e407c5b81e.jpg","text":"TemporaryFile(/tmp/multipartBody6686970560869777135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679839824,"filename":"image_21012025_19_42_02_434414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee3c711de4b687f309c85c8463fc400d.jpg","text":"TemporaryFile(/tmp/multipartBody2272283721688499318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679839824,"filename":"image_21012025_19_42_02_434414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/36e9ef3710bd9961483b121e8fac81b4.jpg","text":"TemporaryFile(/tmp/multipartBody7425535172015882284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679839824,"filename":"image_21012025_19_41_02_188901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/62626da050fca86921d8f2ed51561e11.jpg","text":"TemporaryFile(/tmp/multipartBody6551042664451488981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679839824,"filename":"image_21012025_19_42_02_434414_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330906665","file1":"1330906660","file0":"1330906655","file4":"1330906697","file5":"1330906805","file3":"1330906693"},"map_files_photo_id_array":[{"photo_id":"1330906805","filename":"file5"},{"photo_id":"1330906665","filename":"file2"},{"photo_id":"1330906697","filename":"file4"},{"photo_id":"1330906660","filename":"file1"},{"photo_id":"1330906655","filename":"file0"},{"photo_id":"1330906693","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330906693":["hashtag1","hashtag2"]},{"1330906660":["hashtag1","hashtag2"]},{"1330906665":["hashtag1","hashtag2"]},{"1330906697":["hashtag1","hashtag2"]},{"1330906655":["hashtag1","hashtag2"]},{"1330906805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330906693, 1330906660, 1330906665, 1330906697, 1330906655, 1330906805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.73579263687134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:51:02.796371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/43/image_21012025_19_43_02_517521_0000.jpg', '/home/pi/Desktop/images/21012025/19/43/image_21012025_19_43_02_517521_0001.jpg', '/home/pi/Desktop/images/21012025/19/43/image_21012025_19_43_02_517521_0002.jpg', '/home/pi/Desktop/images/21012025/19/43/image_21012025_19_43_02_517521_0003.jpg', '/home/pi/Desktop/images/21012025/19/44/image_21012025_19_44_02_707608_0000.jpg', '/home/pi/Desktop/images/21012025/19/44/image_21012025_19_44_02_707608_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/43/image_21012025_19_43_02_517521_0000.jpg
/home/pi/Desktop/images/21012025/19/43/image_21012025_19_43_02_517521_0001.jpg
/home/pi/Desktop/images/21012025/19/43/image_21012025_19_43_02_517521_0002.jpg
/home/pi/Desktop/images/21012025/19/43/image_21012025_19_43_02_517521_0003.jpg
/home/pi/Desktop/images/21012025/19/44/image_21012025_19_44_02_707608_0000.jpg
/home/pi/Desktop/images/21012025/19/44/image_21012025_19_44_02_707608_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330907641","1330907645","1330907648","1330907636","1330907630","1330907624"],"photo_ids_order":["1330907624","1330907630","1330907636","1330907641","1330907645","1330907648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/73f52a801018a25e269bffab92d68d74.jpg","text":"TemporaryFile(/tmp/multipartBody7568203332669759866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679940721,"filename":"image_21012025_19_43_02_517521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d381b34aee8c8259a6cb71e1be90532f.jpg","text":"TemporaryFile(/tmp/multipartBody6927165631771863196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679940721,"filename":"image_21012025_19_44_02_707608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/25b148fed65614c84ccdb3f9f5a28f6d.jpg","text":"TemporaryFile(/tmp/multipartBody1516755239614008999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679940721,"filename":"image_21012025_19_44_02_707608_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b0ec6171d9937123dd4de705b012dfe.jpg","text":"TemporaryFile(/tmp/multipartBody1060097728117317778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679940721,"filename":"image_21012025_19_43_02_517521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c0411de0985f2b9e89edb2965d80fe3b.jpg","text":"TemporaryFile(/tmp/multipartBody2390345475550219538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679940721,"filename":"image_21012025_19_43_02_517521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/814e932ef15f582b75292d4992915850.jpg","text":"TemporaryFile(/tmp/multipartBody5711244783568440186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737679940721,"filename":"image_21012025_19_43_02_517521_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330907636","file1":"1330907630","file0":"1330907624","file4":"1330907645","file5":"1330907648","file3":"1330907641"},"map_files_photo_id_array":[{"photo_id":"1330907648","filename":"file5"},{"photo_id":"1330907636","filename":"file2"},{"photo_id":"1330907645","filename":"file4"},{"photo_id":"1330907630","filename":"file1"},{"photo_id":"1330907624","filename":"file0"},{"photo_id":"1330907641","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330907641":["hashtag1","hashtag2"]},{"1330907645":["hashtag1","hashtag2"]},{"1330907648":["hashtag1","hashtag2"]},{"1330907636":["hashtag1","hashtag2"]},{"1330907630":["hashtag1","hashtag2"]},{"1330907624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330907641, 1330907645, 1330907648, 1330907636, 1330907630, 1330907624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.25789666175842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:52:02.808532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/44/image_21012025_19_44_02_707608_0002.jpg', '/home/pi/Desktop/images/21012025/19/44/image_21012025_19_44_02_707608_0003.jpg', '/home/pi/Desktop/images/21012025/19/45/image_21012025_19_45_02_947720_0000.jpg', '/home/pi/Desktop/images/21012025/19/45/image_21012025_19_45_02_947720_0001.jpg', '/home/pi/Desktop/images/21012025/19/45/image_21012025_19_45_02_947720_0002.jpg', '/home/pi/Desktop/images/21012025/19/45/image_21012025_19_45_02_947720_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/44/image_21012025_19_44_02_707608_0002.jpg
/home/pi/Desktop/images/21012025/19/44/image_21012025_19_44_02_707608_0003.jpg
/home/pi/Desktop/images/21012025/19/45/image_21012025_19_45_02_947720_0000.jpg
/home/pi/Desktop/images/21012025/19/45/image_21012025_19_45_02_947720_0001.jpg
/home/pi/Desktop/images/21012025/19/45/image_21012025_19_45_02_947720_0002.jpg
/home/pi/Desktop/images/21012025/19/45/image_21012025_19_45_02_947720_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330908075","1330908000","1330907943","1330908146","1330908113","1330908116"],"photo_ids_order":["1330907943","1330908000","1330908075","1330908113","1330908116","1330908146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6dfe0e273f7b04f294fdc981b2c822b5.jpg","text":"TemporaryFile(/tmp/multipartBody4920716560347689765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680000638,"filename":"image_21012025_19_45_02_947720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/85652235095549aa79f1f695f78f7a8c.jpg","text":"TemporaryFile(/tmp/multipartBody1206771330061056335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680000638,"filename":"image_21012025_19_44_02_707608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0b0cfa153c2a6775eb5e9aa93b465895.jpg","text":"TemporaryFile(/tmp/multipartBody8132898649965854077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680000638,"filename":"image_21012025_19_44_02_707608_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a8f2a07aa050c5609764d99f5ca952e3.jpg","text":"TemporaryFile(/tmp/multipartBody7667576320287569810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680000638,"filename":"image_21012025_19_45_02_947720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8d86e6107dce155ccd48de48bf0601b3.jpg","text":"TemporaryFile(/tmp/multipartBody4872978637035636514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680000638,"filename":"image_21012025_19_45_02_947720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2569a46c59a208f0b48d30af9645f0f9.jpg","text":"TemporaryFile(/tmp/multipartBody3529587763134567301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680000638,"filename":"image_21012025_19_45_02_947720_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330908075","file1":"1330908000","file0":"1330907943","file4":"1330908116","file5":"1330908146","file3":"1330908113"},"map_files_photo_id_array":[{"photo_id":"1330908146","filename":"file5"},{"photo_id":"1330908075","filename":"file2"},{"photo_id":"1330908116","filename":"file4"},{"photo_id":"1330908000","filename":"file1"},{"photo_id":"1330907943","filename":"file0"},{"photo_id":"1330908113","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330908075":["hashtag1","hashtag2"]},{"1330908000":["hashtag1","hashtag2"]},{"1330907943":["hashtag1","hashtag2"]},{"1330908146":["hashtag1","hashtag2"]},{"1330908113":["hashtag1","hashtag2"]},{"1330908116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330908075, 1330908000, 1330907943, 1330908146, 1330908113, 1330908116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.11885046958923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:53:03.188303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/46/image_21012025_19_46_03_126004_0000.jpg', '/home/pi/Desktop/images/21012025/19/46/image_21012025_19_46_03_126004_0001.jpg', '/home/pi/Desktop/images/21012025/19/46/image_21012025_19_46_03_126004_0002.jpg', '/home/pi/Desktop/images/21012025/19/46/image_21012025_19_46_03_126004_0003.jpg', '/home/pi/Desktop/images/21012025/19/47/image_21012025_19_47_02_268107_0000.jpg', '/home/pi/Desktop/images/21012025/19/47/image_21012025_19_47_02_268107_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/46/image_21012025_19_46_03_126004_0000.jpg
/home/pi/Desktop/images/21012025/19/46/image_21012025_19_46_03_126004_0001.jpg
/home/pi/Desktop/images/21012025/19/46/image_21012025_19_46_03_126004_0002.jpg
/home/pi/Desktop/images/21012025/19/46/image_21012025_19_46_03_126004_0003.jpg
/home/pi/Desktop/images/21012025/19/47/image_21012025_19_47_02_268107_0000.jpg
/home/pi/Desktop/images/21012025/19/47/image_21012025_19_47_02_268107_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330908297","1330908165","1330908295","1330908277","1330908253","1330908192"],"photo_ids_order":["1330908165","1330908192","1330908253","1330908277","1330908295","1330908297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e817e8e35c34b49994c5e0c78b1ca12.jpg","text":"TemporaryFile(/tmp/multipartBody6239860513612928653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680060713,"filename":"image_21012025_19_47_02_268107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd9d3e2c030f2e0769aecd6b25ca6ec3.jpg","text":"TemporaryFile(/tmp/multipartBody4275780235300226944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680060713,"filename":"image_21012025_19_46_03_126004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/602633db234b7b27f850a81ee33c59b3.jpg","text":"TemporaryFile(/tmp/multipartBody7823652735861279959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680060713,"filename":"image_21012025_19_47_02_268107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b186aec7686a5d2313e119be78978446.jpg","text":"TemporaryFile(/tmp/multipartBody466373915573928354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680060713,"filename":"image_21012025_19_46_03_126004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/553af8836d1bb066bb91bb4c02616bb4.jpg","text":"TemporaryFile(/tmp/multipartBody3800514470295522152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680060713,"filename":"image_21012025_19_46_03_126004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f50da39cb82678eaa298ec9e90fee92.jpg","text":"TemporaryFile(/tmp/multipartBody3966317649084676527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680060713,"filename":"image_21012025_19_46_03_126004_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330908253","file1":"1330908192","file0":"1330908165","file4":"1330908295","file5":"1330908297","file3":"1330908277"},"map_files_photo_id_array":[{"photo_id":"1330908297","filename":"file5"},{"photo_id":"1330908253","filename":"file2"},{"photo_id":"1330908295","filename":"file4"},{"photo_id":"1330908192","filename":"file1"},{"photo_id":"1330908165","filename":"file0"},{"photo_id":"1330908277","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330908297":["hashtag1","hashtag2"]},{"1330908165":["hashtag1","hashtag2"]},{"1330908295":["hashtag1","hashtag2"]},{"1330908277":["hashtag1","hashtag2"]},{"1330908253":["hashtag1","hashtag2"]},{"1330908192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330908297, 1330908165, 1330908295, 1330908277, 1330908253, 1330908192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.9539966583252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:54:22.749191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/47/image_21012025_19_47_02_268107_0002.jpg', '/home/pi/Desktop/images/21012025/19/47/image_21012025_19_47_02_268107_0003.jpg', '/home/pi/Desktop/images/21012025/19/48/image_21012025_19_48_02_515709_0000.jpg', '/home/pi/Desktop/images/21012025/19/48/image_21012025_19_48_02_515709_0001.jpg', '/home/pi/Desktop/images/21012025/19/48/image_21012025_19_48_02_515709_0002.jpg', '/home/pi/Desktop/images/21012025/19/48/image_21012025_19_48_02_515709_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/47/image_21012025_19_47_02_268107_0002.jpg
/home/pi/Desktop/images/21012025/19/47/image_21012025_19_47_02_268107_0003.jpg
/home/pi/Desktop/images/21012025/19/48/image_21012025_19_48_02_515709_0000.jpg
/home/pi/Desktop/images/21012025/19/48/image_21012025_19_48_02_515709_0001.jpg
/home/pi/Desktop/images/21012025/19/48/image_21012025_19_48_02_515709_0002.jpg
/home/pi/Desktop/images/21012025/19/48/image_21012025_19_48_02_515709_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330908319","1330908324","1330908331","1330908349","1330908328","1330908337"],"photo_ids_order":["1330908319","1330908324","1330908328","1330908331","1330908337","1330908349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d8963344b5dc3cb26ae04eaee93d4ce7.jpg","text":"TemporaryFile(/tmp/multipartBody4303961243246699560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680140186,"filename":"image_21012025_19_47_02_268107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fee0e432772b8011357225a1c9175c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3561626769922294821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680140186,"filename":"image_21012025_19_47_02_268107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/996c9585a2eb9fc51fb1b8c6e89b53ae.jpg","text":"TemporaryFile(/tmp/multipartBody2962324267275852646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680140186,"filename":"image_21012025_19_48_02_515709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f512466fc8a0298ccd77200f15d758f1.jpg","text":"TemporaryFile(/tmp/multipartBody263513551512216601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680140186,"filename":"image_21012025_19_48_02_515709_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c207ef7f5adfc9f4c21b3e4052ec9429.jpg","text":"TemporaryFile(/tmp/multipartBody1471595902233491160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680140186,"filename":"image_21012025_19_48_02_515709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c5e64798ed07aea427e6c126ec871f96.jpg","text":"TemporaryFile(/tmp/multipartBody6689517978949891609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680140186,"filename":"image_21012025_19_48_02_515709_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330908328","file1":"1330908324","file0":"1330908319","file4":"1330908337","file5":"1330908349","file3":"1330908331"},"map_files_photo_id_array":[{"photo_id":"1330908349","filename":"file5"},{"photo_id":"1330908328","filename":"file2"},{"photo_id":"1330908337","filename":"file4"},{"photo_id":"1330908324","filename":"file1"},{"photo_id":"1330908319","filename":"file0"},{"photo_id":"1330908331","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330908319":["hashtag1","hashtag2"]},{"1330908324":["hashtag1","hashtag2"]},{"1330908331":["hashtag1","hashtag2"]},{"1330908349":["hashtag1","hashtag2"]},{"1330908328":["hashtag1","hashtag2"]},{"1330908337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330908319, 1330908324, 1330908331, 1330908349, 1330908328, 1330908337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.46294903755188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 01:55:21.948362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/49/image_21012025_19_49_02_644357_0000.jpg', '/home/pi/Desktop/images/21012025/19/49/image_21012025_19_49_02_644357_0001.jpg', '/home/pi/Desktop/images/21012025/19/49/image_21012025_19_49_02_644357_0002.jpg', '/home/pi/Desktop/images/21012025/19/49/image_21012025_19_49_02_644357_0003.jpg', '/home/pi/Desktop/images/21012025/19/50/image_21012025_19_50_02_909313_0000.jpg', '/home/pi/Desktop/images/21012025/19/50/image_21012025_19_50_02_909313_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/49/image_21012025_19_49_02_644357_0000.jpg
/home/pi/Desktop/images/21012025/19/49/image_21012025_19_49_02_644357_0001.jpg
/home/pi/Desktop/images/21012025/19/49/image_21012025_19_49_02_644357_0002.jpg
/home/pi/Desktop/images/21012025/19/49/image_21012025_19_49_02_644357_0003.jpg
/home/pi/Desktop/images/21012025/19/50/image_21012025_19_50_02_909313_0000.jpg
/home/pi/Desktop/images/21012025/19/50/image_21012025_19_50_02_909313_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330908459","1330908431","1330908469","1330908454","1330908427","1330908436"],"photo_ids_order":["1330908427","1330908431","1330908436","1330908454","1330908459","1330908469"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d4cec642403411017b8128025df34053.jpg","text":"TemporaryFile(/tmp/multipartBody822071492804812206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680199830,"filename":"image_21012025_19_50_02_909313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/60318bae678de4ae9141b233f2b1448b.jpg","text":"TemporaryFile(/tmp/multipartBody5171047895573431453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680199830,"filename":"image_21012025_19_49_02_644357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/09740155be2758fe5df226fdf5ae2bd3.jpg","text":"TemporaryFile(/tmp/multipartBody2510466462595325086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680199830,"filename":"image_21012025_19_50_02_909313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e960cb2e9956e9f142042e8fd171f0f3.jpg","text":"TemporaryFile(/tmp/multipartBody6639572484051806085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680199830,"filename":"image_21012025_19_49_02_644357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd47f71362cc7f8cd5a6d0f3eb0caf56.jpg","text":"TemporaryFile(/tmp/multipartBody6031963601195269654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680199830,"filename":"image_21012025_19_49_02_644357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/caa166d009a121c6f3ad9b7c969e0e0d.jpg","text":"TemporaryFile(/tmp/multipartBody6626865658713711905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680199830,"filename":"image_21012025_19_49_02_644357_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330908436","file1":"1330908431","file0":"1330908427","file4":"1330908459","file5":"1330908469","file3":"1330908454"},"map_files_photo_id_array":[{"photo_id":"1330908469","filename":"file5"},{"photo_id":"1330908436","filename":"file2"},{"photo_id":"1330908459","filename":"file4"},{"photo_id":"1330908431","filename":"file1"},{"photo_id":"1330908427","filename":"file0"},{"photo_id":"1330908454","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330908459":["hashtag1","hashtag2"]},{"1330908431":["hashtag1","hashtag2"]},{"1330908469":["hashtag1","hashtag2"]},{"1330908454":["hashtag1","hashtag2"]},{"1330908427":["hashtag1","hashtag2"]},{"1330908436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330908459, 1330908431, 1330908469, 1330908454, 1330908427, 1330908436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.75465226173401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:57:02.892651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/50/image_21012025_19_50_02_909313_0002.jpg', '/home/pi/Desktop/images/21012025/19/50/image_21012025_19_50_02_909313_0003.jpg', '/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0000.jpg', '/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0001.jpg', '/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0002.jpg', '/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/50/image_21012025_19_50_02_909313_0002.jpg
/home/pi/Desktop/images/21012025/19/50/image_21012025_19_50_02_909313_0003.jpg
/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0000.jpg
/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0001.jpg
/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0002.jpg
/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0003.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 01:59:03.127438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/50/image_21012025_19_50_02_909313_0002.jpg', '/home/pi/Desktop/images/21012025/19/50/image_21012025_19_50_02_909313_0003.jpg', '/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0000.jpg', '/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0001.jpg', '/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0002.jpg', '/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/50/image_21012025_19_50_02_909313_0002.jpg
/home/pi/Desktop/images/21012025/19/50/image_21012025_19_50_02_909313_0003.jpg
/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0000.jpg
/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0001.jpg
/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0002.jpg
/home/pi/Desktop/images/21012025/19/51/image_21012025_19_51_03_030969_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330908720","1330908714","1330908731","1330908728","1330908733","1330908724"],"photo_ids_order":["1330908714","1330908720","1330908724","1330908728","1330908731","1330908733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e82750ed3fa4b14177ee39edf66e38db.jpg","text":"TemporaryFile(/tmp/multipartBody7603778490892752059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680420999,"filename":"image_21012025_19_50_02_909313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb91a6ea073f50467a07bf3e4834f02e.jpg","text":"TemporaryFile(/tmp/multipartBody2415236834023934789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680420999,"filename":"image_21012025_19_50_02_909313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8bd1755a31cc84daba7a80df1a3167d9.jpg","text":"TemporaryFile(/tmp/multipartBody1970526189602050669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680420999,"filename":"image_21012025_19_51_03_030969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aef5be9a594c362f9254a3acf7cfcd5c.jpg","text":"TemporaryFile(/tmp/multipartBody2719099644409310669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680420999,"filename":"image_21012025_19_51_03_030969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d6caa0491e9b5807d211917d4b11427f.jpg","text":"TemporaryFile(/tmp/multipartBody6176996512661080059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680420999,"filename":"image_21012025_19_51_03_030969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8cfca6b70f592d2b3c4ea5342690bf36.jpg","text":"TemporaryFile(/tmp/multipartBody5385100969703639812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680420999,"filename":"image_21012025_19_51_03_030969_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330908724","file1":"1330908720","file0":"1330908714","file4":"1330908731","file5":"1330908733","file3":"1330908728"},"map_files_photo_id_array":[{"photo_id":"1330908733","filename":"file5"},{"photo_id":"1330908724","filename":"file2"},{"photo_id":"1330908731","filename":"file4"},{"photo_id":"1330908720","filename":"file1"},{"photo_id":"1330908714","filename":"file0"},{"photo_id":"1330908728","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330908720":["hashtag1","hashtag2"]},{"1330908714":["hashtag1","hashtag2"]},{"1330908731":["hashtag1","hashtag2"]},{"1330908728":["hashtag1","hashtag2"]},{"1330908733":["hashtag1","hashtag2"]},{"1330908724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330908720, 1330908714, 1330908731, 1330908728, 1330908733, 1330908724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.26395630836487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:00:02.867305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/52/image_21012025_19_52_02_231611_0000.jpg', '/home/pi/Desktop/images/21012025/19/52/image_21012025_19_52_02_231611_0001.jpg', '/home/pi/Desktop/images/21012025/19/52/image_21012025_19_52_02_231611_0002.jpg', '/home/pi/Desktop/images/21012025/19/52/image_21012025_19_52_02_231611_0003.jpg', '/home/pi/Desktop/images/21012025/19/53/image_21012025_19_53_02_421889_0000.jpg', '/home/pi/Desktop/images/21012025/19/53/image_21012025_19_53_02_421889_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/52/image_21012025_19_52_02_231611_0000.jpg
/home/pi/Desktop/images/21012025/19/52/image_21012025_19_52_02_231611_0001.jpg
/home/pi/Desktop/images/21012025/19/52/image_21012025_19_52_02_231611_0002.jpg
/home/pi/Desktop/images/21012025/19/52/image_21012025_19_52_02_231611_0003.jpg
/home/pi/Desktop/images/21012025/19/53/image_21012025_19_53_02_421889_0000.jpg
/home/pi/Desktop/images/21012025/19/53/image_21012025_19_53_02_421889_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330908750","1330908756","1330908810","1330908806","1330908781","1330908795"],"photo_ids_order":["1330908750","1330908756","1330908781","1330908795","1330908806","1330908810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9080631dae4932fe452fb77c47ab8096.jpg","text":"TemporaryFile(/tmp/multipartBody5641215659100698271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680481118,"filename":"image_21012025_19_52_02_231611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/08c1012a426ae612f40d5dfccc8d6ad8.jpg","text":"TemporaryFile(/tmp/multipartBody7391934344074802403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680481118,"filename":"image_21012025_19_52_02_231611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ebb4e4456aac538eb45a26ced72665f6.jpg","text":"TemporaryFile(/tmp/multipartBody7567326311264815833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680481118,"filename":"image_21012025_19_53_02_421889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d05de5f1df7ec6ce93aef588768b9ee.jpg","text":"TemporaryFile(/tmp/multipartBody1845685331359832999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680481118,"filename":"image_21012025_19_53_02_421889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72857339d2fa2f3cb657c8fe4f768e95.jpg","text":"TemporaryFile(/tmp/multipartBody789080413232566788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680481118,"filename":"image_21012025_19_52_02_231611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2bba450dd6c11008fd0c398433a5969a.jpg","text":"TemporaryFile(/tmp/multipartBody4241440412766760612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680481118,"filename":"image_21012025_19_52_02_231611_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330908781","file1":"1330908756","file0":"1330908750","file4":"1330908806","file5":"1330908810","file3":"1330908795"},"map_files_photo_id_array":[{"photo_id":"1330908810","filename":"file5"},{"photo_id":"1330908781","filename":"file2"},{"photo_id":"1330908806","filename":"file4"},{"photo_id":"1330908756","filename":"file1"},{"photo_id":"1330908750","filename":"file0"},{"photo_id":"1330908795","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330908750":["hashtag1","hashtag2"]},{"1330908756":["hashtag1","hashtag2"]},{"1330908810":["hashtag1","hashtag2"]},{"1330908806":["hashtag1","hashtag2"]},{"1330908781":["hashtag1","hashtag2"]},{"1330908795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330908750, 1330908756, 1330908810, 1330908806, 1330908781, 1330908795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.70934867858887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:01:21.899346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/01/37/image_24012025_01_37_02_750398_0003.jpg', '/home/pi/Desktop/images/24012025/02/00/image_24012025_02_00_03_018989_0000.jpg', '/home/pi/Desktop/images/24012025/02/00/image_24012025_02_00_03_018989_0001.jpg', '/home/pi/Desktop/images/24012025/02/00/image_24012025_02_00_03_018989_0002.jpg', '/home/pi/Desktop/images/24012025/02/00/image_24012025_02_00_03_018989_0003.jpg', '/home/pi/Desktop/images/24012025/02/01/image_24012025_02_01_02_706376_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/01/37/image_24012025_01_37_02_750398_0003.jpg
/home/pi/Desktop/images/24012025/02/00/image_24012025_02_00_03_018989_0000.jpg
/home/pi/Desktop/images/24012025/02/00/image_24012025_02_00_03_018989_0001.jpg
/home/pi/Desktop/images/24012025/02/00/image_24012025_02_00_03_018989_0002.jpg
/home/pi/Desktop/images/24012025/02/00/image_24012025_02_00_03_018989_0003.jpg
/home/pi/Desktop/images/24012025/02/01/image_24012025_02_01_02_706376_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330908960","1330908939","1330908930","1330908936","1330908964","1330908934"],"photo_ids_order":["1330908930","1330908934","1330908936","1330908939","1330908960","1330908964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34426780a23bd9fca1caba5d6c075ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7363780221604143208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680558394,"filename":"image_24012025_02_00_03_018989_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/97ac5921ee85a3cdd28a78c0652d8a24.jpg","text":"TemporaryFile(/tmp/multipartBody8113656806146910231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680558394,"filename":"image_24012025_02_00_03_018989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d7ce49bab48b8cc53bb40ac7f79c2854.jpg","text":"TemporaryFile(/tmp/multipartBody8419322675715702849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680558394,"filename":"image_24012025_01_37_02_750398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0f1b74b164a0c05e7a371aa2dbbd67ba.jpg","text":"TemporaryFile(/tmp/multipartBody7037399092513722910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680558394,"filename":"image_24012025_02_00_03_018989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/275cf82e455266930824a41a2f8bc654.jpg","text":"TemporaryFile(/tmp/multipartBody8140887444965432722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680558394,"filename":"image_24012025_02_01_02_706376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/16728d4c4d2d8b14b9d7d98e52017e3f.jpg","text":"TemporaryFile(/tmp/multipartBody7982268974697959836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680558394,"filename":"image_24012025_02_00_03_018989_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330908936","file1":"1330908934","file0":"1330908930","file4":"1330908960","file5":"1330908964","file3":"1330908939"},"map_files_photo_id_array":[{"photo_id":"1330908964","filename":"file5"},{"photo_id":"1330908936","filename":"file2"},{"photo_id":"1330908960","filename":"file4"},{"photo_id":"1330908934","filename":"file1"},{"photo_id":"1330908930","filename":"file0"},{"photo_id":"1330908939","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330908960":["hashtag1","hashtag2"]},{"1330908939":["hashtag1","hashtag2"]},{"1330908930":["hashtag1","hashtag2"]},{"1330908936":["hashtag1","hashtag2"]},{"1330908964":["hashtag1","hashtag2"]},{"1330908934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330908960, 1330908939, 1330908930, 1330908936, 1330908964, 1330908934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.71488118171692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:02:22.381009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/01/image_24012025_02_01_02_706376_0001.jpg', '/home/pi/Desktop/images/24012025/02/01/image_24012025_02_01_02_706376_0002.jpg', '/home/pi/Desktop/images/24012025/02/01/image_24012025_02_01_02_706376_0003.jpg', '/home/pi/Desktop/images/24012025/02/02/image_24012025_02_02_02_265738_0000.jpg', '/home/pi/Desktop/images/24012025/02/02/image_24012025_02_02_02_265738_0001.jpg', '/home/pi/Desktop/images/24012025/02/02/image_24012025_02_02_02_265738_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/01/image_24012025_02_01_02_706376_0001.jpg
/home/pi/Desktop/images/24012025/02/01/image_24012025_02_01_02_706376_0002.jpg
/home/pi/Desktop/images/24012025/02/01/image_24012025_02_01_02_706376_0003.jpg
/home/pi/Desktop/images/24012025/02/02/image_24012025_02_02_02_265738_0000.jpg
/home/pi/Desktop/images/24012025/02/02/image_24012025_02_02_02_265738_0001.jpg
/home/pi/Desktop/images/24012025/02/02/image_24012025_02_02_02_265738_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330909245","1330909325","1330909264","1330909278","1330909365","1330909332"],"photo_ids_order":["1330909245","1330909264","1330909278","1330909325","1330909332","1330909365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12cb70a17b816a92ee194871f7f83d48.jpg","text":"TemporaryFile(/tmp/multipartBody2605195108405379333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680618934,"filename":"image_24012025_02_01_02_706376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/812462955170950dd5e7c92077169a86.jpg","text":"TemporaryFile(/tmp/multipartBody2797213237199621838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680618934,"filename":"image_24012025_02_02_02_265738_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40bc764aa19b3909963ced596c187a22.jpg","text":"TemporaryFile(/tmp/multipartBody3405150837428608184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680618934,"filename":"image_24012025_02_01_02_706376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f0080e9d748a0f98ae101e7e7f263403.jpg","text":"TemporaryFile(/tmp/multipartBody2560584077247807023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680618934,"filename":"image_24012025_02_01_02_706376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bbb89ec2a0db662b6f006414b46b3054.jpg","text":"TemporaryFile(/tmp/multipartBody837579062137936976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680618934,"filename":"image_24012025_02_02_02_265738_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a45adb0b136dedb90e89e2019ed2ba9.jpg","text":"TemporaryFile(/tmp/multipartBody1389095725853126866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680618934,"filename":"image_24012025_02_02_02_265738_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330909278","file1":"1330909264","file0":"1330909245","file4":"1330909332","file5":"1330909365","file3":"1330909325"},"map_files_photo_id_array":[{"photo_id":"1330909365","filename":"file5"},{"photo_id":"1330909278","filename":"file2"},{"photo_id":"1330909332","filename":"file4"},{"photo_id":"1330909264","filename":"file1"},{"photo_id":"1330909245","filename":"file0"},{"photo_id":"1330909325","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330909245":["hashtag1","hashtag2"]},{"1330909325":["hashtag1","hashtag2"]},{"1330909264":["hashtag1","hashtag2"]},{"1330909278":["hashtag1","hashtag2"]},{"1330909365":["hashtag1","hashtag2"]},{"1330909332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330909245, 1330909325, 1330909264, 1330909278, 1330909365, 1330909332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.58528208732605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:04:02.913296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/02/image_24012025_02_02_02_265738_0003.jpg', '/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0000.jpg', '/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0001.jpg', '/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/02/image_24012025_02_02_02_265738_0003.jpg
/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0000.jpg
/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0001.jpg
/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.052226781845093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:04:22.526202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/02/image_24012025_02_02_02_265738_0003.jpg', '/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0000.jpg', '/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0001.jpg', '/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0002.jpg', '/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0003.jpg', '/home/pi/Desktop/images/24012025/02/04/image_24012025_02_04_02_376675_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/02/image_24012025_02_02_02_265738_0003.jpg
/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0000.jpg
/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0001.jpg
/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0002.jpg
/home/pi/Desktop/images/24012025/02/03/image_24012025_02_03_02_882045_0003.jpg
/home/pi/Desktop/images/24012025/02/04/image_24012025_02_04_02_376675_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330909679","1330909715","1330909727","1330909675","1330909717","1330909671"],"photo_ids_order":["1330909671","1330909675","1330909679","1330909715","1330909717","1330909727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/68468e9540baf784b9adedc0143305cc.jpg","text":"TemporaryFile(/tmp/multipartBody5187677552307630674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680739271,"filename":"image_24012025_02_03_02_882045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae6c4c267d6c9bb32b018bbc3a26f362.jpg","text":"TemporaryFile(/tmp/multipartBody3976138880764004802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680739271,"filename":"image_24012025_02_03_02_882045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db6f5b48fef9e5481b1dcf3cea7da211.jpg","text":"TemporaryFile(/tmp/multipartBody5826999403101641588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680739271,"filename":"image_24012025_02_04_02_376675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39707cc2385e828f61fda37a343bb418.jpg","text":"TemporaryFile(/tmp/multipartBody6895374919008814075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680739271,"filename":"image_24012025_02_03_02_882045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/921906cdf73475cbf803ad4c2a38687c.jpg","text":"TemporaryFile(/tmp/multipartBody6747986548713349797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680739271,"filename":"image_24012025_02_03_02_882045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/79cd8e5d0d684933583693bdbe7957c0.jpg","text":"TemporaryFile(/tmp/multipartBody8356487221835981387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680739271,"filename":"image_24012025_02_02_02_265738_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330909679","file1":"1330909675","file0":"1330909671","file4":"1330909717","file5":"1330909727","file3":"1330909715"},"map_files_photo_id_array":[{"photo_id":"1330909727","filename":"file5"},{"photo_id":"1330909679","filename":"file2"},{"photo_id":"1330909717","filename":"file4"},{"photo_id":"1330909675","filename":"file1"},{"photo_id":"1330909671","filename":"file0"},{"photo_id":"1330909715","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330909679":["hashtag1","hashtag2"]},{"1330909715":["hashtag1","hashtag2"]},{"1330909727":["hashtag1","hashtag2"]},{"1330909675":["hashtag1","hashtag2"]},{"1330909717":["hashtag1","hashtag2"]},{"1330909671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330909679, 1330909715, 1330909727, 1330909675, 1330909717, 1330909671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81952118873596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:05:22.107149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/04/image_24012025_02_04_02_376675_0001.jpg', '/home/pi/Desktop/images/24012025/02/04/image_24012025_02_04_02_376675_0002.jpg', '/home/pi/Desktop/images/24012025/02/04/image_24012025_02_04_02_376675_0003.jpg', '/home/pi/Desktop/images/24012025/02/05/image_24012025_02_05_02_965380_0000.jpg', '/home/pi/Desktop/images/24012025/02/05/image_24012025_02_05_02_965380_0001.jpg', '/home/pi/Desktop/images/24012025/02/05/image_24012025_02_05_02_965380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/04/image_24012025_02_04_02_376675_0001.jpg
/home/pi/Desktop/images/24012025/02/04/image_24012025_02_04_02_376675_0002.jpg
/home/pi/Desktop/images/24012025/02/04/image_24012025_02_04_02_376675_0003.jpg
/home/pi/Desktop/images/24012025/02/05/image_24012025_02_05_02_965380_0000.jpg
/home/pi/Desktop/images/24012025/02/05/image_24012025_02_05_02_965380_0001.jpg
/home/pi/Desktop/images/24012025/02/05/image_24012025_02_05_02_965380_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330909751","1330909973","1330910208","1330909773","1330909767","1330909770"],"photo_ids_order":["1330909751","1330909767","1330909770","1330909773","1330909973","1330910208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/89c823f16a58efa40b26d330de4336c5.jpg","text":"TemporaryFile(/tmp/multipartBody4889064108571829386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680799046,"filename":"image_24012025_02_04_02_376675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a5e009a9e72a406791c7b33bd3c57a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1892078809277649284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680799046,"filename":"image_24012025_02_05_02_965380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c50061377ac1231abedb0302d8849327.jpg","text":"TemporaryFile(/tmp/multipartBody8529760460829618896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680799046,"filename":"image_24012025_02_05_02_965380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5dc691a949f2f2a02a088d582a1cebb.jpg","text":"TemporaryFile(/tmp/multipartBody3539643222481304138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680799046,"filename":"image_24012025_02_05_02_965380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b698cdd685216077c2d78909897fc1b.jpg","text":"TemporaryFile(/tmp/multipartBody4398905985873915330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680799046,"filename":"image_24012025_02_04_02_376675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/62b9cc4c0537fd7b613c1d548bb22475.jpg","text":"TemporaryFile(/tmp/multipartBody7171910961765650377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680799046,"filename":"image_24012025_02_04_02_376675_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330909770","file1":"1330909767","file0":"1330909751","file4":"1330909973","file5":"1330910208","file3":"1330909773"},"map_files_photo_id_array":[{"photo_id":"1330910208","filename":"file5"},{"photo_id":"1330909770","filename":"file2"},{"photo_id":"1330909973","filename":"file4"},{"photo_id":"1330909767","filename":"file1"},{"photo_id":"1330909751","filename":"file0"},{"photo_id":"1330909773","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330909751":["hashtag1","hashtag2"]},{"1330909973":["hashtag1","hashtag2"]},{"1330910208":["hashtag1","hashtag2"]},{"1330909773":["hashtag1","hashtag2"]},{"1330909767":["hashtag1","hashtag2"]},{"1330909770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330909751, 1330909973, 1330910208, 1330909773, 1330909767, 1330909770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.00814986228943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:06:22.611941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/05/image_24012025_02_05_02_965380_0003.jpg', '/home/pi/Desktop/images/24012025/02/06/image_24012025_02_06_02_485745_0000.jpg', '/home/pi/Desktop/images/24012025/02/06/image_24012025_02_06_02_485745_0001.jpg', '/home/pi/Desktop/images/24012025/02/06/image_24012025_02_06_02_485745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/05/image_24012025_02_05_02_965380_0003.jpg
/home/pi/Desktop/images/24012025/02/06/image_24012025_02_06_02_485745_0000.jpg
/home/pi/Desktop/images/24012025/02/06/image_24012025_02_06_02_485745_0001.jpg
/home/pi/Desktop/images/24012025/02/06/image_24012025_02_06_02_485745_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330910718","1330910703","1330910706","1330910710"],"photo_ids_order":["1330910703","1330910706","1330910710","1330910718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/68d8a46f6aeab50e8a183d9b367ca780.jpg","text":"TemporaryFile(/tmp/multipartBody5577825927334334571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680853952,"filename":"image_24012025_02_06_02_485745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f7d9ad273f8da514c39e9121546bba06.jpg","text":"TemporaryFile(/tmp/multipartBody5874484803157186808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680853952,"filename":"image_24012025_02_05_02_965380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4a4ca364bdf20f236fa08d83295636bc.jpg","text":"TemporaryFile(/tmp/multipartBody7753268588918489855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680853952,"filename":"image_24012025_02_06_02_485745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fcff3c1e73140b5c8dc739ac88f7fd41.jpg","text":"TemporaryFile(/tmp/multipartBody5867896150079541265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680853952,"filename":"image_24012025_02_06_02_485745_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330910710","file1":"1330910706","file0":"1330910703","file3":"1330910718"},"map_files_photo_id_array":[{"photo_id":"1330910710","filename":"file2"},{"photo_id":"1330910706","filename":"file1"},{"photo_id":"1330910703","filename":"file0"},{"photo_id":"1330910718","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330910718":["hashtag1","hashtag2"]},{"1330910703":["hashtag1","hashtag2"]},{"1330910706":["hashtag1","hashtag2"]},{"1330910710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330910718, 1330910703, 1330910706, 1330910710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.20448637008667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:07:22.092688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/06/image_24012025_02_06_02_485745_0003.jpg', '/home/pi/Desktop/images/24012025/02/07/image_24012025_02_07_02_954135_0000.jpg', '/home/pi/Desktop/images/24012025/02/07/image_24012025_02_07_02_954135_0001.jpg', '/home/pi/Desktop/images/24012025/02/07/image_24012025_02_07_02_954135_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/06/image_24012025_02_06_02_485745_0003.jpg
/home/pi/Desktop/images/24012025/02/07/image_24012025_02_07_02_954135_0000.jpg
/home/pi/Desktop/images/24012025/02/07/image_24012025_02_07_02_954135_0001.jpg
/home/pi/Desktop/images/24012025/02/07/image_24012025_02_07_02_954135_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330910961","1330911088","1330911034","1330911039"],"photo_ids_order":["1330910961","1330911034","1330911039","1330911088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/04f134c0842632d1116a2fa0a7881194.jpg","text":"TemporaryFile(/tmp/multipartBody1846339979617753932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680913712,"filename":"image_24012025_02_06_02_485745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae7a23cdc0b058056cb112df172092ec.jpg","text":"TemporaryFile(/tmp/multipartBody4257835033256815066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680913712,"filename":"image_24012025_02_07_02_954135_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4dba701847a1394f1575c6f914ca8030.jpg","text":"TemporaryFile(/tmp/multipartBody6542776457296050094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680913712,"filename":"image_24012025_02_07_02_954135_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f3f8792e143ef6bab18b4be28a0afa28.jpg","text":"TemporaryFile(/tmp/multipartBody194532839297478893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680913712,"filename":"image_24012025_02_07_02_954135_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330911039","file1":"1330911034","file0":"1330910961","file3":"1330911088"},"map_files_photo_id_array":[{"photo_id":"1330911039","filename":"file2"},{"photo_id":"1330911034","filename":"file1"},{"photo_id":"1330910961","filename":"file0"},{"photo_id":"1330911088","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330910961":["hashtag1","hashtag2"]},{"1330911088":["hashtag1","hashtag2"]},{"1330911034":["hashtag1","hashtag2"]},{"1330911039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330910961, 1330911088, 1330911034, 1330911039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.9251024723053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:08:22.686463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/07/image_24012025_02_07_02_954135_0003.jpg', '/home/pi/Desktop/images/24012025/02/08/image_24012025_02_08_02_547463_0000.jpg', '/home/pi/Desktop/images/24012025/02/08/image_24012025_02_08_02_547463_0001.jpg', '/home/pi/Desktop/images/24012025/02/08/image_24012025_02_08_02_547463_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/07/image_24012025_02_07_02_954135_0003.jpg
/home/pi/Desktop/images/24012025/02/08/image_24012025_02_08_02_547463_0000.jpg
/home/pi/Desktop/images/24012025/02/08/image_24012025_02_08_02_547463_0001.jpg
/home/pi/Desktop/images/24012025/02/08/image_24012025_02_08_02_547463_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330911147","1330911141","1330911164","1330911169"],"photo_ids_order":["1330911141","1330911147","1330911164","1330911169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b6f3c5c8a8e75e42067d3de0433e2fc.jpg","text":"TemporaryFile(/tmp/multipartBody4644666005017546586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680974116,"filename":"image_24012025_02_08_02_547463_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c51b4c0a40c2d8e006c38779f3ddab5.jpg","text":"TemporaryFile(/tmp/multipartBody2308488392198341035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680974116,"filename":"image_24012025_02_07_02_954135_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/530c9a657e4520f62721fb12cdc84089.jpg","text":"TemporaryFile(/tmp/multipartBody7081755064755760127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680974116,"filename":"image_24012025_02_08_02_547463_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/958139f98d0dac4f85827745a4a06101.jpg","text":"TemporaryFile(/tmp/multipartBody4027399393109225902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737680974116,"filename":"image_24012025_02_08_02_547463_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330911164","file1":"1330911147","file0":"1330911141","file3":"1330911169"},"map_files_photo_id_array":[{"photo_id":"1330911164","filename":"file2"},{"photo_id":"1330911147","filename":"file1"},{"photo_id":"1330911141","filename":"file0"},{"photo_id":"1330911169","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330911147":["hashtag1","hashtag2"]},{"1330911141":["hashtag1","hashtag2"]},{"1330911164":["hashtag1","hashtag2"]},{"1330911169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330911147, 1330911141, 1330911164, 1330911169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96683621406555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:09:22.184188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/08/image_24012025_02_08_02_547463_0003.jpg', '/home/pi/Desktop/images/24012025/02/09/image_24012025_02_09_03_070106_0000.jpg', '/home/pi/Desktop/images/24012025/02/09/image_24012025_02_09_03_070106_0001.jpg', '/home/pi/Desktop/images/24012025/02/09/image_24012025_02_09_03_070106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/08/image_24012025_02_08_02_547463_0003.jpg
/home/pi/Desktop/images/24012025/02/09/image_24012025_02_09_03_070106_0000.jpg
/home/pi/Desktop/images/24012025/02/09/image_24012025_02_09_03_070106_0001.jpg
/home/pi/Desktop/images/24012025/02/09/image_24012025_02_09_03_070106_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330911231","1330911216","1330911260","1330911245"],"photo_ids_order":["1330911216","1330911231","1330911245","1330911260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9281a478db8944de880b52c8572d45dd.jpg","text":"TemporaryFile(/tmp/multipartBody8682894117707226073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681033566,"filename":"image_24012025_02_09_03_070106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/194c0bb4e960d44a39d8decc33b3f48d.jpg","text":"TemporaryFile(/tmp/multipartBody2170979053488795473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681033566,"filename":"image_24012025_02_08_02_547463_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/822d1c411761f01d085f4fe08e4accdc.jpg","text":"TemporaryFile(/tmp/multipartBody3443232830962538770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681033566,"filename":"image_24012025_02_09_03_070106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9007ebc42e3bde9d7c004dc4f4ee1f48.jpg","text":"TemporaryFile(/tmp/multipartBody8210163087755678480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681033566,"filename":"image_24012025_02_09_03_070106_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330911245","file1":"1330911231","file0":"1330911216","file3":"1330911260"},"map_files_photo_id_array":[{"photo_id":"1330911245","filename":"file2"},{"photo_id":"1330911231","filename":"file1"},{"photo_id":"1330911216","filename":"file0"},{"photo_id":"1330911260","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330911231":["hashtag1","hashtag2"]},{"1330911216":["hashtag1","hashtag2"]},{"1330911260":["hashtag1","hashtag2"]},{"1330911245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330911231, 1330911216, 1330911260, 1330911245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.39122939109802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:10:22.689970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/09/image_24012025_02_09_03_070106_0003.jpg', '/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0000.jpg', '/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0001.jpg', '/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/09/image_24012025_02_09_03_070106_0003.jpg
/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0000.jpg
/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0001.jpg
/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.045897483825684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:11:02.944753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/09/image_24012025_02_09_03_070106_0003.jpg', '/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0000.jpg', '/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0001.jpg', '/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/09/image_24012025_02_09_03_070106_0003.jpg
/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0000.jpg
/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0001.jpg
/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330911450","1330911467","1330911462","1330911456"],"photo_ids_order":["1330911450","1330911456","1330911462","1330911467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/747632e74b7784d2181016420f8ff378.jpg","text":"TemporaryFile(/tmp/multipartBody3548143355122928221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681134453,"filename":"image_24012025_02_09_03_070106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e1355416abc16fba3cf49f9a9f6a150.jpg","text":"TemporaryFile(/tmp/multipartBody9210280477588799157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681134453,"filename":"image_24012025_02_10_02_558748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f738860df370703307fe7116f15c0bc6.jpg","text":"TemporaryFile(/tmp/multipartBody8328461563806806847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681134453,"filename":"image_24012025_02_10_02_558748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a708c9464189fc52be8c494c2e11279b.jpg","text":"TemporaryFile(/tmp/multipartBody9065210735124757926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681134453,"filename":"image_24012025_02_10_02_558748_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330911462","file1":"1330911456","file0":"1330911450","file3":"1330911467"},"map_files_photo_id_array":[{"photo_id":"1330911462","filename":"file2"},{"photo_id":"1330911456","filename":"file1"},{"photo_id":"1330911450","filename":"file0"},{"photo_id":"1330911467","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330911450":["hashtag1","hashtag2"]},{"1330911467":["hashtag1","hashtag2"]},{"1330911462":["hashtag1","hashtag2"]},{"1330911456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330911450, 1330911467, 1330911462, 1330911456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.795382022857666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:12:02.293812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0003.jpg', '/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0000.jpg', '/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0001.jpg', '/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0003.jpg
/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0000.jpg
/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0001.jpg
/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.987418413162231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:12:21.945945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0003.jpg', '/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0000.jpg', '/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0001.jpg', '/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0002.jpg', '/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0003.jpg', '/home/pi/Desktop/images/24012025/02/12/image_24012025_02_12_02_735737_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/10/image_24012025_02_10_02_558748_0003.jpg
/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0000.jpg
/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0001.jpg
/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0002.jpg
/home/pi/Desktop/images/24012025/02/11/image_24012025_02_11_03_100408_0003.jpg
/home/pi/Desktop/images/24012025/02/12/image_24012025_02_12_02_735737_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330911528","1330911536","1330911509","1330911523","1330911514","1330911534"],"photo_ids_order":["1330911509","1330911514","1330911523","1330911528","1330911534","1330911536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5293b30f39705184b9e1e32ec465e96a.jpg","text":"TemporaryFile(/tmp/multipartBody1695691058185256687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681218870,"filename":"image_24012025_02_11_03_100408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6986041b344c39ec008129e594a8d96b.jpg","text":"TemporaryFile(/tmp/multipartBody480022712786218112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681218870,"filename":"image_24012025_02_12_02_735737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5765b616a2c1b8766cf378fff3965939.jpg","text":"TemporaryFile(/tmp/multipartBody2397022631069941354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681218870,"filename":"image_24012025_02_10_02_558748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff559e6e4365993f56cd713d52edb971.jpg","text":"TemporaryFile(/tmp/multipartBody7012070319631952538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681218870,"filename":"image_24012025_02_11_03_100408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/471f46f2784feb63320ceced375216eb.jpg","text":"TemporaryFile(/tmp/multipartBody4210231652992801697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681218870,"filename":"image_24012025_02_11_03_100408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c45de068f4bee96679e7d841f20270c4.jpg","text":"TemporaryFile(/tmp/multipartBody2368644716847927929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681218870,"filename":"image_24012025_02_11_03_100408_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330911523","file1":"1330911514","file0":"1330911509","file4":"1330911534","file5":"1330911536","file3":"1330911528"},"map_files_photo_id_array":[{"photo_id":"1330911536","filename":"file5"},{"photo_id":"1330911523","filename":"file2"},{"photo_id":"1330911534","filename":"file4"},{"photo_id":"1330911514","filename":"file1"},{"photo_id":"1330911509","filename":"file0"},{"photo_id":"1330911528","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330911528":["hashtag1","hashtag2"]},{"1330911536":["hashtag1","hashtag2"]},{"1330911509":["hashtag1","hashtag2"]},{"1330911523":["hashtag1","hashtag2"]},{"1330911514":["hashtag1","hashtag2"]},{"1330911534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330911528, 1330911536, 1330911509, 1330911523, 1330911514, 1330911534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.24588179588318 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:14:02.284311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/12/image_24012025_02_12_02_735737_0001.jpg', '/home/pi/Desktop/images/24012025/02/12/image_24012025_02_12_02_735737_0002.jpg', '/home/pi/Desktop/images/24012025/02/12/image_24012025_02_12_02_735737_0003.jpg', '/home/pi/Desktop/images/24012025/02/13/image_24012025_02_13_02_275569_0000.jpg', '/home/pi/Desktop/images/24012025/02/13/image_24012025_02_13_02_275569_0001.jpg', '/home/pi/Desktop/images/24012025/02/13/image_24012025_02_13_02_275569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/12/image_24012025_02_12_02_735737_0001.jpg
/home/pi/Desktop/images/24012025/02/12/image_24012025_02_12_02_735737_0002.jpg
/home/pi/Desktop/images/24012025/02/12/image_24012025_02_12_02_735737_0003.jpg
/home/pi/Desktop/images/24012025/02/13/image_24012025_02_13_02_275569_0000.jpg
/home/pi/Desktop/images/24012025/02/13/image_24012025_02_13_02_275569_0001.jpg
/home/pi/Desktop/images/24012025/02/13/image_24012025_02_13_02_275569_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330911647","1330911643","1330911637","1330911634","1330911628","1330911651"],"photo_ids_order":["1330911628","1330911634","1330911637","1330911643","1330911647","1330911651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/647a3fd2bca904acbf4e999a23b902c5.jpg","text":"TemporaryFile(/tmp/multipartBody1251226567452990299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681319336,"filename":"image_24012025_02_13_02_275569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5884b2138e2cc0f293f4d3acfad15d5.jpg","text":"TemporaryFile(/tmp/multipartBody6142802320938969580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681319336,"filename":"image_24012025_02_13_02_275569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3a59945046c0519813f6a6ba819e8539.jpg","text":"TemporaryFile(/tmp/multipartBody3998778214781196942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681319336,"filename":"image_24012025_02_12_02_735737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c5e86af22becb2c13e6df3198fa215e.jpg","text":"TemporaryFile(/tmp/multipartBody1586294428550769853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681319336,"filename":"image_24012025_02_12_02_735737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a3da670daf38918a585fe9dc246762dc.jpg","text":"TemporaryFile(/tmp/multipartBody650185920893879084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681319336,"filename":"image_24012025_02_12_02_735737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c9c17efe6af9b53aa374d110636db28a.jpg","text":"TemporaryFile(/tmp/multipartBody1569109410603508681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681319336,"filename":"image_24012025_02_13_02_275569_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330911637","file1":"1330911634","file0":"1330911628","file4":"1330911647","file5":"1330911651","file3":"1330911643"},"map_files_photo_id_array":[{"photo_id":"1330911651","filename":"file5"},{"photo_id":"1330911637","filename":"file2"},{"photo_id":"1330911647","filename":"file4"},{"photo_id":"1330911634","filename":"file1"},{"photo_id":"1330911628","filename":"file0"},{"photo_id":"1330911643","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330911647":["hashtag1","hashtag2"]},{"1330911643":["hashtag1","hashtag2"]},{"1330911637":["hashtag1","hashtag2"]},{"1330911634":["hashtag1","hashtag2"]},{"1330911628":["hashtag1","hashtag2"]},{"1330911651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330911647, 1330911643, 1330911637, 1330911634, 1330911628, 1330911651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.291688442230225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:15:03.146396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/13/image_24012025_02_13_02_275569_0003.jpg', '/home/pi/Desktop/images/24012025/02/14/image_24012025_02_14_02_776394_0000.jpg', '/home/pi/Desktop/images/24012025/02/14/image_24012025_02_14_02_776394_0001.jpg', '/home/pi/Desktop/images/24012025/02/14/image_24012025_02_14_02_776394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/13/image_24012025_02_13_02_275569_0003.jpg
/home/pi/Desktop/images/24012025/02/14/image_24012025_02_14_02_776394_0000.jpg
/home/pi/Desktop/images/24012025/02/14/image_24012025_02_14_02_776394_0001.jpg
/home/pi/Desktop/images/24012025/02/14/image_24012025_02_14_02_776394_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330911707","1330911712","1330911690","1330911693"],"photo_ids_order":["1330911690","1330911693","1330911707","1330911712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b268e0c456ee0f055fe83924988956d8.jpg","text":"TemporaryFile(/tmp/multipartBody7897105371257802867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681374887,"filename":"image_24012025_02_14_02_776394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db12ef1155f87ca8eeb58b3f9750fe7f.jpg","text":"TemporaryFile(/tmp/multipartBody7596927250466213012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681374887,"filename":"image_24012025_02_14_02_776394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/797738b115525ef1339a057fcd9f2579.jpg","text":"TemporaryFile(/tmp/multipartBody2279870575666524975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681374887,"filename":"image_24012025_02_13_02_275569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/230f4ec111bfadc90a990a8432ab84b2.jpg","text":"TemporaryFile(/tmp/multipartBody4805181915804247208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681374887,"filename":"image_24012025_02_14_02_776394_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330911707","file1":"1330911693","file0":"1330911690","file3":"1330911712"},"map_files_photo_id_array":[{"photo_id":"1330911707","filename":"file2"},{"photo_id":"1330911693","filename":"file1"},{"photo_id":"1330911690","filename":"file0"},{"photo_id":"1330911712","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330911707":["hashtag1","hashtag2"]},{"1330911712":["hashtag1","hashtag2"]},{"1330911690":["hashtag1","hashtag2"]},{"1330911693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330911707, 1330911712, 1330911690, 1330911693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.61604022979736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:16:02.524553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/14/image_24012025_02_14_02_776394_0003.jpg', '/home/pi/Desktop/images/24012025/02/15/image_24012025_02_15_02_337101_0000.jpg', '/home/pi/Desktop/images/24012025/02/15/image_24012025_02_15_02_337101_0001.jpg', '/home/pi/Desktop/images/24012025/02/15/image_24012025_02_15_02_337101_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/14/image_24012025_02_14_02_776394_0003.jpg
/home/pi/Desktop/images/24012025/02/15/image_24012025_02_15_02_337101_0000.jpg
/home/pi/Desktop/images/24012025/02/15/image_24012025_02_15_02_337101_0001.jpg
/home/pi/Desktop/images/24012025/02/15/image_24012025_02_15_02_337101_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330911816","1330911773","1330911780","1330911786"],"photo_ids_order":["1330911773","1330911780","1330911786","1330911816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/50f1680b3b82d85ae786a3bb5bb699c8.jpg","text":"TemporaryFile(/tmp/multipartBody6185946454302302495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681434171,"filename":"image_24012025_02_15_02_337101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/84c907647c4e70edcc10db10ac96bb98.jpg","text":"TemporaryFile(/tmp/multipartBody6150120974221455552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681434171,"filename":"image_24012025_02_14_02_776394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/712b658ef6e14ba1418e14de8114b805.jpg","text":"TemporaryFile(/tmp/multipartBody6884426114155519835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681434171,"filename":"image_24012025_02_15_02_337101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/46fdbb43195e916aa090da863c948ea6.jpg","text":"TemporaryFile(/tmp/multipartBody749818758483740725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681434171,"filename":"image_24012025_02_15_02_337101_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330911786","file1":"1330911780","file0":"1330911773","file3":"1330911816"},"map_files_photo_id_array":[{"photo_id":"1330911786","filename":"file2"},{"photo_id":"1330911780","filename":"file1"},{"photo_id":"1330911773","filename":"file0"},{"photo_id":"1330911816","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330911816":["hashtag1","hashtag2"]},{"1330911773":["hashtag1","hashtag2"]},{"1330911780":["hashtag1","hashtag2"]},{"1330911786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330911816, 1330911773, 1330911780, 1330911786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.215943813323975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:17:03.110461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/15/image_24012025_02_15_02_337101_0003.jpg', '/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0000.jpg', '/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0001.jpg', '/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/15/image_24012025_02_15_02_337101_0003.jpg
/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0000.jpg
/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0001.jpg
/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.718900442123413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:17:22.504943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/15/image_24012025_02_15_02_337101_0003.jpg', '/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0000.jpg', '/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0001.jpg', '/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0002.jpg', '/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0003.jpg', '/home/pi/Desktop/images/24012025/02/17/image_24012025_02_17_02_409882_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/15/image_24012025_02_15_02_337101_0003.jpg
/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0000.jpg
/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0001.jpg
/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0002.jpg
/home/pi/Desktop/images/24012025/02/16/image_24012025_02_16_02_798633_0003.jpg
/home/pi/Desktop/images/24012025/02/17/image_24012025_02_17_02_409882_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330911900","1330911883","1330911892","1330911886","1330911889","1330911880"],"photo_ids_order":["1330911880","1330911883","1330911886","1330911889","1330911892","1330911900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb8eb1a1b7eb391ced3744486b2c3998.jpg","text":"TemporaryFile(/tmp/multipartBody3168601389689626684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681518868,"filename":"image_24012025_02_17_02_409882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/95f86fca9ab326b6ebd31ab18cc9a603.jpg","text":"TemporaryFile(/tmp/multipartBody8121993231675124780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681518868,"filename":"image_24012025_02_16_02_798633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d3c1596325e95530a9dbf483dbc0bb7.jpg","text":"TemporaryFile(/tmp/multipartBody1766040071284133169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681518868,"filename":"image_24012025_02_16_02_798633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6281a5f6ce214b9b137105206d1254c6.jpg","text":"TemporaryFile(/tmp/multipartBody578943349668189053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681518868,"filename":"image_24012025_02_16_02_798633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b03bc576c3c53bdd1c89854e8764600.jpg","text":"TemporaryFile(/tmp/multipartBody4145343338225329758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681518868,"filename":"image_24012025_02_16_02_798633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/50f1bf93732845f1e53f96122bfe4feb.jpg","text":"TemporaryFile(/tmp/multipartBody2109443124522495490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681518868,"filename":"image_24012025_02_15_02_337101_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330911886","file1":"1330911883","file0":"1330911880","file4":"1330911892","file5":"1330911900","file3":"1330911889"},"map_files_photo_id_array":[{"photo_id":"1330911900","filename":"file5"},{"photo_id":"1330911886","filename":"file2"},{"photo_id":"1330911892","filename":"file4"},{"photo_id":"1330911883","filename":"file1"},{"photo_id":"1330911880","filename":"file0"},{"photo_id":"1330911889","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330911900":["hashtag1","hashtag2"]},{"1330911883":["hashtag1","hashtag2"]},{"1330911892":["hashtag1","hashtag2"]},{"1330911886":["hashtag1","hashtag2"]},{"1330911889":["hashtag1","hashtag2"]},{"1330911880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330911900, 1330911883, 1330911892, 1330911886, 1330911889, 1330911880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.83424091339111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:19:03.285165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/17/image_24012025_02_17_02_409882_0001.jpg', '/home/pi/Desktop/images/24012025/02/17/image_24012025_02_17_02_409882_0002.jpg', '/home/pi/Desktop/images/24012025/02/17/image_24012025_02_17_02_409882_0003.jpg', '/home/pi/Desktop/images/24012025/02/18/image_24012025_02_18_02_908746_0000.jpg', '/home/pi/Desktop/images/24012025/02/18/image_24012025_02_18_02_908746_0001.jpg', '/home/pi/Desktop/images/24012025/02/18/image_24012025_02_18_02_908746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/17/image_24012025_02_17_02_409882_0001.jpg
/home/pi/Desktop/images/24012025/02/17/image_24012025_02_17_02_409882_0002.jpg
/home/pi/Desktop/images/24012025/02/17/image_24012025_02_17_02_409882_0003.jpg
/home/pi/Desktop/images/24012025/02/18/image_24012025_02_18_02_908746_0000.jpg
/home/pi/Desktop/images/24012025/02/18/image_24012025_02_18_02_908746_0001.jpg
/home/pi/Desktop/images/24012025/02/18/image_24012025_02_18_02_908746_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330911971","1330911979","1330911958","1330911975","1330911963","1330911966"],"photo_ids_order":["1330911958","1330911963","1330911966","1330911971","1330911975","1330911979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/82438e54c585ef24d2cea881f98b3b71.jpg","text":"TemporaryFile(/tmp/multipartBody504716653208976033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681619816,"filename":"image_24012025_02_18_02_908746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a7b05d4d5c1ce231297680ec0b8c2a7.jpg","text":"TemporaryFile(/tmp/multipartBody3271734213123680522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681619816,"filename":"image_24012025_02_18_02_908746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/03808821d8d6e7399f7c98fb5189a3fb.jpg","text":"TemporaryFile(/tmp/multipartBody1959806725452407135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681619816,"filename":"image_24012025_02_17_02_409882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/835d80d016a82db1b1dea8d6a54ab869.jpg","text":"TemporaryFile(/tmp/multipartBody5531204926185826718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681619816,"filename":"image_24012025_02_18_02_908746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8668746d66279d84f712621d439ebaf.jpg","text":"TemporaryFile(/tmp/multipartBody3185176948509829127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681619816,"filename":"image_24012025_02_17_02_409882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/25089ee76f8bbf83ef77d02b34687a3e.jpg","text":"TemporaryFile(/tmp/multipartBody6053888672514933840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681619816,"filename":"image_24012025_02_17_02_409882_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330911966","file1":"1330911963","file0":"1330911958","file4":"1330911975","file5":"1330911979","file3":"1330911971"},"map_files_photo_id_array":[{"photo_id":"1330911979","filename":"file5"},{"photo_id":"1330911966","filename":"file2"},{"photo_id":"1330911975","filename":"file4"},{"photo_id":"1330911963","filename":"file1"},{"photo_id":"1330911958","filename":"file0"},{"photo_id":"1330911971","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330911971":["hashtag1","hashtag2"]},{"1330911979":["hashtag1","hashtag2"]},{"1330911958":["hashtag1","hashtag2"]},{"1330911975":["hashtag1","hashtag2"]},{"1330911963":["hashtag1","hashtag2"]},{"1330911966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330911971, 1330911979, 1330911958, 1330911975, 1330911963, 1330911966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.838207721710205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:20:02.733203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/18/image_24012025_02_18_02_908746_0003.jpg', '/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0000.jpg', '/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0001.jpg', '/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/18/image_24012025_02_18_02_908746_0003.jpg
/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0000.jpg
/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0001.jpg
/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.734246969223022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:20:22.276891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/18/image_24012025_02_18_02_908746_0003.jpg', '/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0000.jpg', '/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0001.jpg', '/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0002.jpg', '/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0003.jpg', '/home/pi/Desktop/images/24012025/02/20/image_24012025_02_20_03_107034_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/18/image_24012025_02_18_02_908746_0003.jpg
/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0000.jpg
/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0001.jpg
/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0002.jpg
/home/pi/Desktop/images/24012025/02/19/image_24012025_02_19_02_615799_0003.jpg
/home/pi/Desktop/images/24012025/02/20/image_24012025_02_20_03_107034_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330912075","1330912111","1330912108","1330912104","1330912113","1330912097"],"photo_ids_order":["1330912075","1330912097","1330912104","1330912108","1330912111","1330912113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/499f9ffd6971777c3e7ddde3fff96404.jpg","text":"TemporaryFile(/tmp/multipartBody7795899318519677721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681698861,"filename":"image_24012025_02_18_02_908746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3f1d53bc3766bc20bb7504a8cd0ab3b1.jpg","text":"TemporaryFile(/tmp/multipartBody6273962782340199055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681698861,"filename":"image_24012025_02_19_02_615799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/82877d676fa96e63df6cdb5d699fc571.jpg","text":"TemporaryFile(/tmp/multipartBody2357992507666147629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681698861,"filename":"image_24012025_02_19_02_615799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/250b9356d2001bdad506035a4f891beb.jpg","text":"TemporaryFile(/tmp/multipartBody1099622254886974809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681698861,"filename":"image_24012025_02_19_02_615799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5dee0e5de2022f613285f75b2cff7969.jpg","text":"TemporaryFile(/tmp/multipartBody3172133198933405846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681698861,"filename":"image_24012025_02_20_03_107034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc6264397e63861b3597a6e21a9f1a7a.jpg","text":"TemporaryFile(/tmp/multipartBody8026808145543831607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681698861,"filename":"image_24012025_02_19_02_615799_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330912104","file1":"1330912097","file0":"1330912075","file4":"1330912111","file5":"1330912113","file3":"1330912108"},"map_files_photo_id_array":[{"photo_id":"1330912113","filename":"file5"},{"photo_id":"1330912104","filename":"file2"},{"photo_id":"1330912111","filename":"file4"},{"photo_id":"1330912097","filename":"file1"},{"photo_id":"1330912075","filename":"file0"},{"photo_id":"1330912108","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330912075":["hashtag1","hashtag2"]},{"1330912111":["hashtag1","hashtag2"]},{"1330912108":["hashtag1","hashtag2"]},{"1330912104":["hashtag1","hashtag2"]},{"1330912113":["hashtag1","hashtag2"]},{"1330912097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330912075, 1330912111, 1330912108, 1330912104, 1330912113, 1330912097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.82230830192566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:21:21.850754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/20/image_24012025_02_20_03_107034_0001.jpg', '/home/pi/Desktop/images/24012025/02/20/image_24012025_02_20_03_107034_0002.jpg', '/home/pi/Desktop/images/24012025/02/20/image_24012025_02_20_03_107034_0003.jpg', '/home/pi/Desktop/images/24012025/02/21/image_24012025_02_21_02_728170_0000.jpg', '/home/pi/Desktop/images/24012025/02/21/image_24012025_02_21_02_728170_0001.jpg', '/home/pi/Desktop/images/24012025/02/21/image_24012025_02_21_02_728170_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/20/image_24012025_02_20_03_107034_0001.jpg
/home/pi/Desktop/images/24012025/02/20/image_24012025_02_20_03_107034_0002.jpg
/home/pi/Desktop/images/24012025/02/20/image_24012025_02_20_03_107034_0003.jpg
/home/pi/Desktop/images/24012025/02/21/image_24012025_02_21_02_728170_0000.jpg
/home/pi/Desktop/images/24012025/02/21/image_24012025_02_21_02_728170_0001.jpg
/home/pi/Desktop/images/24012025/02/21/image_24012025_02_21_02_728170_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330912172","1330912166","1330912145","1330912148","1330912170","1330912158"],"photo_ids_order":["1330912145","1330912148","1330912158","1330912166","1330912170","1330912172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c5ab7f9f88af6dfa627042ce38e5d2aa.jpg","text":"TemporaryFile(/tmp/multipartBody7607447975964736912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681758825,"filename":"image_24012025_02_21_02_728170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9e0bb6a38fcc1a579f1d89ccd4946c84.jpg","text":"TemporaryFile(/tmp/multipartBody4521237423375014985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681758825,"filename":"image_24012025_02_21_02_728170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/420325202d874bfb95f7269f982bbd2b.jpg","text":"TemporaryFile(/tmp/multipartBody4502743613010128369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681758825,"filename":"image_24012025_02_20_03_107034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7cf3adc5df6b15467bae852069f10c95.jpg","text":"TemporaryFile(/tmp/multipartBody5365636215776123660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681758825,"filename":"image_24012025_02_20_03_107034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7cb1df7925e28080120ca2a74f824596.jpg","text":"TemporaryFile(/tmp/multipartBody7956694287088469431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681758825,"filename":"image_24012025_02_21_02_728170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f1158dd22557c3ac58a6fdceb3c1542a.jpg","text":"TemporaryFile(/tmp/multipartBody7888796118697762904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681758825,"filename":"image_24012025_02_20_03_107034_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330912158","file1":"1330912148","file0":"1330912145","file4":"1330912170","file5":"1330912172","file3":"1330912166"},"map_files_photo_id_array":[{"photo_id":"1330912172","filename":"file5"},{"photo_id":"1330912158","filename":"file2"},{"photo_id":"1330912170","filename":"file4"},{"photo_id":"1330912148","filename":"file1"},{"photo_id":"1330912145","filename":"file0"},{"photo_id":"1330912166","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330912172":["hashtag1","hashtag2"]},{"1330912166":["hashtag1","hashtag2"]},{"1330912145":["hashtag1","hashtag2"]},{"1330912148":["hashtag1","hashtag2"]},{"1330912170":["hashtag1","hashtag2"]},{"1330912158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330912172, 1330912166, 1330912145, 1330912148, 1330912170, 1330912158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.059680223464966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:22:22.387758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/21/image_24012025_02_21_02_728170_0003.jpg', '/home/pi/Desktop/images/24012025/02/22/image_24012025_02_22_02_241173_0000.jpg', '/home/pi/Desktop/images/24012025/02/22/image_24012025_02_22_02_241173_0001.jpg', '/home/pi/Desktop/images/24012025/02/22/image_24012025_02_22_02_241173_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/21/image_24012025_02_21_02_728170_0003.jpg
/home/pi/Desktop/images/24012025/02/22/image_24012025_02_22_02_241173_0000.jpg
/home/pi/Desktop/images/24012025/02/22/image_24012025_02_22_02_241173_0001.jpg
/home/pi/Desktop/images/24012025/02/22/image_24012025_02_22_02_241173_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330912187","1330912195","1330912183","1330912191"],"photo_ids_order":["1330912183","1330912187","1330912191","1330912195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2824aac92ce136bb9ee3978814991ab7.jpg","text":"TemporaryFile(/tmp/multipartBody1837614669267501254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681813708,"filename":"image_24012025_02_22_02_241173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/612c3ff61c484e3082328bdd5a137aaf.jpg","text":"TemporaryFile(/tmp/multipartBody3940013519497330587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681813708,"filename":"image_24012025_02_22_02_241173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/86a07cbf295903dd55fa5376d21757d9.jpg","text":"TemporaryFile(/tmp/multipartBody8596334882017310143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681813708,"filename":"image_24012025_02_21_02_728170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a9200369afc63544ae148bca269217d.jpg","text":"TemporaryFile(/tmp/multipartBody3922696102325570834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681813708,"filename":"image_24012025_02_22_02_241173_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330912191","file1":"1330912187","file0":"1330912183","file3":"1330912195"},"map_files_photo_id_array":[{"photo_id":"1330912191","filename":"file2"},{"photo_id":"1330912187","filename":"file1"},{"photo_id":"1330912183","filename":"file0"},{"photo_id":"1330912195","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330912187":["hashtag1","hashtag2"]},{"1330912195":["hashtag1","hashtag2"]},{"1330912183":["hashtag1","hashtag2"]},{"1330912191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330912187, 1330912195, 1330912183, 1330912191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.98897457122803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:23:21.917482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/22/image_24012025_02_22_02_241173_0003.jpg', '/home/pi/Desktop/images/24012025/02/23/image_24012025_02_23_02_728634_0000.jpg', '/home/pi/Desktop/images/24012025/02/23/image_24012025_02_23_02_728634_0001.jpg', '/home/pi/Desktop/images/24012025/02/23/image_24012025_02_23_02_728634_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/22/image_24012025_02_22_02_241173_0003.jpg
/home/pi/Desktop/images/24012025/02/23/image_24012025_02_23_02_728634_0000.jpg
/home/pi/Desktop/images/24012025/02/23/image_24012025_02_23_02_728634_0001.jpg
/home/pi/Desktop/images/24012025/02/23/image_24012025_02_23_02_728634_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330912229","1330912225","1330912222","1330912224"],"photo_ids_order":["1330912222","1330912224","1330912225","1330912229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e036306006e5eaea499fa11588cc654a.jpg","text":"TemporaryFile(/tmp/multipartBody7111210269434893058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681873044,"filename":"image_24012025_02_23_02_728634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e5030ae138b715ec92d46c79c6d971b.jpg","text":"TemporaryFile(/tmp/multipartBody4521110183958901310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681873044,"filename":"image_24012025_02_23_02_728634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f9e9e1dc61a6f3a4b6fc295de920f6f.jpg","text":"TemporaryFile(/tmp/multipartBody2135519661180716628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681873044,"filename":"image_24012025_02_22_02_241173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d32f804a87b98e6e1d8b72d4614d1d9.jpg","text":"TemporaryFile(/tmp/multipartBody7481493397708729701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681873044,"filename":"image_24012025_02_23_02_728634_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330912225","file1":"1330912224","file0":"1330912222","file3":"1330912229"},"map_files_photo_id_array":[{"photo_id":"1330912225","filename":"file2"},{"photo_id":"1330912224","filename":"file1"},{"photo_id":"1330912222","filename":"file0"},{"photo_id":"1330912229","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330912229":["hashtag1","hashtag2"]},{"1330912225":["hashtag1","hashtag2"]},{"1330912222":["hashtag1","hashtag2"]},{"1330912224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330912229, 1330912225, 1330912222, 1330912224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56768083572388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:24:22.623658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/23/image_24012025_02_23_02_728634_0003.jpg', '/home/pi/Desktop/images/24012025/02/24/image_24012025_02_24_02_294252_0000.jpg', '/home/pi/Desktop/images/24012025/02/24/image_24012025_02_24_02_294252_0001.jpg', '/home/pi/Desktop/images/24012025/02/24/image_24012025_02_24_02_294252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/23/image_24012025_02_23_02_728634_0003.jpg
/home/pi/Desktop/images/24012025/02/24/image_24012025_02_24_02_294252_0000.jpg
/home/pi/Desktop/images/24012025/02/24/image_24012025_02_24_02_294252_0001.jpg
/home/pi/Desktop/images/24012025/02/24/image_24012025_02_24_02_294252_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330912291","1330912294","1330912264","1330912280"],"photo_ids_order":["1330912264","1330912280","1330912291","1330912294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/53cc3d496db239326e5089c602f640b9.jpg","text":"TemporaryFile(/tmp/multipartBody3328370596781741766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681933908,"filename":"image_24012025_02_24_02_294252_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d20a2267684d754a43eaefd0d2019591.jpg","text":"TemporaryFile(/tmp/multipartBody5887726392772396757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681933908,"filename":"image_24012025_02_24_02_294252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab79ac9898f7093ffe6e134b652ebbfc.jpg","text":"TemporaryFile(/tmp/multipartBody434257296452479599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681933908,"filename":"image_24012025_02_23_02_728634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e7a522b374dfbc7bda04d88b2a23cb10.jpg","text":"TemporaryFile(/tmp/multipartBody913355381758394674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681933908,"filename":"image_24012025_02_24_02_294252_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330912291","file1":"1330912280","file0":"1330912264","file3":"1330912294"},"map_files_photo_id_array":[{"photo_id":"1330912291","filename":"file2"},{"photo_id":"1330912280","filename":"file1"},{"photo_id":"1330912264","filename":"file0"},{"photo_id":"1330912294","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330912291":["hashtag1","hashtag2"]},{"1330912294":["hashtag1","hashtag2"]},{"1330912264":["hashtag1","hashtag2"]},{"1330912280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330912291, 1330912294, 1330912264, 1330912280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.5978581905365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:25:22.086062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/24/image_24012025_02_24_02_294252_0003.jpg', '/home/pi/Desktop/images/24012025/02/25/image_24012025_02_25_03_005573_0000.jpg', '/home/pi/Desktop/images/24012025/02/25/image_24012025_02_25_03_005573_0001.jpg', '/home/pi/Desktop/images/24012025/02/25/image_24012025_02_25_03_005573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/24/image_24012025_02_24_02_294252_0003.jpg
/home/pi/Desktop/images/24012025/02/25/image_24012025_02_25_03_005573_0000.jpg
/home/pi/Desktop/images/24012025/02/25/image_24012025_02_25_03_005573_0001.jpg
/home/pi/Desktop/images/24012025/02/25/image_24012025_02_25_03_005573_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330912343","1330912337","1330912356","1330912341"],"photo_ids_order":["1330912337","1330912341","1330912343","1330912356"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/75f9729b26733e96d7bde6d22d9d48eb.jpg","text":"TemporaryFile(/tmp/multipartBody5245856207128963789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681993511,"filename":"image_24012025_02_25_03_005573_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc0a274dd2a890a6f8b6500a5226a6d1.jpg","text":"TemporaryFile(/tmp/multipartBody6367772314979525507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681993511,"filename":"image_24012025_02_24_02_294252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/476ad1293d9ef19e8c157c1d0361a9ab.jpg","text":"TemporaryFile(/tmp/multipartBody938185065749147572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681993511,"filename":"image_24012025_02_25_03_005573_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ffbd7b2d5d1b4957a390eb2c5701ecc3.jpg","text":"TemporaryFile(/tmp/multipartBody2431650426316254180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737681993511,"filename":"image_24012025_02_25_03_005573_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330912343","file1":"1330912341","file0":"1330912337","file3":"1330912356"},"map_files_photo_id_array":[{"photo_id":"1330912343","filename":"file2"},{"photo_id":"1330912341","filename":"file1"},{"photo_id":"1330912337","filename":"file0"},{"photo_id":"1330912356","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330912343":["hashtag1","hashtag2"]},{"1330912337":["hashtag1","hashtag2"]},{"1330912356":["hashtag1","hashtag2"]},{"1330912341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330912343, 1330912337, 1330912356, 1330912341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02247714996338 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:26:22.689485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/25/image_24012025_02_25_03_005573_0003.jpg', '/home/pi/Desktop/images/24012025/02/26/image_24012025_02_26_02_539945_0000.jpg', '/home/pi/Desktop/images/24012025/02/26/image_24012025_02_26_02_539945_0001.jpg', '/home/pi/Desktop/images/24012025/02/26/image_24012025_02_26_02_539945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/25/image_24012025_02_25_03_005573_0003.jpg
/home/pi/Desktop/images/24012025/02/26/image_24012025_02_26_02_539945_0000.jpg
/home/pi/Desktop/images/24012025/02/26/image_24012025_02_26_02_539945_0001.jpg
/home/pi/Desktop/images/24012025/02/26/image_24012025_02_26_02_539945_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330912421","1330912418","1330912428","1330912425"],"photo_ids_order":["1330912418","1330912421","1330912425","1330912428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3bea9d265765991bd1a32171a4f85b6d.jpg","text":"TemporaryFile(/tmp/multipartBody4341538905105757230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682053596,"filename":"image_24012025_02_26_02_539945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a49d961532ed6c576f966a67b4e985ad.jpg","text":"TemporaryFile(/tmp/multipartBody6640062631768604724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682053596,"filename":"image_24012025_02_25_03_005573_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd6d2a45840492ca480dc26fefeba506.jpg","text":"TemporaryFile(/tmp/multipartBody3075987984651963043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682053596,"filename":"image_24012025_02_26_02_539945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/291fc418ac876e862c23c26ccd6afa4f.jpg","text":"TemporaryFile(/tmp/multipartBody4679420339396637030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682053596,"filename":"image_24012025_02_26_02_539945_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330912425","file1":"1330912421","file0":"1330912418","file3":"1330912428"},"map_files_photo_id_array":[{"photo_id":"1330912425","filename":"file2"},{"photo_id":"1330912421","filename":"file1"},{"photo_id":"1330912418","filename":"file0"},{"photo_id":"1330912428","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330912421":["hashtag1","hashtag2"]},{"1330912418":["hashtag1","hashtag2"]},{"1330912428":["hashtag1","hashtag2"]},{"1330912425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330912421, 1330912418, 1330912428, 1330912425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.93492078781128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:27:22.145431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/26/image_24012025_02_26_02_539945_0003.jpg', '/home/pi/Desktop/images/24012025/02/27/image_24012025_02_27_03_030661_0000.jpg', '/home/pi/Desktop/images/24012025/02/27/image_24012025_02_27_03_030661_0001.jpg', '/home/pi/Desktop/images/24012025/02/27/image_24012025_02_27_03_030661_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/26/image_24012025_02_26_02_539945_0003.jpg
/home/pi/Desktop/images/24012025/02/27/image_24012025_02_27_03_030661_0000.jpg
/home/pi/Desktop/images/24012025/02/27/image_24012025_02_27_03_030661_0001.jpg
/home/pi/Desktop/images/24012025/02/27/image_24012025_02_27_03_030661_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330912511","1330912534","1330912494","1330912513"],"photo_ids_order":["1330912494","1330912511","1330912513","1330912534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/42ec9acf83e185287c598eba54ac3efe.jpg","text":"TemporaryFile(/tmp/multipartBody6683069837380420238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682113374,"filename":"image_24012025_02_27_03_030661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e8aca17503d1cde6fa19ab191de00ca.jpg","text":"TemporaryFile(/tmp/multipartBody5122800777759533250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682113374,"filename":"image_24012025_02_27_03_030661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ba4380ae5841f1243754cc335e6f19be.jpg","text":"TemporaryFile(/tmp/multipartBody5566990297080278861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682113374,"filename":"image_24012025_02_26_02_539945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c9b3be03b0446eaa98e42015152cddf3.jpg","text":"TemporaryFile(/tmp/multipartBody7454350259706566703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682113374,"filename":"image_24012025_02_27_03_030661_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330912513","file1":"1330912511","file0":"1330912494","file3":"1330912534"},"map_files_photo_id_array":[{"photo_id":"1330912513","filename":"file2"},{"photo_id":"1330912511","filename":"file1"},{"photo_id":"1330912494","filename":"file0"},{"photo_id":"1330912534","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330912511":["hashtag1","hashtag2"]},{"1330912534":["hashtag1","hashtag2"]},{"1330912494":["hashtag1","hashtag2"]},{"1330912513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330912511, 1330912534, 1330912494, 1330912513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50142812728882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:28:03.105221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/53/image_21012025_19_53_02_421889_0002.jpg', '/home/pi/Desktop/images/21012025/19/53/image_21012025_19_53_02_421889_0003.jpg', '/home/pi/Desktop/images/21012025/19/54/image_21012025_19_54_02_718425_0000.jpg', '/home/pi/Desktop/images/21012025/19/54/image_21012025_19_54_02_718425_0001.jpg', '/home/pi/Desktop/images/21012025/19/54/image_21012025_19_54_02_718425_0002.jpg', '/home/pi/Desktop/images/21012025/19/54/image_21012025_19_54_02_718425_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/53/image_21012025_19_53_02_421889_0002.jpg
/home/pi/Desktop/images/21012025/19/53/image_21012025_19_53_02_421889_0003.jpg
/home/pi/Desktop/images/21012025/19/54/image_21012025_19_54_02_718425_0000.jpg
/home/pi/Desktop/images/21012025/19/54/image_21012025_19_54_02_718425_0001.jpg
/home/pi/Desktop/images/21012025/19/54/image_21012025_19_54_02_718425_0002.jpg
/home/pi/Desktop/images/21012025/19/54/image_21012025_19_54_02_718425_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330913807","1330913593","1330913935","1330913035","1330913163","1330913406"],"photo_ids_order":["1330913035","1330913163","1330913406","1330913593","1330913807","1330913935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/99186be7197bed6952ec1b9609fecaae.jpg","text":"TemporaryFile(/tmp/multipartBody1171977873243141748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682161111,"filename":"image_21012025_19_54_02_718425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dad82e14f7f307c6b713c1ed41ab447d.jpg","text":"TemporaryFile(/tmp/multipartBody7623823119988906282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682161111,"filename":"image_21012025_19_54_02_718425_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f76efb0d14830a60856b70d8d209917.jpg","text":"TemporaryFile(/tmp/multipartBody2355306124286262429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682161111,"filename":"image_21012025_19_54_02_718425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/33d29d3b11324f3bc72db5c1472a3eb7.jpg","text":"TemporaryFile(/tmp/multipartBody2788843830718358777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682161111,"filename":"image_21012025_19_53_02_421889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e926476dc690f642ab4a1a16d5c6c7eb.jpg","text":"TemporaryFile(/tmp/multipartBody5723721070046594335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682161111,"filename":"image_21012025_19_53_02_421889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0c039fec2c01ea87b1d2d752c9f0391.jpg","text":"TemporaryFile(/tmp/multipartBody2820537987527936203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682161111,"filename":"image_21012025_19_54_02_718425_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330913406","file1":"1330913163","file0":"1330913035","file4":"1330913807","file5":"1330913935","file3":"1330913593"},"map_files_photo_id_array":[{"photo_id":"1330913935","filename":"file5"},{"photo_id":"1330913406","filename":"file2"},{"photo_id":"1330913807","filename":"file4"},{"photo_id":"1330913163","filename":"file1"},{"photo_id":"1330913035","filename":"file0"},{"photo_id":"1330913593","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330913807":["hashtag1","hashtag2"]},{"1330913593":["hashtag1","hashtag2"]},{"1330913935":["hashtag1","hashtag2"]},{"1330913035":["hashtag1","hashtag2"]},{"1330913163":["hashtag1","hashtag2"]},{"1330913406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330913807, 1330913593, 1330913935, 1330913035, 1330913163, 1330913406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.98385310173035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:29:22.140263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/27/image_24012025_02_27_03_030661_0003.jpg', '/home/pi/Desktop/images/24012025/02/28/image_24012025_02_28_02_525398_0000.jpg', '/home/pi/Desktop/images/24012025/02/28/image_24012025_02_28_02_525398_0001.jpg', '/home/pi/Desktop/images/24012025/02/28/image_24012025_02_28_02_525398_0002.jpg', '/home/pi/Desktop/images/24012025/02/28/image_24012025_02_28_02_525398_0003.jpg', '/home/pi/Desktop/images/24012025/02/29/image_24012025_02_29_02_983455_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/27/image_24012025_02_27_03_030661_0003.jpg
/home/pi/Desktop/images/24012025/02/28/image_24012025_02_28_02_525398_0000.jpg
/home/pi/Desktop/images/24012025/02/28/image_24012025_02_28_02_525398_0001.jpg
/home/pi/Desktop/images/24012025/02/28/image_24012025_02_28_02_525398_0002.jpg
/home/pi/Desktop/images/24012025/02/28/image_24012025_02_28_02_525398_0003.jpg
/home/pi/Desktop/images/24012025/02/29/image_24012025_02_29_02_983455_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330913995","1330913980","1330913982","1330913985","1330914191","1330913987"],"photo_ids_order":["1330913980","1330913982","1330913985","1330913987","1330913995","1330914191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/82f1b9f470a354907f4db03594fcedd1.jpg","text":"TemporaryFile(/tmp/multipartBody1166646718237286895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682238602,"filename":"image_24012025_02_28_02_525398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bdcc71a8984ef5ec8087bab2f019001b.jpg","text":"TemporaryFile(/tmp/multipartBody8917553969876533088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682238602,"filename":"image_24012025_02_27_03_030661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/221c73ec1e9ca87ac2675765759d92a5.jpg","text":"TemporaryFile(/tmp/multipartBody8144320772825140368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682238602,"filename":"image_24012025_02_28_02_525398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7fb9024a89d7c619040eb5553f28235.jpg","text":"TemporaryFile(/tmp/multipartBody7733173480306385593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682238602,"filename":"image_24012025_02_28_02_525398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c6063a8f34115ba73b0a90a88a9419be.jpg","text":"TemporaryFile(/tmp/multipartBody604492844692470169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682238602,"filename":"image_24012025_02_29_02_983455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/340315266294edb7e6a17b437e86c3bf.jpg","text":"TemporaryFile(/tmp/multipartBody8615690261841680940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682238602,"filename":"image_24012025_02_28_02_525398_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330913985","file1":"1330913982","file0":"1330913980","file4":"1330913995","file5":"1330914191","file3":"1330913987"},"map_files_photo_id_array":[{"photo_id":"1330914191","filename":"file5"},{"photo_id":"1330913985","filename":"file2"},{"photo_id":"1330913995","filename":"file4"},{"photo_id":"1330913982","filename":"file1"},{"photo_id":"1330913980","filename":"file0"},{"photo_id":"1330913987","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330913995":["hashtag1","hashtag2"]},{"1330913980":["hashtag1","hashtag2"]},{"1330913982":["hashtag1","hashtag2"]},{"1330913985":["hashtag1","hashtag2"]},{"1330914191":["hashtag1","hashtag2"]},{"1330913987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330913995, 1330913980, 1330913982, 1330913985, 1330914191, 1330913987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.00828766822815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:31:03.264213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/29/image_24012025_02_29_02_983455_0001.jpg', '/home/pi/Desktop/images/24012025/02/29/image_24012025_02_29_02_983455_0002.jpg', '/home/pi/Desktop/images/24012025/02/29/image_24012025_02_29_02_983455_0003.jpg', '/home/pi/Desktop/images/24012025/02/30/image_24012025_02_30_02_464166_0000.jpg', '/home/pi/Desktop/images/24012025/02/30/image_24012025_02_30_02_464166_0001.jpg', '/home/pi/Desktop/images/24012025/02/30/image_24012025_02_30_02_464166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/29/image_24012025_02_29_02_983455_0001.jpg
/home/pi/Desktop/images/24012025/02/29/image_24012025_02_29_02_983455_0002.jpg
/home/pi/Desktop/images/24012025/02/29/image_24012025_02_29_02_983455_0003.jpg
/home/pi/Desktop/images/24012025/02/30/image_24012025_02_30_02_464166_0000.jpg
/home/pi/Desktop/images/24012025/02/30/image_24012025_02_30_02_464166_0001.jpg
/home/pi/Desktop/images/24012025/02/30/image_24012025_02_30_02_464166_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330914597","1330914651","1330914636","1330914575","1330914605","1330914592"],"photo_ids_order":["1330914575","1330914592","1330914597","1330914605","1330914636","1330914651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d8f771741233dedd3c502aea6983cd2f.jpg","text":"TemporaryFile(/tmp/multipartBody2437631567178290514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682339742,"filename":"image_24012025_02_29_02_983455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/68335ee99b30ec4939386cf5ef978041.jpg","text":"TemporaryFile(/tmp/multipartBody5845192092108259852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682339742,"filename":"image_24012025_02_30_02_464166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12993e378022efccaae3b8e5c3ba5b34.jpg","text":"TemporaryFile(/tmp/multipartBody4736768482610605285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682339742,"filename":"image_24012025_02_30_02_464166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/376931a7b63739cb82fba757092adaf3.jpg","text":"TemporaryFile(/tmp/multipartBody1527218413853500533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682339742,"filename":"image_24012025_02_29_02_983455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad90935f80f93cf09146726d2911f4e3.jpg","text":"TemporaryFile(/tmp/multipartBody1911036236434773128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682339742,"filename":"image_24012025_02_30_02_464166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/537d362fcc41d03cfa231457584379bb.jpg","text":"TemporaryFile(/tmp/multipartBody4378903486543829584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682339742,"filename":"image_24012025_02_29_02_983455_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330914597","file1":"1330914592","file0":"1330914575","file4":"1330914636","file5":"1330914651","file3":"1330914605"},"map_files_photo_id_array":[{"photo_id":"1330914651","filename":"file5"},{"photo_id":"1330914597","filename":"file2"},{"photo_id":"1330914636","filename":"file4"},{"photo_id":"1330914592","filename":"file1"},{"photo_id":"1330914575","filename":"file0"},{"photo_id":"1330914605","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330914597":["hashtag1","hashtag2"]},{"1330914651":["hashtag1","hashtag2"]},{"1330914636":["hashtag1","hashtag2"]},{"1330914575":["hashtag1","hashtag2"]},{"1330914605":["hashtag1","hashtag2"]},{"1330914592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330914597, 1330914651, 1330914636, 1330914575, 1330914605, 1330914592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.21482825279236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:32:02.660137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/30/image_24012025_02_30_02_464166_0003.jpg', '/home/pi/Desktop/images/24012025/02/31/image_24012025_02_31_02_468509_0000.jpg', '/home/pi/Desktop/images/24012025/02/31/image_24012025_02_31_02_468509_0001.jpg', '/home/pi/Desktop/images/24012025/02/31/image_24012025_02_31_02_468509_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/30/image_24012025_02_30_02_464166_0003.jpg
/home/pi/Desktop/images/24012025/02/31/image_24012025_02_31_02_468509_0000.jpg
/home/pi/Desktop/images/24012025/02/31/image_24012025_02_31_02_468509_0001.jpg
/home/pi/Desktop/images/24012025/02/31/image_24012025_02_31_02_468509_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330914676","1330914698","1330914683","1330914691"],"photo_ids_order":["1330914676","1330914683","1330914691","1330914698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0017bc4aa23770f5fd644ea4bd6af130.jpg","text":"TemporaryFile(/tmp/multipartBody5007940899066844687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682393609,"filename":"image_24012025_02_30_02_464166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4673ec0daf5e0c8ab088ac8351cff741.jpg","text":"TemporaryFile(/tmp/multipartBody5171118118799354711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682393609,"filename":"image_24012025_02_31_02_468509_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/124640344968802ccb3b0e1833da3049.jpg","text":"TemporaryFile(/tmp/multipartBody3443036280083287618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682393609,"filename":"image_24012025_02_31_02_468509_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7eb34ad64fcf4f1f94c5e117863dc7a5.jpg","text":"TemporaryFile(/tmp/multipartBody461280840421483849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682393609,"filename":"image_24012025_02_31_02_468509_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330914691","file1":"1330914683","file0":"1330914676","file3":"1330914698"},"map_files_photo_id_array":[{"photo_id":"1330914691","filename":"file2"},{"photo_id":"1330914683","filename":"file1"},{"photo_id":"1330914676","filename":"file0"},{"photo_id":"1330914698","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330914676":["hashtag1","hashtag2"]},{"1330914698":["hashtag1","hashtag2"]},{"1330914683":["hashtag1","hashtag2"]},{"1330914691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330914676, 1330914698, 1330914683, 1330914691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.396665811538696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:33:02.351560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/31/image_24012025_02_31_02_468509_0003.jpg', '/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0000.jpg', '/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0001.jpg', '/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/31/image_24012025_02_31_02_468509_0003.jpg
/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0000.jpg
/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0001.jpg
/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.294974088668823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:33:21.730475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/31/image_24012025_02_31_02_468509_0003.jpg', '/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0000.jpg', '/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0001.jpg', '/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0002.jpg', '/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0003.jpg', '/home/pi/Desktop/images/24012025/02/33/image_24012025_02_33_02_647049_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/31/image_24012025_02_31_02_468509_0003.jpg
/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0000.jpg
/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0001.jpg
/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0002.jpg
/home/pi/Desktop/images/24012025/02/32/image_24012025_02_32_03_027965_0003.jpg
/home/pi/Desktop/images/24012025/02/33/image_24012025_02_33_02_647049_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330914792","1330914789","1330914786","1330914765","1330914794","1330914797"],"photo_ids_order":["1330914765","1330914786","1330914789","1330914792","1330914794","1330914797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/70176dfde1461f5fe8ddc6663ddf0df6.jpg","text":"TemporaryFile(/tmp/multipartBody3272445936208420123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682478757,"filename":"image_24012025_02_32_03_027965_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ae63194ba311fd794da01d1045bba5f.jpg","text":"TemporaryFile(/tmp/multipartBody1872470357956827039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682478757,"filename":"image_24012025_02_32_03_027965_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/67cdf72678b91e7d50fcd466b858ce19.jpg","text":"TemporaryFile(/tmp/multipartBody2211769283508565760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682478757,"filename":"image_24012025_02_32_03_027965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/71b19b301792184b214c978307c20593.jpg","text":"TemporaryFile(/tmp/multipartBody1757253974795567501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682478757,"filename":"image_24012025_02_31_02_468509_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74123606079106ed3ea4516dc2881c75.jpg","text":"TemporaryFile(/tmp/multipartBody5362942772567152151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682478757,"filename":"image_24012025_02_32_03_027965_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/981f7e5ef19b00a48ddfc564f3fd10ed.jpg","text":"TemporaryFile(/tmp/multipartBody5259135685519436514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682478757,"filename":"image_24012025_02_33_02_647049_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330914789","file1":"1330914786","file0":"1330914765","file4":"1330914794","file5":"1330914797","file3":"1330914792"},"map_files_photo_id_array":[{"photo_id":"1330914797","filename":"file5"},{"photo_id":"1330914789","filename":"file2"},{"photo_id":"1330914794","filename":"file4"},{"photo_id":"1330914786","filename":"file1"},{"photo_id":"1330914765","filename":"file0"},{"photo_id":"1330914792","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330914792":["hashtag1","hashtag2"]},{"1330914789":["hashtag1","hashtag2"]},{"1330914786":["hashtag1","hashtag2"]},{"1330914765":["hashtag1","hashtag2"]},{"1330914794":["hashtag1","hashtag2"]},{"1330914797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330914792, 1330914789, 1330914786, 1330914765, 1330914794, 1330914797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.58880925178528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:34:22.307436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/33/image_24012025_02_33_02_647049_0001.jpg', '/home/pi/Desktop/images/24012025/02/33/image_24012025_02_33_02_647049_0002.jpg', '/home/pi/Desktop/images/24012025/02/33/image_24012025_02_33_02_647049_0003.jpg', '/home/pi/Desktop/images/24012025/02/34/image_24012025_02_34_02_095306_0000.jpg', '/home/pi/Desktop/images/24012025/02/34/image_24012025_02_34_02_095306_0001.jpg', '/home/pi/Desktop/images/24012025/02/34/image_24012025_02_34_02_095306_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/33/image_24012025_02_33_02_647049_0001.jpg
/home/pi/Desktop/images/24012025/02/33/image_24012025_02_33_02_647049_0002.jpg
/home/pi/Desktop/images/24012025/02/33/image_24012025_02_33_02_647049_0003.jpg
/home/pi/Desktop/images/24012025/02/34/image_24012025_02_34_02_095306_0000.jpg
/home/pi/Desktop/images/24012025/02/34/image_24012025_02_34_02_095306_0001.jpg
/home/pi/Desktop/images/24012025/02/34/image_24012025_02_34_02_095306_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330914843","1330914837","1330914852","1330914825","1330914840","1330914854"],"photo_ids_order":["1330914825","1330914837","1330914840","1330914843","1330914852","1330914854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/210dd1f10dc317a6d163022f29d0a0a4.jpg","text":"TemporaryFile(/tmp/multipartBody1135356898277132754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682538958,"filename":"image_24012025_02_34_02_095306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5d40d1b08d0c9484703db01ed0e8e7f9.jpg","text":"TemporaryFile(/tmp/multipartBody2553671301023307334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682538958,"filename":"image_24012025_02_33_02_647049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/379ee67b6ffdfccf40b249a44bb68640.jpg","text":"TemporaryFile(/tmp/multipartBody8565480314446449086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682538958,"filename":"image_24012025_02_34_02_095306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74a478c8c853d7760fc5a24c030034dd.jpg","text":"TemporaryFile(/tmp/multipartBody3959329937697558860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682538958,"filename":"image_24012025_02_33_02_647049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f6a8905d08399d040cd668033ed26d25.jpg","text":"TemporaryFile(/tmp/multipartBody279778131764592221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682538958,"filename":"image_24012025_02_33_02_647049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e5f81a07314a8d7ce52ffca314ef91a6.jpg","text":"TemporaryFile(/tmp/multipartBody2575975299426636227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682538958,"filename":"image_24012025_02_34_02_095306_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330914840","file1":"1330914837","file0":"1330914825","file4":"1330914852","file5":"1330914854","file3":"1330914843"},"map_files_photo_id_array":[{"photo_id":"1330914854","filename":"file5"},{"photo_id":"1330914840","filename":"file2"},{"photo_id":"1330914852","filename":"file4"},{"photo_id":"1330914837","filename":"file1"},{"photo_id":"1330914825","filename":"file0"},{"photo_id":"1330914843","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330914843":["hashtag1","hashtag2"]},{"1330914837":["hashtag1","hashtag2"]},{"1330914852":["hashtag1","hashtag2"]},{"1330914825":["hashtag1","hashtag2"]},{"1330914840":["hashtag1","hashtag2"]},{"1330914854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330914843, 1330914837, 1330914852, 1330914825, 1330914840, 1330914854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75835680961609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:35:21.799171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/34/image_24012025_02_34_02_095306_0003.jpg', '/home/pi/Desktop/images/24012025/02/35/image_24012025_02_35_02_654870_0000.jpg', '/home/pi/Desktop/images/24012025/02/35/image_24012025_02_35_02_654870_0001.jpg', '/home/pi/Desktop/images/24012025/02/35/image_24012025_02_35_02_654870_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/34/image_24012025_02_34_02_095306_0003.jpg
/home/pi/Desktop/images/24012025/02/35/image_24012025_02_35_02_654870_0000.jpg
/home/pi/Desktop/images/24012025/02/35/image_24012025_02_35_02_654870_0001.jpg
/home/pi/Desktop/images/24012025/02/35/image_24012025_02_35_02_654870_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330914888","1330914873","1330914884","1330914878"],"photo_ids_order":["1330914873","1330914878","1330914884","1330914888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f2af2d6486784c9b34b7dcf88ed61f67.jpg","text":"TemporaryFile(/tmp/multipartBody4901876485794028945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682593120,"filename":"image_24012025_02_35_02_654870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a319f909d780d54bcd15cded0283443.jpg","text":"TemporaryFile(/tmp/multipartBody4911557095605251026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682593120,"filename":"image_24012025_02_34_02_095306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4543f6e0a7eda6829fc7de522d80af01.jpg","text":"TemporaryFile(/tmp/multipartBody4965050691140713563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682593120,"filename":"image_24012025_02_35_02_654870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8727846a22ee5dd7611ab74a28008869.jpg","text":"TemporaryFile(/tmp/multipartBody6128148157318940444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682593120,"filename":"image_24012025_02_35_02_654870_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330914884","file1":"1330914878","file0":"1330914873","file3":"1330914888"},"map_files_photo_id_array":[{"photo_id":"1330914884","filename":"file2"},{"photo_id":"1330914878","filename":"file1"},{"photo_id":"1330914873","filename":"file0"},{"photo_id":"1330914888","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330914888":["hashtag1","hashtag2"]},{"1330914873":["hashtag1","hashtag2"]},{"1330914884":["hashtag1","hashtag2"]},{"1330914878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330914888, 1330914873, 1330914884, 1330914878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96312093734741 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:36:22.295530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/35/image_24012025_02_35_02_654870_0003.jpg', '/home/pi/Desktop/images/24012025/02/36/image_24012025_02_36_02_171526_0000.jpg', '/home/pi/Desktop/images/24012025/02/36/image_24012025_02_36_02_171526_0001.jpg', '/home/pi/Desktop/images/24012025/02/36/image_24012025_02_36_02_171526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/35/image_24012025_02_35_02_654870_0003.jpg
/home/pi/Desktop/images/24012025/02/36/image_24012025_02_36_02_171526_0000.jpg
/home/pi/Desktop/images/24012025/02/36/image_24012025_02_36_02_171526_0001.jpg
/home/pi/Desktop/images/24012025/02/36/image_24012025_02_36_02_171526_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330914955","1330914919","1330914936","1330914950"],"photo_ids_order":["1330914919","1330914936","1330914950","1330914955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/430d4d1e4f3f46c2dfb264088ef18331.jpg","text":"TemporaryFile(/tmp/multipartBody2813978359739823195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682653703,"filename":"image_24012025_02_36_02_171526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b2b1849e4672e4ef63824ead4a888b93.jpg","text":"TemporaryFile(/tmp/multipartBody3132932856067572988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682653703,"filename":"image_24012025_02_35_02_654870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/59cd9597f207a7b11d30c8dba73f1372.jpg","text":"TemporaryFile(/tmp/multipartBody172282864716012028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682653703,"filename":"image_24012025_02_36_02_171526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af96025950db5e69b7bf1d2aeab79bc1.jpg","text":"TemporaryFile(/tmp/multipartBody2189917578566104159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682653703,"filename":"image_24012025_02_36_02_171526_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330914950","file1":"1330914936","file0":"1330914919","file3":"1330914955"},"map_files_photo_id_array":[{"photo_id":"1330914950","filename":"file2"},{"photo_id":"1330914936","filename":"file1"},{"photo_id":"1330914919","filename":"file0"},{"photo_id":"1330914955","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330914955":["hashtag1","hashtag2"]},{"1330914919":["hashtag1","hashtag2"]},{"1330914936":["hashtag1","hashtag2"]},{"1330914950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330914955, 1330914919, 1330914936, 1330914950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 53.81755828857422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:37:21.791919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/36/image_24012025_02_36_02_171526_0003.jpg', '/home/pi/Desktop/images/24012025/02/37/image_24012025_02_37_02_643148_0000.jpg', '/home/pi/Desktop/images/24012025/02/37/image_24012025_02_37_02_643148_0001.jpg', '/home/pi/Desktop/images/24012025/02/37/image_24012025_02_37_02_643148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/36/image_24012025_02_36_02_171526_0003.jpg
/home/pi/Desktop/images/24012025/02/37/image_24012025_02_37_02_643148_0000.jpg
/home/pi/Desktop/images/24012025/02/37/image_24012025_02_37_02_643148_0001.jpg
/home/pi/Desktop/images/24012025/02/37/image_24012025_02_37_02_643148_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330914991","1330914999","1330914986","1330914995"],"photo_ids_order":["1330914986","1330914991","1330914995","1330914999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8a30d242011f58ec16fd6aa6aadee22.jpg","text":"TemporaryFile(/tmp/multipartBody1223122300196860080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682712992,"filename":"image_24012025_02_37_02_643148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74a8d52cde09b1c9a63682c74a59dc83.jpg","text":"TemporaryFile(/tmp/multipartBody4636005509199623456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682712992,"filename":"image_24012025_02_37_02_643148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f25dcf7501bc01642ec1859da7aea110.jpg","text":"TemporaryFile(/tmp/multipartBody2691546252258951560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682712992,"filename":"image_24012025_02_36_02_171526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7b0da94e022f50ea0356662693343082.jpg","text":"TemporaryFile(/tmp/multipartBody5961121683823508343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682712992,"filename":"image_24012025_02_37_02_643148_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330914995","file1":"1330914991","file0":"1330914986","file3":"1330914999"},"map_files_photo_id_array":[{"photo_id":"1330914995","filename":"file2"},{"photo_id":"1330914991","filename":"file1"},{"photo_id":"1330914986","filename":"file0"},{"photo_id":"1330914999","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330914991":["hashtag1","hashtag2"]},{"1330914999":["hashtag1","hashtag2"]},{"1330914986":["hashtag1","hashtag2"]},{"1330914995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330914991, 1330914999, 1330914986, 1330914995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4833550453186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:38:02.685899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/55/image_21012025_19_55_02_741957_0000.jpg', '/home/pi/Desktop/images/21012025/19/55/image_21012025_19_55_02_741957_0001.jpg', '/home/pi/Desktop/images/21012025/19/55/image_21012025_19_55_02_741957_0002.jpg', '/home/pi/Desktop/images/21012025/19/55/image_21012025_19_55_02_741957_0003.jpg', '/home/pi/Desktop/images/21012025/19/56/image_21012025_19_56_02_907806_0000.jpg', '/home/pi/Desktop/images/21012025/19/56/image_21012025_19_56_02_907806_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/55/image_21012025_19_55_02_741957_0000.jpg
/home/pi/Desktop/images/21012025/19/55/image_21012025_19_55_02_741957_0001.jpg
/home/pi/Desktop/images/21012025/19/55/image_21012025_19_55_02_741957_0002.jpg
/home/pi/Desktop/images/21012025/19/55/image_21012025_19_55_02_741957_0003.jpg
/home/pi/Desktop/images/21012025/19/56/image_21012025_19_56_02_907806_0000.jpg
/home/pi/Desktop/images/21012025/19/56/image_21012025_19_56_02_907806_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330915446","1330915950","1330915329","1330915694","1330915655","1330915792"],"photo_ids_order":["1330915329","1330915446","1330915655","1330915694","1330915792","1330915950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/97779b57ca670ff10bceabfcf74b189e.jpg","text":"TemporaryFile(/tmp/multipartBody1432851909506268738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682760653,"filename":"image_21012025_19_55_02_741957_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/29455e4f44cf1f9040c4cc3c7b3a451c.jpg","text":"TemporaryFile(/tmp/multipartBody17295837316233991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682760653,"filename":"image_21012025_19_56_02_907806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28bd3e030dd6acfd39dcdc7021a51b65.jpg","text":"TemporaryFile(/tmp/multipartBody2668389945733469449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682760653,"filename":"image_21012025_19_55_02_741957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8e6e33b3560b6806945d88eba705f879.jpg","text":"TemporaryFile(/tmp/multipartBody6122812773163138812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682760653,"filename":"image_21012025_19_55_02_741957_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/884bc94ee6dd397655f9c7add8df6660.jpg","text":"TemporaryFile(/tmp/multipartBody4783478023518955974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682760653,"filename":"image_21012025_19_55_02_741957_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1783d8c0f584ff09c448c679345a82ab.jpg","text":"TemporaryFile(/tmp/multipartBody5879921978595742604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682760653,"filename":"image_21012025_19_56_02_907806_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330915655","file1":"1330915446","file0":"1330915329","file4":"1330915792","file5":"1330915950","file3":"1330915694"},"map_files_photo_id_array":[{"photo_id":"1330915950","filename":"file5"},{"photo_id":"1330915655","filename":"file2"},{"photo_id":"1330915792","filename":"file4"},{"photo_id":"1330915446","filename":"file1"},{"photo_id":"1330915329","filename":"file0"},{"photo_id":"1330915694","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330915446":["hashtag1","hashtag2"]},{"1330915950":["hashtag1","hashtag2"]},{"1330915329":["hashtag1","hashtag2"]},{"1330915694":["hashtag1","hashtag2"]},{"1330915655":["hashtag1","hashtag2"]},{"1330915792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330915446, 1330915950, 1330915329, 1330915694, 1330915655, 1330915792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.9019889831543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:39:21.894469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/37/image_24012025_02_37_02_643148_0003.jpg', '/home/pi/Desktop/images/24012025/02/38/image_24012025_02_38_02_221393_0000.jpg', '/home/pi/Desktop/images/24012025/02/38/image_24012025_02_38_02_221393_0001.jpg', '/home/pi/Desktop/images/24012025/02/38/image_24012025_02_38_02_221393_0002.jpg', '/home/pi/Desktop/images/24012025/02/38/image_24012025_02_38_02_221393_0003.jpg', '/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/37/image_24012025_02_37_02_643148_0003.jpg
/home/pi/Desktop/images/24012025/02/38/image_24012025_02_38_02_221393_0000.jpg
/home/pi/Desktop/images/24012025/02/38/image_24012025_02_38_02_221393_0001.jpg
/home/pi/Desktop/images/24012025/02/38/image_24012025_02_38_02_221393_0002.jpg
/home/pi/Desktop/images/24012025/02/38/image_24012025_02_38_02_221393_0003.jpg
/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330916912","1330916878","1330916822","1330916801","1330916776","1330916806"],"photo_ids_order":["1330916776","1330916801","1330916806","1330916822","1330916878","1330916912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ecc2be58ba1c5d6873292482ff2ceb2c.jpg","text":"TemporaryFile(/tmp/multipartBody2633065175537794255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682838656,"filename":"image_24012025_02_39_02_703837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/31e1bb44aad153125fad0096c0af045a.jpg","text":"TemporaryFile(/tmp/multipartBody6490159886839556339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682838656,"filename":"image_24012025_02_38_02_221393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b4c0fc01c4a46c40ecd1d1efb7bfdb7.jpg","text":"TemporaryFile(/tmp/multipartBody1960876428002039581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682838656,"filename":"image_24012025_02_38_02_221393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/02a527143df148526169541c628559c4.jpg","text":"TemporaryFile(/tmp/multipartBody1350138541478487819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682838656,"filename":"image_24012025_02_38_02_221393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b6c0703844350e3423c82bb41d2af8bf.jpg","text":"TemporaryFile(/tmp/multipartBody7969135686320034342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682838656,"filename":"image_24012025_02_37_02_643148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f21add4e1de9773ec08ea2170c51ea99.jpg","text":"TemporaryFile(/tmp/multipartBody7874637190442825675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682838656,"filename":"image_24012025_02_38_02_221393_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330916806","file1":"1330916801","file0":"1330916776","file4":"1330916878","file5":"1330916912","file3":"1330916822"},"map_files_photo_id_array":[{"photo_id":"1330916912","filename":"file5"},{"photo_id":"1330916806","filename":"file2"},{"photo_id":"1330916878","filename":"file4"},{"photo_id":"1330916801","filename":"file1"},{"photo_id":"1330916776","filename":"file0"},{"photo_id":"1330916822","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330916912":["hashtag1","hashtag2"]},{"1330916878":["hashtag1","hashtag2"]},{"1330916822":["hashtag1","hashtag2"]},{"1330916801":["hashtag1","hashtag2"]},{"1330916776":["hashtag1","hashtag2"]},{"1330916806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330916912, 1330916878, 1330916822, 1330916801, 1330916776, 1330916806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.712302446365356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:40:22.411268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0001.jpg', '/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0002.jpg', '/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0003.jpg', '/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0000.jpg', '/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0001.jpg', '/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0001.jpg
/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0002.jpg
/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0003.jpg
/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0000.jpg
/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0001.jpg
/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.12627077102661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:41:02.648663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0001.jpg', '/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0002.jpg', '/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0003.jpg', '/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0000.jpg', '/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0001.jpg', '/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0001.jpg
/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0002.jpg
/home/pi/Desktop/images/24012025/02/39/image_24012025_02_39_02_703837_0003.jpg
/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0000.jpg
/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0001.jpg
/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330917557","1330917623","1330917545","1330917565","1330917628","1330917370"],"photo_ids_order":["1330917370","1330917545","1330917557","1330917565","1330917623","1330917628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/597fae7da51dd018b0b49fdcfae004f6.jpg","text":"TemporaryFile(/tmp/multipartBody6182237044685650340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682939207,"filename":"image_24012025_02_39_02_703837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b669d006e177846f490cd4a65712a37.jpg","text":"TemporaryFile(/tmp/multipartBody1469108104666591982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682939207,"filename":"image_24012025_02_40_02_216065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f041c5372535f4070c10c596f8383d1.jpg","text":"TemporaryFile(/tmp/multipartBody1727464444611793773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682939207,"filename":"image_24012025_02_39_02_703837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc0a0b519953c500838c737b17b06111.jpg","text":"TemporaryFile(/tmp/multipartBody1420027869808179157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682939207,"filename":"image_24012025_02_40_02_216065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/637a9c01e4b1bca0642a4ebf579dc345.jpg","text":"TemporaryFile(/tmp/multipartBody5299717084722247817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682939207,"filename":"image_24012025_02_40_02_216065_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10047aa8d58e66085f246c47ee243155.jpg","text":"TemporaryFile(/tmp/multipartBody2850046273659511905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737682939207,"filename":"image_24012025_02_39_02_703837_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330917557","file1":"1330917545","file0":"1330917370","file4":"1330917623","file5":"1330917628","file3":"1330917565"},"map_files_photo_id_array":[{"photo_id":"1330917628","filename":"file5"},{"photo_id":"1330917557","filename":"file2"},{"photo_id":"1330917623","filename":"file4"},{"photo_id":"1330917545","filename":"file1"},{"photo_id":"1330917370","filename":"file0"},{"photo_id":"1330917565","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330917557":["hashtag1","hashtag2"]},{"1330917623":["hashtag1","hashtag2"]},{"1330917545":["hashtag1","hashtag2"]},{"1330917565":["hashtag1","hashtag2"]},{"1330917628":["hashtag1","hashtag2"]},{"1330917370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330917557, 1330917623, 1330917545, 1330917565, 1330917628, 1330917370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.29092860221863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:42:02.934150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0003.jpg', '/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0000.jpg', '/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0001.jpg', '/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0003.jpg
/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0000.jpg
/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0001.jpg
/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.820611953735352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:42:22.480238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0003.jpg', '/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0000.jpg', '/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0001.jpg', '/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0002.jpg', '/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0003.jpg', '/home/pi/Desktop/images/24012025/02/42/image_24012025_02_42_02_314079_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/40/image_24012025_02_40_02_216065_0003.jpg
/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0000.jpg
/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0001.jpg
/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0002.jpg
/home/pi/Desktop/images/24012025/02/41/image_24012025_02_41_02_787059_0003.jpg
/home/pi/Desktop/images/24012025/02/42/image_24012025_02_42_02_314079_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330917729","1330917720","1330917723","1330917728","1330917715","1330917726"],"photo_ids_order":["1330917715","1330917720","1330917723","1330917726","1330917728","1330917729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/16611e3df712237911086ebb3cef9694.jpg","text":"TemporaryFile(/tmp/multipartBody1689898227730811275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683018979,"filename":"image_24012025_02_42_02_314079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c3b4943b2f0165e70973098dd5e1bf8.jpg","text":"TemporaryFile(/tmp/multipartBody3417541555647911108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683018979,"filename":"image_24012025_02_41_02_787059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7b3dd48bd2ef978232b7428c9b2048e9.jpg","text":"TemporaryFile(/tmp/multipartBody4717303810795373226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683018979,"filename":"image_24012025_02_41_02_787059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2fb03c147cd138423cbbb7f9206e985f.jpg","text":"TemporaryFile(/tmp/multipartBody4658833403113398505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683018979,"filename":"image_24012025_02_41_02_787059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a9ec03b17c48072829cc24684b1c22ea.jpg","text":"TemporaryFile(/tmp/multipartBody4244160796041448113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683018979,"filename":"image_24012025_02_40_02_216065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/afd518d8572d0ed37c4a0dbaa059f2db.jpg","text":"TemporaryFile(/tmp/multipartBody5037353324329421703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683018979,"filename":"image_24012025_02_41_02_787059_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330917723","file1":"1330917720","file0":"1330917715","file4":"1330917728","file5":"1330917729","file3":"1330917726"},"map_files_photo_id_array":[{"photo_id":"1330917729","filename":"file5"},{"photo_id":"1330917723","filename":"file2"},{"photo_id":"1330917728","filename":"file4"},{"photo_id":"1330917720","filename":"file1"},{"photo_id":"1330917715","filename":"file0"},{"photo_id":"1330917726","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330917729":["hashtag1","hashtag2"]},{"1330917720":["hashtag1","hashtag2"]},{"1330917723":["hashtag1","hashtag2"]},{"1330917728":["hashtag1","hashtag2"]},{"1330917715":["hashtag1","hashtag2"]},{"1330917726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330917729, 1330917720, 1330917723, 1330917728, 1330917715, 1330917726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.25347304344177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:43:22.041026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/42/image_24012025_02_42_02_314079_0001.jpg', '/home/pi/Desktop/images/24012025/02/42/image_24012025_02_42_02_314079_0002.jpg', '/home/pi/Desktop/images/24012025/02/42/image_24012025_02_42_02_314079_0003.jpg', '/home/pi/Desktop/images/24012025/02/43/image_24012025_02_43_02_901984_0000.jpg', '/home/pi/Desktop/images/24012025/02/43/image_24012025_02_43_02_901984_0001.jpg', '/home/pi/Desktop/images/24012025/02/43/image_24012025_02_43_02_901984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/42/image_24012025_02_42_02_314079_0001.jpg
/home/pi/Desktop/images/24012025/02/42/image_24012025_02_42_02_314079_0002.jpg
/home/pi/Desktop/images/24012025/02/42/image_24012025_02_42_02_314079_0003.jpg
/home/pi/Desktop/images/24012025/02/43/image_24012025_02_43_02_901984_0000.jpg
/home/pi/Desktop/images/24012025/02/43/image_24012025_02_43_02_901984_0001.jpg
/home/pi/Desktop/images/24012025/02/43/image_24012025_02_43_02_901984_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330917807","1330917804","1330917803","1330917799","1330917763","1330917757"],"photo_ids_order":["1330917757","1330917763","1330917799","1330917803","1330917804","1330917807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37273969e9831781a315de9fc4f18073.jpg","text":"TemporaryFile(/tmp/multipartBody3143706203921257159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683078874,"filename":"image_24012025_02_43_02_901984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c21c1d10efbc44d5f54d4c61b6441db.jpg","text":"TemporaryFile(/tmp/multipartBody8684706618455050477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683078874,"filename":"image_24012025_02_43_02_901984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a44dbef00f800297536db15dd75f0f6a.jpg","text":"TemporaryFile(/tmp/multipartBody318352675653262374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683078874,"filename":"image_24012025_02_43_02_901984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/38979e3a478e365f68d57920d1566298.jpg","text":"TemporaryFile(/tmp/multipartBody8795541553027662408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683078874,"filename":"image_24012025_02_42_02_314079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fafc4e2529d9912c4d7caf42d35f5a5d.jpg","text":"TemporaryFile(/tmp/multipartBody6816341031161282299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683078874,"filename":"image_24012025_02_42_02_314079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a2c693cd73ec6cbba8f083151bfabb9.jpg","text":"TemporaryFile(/tmp/multipartBody2842011866676996455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683078874,"filename":"image_24012025_02_42_02_314079_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330917799","file1":"1330917763","file0":"1330917757","file4":"1330917804","file5":"1330917807","file3":"1330917803"},"map_files_photo_id_array":[{"photo_id":"1330917807","filename":"file5"},{"photo_id":"1330917799","filename":"file2"},{"photo_id":"1330917804","filename":"file4"},{"photo_id":"1330917763","filename":"file1"},{"photo_id":"1330917757","filename":"file0"},{"photo_id":"1330917803","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330917807":["hashtag1","hashtag2"]},{"1330917804":["hashtag1","hashtag2"]},{"1330917803":["hashtag1","hashtag2"]},{"1330917799":["hashtag1","hashtag2"]},{"1330917763":["hashtag1","hashtag2"]},{"1330917757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330917807, 1330917804, 1330917803, 1330917799, 1330917763, 1330917757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.093149185180664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:44:22.619229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/43/image_24012025_02_43_02_901984_0003.jpg', '/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0000.jpg', '/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0001.jpg', '/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/43/image_24012025_02_43_02_901984_0003.jpg
/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0000.jpg
/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0001.jpg
/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.972607612609863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:45:02.836771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/43/image_24012025_02_43_02_901984_0003.jpg', '/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0000.jpg', '/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0001.jpg', '/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/43/image_24012025_02_43_02_901984_0003.jpg
/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0000.jpg
/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0001.jpg
/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330917896","1330917914","1330917908","1330917901"],"photo_ids_order":["1330917896","1330917901","1330917908","1330917914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9944dae35605692239703c4b2cf7c2b0.jpg","text":"TemporaryFile(/tmp/multipartBody5223189755911164937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683174247,"filename":"image_24012025_02_43_02_901984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce573a58bf32121942bbfb88283adae3.jpg","text":"TemporaryFile(/tmp/multipartBody8214534299337417031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683174247,"filename":"image_24012025_02_44_02_466899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a52f5a01944a723c961358fb0bb0886.jpg","text":"TemporaryFile(/tmp/multipartBody537243110698950853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683174247,"filename":"image_24012025_02_44_02_466899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/788b0524999403b18a58f79e61619a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2254597290396964809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683174247,"filename":"image_24012025_02_44_02_466899_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330917908","file1":"1330917901","file0":"1330917896","file3":"1330917914"},"map_files_photo_id_array":[{"photo_id":"1330917908","filename":"file2"},{"photo_id":"1330917901","filename":"file1"},{"photo_id":"1330917896","filename":"file0"},{"photo_id":"1330917914","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330917896":["hashtag1","hashtag2"]},{"1330917914":["hashtag1","hashtag2"]},{"1330917908":["hashtag1","hashtag2"]},{"1330917901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330917896, 1330917914, 1330917908, 1330917901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.1309289932251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:46:03.216611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0003.jpg', '/home/pi/Desktop/images/24012025/02/45/image_24012025_02_45_02_945949_0000.jpg', '/home/pi/Desktop/images/24012025/02/45/image_24012025_02_45_02_945949_0001.jpg', '/home/pi/Desktop/images/24012025/02/45/image_24012025_02_45_02_945949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/44/image_24012025_02_44_02_466899_0003.jpg
/home/pi/Desktop/images/24012025/02/45/image_24012025_02_45_02_945949_0000.jpg
/home/pi/Desktop/images/24012025/02/45/image_24012025_02_45_02_945949_0001.jpg
/home/pi/Desktop/images/24012025/02/45/image_24012025_02_45_02_945949_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330917953","1330917947","1330917962","1330917970"],"photo_ids_order":["1330917947","1330917953","1330917962","1330917970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9ad1ac8110d4d46180334adda4a6ab0e.jpg","text":"TemporaryFile(/tmp/multipartBody6210630988528290863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683234567,"filename":"image_24012025_02_45_02_945949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7e72ce07faaffa3d29229119c644bea1.jpg","text":"TemporaryFile(/tmp/multipartBody7944527622507199156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683234567,"filename":"image_24012025_02_44_02_466899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7475b66b026f059fe9d7498bfdc8c48f.jpg","text":"TemporaryFile(/tmp/multipartBody5097312724159550435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683234567,"filename":"image_24012025_02_45_02_945949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/efbbbbc90115b3d16486c30052402de8.jpg","text":"TemporaryFile(/tmp/multipartBody1473451244778494324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683234567,"filename":"image_24012025_02_45_02_945949_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330917962","file1":"1330917953","file0":"1330917947","file3":"1330917970"},"map_files_photo_id_array":[{"photo_id":"1330917962","filename":"file2"},{"photo_id":"1330917953","filename":"file1"},{"photo_id":"1330917947","filename":"file0"},{"photo_id":"1330917970","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330917953":["hashtag1","hashtag2"]},{"1330917947":["hashtag1","hashtag2"]},{"1330917962":["hashtag1","hashtag2"]},{"1330917970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330917953, 1330917947, 1330917962, 1330917970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.20028281211853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:47:02.921329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/45/image_24012025_02_45_02_945949_0003.jpg', '/home/pi/Desktop/images/24012025/02/46/image_24012025_02_46_02_445799_0000.jpg', '/home/pi/Desktop/images/24012025/02/46/image_24012025_02_46_02_445799_0001.jpg', '/home/pi/Desktop/images/24012025/02/46/image_24012025_02_46_02_445799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/45/image_24012025_02_45_02_945949_0003.jpg
/home/pi/Desktop/images/24012025/02/46/image_24012025_02_46_02_445799_0000.jpg
/home/pi/Desktop/images/24012025/02/46/image_24012025_02_46_02_445799_0001.jpg
/home/pi/Desktop/images/24012025/02/46/image_24012025_02_46_02_445799_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330918016","1330918007","1330918033","1330918000"],"photo_ids_order":["1330918000","1330918007","1330918016","1330918033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10fd35e7950ef7df9ab1400cbe43c3b8.jpg","text":"TemporaryFile(/tmp/multipartBody6196856632897911026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683293888,"filename":"image_24012025_02_46_02_445799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b09403f7b76999885a8400a2f0b5f596.jpg","text":"TemporaryFile(/tmp/multipartBody6664209215021565279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683293888,"filename":"image_24012025_02_46_02_445799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ea4df16adcf2633eddb3928f7d357d44.jpg","text":"TemporaryFile(/tmp/multipartBody8536111791385521175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683293888,"filename":"image_24012025_02_46_02_445799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/785476df0e169b6324e244d195bbbfd5.jpg","text":"TemporaryFile(/tmp/multipartBody2964830903174789444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683293888,"filename":"image_24012025_02_45_02_945949_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330918016","file1":"1330918007","file0":"1330918000","file3":"1330918033"},"map_files_photo_id_array":[{"photo_id":"1330918016","filename":"file2"},{"photo_id":"1330918007","filename":"file1"},{"photo_id":"1330918000","filename":"file0"},{"photo_id":"1330918033","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330918016":["hashtag1","hashtag2"]},{"1330918007":["hashtag1","hashtag2"]},{"1330918033":["hashtag1","hashtag2"]},{"1330918000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330918016, 1330918007, 1330918033, 1330918000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.682374000549316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:48:02.148623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/46/image_24012025_02_46_02_445799_0003.jpg', '/home/pi/Desktop/images/24012025/02/47/image_24012025_02_47_03_091023_0000.jpg', '/home/pi/Desktop/images/24012025/02/47/image_24012025_02_47_03_091023_0001.jpg', '/home/pi/Desktop/images/24012025/02/47/image_24012025_02_47_03_091023_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/46/image_24012025_02_46_02_445799_0003.jpg
/home/pi/Desktop/images/24012025/02/47/image_24012025_02_47_03_091023_0000.jpg
/home/pi/Desktop/images/24012025/02/47/image_24012025_02_47_03_091023_0001.jpg
/home/pi/Desktop/images/24012025/02/47/image_24012025_02_47_03_091023_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330918297","1330918288","1330918282","1330918275"],"photo_ids_order":["1330918275","1330918282","1330918288","1330918297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eb193bc2c74900c9e3e5dd0bed743ca9.jpg","text":"TemporaryFile(/tmp/multipartBody2847783199627899430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683353811,"filename":"image_24012025_02_47_03_091023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9aacc2ddd3420a1b1db846486c9148ac.jpg","text":"TemporaryFile(/tmp/multipartBody8614089431009971601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683353811,"filename":"image_24012025_02_47_03_091023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/64a976c765304f69ac4541af3d895f78.jpg","text":"TemporaryFile(/tmp/multipartBody5548270883856465672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683353811,"filename":"image_24012025_02_47_03_091023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/687aeb6fb1c46daec3bd268f5b917aaf.jpg","text":"TemporaryFile(/tmp/multipartBody1638525722251865809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683353811,"filename":"image_24012025_02_46_02_445799_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330918288","file1":"1330918282","file0":"1330918275","file3":"1330918297"},"map_files_photo_id_array":[{"photo_id":"1330918288","filename":"file2"},{"photo_id":"1330918282","filename":"file1"},{"photo_id":"1330918275","filename":"file0"},{"photo_id":"1330918297","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330918297":["hashtag1","hashtag2"]},{"1330918288":["hashtag1","hashtag2"]},{"1330918282":["hashtag1","hashtag2"]},{"1330918275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330918297, 1330918288, 1330918282, 1330918275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.97917652130127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:49:03.125658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/47/image_24012025_02_47_03_091023_0003.jpg', '/home/pi/Desktop/images/24012025/02/48/image_24012025_02_48_02_598556_0000.jpg', '/home/pi/Desktop/images/24012025/02/48/image_24012025_02_48_02_598556_0001.jpg', '/home/pi/Desktop/images/24012025/02/48/image_24012025_02_48_02_598556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/47/image_24012025_02_47_03_091023_0003.jpg
/home/pi/Desktop/images/24012025/02/48/image_24012025_02_48_02_598556_0000.jpg
/home/pi/Desktop/images/24012025/02/48/image_24012025_02_48_02_598556_0001.jpg
/home/pi/Desktop/images/24012025/02/48/image_24012025_02_48_02_598556_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330918345","1330918332","1330918326","1330918338"],"photo_ids_order":["1330918326","1330918332","1330918338","1330918345"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e9ee89f89b54651e59a02a8fcb58367.jpg","text":"TemporaryFile(/tmp/multipartBody165581428487722432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683414695,"filename":"image_24012025_02_48_02_598556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0dad4d11a5ee8da84b241bfd9ff524fe.jpg","text":"TemporaryFile(/tmp/multipartBody7596713102639349954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683414695,"filename":"image_24012025_02_48_02_598556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/378e54f710b73475f22921a5400fd663.jpg","text":"TemporaryFile(/tmp/multipartBody3789855388890522028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683414695,"filename":"image_24012025_02_47_03_091023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b06dd5ce91c16cee6ded1e53997b8578.jpg","text":"TemporaryFile(/tmp/multipartBody6420640620513859636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683414695,"filename":"image_24012025_02_48_02_598556_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330918338","file1":"1330918332","file0":"1330918326","file3":"1330918345"},"map_files_photo_id_array":[{"photo_id":"1330918338","filename":"file2"},{"photo_id":"1330918332","filename":"file1"},{"photo_id":"1330918326","filename":"file0"},{"photo_id":"1330918345","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330918345":["hashtag1","hashtag2"]},{"1330918332":["hashtag1","hashtag2"]},{"1330918326":["hashtag1","hashtag2"]},{"1330918338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330918345, 1330918332, 1330918326, 1330918338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14823579788208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:50:02.491878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/48/image_24012025_02_48_02_598556_0003.jpg', '/home/pi/Desktop/images/24012025/02/49/image_24012025_02_49_02_252868_0000.jpg', '/home/pi/Desktop/images/24012025/02/49/image_24012025_02_49_02_252868_0001.jpg', '/home/pi/Desktop/images/24012025/02/49/image_24012025_02_49_02_252868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/48/image_24012025_02_48_02_598556_0003.jpg
/home/pi/Desktop/images/24012025/02/49/image_24012025_02_49_02_252868_0000.jpg
/home/pi/Desktop/images/24012025/02/49/image_24012025_02_49_02_252868_0001.jpg
/home/pi/Desktop/images/24012025/02/49/image_24012025_02_49_02_252868_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330918395","1330918389","1330918383","1330918374"],"photo_ids_order":["1330918374","1330918383","1330918389","1330918395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2c715b01770fe30a35c9b56bbf837332.jpg","text":"TemporaryFile(/tmp/multipartBody7028229327629793210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683473941,"filename":"image_24012025_02_49_02_252868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/96f9eddfcd1ec9595a8a3e57f45a6e6f.jpg","text":"TemporaryFile(/tmp/multipartBody7987937483866726411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683473941,"filename":"image_24012025_02_49_02_252868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/068bf5e39135c64ae7b2cc761bf2986b.jpg","text":"TemporaryFile(/tmp/multipartBody5270993503606918465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683473941,"filename":"image_24012025_02_49_02_252868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/beb580759541cbd6131aa8f3037b397b.jpg","text":"TemporaryFile(/tmp/multipartBody4351965178889563763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683473941,"filename":"image_24012025_02_48_02_598556_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330918389","file1":"1330918383","file0":"1330918374","file3":"1330918395"},"map_files_photo_id_array":[{"photo_id":"1330918389","filename":"file2"},{"photo_id":"1330918383","filename":"file1"},{"photo_id":"1330918374","filename":"file0"},{"photo_id":"1330918395","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330918395":["hashtag1","hashtag2"]},{"1330918389":["hashtag1","hashtag2"]},{"1330918383":["hashtag1","hashtag2"]},{"1330918374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330918395, 1330918389, 1330918383, 1330918374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.10544753074646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:51:03.249232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/49/image_24012025_02_49_02_252868_0003.jpg', '/home/pi/Desktop/images/24012025/02/50/image_24012025_02_50_02_811285_0000.jpg', '/home/pi/Desktop/images/24012025/02/50/image_24012025_02_50_02_811285_0001.jpg', '/home/pi/Desktop/images/24012025/02/50/image_24012025_02_50_02_811285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/49/image_24012025_02_49_02_252868_0003.jpg
/home/pi/Desktop/images/24012025/02/50/image_24012025_02_50_02_811285_0000.jpg
/home/pi/Desktop/images/24012025/02/50/image_24012025_02_50_02_811285_0001.jpg
/home/pi/Desktop/images/24012025/02/50/image_24012025_02_50_02_811285_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330918481","1330918489","1330918497","1330918485"],"photo_ids_order":["1330918481","1330918485","1330918489","1330918497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9a019f1380ddfa557443515d424a15c3.jpg","text":"TemporaryFile(/tmp/multipartBody3341871747746417355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683534713,"filename":"image_24012025_02_49_02_252868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/caa12f68d6da428d6f6f0b88705cc235.jpg","text":"TemporaryFile(/tmp/multipartBody6678376843553345876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683534713,"filename":"image_24012025_02_50_02_811285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fbced78a5a25778f9a399d57fa8d575e.jpg","text":"TemporaryFile(/tmp/multipartBody1558699205753637177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683534713,"filename":"image_24012025_02_50_02_811285_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d114e0eb0f1e77b8602aca371c4204d6.jpg","text":"TemporaryFile(/tmp/multipartBody7094718784531130624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683534713,"filename":"image_24012025_02_50_02_811285_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330918489","file1":"1330918485","file0":"1330918481","file3":"1330918497"},"map_files_photo_id_array":[{"photo_id":"1330918489","filename":"file2"},{"photo_id":"1330918485","filename":"file1"},{"photo_id":"1330918481","filename":"file0"},{"photo_id":"1330918497","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330918481":["hashtag1","hashtag2"]},{"1330918489":["hashtag1","hashtag2"]},{"1330918497":["hashtag1","hashtag2"]},{"1330918485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330918481, 1330918489, 1330918497, 1330918485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.82085633277893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:52:02.677272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/50/image_24012025_02_50_02_811285_0003.jpg', '/home/pi/Desktop/images/24012025/02/51/image_24012025_02_51_02_465622_0000.jpg', '/home/pi/Desktop/images/24012025/02/51/image_24012025_02_51_02_465622_0001.jpg', '/home/pi/Desktop/images/24012025/02/51/image_24012025_02_51_02_465622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/50/image_24012025_02_50_02_811285_0003.jpg
/home/pi/Desktop/images/24012025/02/51/image_24012025_02_51_02_465622_0000.jpg
/home/pi/Desktop/images/24012025/02/51/image_24012025_02_51_02_465622_0001.jpg
/home/pi/Desktop/images/24012025/02/51/image_24012025_02_51_02_465622_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330918556","1330918541","1330918554","1330918539"],"photo_ids_order":["1330918539","1330918541","1330918554","1330918556"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51b7085417c330b58885c08c60cc50bf.jpg","text":"TemporaryFile(/tmp/multipartBody1460034018459464221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683593753,"filename":"image_24012025_02_51_02_465622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed1b4c02c7122a56fae31d10ab7511b5.jpg","text":"TemporaryFile(/tmp/multipartBody1985556834132399024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683593753,"filename":"image_24012025_02_51_02_465622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0bfbb16a30c842d4854ed336307b559.jpg","text":"TemporaryFile(/tmp/multipartBody381258455144624450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683593753,"filename":"image_24012025_02_51_02_465622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/576bec04d1b3912a82350f734f29c29f.jpg","text":"TemporaryFile(/tmp/multipartBody6277910911139400148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683593753,"filename":"image_24012025_02_50_02_811285_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330918554","file1":"1330918541","file0":"1330918539","file3":"1330918556"},"map_files_photo_id_array":[{"photo_id":"1330918554","filename":"file2"},{"photo_id":"1330918541","filename":"file1"},{"photo_id":"1330918539","filename":"file0"},{"photo_id":"1330918556","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330918556":["hashtag1","hashtag2"]},{"1330918541":["hashtag1","hashtag2"]},{"1330918554":["hashtag1","hashtag2"]},{"1330918539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330918556, 1330918541, 1330918554, 1330918539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.104849338531494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:53:03.292201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/51/image_24012025_02_51_02_465622_0003.jpg', '/home/pi/Desktop/images/24012025/02/52/image_24012025_02_52_03_004163_0000.jpg', '/home/pi/Desktop/images/24012025/02/52/image_24012025_02_52_03_004163_0001.jpg', '/home/pi/Desktop/images/24012025/02/52/image_24012025_02_52_03_004163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/51/image_24012025_02_51_02_465622_0003.jpg
/home/pi/Desktop/images/24012025/02/52/image_24012025_02_52_03_004163_0000.jpg
/home/pi/Desktop/images/24012025/02/52/image_24012025_02_52_03_004163_0001.jpg
/home/pi/Desktop/images/24012025/02/52/image_24012025_02_52_03_004163_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330918675","1330918716","1330918710","1330918707"],"photo_ids_order":["1330918675","1330918707","1330918710","1330918716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0bdae18a2fb30659c024f331f1253b6.jpg","text":"TemporaryFile(/tmp/multipartBody1600893541308910696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683654830,"filename":"image_24012025_02_51_02_465622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45931395c26136bdee4483405479b472.jpg","text":"TemporaryFile(/tmp/multipartBody5485155432202159648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683654830,"filename":"image_24012025_02_52_03_004163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9353cc5ab0cc06867167b57b1c7b4641.jpg","text":"TemporaryFile(/tmp/multipartBody5322823344857510006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683654830,"filename":"image_24012025_02_52_03_004163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3bc16229a00e6ff3223fdcc106b21c85.jpg","text":"TemporaryFile(/tmp/multipartBody5854725730436713141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683654830,"filename":"image_24012025_02_52_03_004163_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330918710","file1":"1330918707","file0":"1330918675","file3":"1330918716"},"map_files_photo_id_array":[{"photo_id":"1330918710","filename":"file2"},{"photo_id":"1330918707","filename":"file1"},{"photo_id":"1330918675","filename":"file0"},{"photo_id":"1330918716","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330918675":["hashtag1","hashtag2"]},{"1330918716":["hashtag1","hashtag2"]},{"1330918710":["hashtag1","hashtag2"]},{"1330918707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330918675, 1330918716, 1330918710, 1330918707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.56050992012024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:54:02.641907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/52/image_24012025_02_52_03_004163_0003.jpg', '/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0000.jpg', '/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0001.jpg', '/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/52/image_24012025_02_52_03_004163_0003.jpg
/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0000.jpg
/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0001.jpg
/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.154733419418335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:54:22.288640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/52/image_24012025_02_52_03_004163_0003.jpg', '/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0000.jpg', '/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0001.jpg', '/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0002.jpg', '/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0003.jpg', '/home/pi/Desktop/images/24012025/02/54/image_24012025_02_54_03_101707_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/52/image_24012025_02_52_03_004163_0003.jpg
/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0000.jpg
/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0001.jpg
/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0002.jpg
/home/pi/Desktop/images/24012025/02/53/image_24012025_02_53_02_538287_0003.jpg
/home/pi/Desktop/images/24012025/02/54/image_24012025_02_54_03_101707_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330918786","1330918762","1330918794","1330918773","1330918767","1330918790"],"photo_ids_order":["1330918762","1330918767","1330918773","1330918786","1330918790","1330918794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a7ec77be1384f83de5e30b554ee5464.jpg","text":"TemporaryFile(/tmp/multipartBody7298554268984783458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683739546,"filename":"image_24012025_02_53_02_538287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5f685906371b2aaed8cc1d88673eaaed.jpg","text":"TemporaryFile(/tmp/multipartBody3922197894898665755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683739546,"filename":"image_24012025_02_52_03_004163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8d88cf0b4a9bd0ae24ac15317c2597f.jpg","text":"TemporaryFile(/tmp/multipartBody3588699994279823876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683739546,"filename":"image_24012025_02_54_03_101707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b4957c100bc27fc7434eda3e6acea23.jpg","text":"TemporaryFile(/tmp/multipartBody4963086505513958551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683739546,"filename":"image_24012025_02_53_02_538287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f4c5a3acc4464bbcca40f62279f14f95.jpg","text":"TemporaryFile(/tmp/multipartBody355580036193539629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683739546,"filename":"image_24012025_02_53_02_538287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec77b94318c36e910b7340179a390a0d.jpg","text":"TemporaryFile(/tmp/multipartBody1387255544961259177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683739546,"filename":"image_24012025_02_53_02_538287_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330918773","file1":"1330918767","file0":"1330918762","file4":"1330918790","file5":"1330918794","file3":"1330918786"},"map_files_photo_id_array":[{"photo_id":"1330918794","filename":"file5"},{"photo_id":"1330918773","filename":"file2"},{"photo_id":"1330918790","filename":"file4"},{"photo_id":"1330918767","filename":"file1"},{"photo_id":"1330918762","filename":"file0"},{"photo_id":"1330918786","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330918786":["hashtag1","hashtag2"]},{"1330918762":["hashtag1","hashtag2"]},{"1330918794":["hashtag1","hashtag2"]},{"1330918773":["hashtag1","hashtag2"]},{"1330918767":["hashtag1","hashtag2"]},{"1330918790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330918786, 1330918762, 1330918794, 1330918773, 1330918767, 1330918790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.32421684265137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:55:21.805398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/54/image_24012025_02_54_03_101707_0001.jpg', '/home/pi/Desktop/images/24012025/02/54/image_24012025_02_54_03_101707_0002.jpg', '/home/pi/Desktop/images/24012025/02/54/image_24012025_02_54_03_101707_0003.jpg', '/home/pi/Desktop/images/24012025/02/55/image_24012025_02_55_02_701373_0000.jpg', '/home/pi/Desktop/images/24012025/02/55/image_24012025_02_55_02_701373_0001.jpg', '/home/pi/Desktop/images/24012025/02/55/image_24012025_02_55_02_701373_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/54/image_24012025_02_54_03_101707_0001.jpg
/home/pi/Desktop/images/24012025/02/54/image_24012025_02_54_03_101707_0002.jpg
/home/pi/Desktop/images/24012025/02/54/image_24012025_02_54_03_101707_0003.jpg
/home/pi/Desktop/images/24012025/02/55/image_24012025_02_55_02_701373_0000.jpg
/home/pi/Desktop/images/24012025/02/55/image_24012025_02_55_02_701373_0001.jpg
/home/pi/Desktop/images/24012025/02/55/image_24012025_02_55_02_701373_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330919642","1330919590","1330919647","1330919649","1330919645","1330919639"],"photo_ids_order":["1330919590","1330919639","1330919642","1330919645","1330919647","1330919649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a41bee8d2cb97f53b65282ec36caa83.jpg","text":"TemporaryFile(/tmp/multipartBody5080925491967756545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683799314,"filename":"image_24012025_02_54_03_101707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da38aa4b3a73e317ccca3a6b00ac1d32.jpg","text":"TemporaryFile(/tmp/multipartBody4479040631707752529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683799314,"filename":"image_24012025_02_54_03_101707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ddbbef5b01766506a1ee1040d7626ea.jpg","text":"TemporaryFile(/tmp/multipartBody8891481568974193103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683799314,"filename":"image_24012025_02_55_02_701373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/13185c4a0a17fc585d4f8bad09b5bcc9.jpg","text":"TemporaryFile(/tmp/multipartBody5566796057253935070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683799314,"filename":"image_24012025_02_55_02_701373_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/38d9d809f4f820ab791270ef80167a88.jpg","text":"TemporaryFile(/tmp/multipartBody5765937639976556849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683799314,"filename":"image_24012025_02_55_02_701373_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/46fac20552ca038613b315faacb33319.jpg","text":"TemporaryFile(/tmp/multipartBody5837020892540435099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683799314,"filename":"image_24012025_02_54_03_101707_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330919642","file1":"1330919639","file0":"1330919590","file4":"1330919647","file5":"1330919649","file3":"1330919645"},"map_files_photo_id_array":[{"photo_id":"1330919649","filename":"file5"},{"photo_id":"1330919642","filename":"file2"},{"photo_id":"1330919647","filename":"file4"},{"photo_id":"1330919639","filename":"file1"},{"photo_id":"1330919590","filename":"file0"},{"photo_id":"1330919645","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330919642":["hashtag1","hashtag2"]},{"1330919590":["hashtag1","hashtag2"]},{"1330919647":["hashtag1","hashtag2"]},{"1330919649":["hashtag1","hashtag2"]},{"1330919645":["hashtag1","hashtag2"]},{"1330919639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330919642, 1330919590, 1330919647, 1330919649, 1330919645, 1330919639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.73349070549011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:56:22.363259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/55/image_24012025_02_55_02_701373_0003.jpg', '/home/pi/Desktop/images/24012025/02/56/image_24012025_02_56_02_223935_0000.jpg', '/home/pi/Desktop/images/24012025/02/56/image_24012025_02_56_02_223935_0001.jpg', '/home/pi/Desktop/images/24012025/02/56/image_24012025_02_56_02_223935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/55/image_24012025_02_55_02_701373_0003.jpg
/home/pi/Desktop/images/24012025/02/56/image_24012025_02_56_02_223935_0000.jpg
/home/pi/Desktop/images/24012025/02/56/image_24012025_02_56_02_223935_0001.jpg
/home/pi/Desktop/images/24012025/02/56/image_24012025_02_56_02_223935_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330919682","1330919679","1330919670","1330919675"],"photo_ids_order":["1330919670","1330919675","1330919679","1330919682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdfc22d60e4cb3a83a6ce3489d7cc1f0.jpg","text":"TemporaryFile(/tmp/multipartBody4544513256291777745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683854535,"filename":"image_24012025_02_56_02_223935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d7c8ce65bbba2faa4d0fcfa438bee1d.jpg","text":"TemporaryFile(/tmp/multipartBody1199225261887826539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683854535,"filename":"image_24012025_02_56_02_223935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6aaae37b6e7f58e3d2e2ea2979572c24.jpg","text":"TemporaryFile(/tmp/multipartBody2940684665054707972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683854535,"filename":"image_24012025_02_55_02_701373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a67778b2247a9797fbdceb3a16bf9156.jpg","text":"TemporaryFile(/tmp/multipartBody1473767884365373296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737683854535,"filename":"image_24012025_02_56_02_223935_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330919679","file1":"1330919675","file0":"1330919670","file3":"1330919682"},"map_files_photo_id_array":[{"photo_id":"1330919679","filename":"file2"},{"photo_id":"1330919675","filename":"file1"},{"photo_id":"1330919670","filename":"file0"},{"photo_id":"1330919682","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330919682":["hashtag1","hashtag2"]},{"1330919679":["hashtag1","hashtag2"]},{"1330919670":["hashtag1","hashtag2"]},{"1330919675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330919682, 1330919679, 1330919670, 1330919675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20552921295166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 02:57:21.782329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/56/image_24012025_02_56_02_223935_0003.jpg', '/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0000.jpg', '/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0001.jpg', '/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/56/image_24012025_02_56_02_223935_0003.jpg
/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0000.jpg
/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0001.jpg
/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0002.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 02:59:03.032931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/56/image_24012025_02_56_02_223935_0003.jpg', '/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0000.jpg', '/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0001.jpg', '/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/56/image_24012025_02_56_02_223935_0003.jpg
/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0000.jpg
/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0001.jpg
/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330920344","1330920368","1330920353","1330920362"],"photo_ids_order":["1330920344","1330920353","1330920362","1330920368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/81821ab880d1cf0bea99bfe1327b69d4.jpg","text":"TemporaryFile(/tmp/multipartBody2537461589318404053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684014534,"filename":"image_24012025_02_56_02_223935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b66f6f9dced64179d3d8d3604b3aad3.jpg","text":"TemporaryFile(/tmp/multipartBody5523188994163519885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684014534,"filename":"image_24012025_02_57_02_717792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/87c36e7a238020596837fe96a8c5d63d.jpg","text":"TemporaryFile(/tmp/multipartBody2899551571365174580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684014534,"filename":"image_24012025_02_57_02_717792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a7ff34a391e59229806b6f866bd4ddc.jpg","text":"TemporaryFile(/tmp/multipartBody492521127489457012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684014534,"filename":"image_24012025_02_57_02_717792_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330920362","file1":"1330920353","file0":"1330920344","file3":"1330920368"},"map_files_photo_id_array":[{"photo_id":"1330920362","filename":"file2"},{"photo_id":"1330920353","filename":"file1"},{"photo_id":"1330920344","filename":"file0"},{"photo_id":"1330920368","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330920344":["hashtag1","hashtag2"]},{"1330920368":["hashtag1","hashtag2"]},{"1330920353":["hashtag1","hashtag2"]},{"1330920362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330920344, 1330920368, 1330920353, 1330920362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.88151025772095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:00:02.676786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0003.jpg', '/home/pi/Desktop/images/24012025/02/58/image_24012025_02_58_02_215411_0000.jpg', '/home/pi/Desktop/images/24012025/02/58/image_24012025_02_58_02_215411_0001.jpg', '/home/pi/Desktop/images/24012025/02/58/image_24012025_02_58_02_215411_0002.jpg', '/home/pi/Desktop/images/24012025/02/58/image_24012025_02_58_02_215411_0003.jpg', '/home/pi/Desktop/images/24012025/02/59/image_24012025_02_59_02_675344_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/57/image_24012025_02_57_02_717792_0003.jpg
/home/pi/Desktop/images/24012025/02/58/image_24012025_02_58_02_215411_0000.jpg
/home/pi/Desktop/images/24012025/02/58/image_24012025_02_58_02_215411_0001.jpg
/home/pi/Desktop/images/24012025/02/58/image_24012025_02_58_02_215411_0002.jpg
/home/pi/Desktop/images/24012025/02/58/image_24012025_02_58_02_215411_0003.jpg
/home/pi/Desktop/images/24012025/02/59/image_24012025_02_59_02_675344_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330920470","1330920515","1330920475","1330920517","1330920453","1330920461"],"photo_ids_order":["1330920453","1330920461","1330920470","1330920475","1330920515","1330920517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e2a35aae846661dfc9624673946e6e7.jpg","text":"TemporaryFile(/tmp/multipartBody5909216835459925586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684079511,"filename":"image_24012025_02_58_02_215411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed2488bc6b219af2f2087c9a4c67283d.jpg","text":"TemporaryFile(/tmp/multipartBody8125806647064122030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684079511,"filename":"image_24012025_02_58_02_215411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3612c62ba20620a7b945bf7ba2995439.jpg","text":"TemporaryFile(/tmp/multipartBody1608918823963127388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684079511,"filename":"image_24012025_02_58_02_215411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9ef8d2932bb70763cfd04d0b756f5086.jpg","text":"TemporaryFile(/tmp/multipartBody4826384194445778683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684079511,"filename":"image_24012025_02_59_02_675344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aa8ab781e23cd855a00dcf970af5dd48.jpg","text":"TemporaryFile(/tmp/multipartBody7768314727320057406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684079511,"filename":"image_24012025_02_57_02_717792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aa701330869df1c3135efe6d932a4f79.jpg","text":"TemporaryFile(/tmp/multipartBody4082959914150554111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684079511,"filename":"image_24012025_02_58_02_215411_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330920470","file1":"1330920461","file0":"1330920453","file4":"1330920515","file5":"1330920517","file3":"1330920475"},"map_files_photo_id_array":[{"photo_id":"1330920517","filename":"file5"},{"photo_id":"1330920470","filename":"file2"},{"photo_id":"1330920515","filename":"file4"},{"photo_id":"1330920461","filename":"file1"},{"photo_id":"1330920453","filename":"file0"},{"photo_id":"1330920475","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330920470":["hashtag1","hashtag2"]},{"1330920515":["hashtag1","hashtag2"]},{"1330920475":["hashtag1","hashtag2"]},{"1330920517":["hashtag1","hashtag2"]},{"1330920453":["hashtag1","hashtag2"]},{"1330920461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330920470, 1330920515, 1330920475, 1330920517, 1330920453, 1330920461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.83295559883118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:01:03.333723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/02/59/image_24012025_02_59_02_675344_0001.jpg', '/home/pi/Desktop/images/24012025/02/59/image_24012025_02_59_02_675344_0002.jpg', '/home/pi/Desktop/images/24012025/02/59/image_24012025_02_59_02_675344_0003.jpg', '/home/pi/Desktop/images/24012025/03/00/image_24012025_03_00_02_866613_0000.jpg', '/home/pi/Desktop/images/24012025/03/00/image_24012025_03_00_02_866613_0001.jpg', '/home/pi/Desktop/images/24012025/03/00/image_24012025_03_00_02_866613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/02/59/image_24012025_02_59_02_675344_0001.jpg
/home/pi/Desktop/images/24012025/02/59/image_24012025_02_59_02_675344_0002.jpg
/home/pi/Desktop/images/24012025/02/59/image_24012025_02_59_02_675344_0003.jpg
/home/pi/Desktop/images/24012025/03/00/image_24012025_03_00_02_866613_0000.jpg
/home/pi/Desktop/images/24012025/03/00/image_24012025_03_00_02_866613_0001.jpg
/home/pi/Desktop/images/24012025/03/00/image_24012025_03_00_02_866613_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330920641","1330920638","1330920566","1330920637","1330920633","1330920609"],"photo_ids_order":["1330920566","1330920609","1330920633","1330920637","1330920638","1330920641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e6075177ec5c962d996b3d03a4364a8.jpg","text":"TemporaryFile(/tmp/multipartBody8226679260324150128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684140534,"filename":"image_24012025_03_00_02_866613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7602846f5561f3ee7a41d42bb6d8b147.jpg","text":"TemporaryFile(/tmp/multipartBody5528492700306725200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684140534,"filename":"image_24012025_03_00_02_866613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/015099c173bf1fdff92eb50744970c0c.jpg","text":"TemporaryFile(/tmp/multipartBody6020605403745597114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684140534,"filename":"image_24012025_02_59_02_675344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/25529078b8de3870b1d78ee7f9c113e3.jpg","text":"TemporaryFile(/tmp/multipartBody1795537106283206334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684140534,"filename":"image_24012025_03_00_02_866613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ea499f9cef51e77db6df3f0222d21b79.jpg","text":"TemporaryFile(/tmp/multipartBody3530345744636293667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684140534,"filename":"image_24012025_02_59_02_675344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/846d59452c038a055f2cad120c51c2f2.jpg","text":"TemporaryFile(/tmp/multipartBody7936722640232300816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684140534,"filename":"image_24012025_02_59_02_675344_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330920633","file1":"1330920609","file0":"1330920566","file4":"1330920638","file5":"1330920641","file3":"1330920637"},"map_files_photo_id_array":[{"photo_id":"1330920641","filename":"file5"},{"photo_id":"1330920633","filename":"file2"},{"photo_id":"1330920638","filename":"file4"},{"photo_id":"1330920609","filename":"file1"},{"photo_id":"1330920566","filename":"file0"},{"photo_id":"1330920637","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330920641":["hashtag1","hashtag2"]},{"1330920638":["hashtag1","hashtag2"]},{"1330920566":["hashtag1","hashtag2"]},{"1330920637":["hashtag1","hashtag2"]},{"1330920633":["hashtag1","hashtag2"]},{"1330920609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330920641, 1330920638, 1330920566, 1330920637, 1330920633, 1330920609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.026976108551025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:02:02.556077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/00/image_24012025_03_00_02_866613_0003.jpg', '/home/pi/Desktop/images/24012025/03/01/image_24012025_03_01_02_567895_0000.jpg', '/home/pi/Desktop/images/24012025/03/01/image_24012025_03_01_02_567895_0001.jpg', '/home/pi/Desktop/images/24012025/03/01/image_24012025_03_01_02_567895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/00/image_24012025_03_00_02_866613_0003.jpg
/home/pi/Desktop/images/24012025/03/01/image_24012025_03_01_02_567895_0000.jpg
/home/pi/Desktop/images/24012025/03/01/image_24012025_03_01_02_567895_0001.jpg
/home/pi/Desktop/images/24012025/03/01/image_24012025_03_01_02_567895_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330920685","1330920694","1330920675","1330920698"],"photo_ids_order":["1330920675","1330920685","1330920694","1330920698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/958d691ae80b622256807685545d2cf4.jpg","text":"TemporaryFile(/tmp/multipartBody8433467381702092382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684194107,"filename":"image_24012025_03_01_02_567895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b31c0f9cb81c623d64489779edb93ff.jpg","text":"TemporaryFile(/tmp/multipartBody5764992827731202814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684194107,"filename":"image_24012025_03_01_02_567895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8604090956d7b32c5e176c931ef252a6.jpg","text":"TemporaryFile(/tmp/multipartBody2215362482758689154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684194107,"filename":"image_24012025_03_00_02_866613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f1a27a9325709f91061831d5c116c24a.jpg","text":"TemporaryFile(/tmp/multipartBody8301931479149500343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684194107,"filename":"image_24012025_03_01_02_567895_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330920694","file1":"1330920685","file0":"1330920675","file3":"1330920698"},"map_files_photo_id_array":[{"photo_id":"1330920694","filename":"file2"},{"photo_id":"1330920685","filename":"file1"},{"photo_id":"1330920675","filename":"file0"},{"photo_id":"1330920698","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330920685":["hashtag1","hashtag2"]},{"1330920694":["hashtag1","hashtag2"]},{"1330920675":["hashtag1","hashtag2"]},{"1330920698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330920685, 1330920694, 1330920675, 1330920698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.195799827575684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:03:02.315798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/01/image_24012025_03_01_02_567895_0003.jpg', '/home/pi/Desktop/images/24012025/03/02/image_24012025_03_02_03_005233_0000.jpg', '/home/pi/Desktop/images/24012025/03/02/image_24012025_03_02_03_005233_0001.jpg', '/home/pi/Desktop/images/24012025/03/02/image_24012025_03_02_03_005233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/01/image_24012025_03_01_02_567895_0003.jpg
/home/pi/Desktop/images/24012025/03/02/image_24012025_03_02_03_005233_0000.jpg
/home/pi/Desktop/images/24012025/03/02/image_24012025_03_02_03_005233_0001.jpg
/home/pi/Desktop/images/24012025/03/02/image_24012025_03_02_03_005233_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330920770","1330920725","1330920713","1330920735"],"photo_ids_order":["1330920713","1330920725","1330920735","1330920770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6c4fff662829983e67a0e1083db3ecbb.jpg","text":"TemporaryFile(/tmp/multipartBody6255600916306380653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684253959,"filename":"image_24012025_03_02_03_005233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e030ff5da207deba5d825a9131ca08c3.jpg","text":"TemporaryFile(/tmp/multipartBody4702493090849869155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684253959,"filename":"image_24012025_03_02_03_005233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b990e9a56ba2f6916a8904ef6c87719d.jpg","text":"TemporaryFile(/tmp/multipartBody718958877619529161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684253959,"filename":"image_24012025_03_01_02_567895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a69e9c8395d7af7b3e93ac0d3a05326d.jpg","text":"TemporaryFile(/tmp/multipartBody2869626186824021689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684253959,"filename":"image_24012025_03_02_03_005233_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330920735","file1":"1330920725","file0":"1330920713","file3":"1330920770"},"map_files_photo_id_array":[{"photo_id":"1330920735","filename":"file2"},{"photo_id":"1330920725","filename":"file1"},{"photo_id":"1330920713","filename":"file0"},{"photo_id":"1330920770","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330920770":["hashtag1","hashtag2"]},{"1330920725":["hashtag1","hashtag2"]},{"1330920713":["hashtag1","hashtag2"]},{"1330920735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330920770, 1330920725, 1330920713, 1330920735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.07657814025879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:04:02.669292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/02/image_24012025_03_02_03_005233_0003.jpg', '/home/pi/Desktop/images/24012025/03/03/image_24012025_03_03_02_634026_0000.jpg', '/home/pi/Desktop/images/24012025/03/03/image_24012025_03_03_02_634026_0001.jpg', '/home/pi/Desktop/images/24012025/03/03/image_24012025_03_03_02_634026_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/02/image_24012025_03_02_03_005233_0003.jpg
/home/pi/Desktop/images/24012025/03/03/image_24012025_03_03_02_634026_0000.jpg
/home/pi/Desktop/images/24012025/03/03/image_24012025_03_03_02_634026_0001.jpg
/home/pi/Desktop/images/24012025/03/03/image_24012025_03_03_02_634026_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330920793","1330920802","1330920789","1330920798"],"photo_ids_order":["1330920789","1330920793","1330920798","1330920802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e1e7e79bea808c0564e594470f023ef5.jpg","text":"TemporaryFile(/tmp/multipartBody346343612503694079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684313983,"filename":"image_24012025_03_03_02_634026_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3539ce75f89599be7e411f49972b1261.jpg","text":"TemporaryFile(/tmp/multipartBody296330930921380613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684313983,"filename":"image_24012025_03_03_02_634026_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b4def75dceb0cc83e9e533dc26dd15c5.jpg","text":"TemporaryFile(/tmp/multipartBody7306860956858931324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684313983,"filename":"image_24012025_03_02_03_005233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/57782f97ec94b4cf57a54cf3da6bcada.jpg","text":"TemporaryFile(/tmp/multipartBody4072695010028132870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684313983,"filename":"image_24012025_03_03_02_634026_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330920798","file1":"1330920793","file0":"1330920789","file3":"1330920802"},"map_files_photo_id_array":[{"photo_id":"1330920798","filename":"file2"},{"photo_id":"1330920793","filename":"file1"},{"photo_id":"1330920789","filename":"file0"},{"photo_id":"1330920802","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330920793":["hashtag1","hashtag2"]},{"1330920802":["hashtag1","hashtag2"]},{"1330920789":["hashtag1","hashtag2"]},{"1330920798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330920793, 1330920802, 1330920789, 1330920798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.97558879852295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:05:02.551865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/03/image_24012025_03_03_02_634026_0003.jpg', '/home/pi/Desktop/images/24012025/03/04/image_24012025_03_04_02_097771_0000.jpg', '/home/pi/Desktop/images/24012025/03/04/image_24012025_03_04_02_097771_0001.jpg', '/home/pi/Desktop/images/24012025/03/04/image_24012025_03_04_02_097771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/03/image_24012025_03_03_02_634026_0003.jpg
/home/pi/Desktop/images/24012025/03/04/image_24012025_03_04_02_097771_0000.jpg
/home/pi/Desktop/images/24012025/03/04/image_24012025_03_04_02_097771_0001.jpg
/home/pi/Desktop/images/24012025/03/04/image_24012025_03_04_02_097771_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330920839","1330920832","1330920835","1330920843"],"photo_ids_order":["1330920832","1330920835","1330920839","1330920843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e41ddeea74b3abfa126cb1874628bcb5.jpg","text":"TemporaryFile(/tmp/multipartBody4946795361906504757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684373977,"filename":"image_24012025_03_04_02_097771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a4e7cc22905434d0645dd8389ddebef4.jpg","text":"TemporaryFile(/tmp/multipartBody4850873641529856140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684373977,"filename":"image_24012025_03_03_02_634026_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/409af87f197ca129655e1668db1a873a.jpg","text":"TemporaryFile(/tmp/multipartBody4265952118329073646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684373977,"filename":"image_24012025_03_04_02_097771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af3f3280ead1b8beaba0d1fe5727f493.jpg","text":"TemporaryFile(/tmp/multipartBody7709339986727868778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684373977,"filename":"image_24012025_03_04_02_097771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330920839","file1":"1330920835","file0":"1330920832","file3":"1330920843"},"map_files_photo_id_array":[{"photo_id":"1330920839","filename":"file2"},{"photo_id":"1330920835","filename":"file1"},{"photo_id":"1330920832","filename":"file0"},{"photo_id":"1330920843","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330920839":["hashtag1","hashtag2"]},{"1330920832":["hashtag1","hashtag2"]},{"1330920835":["hashtag1","hashtag2"]},{"1330920843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330920839, 1330920832, 1330920835, 1330920843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.10796046257019 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:06:03.062438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/04/image_24012025_03_04_02_097771_0003.jpg', '/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0000.jpg', '/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0001.jpg', '/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/04/image_24012025_03_04_02_097771_0003.jpg
/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0000.jpg
/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0001.jpg
/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.200982570648193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:06:22.682766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/04/image_24012025_03_04_02_097771_0003.jpg', '/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0000.jpg', '/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0001.jpg', '/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0002.jpg', '/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0003.jpg', '/home/pi/Desktop/images/24012025/03/06/image_24012025_03_06_02_359281_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/04/image_24012025_03_04_02_097771_0003.jpg
/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0000.jpg
/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0001.jpg
/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0002.jpg
/home/pi/Desktop/images/24012025/03/05/image_24012025_03_05_02_768992_0003.jpg
/home/pi/Desktop/images/24012025/03/06/image_24012025_03_06_02_359281_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330920920","1330920917","1330920896","1330920915","1330920899","1330920903"],"photo_ids_order":["1330920896","1330920899","1330920903","1330920915","1330920917","1330920920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45f3978a9424e339575c3036a6a511e7.jpg","text":"TemporaryFile(/tmp/multipartBody8634373466014357527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684459611,"filename":"image_24012025_03_06_02_359281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c3042c1015e745d42d1b36f6c392749c.jpg","text":"TemporaryFile(/tmp/multipartBody8579176020697324152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684459611,"filename":"image_24012025_03_05_02_768992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74a108a3bef2b65522b81146ef36eb5b.jpg","text":"TemporaryFile(/tmp/multipartBody610814866901761957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684459611,"filename":"image_24012025_03_04_02_097771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed4675ca081cdbcec932d813860927df.jpg","text":"TemporaryFile(/tmp/multipartBody3920554303810764721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684459611,"filename":"image_24012025_03_05_02_768992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/93cc5bc790925c1103d4f8c665625c5a.jpg","text":"TemporaryFile(/tmp/multipartBody3879934309155283690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684459611,"filename":"image_24012025_03_05_02_768992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b16b845329b6cbf9a8a387d1c57c629f.jpg","text":"TemporaryFile(/tmp/multipartBody6042350838544257336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684459611,"filename":"image_24012025_03_05_02_768992_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330920903","file1":"1330920899","file0":"1330920896","file4":"1330920917","file5":"1330920920","file3":"1330920915"},"map_files_photo_id_array":[{"photo_id":"1330920920","filename":"file5"},{"photo_id":"1330920903","filename":"file2"},{"photo_id":"1330920917","filename":"file4"},{"photo_id":"1330920899","filename":"file1"},{"photo_id":"1330920896","filename":"file0"},{"photo_id":"1330920915","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330920920":["hashtag1","hashtag2"]},{"1330920917":["hashtag1","hashtag2"]},{"1330920896":["hashtag1","hashtag2"]},{"1330920915":["hashtag1","hashtag2"]},{"1330920899":["hashtag1","hashtag2"]},{"1330920903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330920920, 1330920917, 1330920896, 1330920915, 1330920899, 1330920903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.066171646118164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:08:03.261102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/06/image_24012025_03_06_02_359281_0001.jpg', '/home/pi/Desktop/images/24012025/03/06/image_24012025_03_06_02_359281_0002.jpg', '/home/pi/Desktop/images/24012025/03/06/image_24012025_03_06_02_359281_0003.jpg', '/home/pi/Desktop/images/24012025/03/07/image_24012025_03_07_03_061001_0000.jpg', '/home/pi/Desktop/images/24012025/03/07/image_24012025_03_07_03_061001_0001.jpg', '/home/pi/Desktop/images/24012025/03/07/image_24012025_03_07_03_061001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/06/image_24012025_03_06_02_359281_0001.jpg
/home/pi/Desktop/images/24012025/03/06/image_24012025_03_06_02_359281_0002.jpg
/home/pi/Desktop/images/24012025/03/06/image_24012025_03_06_02_359281_0003.jpg
/home/pi/Desktop/images/24012025/03/07/image_24012025_03_07_03_061001_0000.jpg
/home/pi/Desktop/images/24012025/03/07/image_24012025_03_07_03_061001_0001.jpg
/home/pi/Desktop/images/24012025/03/07/image_24012025_03_07_03_061001_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330921001","1330920979","1330920967","1330920984","1330920975","1330920971"],"photo_ids_order":["1330920967","1330920971","1330920975","1330920979","1330920984","1330921001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a20002440028c86291e62db3ece8ab8c.jpg","text":"TemporaryFile(/tmp/multipartBody140193811713323465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684560235,"filename":"image_24012025_03_07_03_061001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b7d612244e801437d8461016496b39a.jpg","text":"TemporaryFile(/tmp/multipartBody5212839543823726989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684560235,"filename":"image_24012025_03_07_03_061001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f19af1477b9f72e833083eb81c37e70.jpg","text":"TemporaryFile(/tmp/multipartBody5099546015077246948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684560235,"filename":"image_24012025_03_06_02_359281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d8df7b1e440a7048a9ce986b20d81f00.jpg","text":"TemporaryFile(/tmp/multipartBody4018691134888718505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684560235,"filename":"image_24012025_03_07_03_061001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c59d6df97a606f8c29aa58c1633dbcd.jpg","text":"TemporaryFile(/tmp/multipartBody5786154054533820766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684560235,"filename":"image_24012025_03_06_02_359281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/824eef0b686eaa9e35298936a66c5b94.jpg","text":"TemporaryFile(/tmp/multipartBody1726820691754213008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684560235,"filename":"image_24012025_03_06_02_359281_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330920975","file1":"1330920971","file0":"1330920967","file4":"1330920984","file5":"1330921001","file3":"1330920979"},"map_files_photo_id_array":[{"photo_id":"1330921001","filename":"file5"},{"photo_id":"1330920975","filename":"file2"},{"photo_id":"1330920984","filename":"file4"},{"photo_id":"1330920971","filename":"file1"},{"photo_id":"1330920967","filename":"file0"},{"photo_id":"1330920979","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330921001":["hashtag1","hashtag2"]},{"1330920979":["hashtag1","hashtag2"]},{"1330920967":["hashtag1","hashtag2"]},{"1330920984":["hashtag1","hashtag2"]},{"1330920975":["hashtag1","hashtag2"]},{"1330920971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330921001, 1330920979, 1330920967, 1330920984, 1330920975, 1330920971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.531296491622925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:09:02.901482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/07/image_24012025_03_07_03_061001_0003.jpg', '/home/pi/Desktop/images/24012025/03/08/image_24012025_03_08_02_607664_0000.jpg', '/home/pi/Desktop/images/24012025/03/08/image_24012025_03_08_02_607664_0001.jpg', '/home/pi/Desktop/images/24012025/03/08/image_24012025_03_08_02_607664_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/07/image_24012025_03_07_03_061001_0003.jpg
/home/pi/Desktop/images/24012025/03/08/image_24012025_03_08_02_607664_0000.jpg
/home/pi/Desktop/images/24012025/03/08/image_24012025_03_08_02_607664_0001.jpg
/home/pi/Desktop/images/24012025/03/08/image_24012025_03_08_02_607664_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330921093","1330921084","1330921089","1330921076"],"photo_ids_order":["1330921076","1330921084","1330921089","1330921093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce14c9370419862cde66cf3761bea04b.jpg","text":"TemporaryFile(/tmp/multipartBody3275234748253597685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684614359,"filename":"image_24012025_03_08_02_607664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c34a435113ea684cf3c03b961c7d7f36.jpg","text":"TemporaryFile(/tmp/multipartBody5472441599368168595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684614359,"filename":"image_24012025_03_08_02_607664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da92fb4637d34597269c4cc314a47435.jpg","text":"TemporaryFile(/tmp/multipartBody808749533210698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684614359,"filename":"image_24012025_03_08_02_607664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d086e6deec01a34be180e68ced402d92.jpg","text":"TemporaryFile(/tmp/multipartBody6172092087751489358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684614359,"filename":"image_24012025_03_07_03_061001_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330921089","file1":"1330921084","file0":"1330921076","file3":"1330921093"},"map_files_photo_id_array":[{"photo_id":"1330921089","filename":"file2"},{"photo_id":"1330921084","filename":"file1"},{"photo_id":"1330921076","filename":"file0"},{"photo_id":"1330921093","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330921093":["hashtag1","hashtag2"]},{"1330921084":["hashtag1","hashtag2"]},{"1330921089":["hashtag1","hashtag2"]},{"1330921076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330921093, 1330921084, 1330921089, 1330921076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.965808391571045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:10:02.399220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/08/image_24012025_03_08_02_607664_0003.jpg', '/home/pi/Desktop/images/24012025/03/09/image_24012025_03_09_03_110728_0000.jpg', '/home/pi/Desktop/images/24012025/03/09/image_24012025_03_09_03_110728_0001.jpg', '/home/pi/Desktop/images/24012025/03/09/image_24012025_03_09_03_110728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/08/image_24012025_03_08_02_607664_0003.jpg
/home/pi/Desktop/images/24012025/03/09/image_24012025_03_09_03_110728_0000.jpg
/home/pi/Desktop/images/24012025/03/09/image_24012025_03_09_03_110728_0001.jpg
/home/pi/Desktop/images/24012025/03/09/image_24012025_03_09_03_110728_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330921189","1330921177","1330921182","1330921172"],"photo_ids_order":["1330921172","1330921177","1330921182","1330921189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/96ab9e645c5feb83d83e2845cc75789b.jpg","text":"TemporaryFile(/tmp/multipartBody4949509411144931727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684673498,"filename":"image_24012025_03_09_03_110728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f9734d5a50312158ffb18b4552cf0f67.jpg","text":"TemporaryFile(/tmp/multipartBody660339232784570897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684673498,"filename":"image_24012025_03_09_03_110728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0cb6affc009b1c95625f8e3addc3f7f5.jpg","text":"TemporaryFile(/tmp/multipartBody2530443223080830138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684673498,"filename":"image_24012025_03_09_03_110728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a71eb3cbbd33d62695150135f472504.jpg","text":"TemporaryFile(/tmp/multipartBody1638686499446400571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684673498,"filename":"image_24012025_03_08_02_607664_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330921182","file1":"1330921177","file0":"1330921172","file3":"1330921189"},"map_files_photo_id_array":[{"photo_id":"1330921182","filename":"file2"},{"photo_id":"1330921177","filename":"file1"},{"photo_id":"1330921172","filename":"file0"},{"photo_id":"1330921189","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330921189":["hashtag1","hashtag2"]},{"1330921177":["hashtag1","hashtag2"]},{"1330921182":["hashtag1","hashtag2"]},{"1330921172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330921189, 1330921177, 1330921182, 1330921172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.243908166885376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:11:03.064346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/09/image_24012025_03_09_03_110728_0003.jpg', '/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0000.jpg', '/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0001.jpg', '/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/09/image_24012025_03_09_03_110728_0003.jpg
/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0000.jpg
/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0001.jpg
/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.00373649597168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:11:22.345372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/09/image_24012025_03_09_03_110728_0003.jpg', '/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0000.jpg', '/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0001.jpg', '/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0002.jpg', '/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0003.jpg', '/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/09/image_24012025_03_09_03_110728_0003.jpg
/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0000.jpg
/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0001.jpg
/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0002.jpg
/home/pi/Desktop/images/24012025/03/10/image_24012025_03_10_02_596578_0003.jpg
/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330921279","1330921281","1330921272","1330921275","1330921269","1330921286"],"photo_ids_order":["1330921269","1330921272","1330921275","1330921279","1330921281","1330921286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98dab3227f308ecaa302795cd2a1753a.jpg","text":"TemporaryFile(/tmp/multipartBody6680632946190558060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684759083,"filename":"image_24012025_03_10_02_596578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/929f8bd8d925b74fe753077c703d287e.jpg","text":"TemporaryFile(/tmp/multipartBody207838816974005474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684759083,"filename":"image_24012025_03_10_02_596578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06ba2fcd13b576328c557544946b504c.jpg","text":"TemporaryFile(/tmp/multipartBody1896494701860909967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684759083,"filename":"image_24012025_03_10_02_596578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1edf7b325ed5d65ff31b0ceca0ede783.jpg","text":"TemporaryFile(/tmp/multipartBody8294155196894994991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684759083,"filename":"image_24012025_03_10_02_596578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac9b37b31c1bf069a88d8e592d914214.jpg","text":"TemporaryFile(/tmp/multipartBody5873124611352270976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684759083,"filename":"image_24012025_03_09_03_110728_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3c15817b532c3d35df297a50b523007c.jpg","text":"TemporaryFile(/tmp/multipartBody2381901994952579363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684759083,"filename":"image_24012025_03_11_02_242366_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330921275","file1":"1330921272","file0":"1330921269","file4":"1330921281","file5":"1330921286","file3":"1330921279"},"map_files_photo_id_array":[{"photo_id":"1330921286","filename":"file5"},{"photo_id":"1330921275","filename":"file2"},{"photo_id":"1330921281","filename":"file4"},{"photo_id":"1330921272","filename":"file1"},{"photo_id":"1330921269","filename":"file0"},{"photo_id":"1330921279","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330921279":["hashtag1","hashtag2"]},{"1330921281":["hashtag1","hashtag2"]},{"1330921272":["hashtag1","hashtag2"]},{"1330921275":["hashtag1","hashtag2"]},{"1330921269":["hashtag1","hashtag2"]},{"1330921286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330921279, 1330921281, 1330921272, 1330921275, 1330921269, 1330921286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.22080159187317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:12:22.043331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0001.jpg', '/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0002.jpg', '/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0003.jpg', '/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0000.jpg', '/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0001.jpg', '/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0001.jpg
/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0002.jpg
/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0003.jpg
/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0000.jpg
/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0001.jpg
/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.750849723815918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:13:03.120558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0001.jpg', '/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0002.jpg', '/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0003.jpg', '/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0000.jpg', '/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0001.jpg', '/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0001.jpg
/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0002.jpg
/home/pi/Desktop/images/24012025/03/11/image_24012025_03_11_02_242366_0003.jpg
/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0000.jpg
/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0001.jpg
/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330921372","1330921369","1330921357","1330921345","1330921365","1330921353"],"photo_ids_order":["1330921345","1330921353","1330921357","1330921365","1330921369","1330921372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/76ecd20e4ae6fc3662fdc56e7225b5f0.jpg","text":"TemporaryFile(/tmp/multipartBody3236026273898884706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684859344,"filename":"image_24012025_03_12_02_749191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/baf9a8c1ebc47d2416cd801cf8180218.jpg","text":"TemporaryFile(/tmp/multipartBody4844791711847609561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684859344,"filename":"image_24012025_03_12_02_749191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e5913d3fb518061d0b321964b288eb43.jpg","text":"TemporaryFile(/tmp/multipartBody5055437498451322826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684859344,"filename":"image_24012025_03_11_02_242366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/57e56c1f6235442880c78ee95447d17c.jpg","text":"TemporaryFile(/tmp/multipartBody8841281240634237805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684859344,"filename":"image_24012025_03_11_02_242366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/549c477ad27478b0bd277d8b0d977669.jpg","text":"TemporaryFile(/tmp/multipartBody8180711601387707257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684859344,"filename":"image_24012025_03_12_02_749191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0b8270588ba2db1777efebd567e0dd7.jpg","text":"TemporaryFile(/tmp/multipartBody7846881675776459407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684859344,"filename":"image_24012025_03_11_02_242366_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330921357","file1":"1330921353","file0":"1330921345","file4":"1330921369","file5":"1330921372","file3":"1330921365"},"map_files_photo_id_array":[{"photo_id":"1330921372","filename":"file5"},{"photo_id":"1330921357","filename":"file2"},{"photo_id":"1330921369","filename":"file4"},{"photo_id":"1330921353","filename":"file1"},{"photo_id":"1330921345","filename":"file0"},{"photo_id":"1330921365","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330921372":["hashtag1","hashtag2"]},{"1330921369":["hashtag1","hashtag2"]},{"1330921357":["hashtag1","hashtag2"]},{"1330921345":["hashtag1","hashtag2"]},{"1330921365":["hashtag1","hashtag2"]},{"1330921353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330921372, 1330921369, 1330921357, 1330921345, 1330921365, 1330921353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.93422317504883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:14:02.540721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0003.jpg', '/home/pi/Desktop/images/24012025/03/13/image_24012025_03_13_02_400508_0000.jpg', '/home/pi/Desktop/images/24012025/03/13/image_24012025_03_13_02_400508_0001.jpg', '/home/pi/Desktop/images/24012025/03/13/image_24012025_03_13_02_400508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/12/image_24012025_03_12_02_749191_0003.jpg
/home/pi/Desktop/images/24012025/03/13/image_24012025_03_13_02_400508_0000.jpg
/home/pi/Desktop/images/24012025/03/13/image_24012025_03_13_02_400508_0001.jpg
/home/pi/Desktop/images/24012025/03/13/image_24012025_03_13_02_400508_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330921467","1330921391","1330921382","1330921385"],"photo_ids_order":["1330921382","1330921385","1330921391","1330921467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6d67bf9de656b634985dec4a1c2f9022.jpg","text":"TemporaryFile(/tmp/multipartBody1427055326530124515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684914143,"filename":"image_24012025_03_13_02_400508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e7ccbcc8fe0d505d92270e3bf28323dc.jpg","text":"TemporaryFile(/tmp/multipartBody5030137514833308119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684914143,"filename":"image_24012025_03_13_02_400508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48f2f640f285dd360d34c5fb636aa101.jpg","text":"TemporaryFile(/tmp/multipartBody7111062405607264528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684914143,"filename":"image_24012025_03_12_02_749191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d5f0744c433557ac27acb398d7991939.jpg","text":"TemporaryFile(/tmp/multipartBody6905554453862912557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684914143,"filename":"image_24012025_03_13_02_400508_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330921391","file1":"1330921385","file0":"1330921382","file3":"1330921467"},"map_files_photo_id_array":[{"photo_id":"1330921391","filename":"file2"},{"photo_id":"1330921385","filename":"file1"},{"photo_id":"1330921382","filename":"file0"},{"photo_id":"1330921467","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330921467":["hashtag1","hashtag2"]},{"1330921391":["hashtag1","hashtag2"]},{"1330921382":["hashtag1","hashtag2"]},{"1330921385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330921467, 1330921391, 1330921382, 1330921385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.16756272315979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:15:03.413117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/13/image_24012025_03_13_02_400508_0003.jpg', '/home/pi/Desktop/images/24012025/03/14/image_24012025_03_14_02_964373_0000.jpg', '/home/pi/Desktop/images/24012025/03/14/image_24012025_03_14_02_964373_0001.jpg', '/home/pi/Desktop/images/24012025/03/14/image_24012025_03_14_02_964373_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/13/image_24012025_03_13_02_400508_0003.jpg
/home/pi/Desktop/images/24012025/03/14/image_24012025_03_14_02_964373_0000.jpg
/home/pi/Desktop/images/24012025/03/14/image_24012025_03_14_02_964373_0001.jpg
/home/pi/Desktop/images/24012025/03/14/image_24012025_03_14_02_964373_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330921594","1330921633","1330921589","1330921640"],"photo_ids_order":["1330921589","1330921594","1330921633","1330921640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74cd1bde794cf9c4264b7800bd7b0dc7.jpg","text":"TemporaryFile(/tmp/multipartBody526102252303085116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684975089,"filename":"image_24012025_03_14_02_964373_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51c189a171fa7ad53296ffd9fb7c8c5e.jpg","text":"TemporaryFile(/tmp/multipartBody2131365823323408391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684975089,"filename":"image_24012025_03_14_02_964373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/933616f48ad5cd8dc1146b19d5e61d94.jpg","text":"TemporaryFile(/tmp/multipartBody5031729885275352939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684975089,"filename":"image_24012025_03_13_02_400508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37b81b28d2ceadf5c20b882a7c5fac5f.jpg","text":"TemporaryFile(/tmp/multipartBody3814454567503934192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737684975089,"filename":"image_24012025_03_14_02_964373_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330921633","file1":"1330921594","file0":"1330921589","file3":"1330921640"},"map_files_photo_id_array":[{"photo_id":"1330921633","filename":"file2"},{"photo_id":"1330921594","filename":"file1"},{"photo_id":"1330921589","filename":"file0"},{"photo_id":"1330921640","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330921594":["hashtag1","hashtag2"]},{"1330921633":["hashtag1","hashtag2"]},{"1330921589":["hashtag1","hashtag2"]},{"1330921640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330921594, 1330921633, 1330921589, 1330921640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.732295751571655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:16:02.869389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/14/image_24012025_03_14_02_964373_0003.jpg', '/home/pi/Desktop/images/24012025/03/15/image_24012025_03_15_02_577569_0000.jpg', '/home/pi/Desktop/images/24012025/03/15/image_24012025_03_15_02_577569_0001.jpg', '/home/pi/Desktop/images/24012025/03/15/image_24012025_03_15_02_577569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/14/image_24012025_03_14_02_964373_0003.jpg
/home/pi/Desktop/images/24012025/03/15/image_24012025_03_15_02_577569_0000.jpg
/home/pi/Desktop/images/24012025/03/15/image_24012025_03_15_02_577569_0001.jpg
/home/pi/Desktop/images/24012025/03/15/image_24012025_03_15_02_577569_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330921838","1330921860","1330921827","1330921820"],"photo_ids_order":["1330921820","1330921827","1330921838","1330921860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/86339e4c625d628c0484a69bd33a61cc.jpg","text":"TemporaryFile(/tmp/multipartBody6172844920534030689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685034637,"filename":"image_24012025_03_15_02_577569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aa564d4a6d95b6095a4c5c8bf9946b14.jpg","text":"TemporaryFile(/tmp/multipartBody5450670779945281163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685034637,"filename":"image_24012025_03_15_02_577569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/424b78a52c1613cf2b855b920c98078e.jpg","text":"TemporaryFile(/tmp/multipartBody2274259619617620410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685034637,"filename":"image_24012025_03_15_02_577569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a2601b4ab284fa8f7cd6f8a9de2819f.jpg","text":"TemporaryFile(/tmp/multipartBody3069876231140446897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685034637,"filename":"image_24012025_03_14_02_964373_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330921838","file1":"1330921827","file0":"1330921820","file3":"1330921860"},"map_files_photo_id_array":[{"photo_id":"1330921838","filename":"file2"},{"photo_id":"1330921827","filename":"file1"},{"photo_id":"1330921820","filename":"file0"},{"photo_id":"1330921860","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330921838":["hashtag1","hashtag2"]},{"1330921860":["hashtag1","hashtag2"]},{"1330921827":["hashtag1","hashtag2"]},{"1330921820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330921838, 1330921860, 1330921827, 1330921820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.944037437438965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:17:02.506982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/15/image_24012025_03_15_02_577569_0003.jpg', '/home/pi/Desktop/images/24012025/03/16/image_24012025_03_16_03_063792_0000.jpg', '/home/pi/Desktop/images/24012025/03/16/image_24012025_03_16_03_063792_0001.jpg', '/home/pi/Desktop/images/24012025/03/16/image_24012025_03_16_03_063792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/15/image_24012025_03_15_02_577569_0003.jpg
/home/pi/Desktop/images/24012025/03/16/image_24012025_03_16_03_063792_0000.jpg
/home/pi/Desktop/images/24012025/03/16/image_24012025_03_16_03_063792_0001.jpg
/home/pi/Desktop/images/24012025/03/16/image_24012025_03_16_03_063792_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330921948","1330921953","1330921940","1330921928"],"photo_ids_order":["1330921928","1330921940","1330921948","1330921953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d4c116f7dd905222e295f72dfe1c5f76.jpg","text":"TemporaryFile(/tmp/multipartBody5481097703609965092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685094151,"filename":"image_24012025_03_16_03_063792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6d7f43433ed3acbbf472e596b8e3598a.jpg","text":"TemporaryFile(/tmp/multipartBody7759089801795751191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685094151,"filename":"image_24012025_03_16_03_063792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a994e9a448af90b194e9f2821f98ff2a.jpg","text":"TemporaryFile(/tmp/multipartBody4441604028275798771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685094151,"filename":"image_24012025_03_16_03_063792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf0d29a762738410f3639bb4f9212607.jpg","text":"TemporaryFile(/tmp/multipartBody9053986026809431665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685094151,"filename":"image_24012025_03_15_02_577569_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330921948","file1":"1330921940","file0":"1330921928","file3":"1330921953"},"map_files_photo_id_array":[{"photo_id":"1330921948","filename":"file2"},{"photo_id":"1330921940","filename":"file1"},{"photo_id":"1330921928","filename":"file0"},{"photo_id":"1330921953","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330921948":["hashtag1","hashtag2"]},{"1330921953":["hashtag1","hashtag2"]},{"1330921940":["hashtag1","hashtag2"]},{"1330921928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330921948, 1330921953, 1330921940, 1330921928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33948540687561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:18:02.968637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/16/image_24012025_03_16_03_063792_0003.jpg', '/home/pi/Desktop/images/24012025/03/17/image_24012025_03_17_02_718747_0000.jpg', '/home/pi/Desktop/images/24012025/03/17/image_24012025_03_17_02_718747_0001.jpg', '/home/pi/Desktop/images/24012025/03/17/image_24012025_03_17_02_718747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/16/image_24012025_03_16_03_063792_0003.jpg
/home/pi/Desktop/images/24012025/03/17/image_24012025_03_17_02_718747_0000.jpg
/home/pi/Desktop/images/24012025/03/17/image_24012025_03_17_02_718747_0001.jpg
/home/pi/Desktop/images/24012025/03/17/image_24012025_03_17_02_718747_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330921993","1330921969","1330922085","1330921974"],"photo_ids_order":["1330921969","1330921974","1330921993","1330922085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab7816852d97bfd23671fce570e1ff9e.jpg","text":"TemporaryFile(/tmp/multipartBody6848657158228031262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685154227,"filename":"image_24012025_03_17_02_718747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a3edafa563d75b9144d711a3476931dc.jpg","text":"TemporaryFile(/tmp/multipartBody2196431391864712085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685154227,"filename":"image_24012025_03_16_03_063792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e3bb6db77db39ac026b9dda777b8afb1.jpg","text":"TemporaryFile(/tmp/multipartBody1972595908811363184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685154227,"filename":"image_24012025_03_17_02_718747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e0341ad784e485540a7468770eda7f4a.jpg","text":"TemporaryFile(/tmp/multipartBody2126293750629339785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685154227,"filename":"image_24012025_03_17_02_718747_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330921993","file1":"1330921974","file0":"1330921969","file3":"1330922085"},"map_files_photo_id_array":[{"photo_id":"1330921993","filename":"file2"},{"photo_id":"1330921974","filename":"file1"},{"photo_id":"1330921969","filename":"file0"},{"photo_id":"1330922085","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330921993":["hashtag1","hashtag2"]},{"1330921969":["hashtag1","hashtag2"]},{"1330922085":["hashtag1","hashtag2"]},{"1330921974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330921993, 1330921969, 1330922085, 1330921974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.16272473335266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:19:02.684921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/17/image_24012025_03_17_02_718747_0003.jpg', '/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0000.jpg', '/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0001.jpg', '/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/17/image_24012025_03_17_02_718747_0003.jpg
/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0000.jpg
/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0001.jpg
/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.581508874893188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:19:22.061418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/17/image_24012025_03_17_02_718747_0003.jpg', '/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0000.jpg', '/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0001.jpg', '/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0002.jpg', '/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0003.jpg', '/home/pi/Desktop/images/24012025/03/19/image_24012025_03_19_02_927525_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/17/image_24012025_03_17_02_718747_0003.jpg
/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0000.jpg
/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0001.jpg
/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0002.jpg
/home/pi/Desktop/images/24012025/03/18/image_24012025_03_18_02_261026_0003.jpg
/home/pi/Desktop/images/24012025/03/19/image_24012025_03_19_02_927525_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330922356","1330922218","1330922358","1330922352","1330922232","1330922226"],"photo_ids_order":["1330922218","1330922226","1330922232","1330922352","1330922356","1330922358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad5a150af40b2e773463f06e34d92694.jpg","text":"TemporaryFile(/tmp/multipartBody6318989155512886846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685238173,"filename":"image_24012025_03_18_02_261026_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eb7a324b2aeaa7d02218b673ed6dbc74.jpg","text":"TemporaryFile(/tmp/multipartBody1512354243275226330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685238173,"filename":"image_24012025_03_17_02_718747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bfad486b3ae97a79eefbc0eacb8c0d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8363453599393052021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685238173,"filename":"image_24012025_03_19_02_927525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74a2f5d851f26c34f6b2880d6713e21e.jpg","text":"TemporaryFile(/tmp/multipartBody9116184670012699725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685238173,"filename":"image_24012025_03_18_02_261026_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f9e8270881fd1cd9e14db111f6a604e4.jpg","text":"TemporaryFile(/tmp/multipartBody8166933123005108468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685238173,"filename":"image_24012025_03_18_02_261026_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee12103de72d761a836a3f8dbfbc800b.jpg","text":"TemporaryFile(/tmp/multipartBody3463673684545998448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685238173,"filename":"image_24012025_03_18_02_261026_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330922232","file1":"1330922226","file0":"1330922218","file4":"1330922356","file5":"1330922358","file3":"1330922352"},"map_files_photo_id_array":[{"photo_id":"1330922358","filename":"file5"},{"photo_id":"1330922232","filename":"file2"},{"photo_id":"1330922356","filename":"file4"},{"photo_id":"1330922226","filename":"file1"},{"photo_id":"1330922218","filename":"file0"},{"photo_id":"1330922352","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330922356":["hashtag1","hashtag2"]},{"1330922218":["hashtag1","hashtag2"]},{"1330922358":["hashtag1","hashtag2"]},{"1330922352":["hashtag1","hashtag2"]},{"1330922232":["hashtag1","hashtag2"]},{"1330922226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330922356, 1330922218, 1330922358, 1330922352, 1330922232, 1330922226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.79076528549194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:20:22.734509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/19/image_24012025_03_19_02_927525_0001.jpg', '/home/pi/Desktop/images/24012025/03/19/image_24012025_03_19_02_927525_0002.jpg', '/home/pi/Desktop/images/24012025/03/19/image_24012025_03_19_02_927525_0003.jpg', '/home/pi/Desktop/images/24012025/03/20/image_24012025_03_20_02_391781_0000.jpg', '/home/pi/Desktop/images/24012025/03/20/image_24012025_03_20_02_391781_0001.jpg', '/home/pi/Desktop/images/24012025/03/20/image_24012025_03_20_02_391781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/19/image_24012025_03_19_02_927525_0001.jpg
/home/pi/Desktop/images/24012025/03/19/image_24012025_03_19_02_927525_0002.jpg
/home/pi/Desktop/images/24012025/03/19/image_24012025_03_19_02_927525_0003.jpg
/home/pi/Desktop/images/24012025/03/20/image_24012025_03_20_02_391781_0000.jpg
/home/pi/Desktop/images/24012025/03/20/image_24012025_03_20_02_391781_0001.jpg
/home/pi/Desktop/images/24012025/03/20/image_24012025_03_20_02_391781_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330922458","1330922452","1330922472","1330922469","1330922463","1330922477"],"photo_ids_order":["1330922452","1330922458","1330922463","1330922469","1330922472","1330922477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23814435756891f3f34cde2d2501bd77.jpg","text":"TemporaryFile(/tmp/multipartBody4371765923329836661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685299227,"filename":"image_24012025_03_19_02_927525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8ab88c45e54a76323b37bb99b3f8d8e.jpg","text":"TemporaryFile(/tmp/multipartBody4808182612696802841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685299227,"filename":"image_24012025_03_19_02_927525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/99bd4a005f03f7c5a69092328a9f89cd.jpg","text":"TemporaryFile(/tmp/multipartBody5209797690168544849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685299227,"filename":"image_24012025_03_20_02_391781_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5f04a785d17693041c6077ba1c00bb87.jpg","text":"TemporaryFile(/tmp/multipartBody511218662831656306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685299227,"filename":"image_24012025_03_20_02_391781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c49920e15b273c4397b6fa3c2447337c.jpg","text":"TemporaryFile(/tmp/multipartBody6065565436443164802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685299227,"filename":"image_24012025_03_19_02_927525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0f2075ce05f9c906ff6043748ead5e00.jpg","text":"TemporaryFile(/tmp/multipartBody8948348904472844981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685299227,"filename":"image_24012025_03_20_02_391781_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330922463","file1":"1330922458","file0":"1330922452","file4":"1330922472","file5":"1330922477","file3":"1330922469"},"map_files_photo_id_array":[{"photo_id":"1330922477","filename":"file5"},{"photo_id":"1330922463","filename":"file2"},{"photo_id":"1330922472","filename":"file4"},{"photo_id":"1330922458","filename":"file1"},{"photo_id":"1330922452","filename":"file0"},{"photo_id":"1330922469","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330922458":["hashtag1","hashtag2"]},{"1330922452":["hashtag1","hashtag2"]},{"1330922472":["hashtag1","hashtag2"]},{"1330922469":["hashtag1","hashtag2"]},{"1330922463":["hashtag1","hashtag2"]},{"1330922477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330922458, 1330922452, 1330922472, 1330922469, 1330922463, 1330922477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.428619384765625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:21:22.188481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/20/image_24012025_03_20_02_391781_0003.jpg', '/home/pi/Desktop/images/24012025/03/21/image_24012025_03_21_03_111887_0000.jpg', '/home/pi/Desktop/images/24012025/03/21/image_24012025_03_21_03_111887_0001.jpg', '/home/pi/Desktop/images/24012025/03/21/image_24012025_03_21_03_111887_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/20/image_24012025_03_20_02_391781_0003.jpg
/home/pi/Desktop/images/24012025/03/21/image_24012025_03_21_03_111887_0000.jpg
/home/pi/Desktop/images/24012025/03/21/image_24012025_03_21_03_111887_0001.jpg
/home/pi/Desktop/images/24012025/03/21/image_24012025_03_21_03_111887_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330923069","1330923063","1330923059","1330923050"],"photo_ids_order":["1330923050","1330923059","1330923063","1330923069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b54dd0831540700e22a4c6cf9646f0ce.jpg","text":"TemporaryFile(/tmp/multipartBody8113197719243350920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685353252,"filename":"image_24012025_03_21_03_111887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd0358e3075ba6c358463699140b2203.jpg","text":"TemporaryFile(/tmp/multipartBody1767402652165516359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685353252,"filename":"image_24012025_03_21_03_111887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c8a28f55d40f94a18402ec553f1bebe2.jpg","text":"TemporaryFile(/tmp/multipartBody6891608907190955734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685353252,"filename":"image_24012025_03_21_03_111887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/36d6b52c1851b757510d97e543a544de.jpg","text":"TemporaryFile(/tmp/multipartBody1055268124655241508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685353252,"filename":"image_24012025_03_20_02_391781_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330923063","file1":"1330923059","file0":"1330923050","file3":"1330923069"},"map_files_photo_id_array":[{"photo_id":"1330923063","filename":"file2"},{"photo_id":"1330923059","filename":"file1"},{"photo_id":"1330923050","filename":"file0"},{"photo_id":"1330923069","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330923069":["hashtag1","hashtag2"]},{"1330923063":["hashtag1","hashtag2"]},{"1330923059":["hashtag1","hashtag2"]},{"1330923050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330923069, 1330923063, 1330923059, 1330923050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15046977996826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:22:21.767116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/21/image_24012025_03_21_03_111887_0003.jpg', '/home/pi/Desktop/images/24012025/03/22/image_24012025_03_22_02_615829_0000.jpg', '/home/pi/Desktop/images/24012025/03/22/image_24012025_03_22_02_615829_0001.jpg', '/home/pi/Desktop/images/24012025/03/22/image_24012025_03_22_02_615829_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/21/image_24012025_03_21_03_111887_0003.jpg
/home/pi/Desktop/images/24012025/03/22/image_24012025_03_22_02_615829_0000.jpg
/home/pi/Desktop/images/24012025/03/22/image_24012025_03_22_02_615829_0001.jpg
/home/pi/Desktop/images/24012025/03/22/image_24012025_03_22_02_615829_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330923462","1330923363","1330923147","1330923194"],"photo_ids_order":["1330923147","1330923194","1330923363","1330923462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1cdfbaf4b96aa60f58d6253b0e3d9beb.jpg","text":"TemporaryFile(/tmp/multipartBody324577774382229664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685413036,"filename":"image_24012025_03_22_02_615829_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aa3b2421f43c333cedc74c7be0d54a0d.jpg","text":"TemporaryFile(/tmp/multipartBody3881678126642181642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685413036,"filename":"image_24012025_03_22_02_615829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f78d7daca44f33b3b56696ad086ad772.jpg","text":"TemporaryFile(/tmp/multipartBody2323782774054598689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685413036,"filename":"image_24012025_03_21_03_111887_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/180624c1481d6f23196b0e576435cde2.jpg","text":"TemporaryFile(/tmp/multipartBody4433596816674975426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685413036,"filename":"image_24012025_03_22_02_615829_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330923363","file1":"1330923194","file0":"1330923147","file3":"1330923462"},"map_files_photo_id_array":[{"photo_id":"1330923363","filename":"file2"},{"photo_id":"1330923194","filename":"file1"},{"photo_id":"1330923147","filename":"file0"},{"photo_id":"1330923462","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330923462":["hashtag1","hashtag2"]},{"1330923363":["hashtag1","hashtag2"]},{"1330923147":["hashtag1","hashtag2"]},{"1330923194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330923462, 1330923363, 1330923147, 1330923194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07495617866516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:23:02.935302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/56/image_21012025_19_56_02_907806_0002.jpg', '/home/pi/Desktop/images/21012025/19/56/image_21012025_19_56_02_907806_0003.jpg', '/home/pi/Desktop/images/21012025/19/57/image_21012025_19_57_03_178104_0000.jpg', '/home/pi/Desktop/images/21012025/19/57/image_21012025_19_57_03_178104_0001.jpg', '/home/pi/Desktop/images/21012025/19/57/image_21012025_19_57_03_178104_0002.jpg', '/home/pi/Desktop/images/21012025/19/57/image_21012025_19_57_03_178104_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/56/image_21012025_19_56_02_907806_0002.jpg
/home/pi/Desktop/images/21012025/19/56/image_21012025_19_56_02_907806_0003.jpg
/home/pi/Desktop/images/21012025/19/57/image_21012025_19_57_03_178104_0000.jpg
/home/pi/Desktop/images/21012025/19/57/image_21012025_19_57_03_178104_0001.jpg
/home/pi/Desktop/images/21012025/19/57/image_21012025_19_57_03_178104_0002.jpg
/home/pi/Desktop/images/21012025/19/57/image_21012025_19_57_03_178104_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330923546","1330923555","1330923683","1330923704","1330923568","1330923649"],"photo_ids_order":["1330923546","1330923555","1330923568","1330923649","1330923683","1330923704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1d5d190114150a3fd91a5816cdcd5e8f.jpg","text":"TemporaryFile(/tmp/multipartBody1115694858594979739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685461146,"filename":"image_21012025_19_56_02_907806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e41d4c0e0efd4b7c7350a8ab1fbec63e.jpg","text":"TemporaryFile(/tmp/multipartBody7558949387678597656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685461146,"filename":"image_21012025_19_56_02_907806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f4de1a5e95bc75b43171d280c7842c9.jpg","text":"TemporaryFile(/tmp/multipartBody5866917387953855040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685461146,"filename":"image_21012025_19_57_03_178104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d6868e999a6a4a163b27e37aa65ef743.jpg","text":"TemporaryFile(/tmp/multipartBody6927721641158414595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685461146,"filename":"image_21012025_19_57_03_178104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f6e967117269255b4dbda5d3bbf9f14f.jpg","text":"TemporaryFile(/tmp/multipartBody8612681743596912010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685461146,"filename":"image_21012025_19_57_03_178104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/09587335078f8b5ea97b960ff8b16f22.jpg","text":"TemporaryFile(/tmp/multipartBody7915217125708205214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685461146,"filename":"image_21012025_19_57_03_178104_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330923568","file1":"1330923555","file0":"1330923546","file4":"1330923683","file5":"1330923704","file3":"1330923649"},"map_files_photo_id_array":[{"photo_id":"1330923704","filename":"file5"},{"photo_id":"1330923568","filename":"file2"},{"photo_id":"1330923683","filename":"file4"},{"photo_id":"1330923555","filename":"file1"},{"photo_id":"1330923546","filename":"file0"},{"photo_id":"1330923649","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330923546":["hashtag1","hashtag2"]},{"1330923555":["hashtag1","hashtag2"]},{"1330923683":["hashtag1","hashtag2"]},{"1330923704":["hashtag1","hashtag2"]},{"1330923568":["hashtag1","hashtag2"]},{"1330923649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330923546, 1330923555, 1330923683, 1330923704, 1330923568, 1330923649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.19779944419861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:24:21.813668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/22/image_24012025_03_22_02_615829_0003.jpg', '/home/pi/Desktop/images/24012025/03/23/image_24012025_03_23_02_113892_0000.jpg', '/home/pi/Desktop/images/24012025/03/23/image_24012025_03_23_02_113892_0001.jpg', '/home/pi/Desktop/images/24012025/03/23/image_24012025_03_23_02_113892_0002.jpg', '/home/pi/Desktop/images/24012025/03/23/image_24012025_03_23_02_113892_0003.jpg', '/home/pi/Desktop/images/24012025/03/24/image_24012025_03_24_02_548499_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/22/image_24012025_03_22_02_615829_0003.jpg
/home/pi/Desktop/images/24012025/03/23/image_24012025_03_23_02_113892_0000.jpg
/home/pi/Desktop/images/24012025/03/23/image_24012025_03_23_02_113892_0001.jpg
/home/pi/Desktop/images/24012025/03/23/image_24012025_03_23_02_113892_0002.jpg
/home/pi/Desktop/images/24012025/03/23/image_24012025_03_23_02_113892_0003.jpg
/home/pi/Desktop/images/24012025/03/24/image_24012025_03_24_02_548499_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330923761","1330923755","1330923775","1330923787","1330923748","1330923742"],"photo_ids_order":["1330923742","1330923748","1330923755","1330923761","1330923775","1330923787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ebcb179c600615477c52db9e07891026.jpg","text":"TemporaryFile(/tmp/multipartBody2051680474482128999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685538501,"filename":"image_24012025_03_23_02_113892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dae6467d38b5f5d09dd123e46004c303.jpg","text":"TemporaryFile(/tmp/multipartBody8202315609441056306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685538501,"filename":"image_24012025_03_23_02_113892_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fdfdf73260115316921e365e30be915b.jpg","text":"TemporaryFile(/tmp/multipartBody5652798719273832435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685538501,"filename":"image_24012025_03_23_02_113892_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e9f45278be1e9997cb65ab858a649e32.jpg","text":"TemporaryFile(/tmp/multipartBody1895015674347562501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685538501,"filename":"image_24012025_03_24_02_548499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/04c3ed055188cf053957ca7b6bf8444b.jpg","text":"TemporaryFile(/tmp/multipartBody530926775479327076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685538501,"filename":"image_24012025_03_23_02_113892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3f6625c853f612d5fb17b8a1be466f39.jpg","text":"TemporaryFile(/tmp/multipartBody7736531291611700417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685538501,"filename":"image_24012025_03_22_02_615829_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330923755","file1":"1330923748","file0":"1330923742","file4":"1330923775","file5":"1330923787","file3":"1330923761"},"map_files_photo_id_array":[{"photo_id":"1330923787","filename":"file5"},{"photo_id":"1330923755","filename":"file2"},{"photo_id":"1330923775","filename":"file4"},{"photo_id":"1330923748","filename":"file1"},{"photo_id":"1330923742","filename":"file0"},{"photo_id":"1330923761","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330923761":["hashtag1","hashtag2"]},{"1330923755":["hashtag1","hashtag2"]},{"1330923775":["hashtag1","hashtag2"]},{"1330923787":["hashtag1","hashtag2"]},{"1330923748":["hashtag1","hashtag2"]},{"1330923742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330923761, 1330923755, 1330923775, 1330923787, 1330923748, 1330923742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.35206866264343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:25:22.362344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/24/image_24012025_03_24_02_548499_0001.jpg', '/home/pi/Desktop/images/24012025/03/24/image_24012025_03_24_02_548499_0002.jpg', '/home/pi/Desktop/images/24012025/03/24/image_24012025_03_24_02_548499_0003.jpg', '/home/pi/Desktop/images/24012025/03/25/image_24012025_03_25_02_177821_0000.jpg', '/home/pi/Desktop/images/24012025/03/25/image_24012025_03_25_02_177821_0001.jpg', '/home/pi/Desktop/images/24012025/03/25/image_24012025_03_25_02_177821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/24/image_24012025_03_24_02_548499_0001.jpg
/home/pi/Desktop/images/24012025/03/24/image_24012025_03_24_02_548499_0002.jpg
/home/pi/Desktop/images/24012025/03/24/image_24012025_03_24_02_548499_0003.jpg
/home/pi/Desktop/images/24012025/03/25/image_24012025_03_25_02_177821_0000.jpg
/home/pi/Desktop/images/24012025/03/25/image_24012025_03_25_02_177821_0001.jpg
/home/pi/Desktop/images/24012025/03/25/image_24012025_03_25_02_177821_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330923878","1330923851","1330923881","1330923860","1330923856","1330923871"],"photo_ids_order":["1330923851","1330923856","1330923860","1330923871","1330923878","1330923881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b699d7937a15ba3e460f9555d1988cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6645557307136516067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685598900,"filename":"image_24012025_03_25_02_177821_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8cab35ca65a4b384936dc1b9d94681db.jpg","text":"TemporaryFile(/tmp/multipartBody8142808128074269432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685598900,"filename":"image_24012025_03_24_02_548499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/41950a9725bff6c079a4a5f779191e83.jpg","text":"TemporaryFile(/tmp/multipartBody115986899182538293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685598900,"filename":"image_24012025_03_25_02_177821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65cf47874f077b9f074ac2ed07aece23.jpg","text":"TemporaryFile(/tmp/multipartBody1129131328703533281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685598900,"filename":"image_24012025_03_24_02_548499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e834ab67535c5bdff15573274f6b7197.jpg","text":"TemporaryFile(/tmp/multipartBody3194066096991679603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685598900,"filename":"image_24012025_03_24_02_548499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e86064fd0b17883339e7a5ba7b8f84b3.jpg","text":"TemporaryFile(/tmp/multipartBody8929081761270679572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685598900,"filename":"image_24012025_03_25_02_177821_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330923860","file1":"1330923856","file0":"1330923851","file4":"1330923878","file5":"1330923881","file3":"1330923871"},"map_files_photo_id_array":[{"photo_id":"1330923881","filename":"file5"},{"photo_id":"1330923860","filename":"file2"},{"photo_id":"1330923878","filename":"file4"},{"photo_id":"1330923856","filename":"file1"},{"photo_id":"1330923851","filename":"file0"},{"photo_id":"1330923871","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330923878":["hashtag1","hashtag2"]},{"1330923851":["hashtag1","hashtag2"]},{"1330923881":["hashtag1","hashtag2"]},{"1330923860":["hashtag1","hashtag2"]},{"1330923856":["hashtag1","hashtag2"]},{"1330923871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330923878, 1330923851, 1330923881, 1330923860, 1330923856, 1330923871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.38581418991089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:26:21.835513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/25/image_24012025_03_25_02_177821_0003.jpg', '/home/pi/Desktop/images/24012025/03/26/image_24012025_03_26_02_719674_0000.jpg', '/home/pi/Desktop/images/24012025/03/26/image_24012025_03_26_02_719674_0001.jpg', '/home/pi/Desktop/images/24012025/03/26/image_24012025_03_26_02_719674_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/25/image_24012025_03_25_02_177821_0003.jpg
/home/pi/Desktop/images/24012025/03/26/image_24012025_03_26_02_719674_0000.jpg
/home/pi/Desktop/images/24012025/03/26/image_24012025_03_26_02_719674_0001.jpg
/home/pi/Desktop/images/24012025/03/26/image_24012025_03_26_02_719674_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330923916","1330923904","1330923921","1330923910"],"photo_ids_order":["1330923904","1330923910","1330923916","1330923921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cb075b8706d7a3217fd7f1844dbee4ed.jpg","text":"TemporaryFile(/tmp/multipartBody7047548986410371764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685653291,"filename":"image_24012025_03_26_02_719674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f17722389423eff70d9ab3e15a14d21f.jpg","text":"TemporaryFile(/tmp/multipartBody8385156644102082321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685653291,"filename":"image_24012025_03_25_02_177821_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fdeb820ad735cf75922382d942ae73a4.jpg","text":"TemporaryFile(/tmp/multipartBody6203641075071789329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685653291,"filename":"image_24012025_03_26_02_719674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72dfb8574098e68d6d5e18f35ba9f990.jpg","text":"TemporaryFile(/tmp/multipartBody7507472861482876340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685653291,"filename":"image_24012025_03_26_02_719674_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330923916","file1":"1330923910","file0":"1330923904","file3":"1330923921"},"map_files_photo_id_array":[{"photo_id":"1330923916","filename":"file2"},{"photo_id":"1330923910","filename":"file1"},{"photo_id":"1330923904","filename":"file0"},{"photo_id":"1330923921","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330923916":["hashtag1","hashtag2"]},{"1330923904":["hashtag1","hashtag2"]},{"1330923921":["hashtag1","hashtag2"]},{"1330923910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330923916, 1330923904, 1330923921, 1330923910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.78683829307556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:27:22.335828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/26/image_24012025_03_26_02_719674_0003.jpg', '/home/pi/Desktop/images/24012025/03/27/image_24012025_03_27_02_204522_0000.jpg', '/home/pi/Desktop/images/24012025/03/27/image_24012025_03_27_02_204522_0001.jpg', '/home/pi/Desktop/images/24012025/03/27/image_24012025_03_27_02_204522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/26/image_24012025_03_26_02_719674_0003.jpg
/home/pi/Desktop/images/24012025/03/27/image_24012025_03_27_02_204522_0000.jpg
/home/pi/Desktop/images/24012025/03/27/image_24012025_03_27_02_204522_0001.jpg
/home/pi/Desktop/images/24012025/03/27/image_24012025_03_27_02_204522_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330923963","1330923957","1330923950","1330923970"],"photo_ids_order":["1330923950","1330923957","1330923963","1330923970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9df2b55b2914f9a60d905ce001b8212c.jpg","text":"TemporaryFile(/tmp/multipartBody7860530506237077475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685713529,"filename":"image_24012025_03_27_02_204522_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7650738bda80fd731c83979541656d44.jpg","text":"TemporaryFile(/tmp/multipartBody8808898904759919963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685713529,"filename":"image_24012025_03_27_02_204522_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/525c4b01ab2775b8ff673dd1fc9148a8.jpg","text":"TemporaryFile(/tmp/multipartBody4292426324609603922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685713529,"filename":"image_24012025_03_26_02_719674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/513cc78406701b1525e4c99fbcf40e79.jpg","text":"TemporaryFile(/tmp/multipartBody6512620806111342892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685713529,"filename":"image_24012025_03_27_02_204522_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330923963","file1":"1330923957","file0":"1330923950","file3":"1330923970"},"map_files_photo_id_array":[{"photo_id":"1330923963","filename":"file2"},{"photo_id":"1330923957","filename":"file1"},{"photo_id":"1330923950","filename":"file0"},{"photo_id":"1330923970","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330923963":["hashtag1","hashtag2"]},{"1330923957":["hashtag1","hashtag2"]},{"1330923950":["hashtag1","hashtag2"]},{"1330923970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330923963, 1330923957, 1330923950, 1330923970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.091615438461304 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:28:21.909876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/27/image_24012025_03_27_02_204522_0003.jpg', '/home/pi/Desktop/images/24012025/03/28/image_24012025_03_28_02_685984_0000.jpg', '/home/pi/Desktop/images/24012025/03/28/image_24012025_03_28_02_685984_0001.jpg', '/home/pi/Desktop/images/24012025/03/28/image_24012025_03_28_02_685984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/27/image_24012025_03_27_02_204522_0003.jpg
/home/pi/Desktop/images/24012025/03/28/image_24012025_03_28_02_685984_0000.jpg
/home/pi/Desktop/images/24012025/03/28/image_24012025_03_28_02_685984_0001.jpg
/home/pi/Desktop/images/24012025/03/28/image_24012025_03_28_02_685984_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330924221","1330924202","1330924240","1330924231"],"photo_ids_order":["1330924202","1330924221","1330924231","1330924240"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/804941b67fa00493b3c09211edf018cc.jpg","text":"TemporaryFile(/tmp/multipartBody2779022216976391827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685773277,"filename":"image_24012025_03_28_02_685984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f33a973d2dd11055c94ab48e0677a287.jpg","text":"TemporaryFile(/tmp/multipartBody6618531420139960445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685773277,"filename":"image_24012025_03_27_02_204522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0b9fe374a3de9ea5f5e2eba3b7a4a638.jpg","text":"TemporaryFile(/tmp/multipartBody8924872922609629986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685773277,"filename":"image_24012025_03_28_02_685984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f808220a2b2955d29506e63fbfb5f104.jpg","text":"TemporaryFile(/tmp/multipartBody4293928947302822094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685773277,"filename":"image_24012025_03_28_02_685984_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330924231","file1":"1330924221","file0":"1330924202","file3":"1330924240"},"map_files_photo_id_array":[{"photo_id":"1330924231","filename":"file2"},{"photo_id":"1330924221","filename":"file1"},{"photo_id":"1330924202","filename":"file0"},{"photo_id":"1330924240","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330924221":["hashtag1","hashtag2"]},{"1330924202":["hashtag1","hashtag2"]},{"1330924240":["hashtag1","hashtag2"]},{"1330924231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330924221, 1330924202, 1330924240, 1330924231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12492871284485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:29:22.336741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/28/image_24012025_03_28_02_685984_0003.jpg', '/home/pi/Desktop/images/24012025/03/29/image_24012025_03_29_02_229776_0000.jpg', '/home/pi/Desktop/images/24012025/03/29/image_24012025_03_29_02_229776_0001.jpg', '/home/pi/Desktop/images/24012025/03/29/image_24012025_03_29_02_229776_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/28/image_24012025_03_28_02_685984_0003.jpg
/home/pi/Desktop/images/24012025/03/29/image_24012025_03_29_02_229776_0000.jpg
/home/pi/Desktop/images/24012025/03/29/image_24012025_03_29_02_229776_0001.jpg
/home/pi/Desktop/images/24012025/03/29/image_24012025_03_29_02_229776_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330924335","1330924329","1330924323","1330924317"],"photo_ids_order":["1330924317","1330924323","1330924329","1330924335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/842a7d136e276803477bcd0fc2be0167.jpg","text":"TemporaryFile(/tmp/multipartBody8727942273006753747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685833757,"filename":"image_24012025_03_29_02_229776_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d218b13918b69c9b27d4f0e30db9a78d.jpg","text":"TemporaryFile(/tmp/multipartBody5539767466230491878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685833757,"filename":"image_24012025_03_29_02_229776_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9e72eb2927a3e1a2752f65570a9e5e1c.jpg","text":"TemporaryFile(/tmp/multipartBody6346777346344960655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685833757,"filename":"image_24012025_03_29_02_229776_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/15fb9a82dba7bdfce6c7083f652e32d6.jpg","text":"TemporaryFile(/tmp/multipartBody6704655128230109316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685833757,"filename":"image_24012025_03_28_02_685984_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330924329","file1":"1330924323","file0":"1330924317","file3":"1330924335"},"map_files_photo_id_array":[{"photo_id":"1330924329","filename":"file2"},{"photo_id":"1330924323","filename":"file1"},{"photo_id":"1330924317","filename":"file0"},{"photo_id":"1330924335","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330924335":["hashtag1","hashtag2"]},{"1330924329":["hashtag1","hashtag2"]},{"1330924323":["hashtag1","hashtag2"]},{"1330924317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330924335, 1330924329, 1330924323, 1330924317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.464019775390625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:30:21.931178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/29/image_24012025_03_29_02_229776_0003.jpg', '/home/pi/Desktop/images/24012025/03/30/image_24012025_03_30_02_783992_0000.jpg', '/home/pi/Desktop/images/24012025/03/30/image_24012025_03_30_02_783992_0001.jpg', '/home/pi/Desktop/images/24012025/03/30/image_24012025_03_30_02_783992_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/29/image_24012025_03_29_02_229776_0003.jpg
/home/pi/Desktop/images/24012025/03/30/image_24012025_03_30_02_783992_0000.jpg
/home/pi/Desktop/images/24012025/03/30/image_24012025_03_30_02_783992_0001.jpg
/home/pi/Desktop/images/24012025/03/30/image_24012025_03_30_02_783992_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330924521","1330924515","1330924509","1330924526"],"photo_ids_order":["1330924509","1330924515","1330924521","1330924526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12231fb5e225a3ed7f4dac4874b568de.jpg","text":"TemporaryFile(/tmp/multipartBody6241623957065781907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685893352,"filename":"image_24012025_03_30_02_783992_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9918445fd68d2b6bcc30246b50bf1037.jpg","text":"TemporaryFile(/tmp/multipartBody7679302990783155274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685893352,"filename":"image_24012025_03_30_02_783992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5f13637bdd17a744b97736ea47e64939.jpg","text":"TemporaryFile(/tmp/multipartBody679130409985027542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685893352,"filename":"image_24012025_03_29_02_229776_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/09ce6fb818913303871fffde3e1ea855.jpg","text":"TemporaryFile(/tmp/multipartBody8500100852899394567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685893352,"filename":"image_24012025_03_30_02_783992_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330924521","file1":"1330924515","file0":"1330924509","file3":"1330924526"},"map_files_photo_id_array":[{"photo_id":"1330924521","filename":"file2"},{"photo_id":"1330924515","filename":"file1"},{"photo_id":"1330924509","filename":"file0"},{"photo_id":"1330924526","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330924521":["hashtag1","hashtag2"]},{"1330924515":["hashtag1","hashtag2"]},{"1330924509":["hashtag1","hashtag2"]},{"1330924526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330924521, 1330924515, 1330924509, 1330924526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.34387159347534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:31:22.433810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/30/image_24012025_03_30_02_783992_0003.jpg', '/home/pi/Desktop/images/24012025/03/31/image_24012025_03_31_02_358332_0000.jpg', '/home/pi/Desktop/images/24012025/03/31/image_24012025_03_31_02_358332_0001.jpg', '/home/pi/Desktop/images/24012025/03/31/image_24012025_03_31_02_358332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/30/image_24012025_03_30_02_783992_0003.jpg
/home/pi/Desktop/images/24012025/03/31/image_24012025_03_31_02_358332_0000.jpg
/home/pi/Desktop/images/24012025/03/31/image_24012025_03_31_02_358332_0001.jpg
/home/pi/Desktop/images/24012025/03/31/image_24012025_03_31_02_358332_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330924584","1330924559","1330924574","1330924564"],"photo_ids_order":["1330924559","1330924564","1330924574","1330924584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a6c82ec77ba131c40ec76caf4fb96f3.jpg","text":"TemporaryFile(/tmp/multipartBody1528111421253943062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685954088,"filename":"image_24012025_03_31_02_358332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d6c2f05b07371d5d008d6e436112d99d.jpg","text":"TemporaryFile(/tmp/multipartBody7036076382535798053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685954088,"filename":"image_24012025_03_30_02_783992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdf05584626c08170679ce0747558031.jpg","text":"TemporaryFile(/tmp/multipartBody3137109926399109089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685954088,"filename":"image_24012025_03_31_02_358332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2419893e614dfb9682b2a9d79ee418f4.jpg","text":"TemporaryFile(/tmp/multipartBody7353495239752776475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737685954088,"filename":"image_24012025_03_31_02_358332_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330924574","file1":"1330924564","file0":"1330924559","file3":"1330924584"},"map_files_photo_id_array":[{"photo_id":"1330924574","filename":"file2"},{"photo_id":"1330924564","filename":"file1"},{"photo_id":"1330924559","filename":"file0"},{"photo_id":"1330924584","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330924584":["hashtag1","hashtag2"]},{"1330924559":["hashtag1","hashtag2"]},{"1330924574":["hashtag1","hashtag2"]},{"1330924564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330924584, 1330924559, 1330924574, 1330924564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.833409547805786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:32:22.004839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/31/image_24012025_03_31_02_358332_0003.jpg', '/home/pi/Desktop/images/24012025/03/32/image_24012025_03_32_02_837234_0000.jpg', '/home/pi/Desktop/images/24012025/03/32/image_24012025_03_32_02_837234_0001.jpg', '/home/pi/Desktop/images/24012025/03/32/image_24012025_03_32_02_837234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/31/image_24012025_03_31_02_358332_0003.jpg
/home/pi/Desktop/images/24012025/03/32/image_24012025_03_32_02_837234_0000.jpg
/home/pi/Desktop/images/24012025/03/32/image_24012025_03_32_02_837234_0001.jpg
/home/pi/Desktop/images/24012025/03/32/image_24012025_03_32_02_837234_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330924761","1330924923","1330924626","1330924621"],"photo_ids_order":["1330924621","1330924626","1330924761","1330924923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/457c09c9d1eb58a4731302e7a4a342ec.jpg","text":"TemporaryFile(/tmp/multipartBody179431596563330395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686013519,"filename":"image_24012025_03_32_02_837234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b47a5581da6234491b1589c2ffd47cc7.jpg","text":"TemporaryFile(/tmp/multipartBody1509493722312219864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686013519,"filename":"image_24012025_03_32_02_837234_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/afe1b982010a96d39ab6d248416c0620.jpg","text":"TemporaryFile(/tmp/multipartBody7545057345256567839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686013519,"filename":"image_24012025_03_32_02_837234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/02bbc79183adb6e1b1a5ed2c18c5f7b3.jpg","text":"TemporaryFile(/tmp/multipartBody2188150959362442901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686013519,"filename":"image_24012025_03_31_02_358332_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330924761","file1":"1330924626","file0":"1330924621","file3":"1330924923"},"map_files_photo_id_array":[{"photo_id":"1330924761","filename":"file2"},{"photo_id":"1330924626","filename":"file1"},{"photo_id":"1330924621","filename":"file0"},{"photo_id":"1330924923","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330924761":["hashtag1","hashtag2"]},{"1330924923":["hashtag1","hashtag2"]},{"1330924626":["hashtag1","hashtag2"]},{"1330924621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330924761, 1330924923, 1330924626, 1330924621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.609238624572754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:33:03.058411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/58/image_21012025_19_58_02_367190_0000.jpg', '/home/pi/Desktop/images/21012025/19/58/image_21012025_19_58_02_367190_0001.jpg', '/home/pi/Desktop/images/21012025/19/58/image_21012025_19_58_02_367190_0002.jpg', '/home/pi/Desktop/images/21012025/19/58/image_21012025_19_58_02_367190_0003.jpg', '/home/pi/Desktop/images/21012025/19/59/image_21012025_19_59_02_564862_0000.jpg', '/home/pi/Desktop/images/21012025/19/59/image_21012025_19_59_02_564862_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/58/image_21012025_19_58_02_367190_0000.jpg
/home/pi/Desktop/images/21012025/19/58/image_21012025_19_58_02_367190_0001.jpg
/home/pi/Desktop/images/21012025/19/58/image_21012025_19_58_02_367190_0002.jpg
/home/pi/Desktop/images/21012025/19/58/image_21012025_19_58_02_367190_0003.jpg
/home/pi/Desktop/images/21012025/19/59/image_21012025_19_59_02_564862_0000.jpg
/home/pi/Desktop/images/21012025/19/59/image_21012025_19_59_02_564862_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330925406","1330925208","1330925210","1330925373","1330925206","1330925325"],"photo_ids_order":["1330925206","1330925208","1330925210","1330925325","1330925373","1330925406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47fc75f591cb58a2fac831afdf27e390.jpg","text":"TemporaryFile(/tmp/multipartBody1292758811886017256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686061125,"filename":"image_21012025_19_59_02_564862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/95c254c1c97430b3c5535f8f12b3f205.jpg","text":"TemporaryFile(/tmp/multipartBody8551659692824256465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686061125,"filename":"image_21012025_19_58_02_367190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e4001ba6de6c10e893be0697401e3d11.jpg","text":"TemporaryFile(/tmp/multipartBody5660156507684028039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686061125,"filename":"image_21012025_19_58_02_367190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ffff80afe4cca68432f60c3ba1878e6.jpg","text":"TemporaryFile(/tmp/multipartBody7549146957745213732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686061125,"filename":"image_21012025_19_59_02_564862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f71c2e4553f2afea7d967594ba659b57.jpg","text":"TemporaryFile(/tmp/multipartBody8386535786288156399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686061125,"filename":"image_21012025_19_58_02_367190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/970fc94cd6516123b912cf40e3a27968.jpg","text":"TemporaryFile(/tmp/multipartBody4225538607203952098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686061125,"filename":"image_21012025_19_58_02_367190_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330925210","file1":"1330925208","file0":"1330925206","file4":"1330925373","file5":"1330925406","file3":"1330925325"},"map_files_photo_id_array":[{"photo_id":"1330925406","filename":"file5"},{"photo_id":"1330925210","filename":"file2"},{"photo_id":"1330925373","filename":"file4"},{"photo_id":"1330925208","filename":"file1"},{"photo_id":"1330925206","filename":"file0"},{"photo_id":"1330925325","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330925406":["hashtag1","hashtag2"]},{"1330925208":["hashtag1","hashtag2"]},{"1330925210":["hashtag1","hashtag2"]},{"1330925373":["hashtag1","hashtag2"]},{"1330925206":["hashtag1","hashtag2"]},{"1330925325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330925406, 1330925208, 1330925210, 1330925373, 1330925206, 1330925325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.24953746795654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:34:02.666484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/32/image_24012025_03_32_02_837234_0003.jpg', '/home/pi/Desktop/images/24012025/03/33/image_24012025_03_33_02_330861_0000.jpg', '/home/pi/Desktop/images/24012025/03/33/image_24012025_03_33_02_330861_0001.jpg', '/home/pi/Desktop/images/24012025/03/33/image_24012025_03_33_02_330861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/32/image_24012025_03_32_02_837234_0003.jpg
/home/pi/Desktop/images/24012025/03/33/image_24012025_03_33_02_330861_0000.jpg
/home/pi/Desktop/images/24012025/03/33/image_24012025_03_33_02_330861_0001.jpg
/home/pi/Desktop/images/24012025/03/33/image_24012025_03_33_02_330861_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330925486","1330925474","1330925497","1330925493"],"photo_ids_order":["1330925474","1330925486","1330925493","1330925497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f5dee8043fec016a19327d48594d81e.jpg","text":"TemporaryFile(/tmp/multipartBody5198974127270213520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686113687,"filename":"image_24012025_03_33_02_330861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21987555340ce6b29f007cadfac23d52.jpg","text":"TemporaryFile(/tmp/multipartBody7684570938684637688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686113687,"filename":"image_24012025_03_32_02_837234_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e5bf0055dc2fc5d54c7e4463f14eaee.jpg","text":"TemporaryFile(/tmp/multipartBody8098705493266425245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686113687,"filename":"image_24012025_03_33_02_330861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a15ec13343f4d0ec85c98ee88fe8e94.jpg","text":"TemporaryFile(/tmp/multipartBody7701099693906684987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686113687,"filename":"image_24012025_03_33_02_330861_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330925493","file1":"1330925486","file0":"1330925474","file3":"1330925497"},"map_files_photo_id_array":[{"photo_id":"1330925493","filename":"file2"},{"photo_id":"1330925486","filename":"file1"},{"photo_id":"1330925474","filename":"file0"},{"photo_id":"1330925497","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330925486":["hashtag1","hashtag2"]},{"1330925474":["hashtag1","hashtag2"]},{"1330925497":["hashtag1","hashtag2"]},{"1330925493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330925486, 1330925474, 1330925497, 1330925493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.749396085739136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:35:03.347854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/33/image_24012025_03_33_02_330861_0003.jpg', '/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0000.jpg', '/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0001.jpg', '/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/33/image_24012025_03_33_02_330861_0003.jpg
/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0000.jpg
/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0001.jpg
/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.204979181289673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:35:22.556141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/33/image_24012025_03_33_02_330861_0003.jpg', '/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0000.jpg', '/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0001.jpg', '/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0002.jpg', '/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0003.jpg', '/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/33/image_24012025_03_33_02_330861_0003.jpg
/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0000.jpg
/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0001.jpg
/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0002.jpg
/home/pi/Desktop/images/24012025/03/34/image_24012025_03_34_02_809550_0003.jpg
/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330925558","1330925587","1330925572","1330925551","1330925583","1330925592"],"photo_ids_order":["1330925551","1330925558","1330925572","1330925583","1330925587","1330925592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/411df36443b7ded2d6f634f6fab23501.jpg","text":"TemporaryFile(/tmp/multipartBody6300033423359615896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686199437,"filename":"image_24012025_03_34_02_809550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a3e632e6aed6d683b9cd1672ef332045.jpg","text":"TemporaryFile(/tmp/multipartBody611508066350738156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686199437,"filename":"image_24012025_03_34_02_809550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac85e26d856c62a320c80599fa227f88.jpg","text":"TemporaryFile(/tmp/multipartBody5811499223136021325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686199437,"filename":"image_24012025_03_34_02_809550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c76931c415422948bdc8d75430402b27.jpg","text":"TemporaryFile(/tmp/multipartBody4243722360453603884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686199437,"filename":"image_24012025_03_33_02_330861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32cda9ebd0259b19914978e4e2bc1172.jpg","text":"TemporaryFile(/tmp/multipartBody9212756607619811595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686199437,"filename":"image_24012025_03_34_02_809550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/181c62c10d01c1240db21f0eb782dccf.jpg","text":"TemporaryFile(/tmp/multipartBody3050276956991163028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686199437,"filename":"image_24012025_03_35_02_468665_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330925572","file1":"1330925558","file0":"1330925551","file4":"1330925587","file5":"1330925592","file3":"1330925583"},"map_files_photo_id_array":[{"photo_id":"1330925592","filename":"file5"},{"photo_id":"1330925572","filename":"file2"},{"photo_id":"1330925587","filename":"file4"},{"photo_id":"1330925558","filename":"file1"},{"photo_id":"1330925551","filename":"file0"},{"photo_id":"1330925583","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330925558":["hashtag1","hashtag2"]},{"1330925587":["hashtag1","hashtag2"]},{"1330925572":["hashtag1","hashtag2"]},{"1330925551":["hashtag1","hashtag2"]},{"1330925583":["hashtag1","hashtag2"]},{"1330925592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330925558, 1330925587, 1330925572, 1330925551, 1330925583, 1330925592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.48817443847656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:37:02.396859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0001.jpg', '/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0002.jpg', '/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0003.jpg', '/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0000.jpg', '/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0001.jpg', '/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0001.jpg
/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0002.jpg
/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0003.jpg
/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0000.jpg
/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0001.jpg
/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.788291454315186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:37:21.720601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0001.jpg', '/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0002.jpg', '/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0003.jpg', '/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0000.jpg', '/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0001.jpg', '/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0001.jpg
/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0002.jpg
/home/pi/Desktop/images/24012025/03/35/image_24012025_03_35_02_468665_0003.jpg
/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0000.jpg
/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0001.jpg
/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330925774","1330925651","1330925676","1330925670","1330925673","1330925667"],"photo_ids_order":["1330925651","1330925667","1330925670","1330925673","1330925676","1330925774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/76b36bbefa57989778190de86b100360.jpg","text":"TemporaryFile(/tmp/multipartBody1699971903841540767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686318809,"filename":"image_24012025_03_36_02_970254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0d24a0a8201bd19218e017160bcf82c6.jpg","text":"TemporaryFile(/tmp/multipartBody4741489065439657270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686318809,"filename":"image_24012025_03_35_02_468665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/94c66fbc2991e58d7778878f47d75303.jpg","text":"TemporaryFile(/tmp/multipartBody3921915752487074960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686318809,"filename":"image_24012025_03_36_02_970254_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9411c44204bd37631c45ec81abaf0371.jpg","text":"TemporaryFile(/tmp/multipartBody4701098554911011985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686318809,"filename":"image_24012025_03_35_02_468665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c97a7d4980a8a0314a86a79b29f5d258.jpg","text":"TemporaryFile(/tmp/multipartBody5513652597213276014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686318809,"filename":"image_24012025_03_36_02_970254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/821dae8b6112853aecff11ccd7795536.jpg","text":"TemporaryFile(/tmp/multipartBody2938914479773224076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686318809,"filename":"image_24012025_03_35_02_468665_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330925670","file1":"1330925667","file0":"1330925651","file4":"1330925676","file5":"1330925774","file3":"1330925673"},"map_files_photo_id_array":[{"photo_id":"1330925774","filename":"file5"},{"photo_id":"1330925670","filename":"file2"},{"photo_id":"1330925676","filename":"file4"},{"photo_id":"1330925667","filename":"file1"},{"photo_id":"1330925651","filename":"file0"},{"photo_id":"1330925673","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330925774":["hashtag1","hashtag2"]},{"1330925651":["hashtag1","hashtag2"]},{"1330925676":["hashtag1","hashtag2"]},{"1330925670":["hashtag1","hashtag2"]},{"1330925673":["hashtag1","hashtag2"]},{"1330925667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330925774, 1330925651, 1330925676, 1330925670, 1330925673, 1330925667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.349605083465576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:38:22.401085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0003.jpg', '/home/pi/Desktop/images/24012025/03/37/image_24012025_03_37_02_626874_0000.jpg', '/home/pi/Desktop/images/24012025/03/37/image_24012025_03_37_02_626874_0001.jpg', '/home/pi/Desktop/images/24012025/03/37/image_24012025_03_37_02_626874_0002.jpg', '/home/pi/Desktop/images/24012025/03/37/image_24012025_03_37_02_626874_0003.jpg', '/home/pi/Desktop/images/24012025/03/38/image_24012025_03_38_02_153171_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/36/image_24012025_03_36_02_970254_0003.jpg
/home/pi/Desktop/images/24012025/03/37/image_24012025_03_37_02_626874_0000.jpg
/home/pi/Desktop/images/24012025/03/37/image_24012025_03_37_02_626874_0001.jpg
/home/pi/Desktop/images/24012025/03/37/image_24012025_03_37_02_626874_0002.jpg
/home/pi/Desktop/images/24012025/03/37/image_24012025_03_37_02_626874_0003.jpg
/home/pi/Desktop/images/24012025/03/38/image_24012025_03_38_02_153171_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330925861","1330925864","1330925858","1330925854","1330925871","1330925847"],"photo_ids_order":["1330925847","1330925854","1330925858","1330925861","1330925864","1330925871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f6003a51457f1ac6c1a0a4d4bae4fdd2.jpg","text":"TemporaryFile(/tmp/multipartBody7469402509725073656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686379440,"filename":"image_24012025_03_37_02_626874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5f10ebe8d7842e0c7b8ced472af6986c.jpg","text":"TemporaryFile(/tmp/multipartBody108096292280024840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686379440,"filename":"image_24012025_03_37_02_626874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/58b661596a5d4ebbc4a2d5dd547ddd2d.jpg","text":"TemporaryFile(/tmp/multipartBody8922030768792882827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686379440,"filename":"image_24012025_03_37_02_626874_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f283f8cb2f705fd06f6e5bdaa81c3127.jpg","text":"TemporaryFile(/tmp/multipartBody4804096037312532743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686379440,"filename":"image_24012025_03_37_02_626874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4aca7f57c7b4e82e3c2c5b09710b40b8.jpg","text":"TemporaryFile(/tmp/multipartBody1852835951549571216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686379440,"filename":"image_24012025_03_38_02_153171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4bd412bbc2ffb65a2d5e9e3657197f91.jpg","text":"TemporaryFile(/tmp/multipartBody4100891107372946110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686379440,"filename":"image_24012025_03_36_02_970254_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330925858","file1":"1330925854","file0":"1330925847","file4":"1330925864","file5":"1330925871","file3":"1330925861"},"map_files_photo_id_array":[{"photo_id":"1330925871","filename":"file5"},{"photo_id":"1330925858","filename":"file2"},{"photo_id":"1330925864","filename":"file4"},{"photo_id":"1330925854","filename":"file1"},{"photo_id":"1330925847","filename":"file0"},{"photo_id":"1330925861","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330925861":["hashtag1","hashtag2"]},{"1330925864":["hashtag1","hashtag2"]},{"1330925858":["hashtag1","hashtag2"]},{"1330925854":["hashtag1","hashtag2"]},{"1330925871":["hashtag1","hashtag2"]},{"1330925847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330925861, 1330925864, 1330925858, 1330925854, 1330925871, 1330925847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.42201566696167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:39:22.002263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/38/image_24012025_03_38_02_153171_0001.jpg', '/home/pi/Desktop/images/24012025/03/38/image_24012025_03_38_02_153171_0002.jpg', '/home/pi/Desktop/images/24012025/03/38/image_24012025_03_38_02_153171_0003.jpg', '/home/pi/Desktop/images/24012025/03/39/image_24012025_03_39_02_865059_0000.jpg', '/home/pi/Desktop/images/24012025/03/39/image_24012025_03_39_02_865059_0001.jpg', '/home/pi/Desktop/images/24012025/03/39/image_24012025_03_39_02_865059_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/38/image_24012025_03_38_02_153171_0001.jpg
/home/pi/Desktop/images/24012025/03/38/image_24012025_03_38_02_153171_0002.jpg
/home/pi/Desktop/images/24012025/03/38/image_24012025_03_38_02_153171_0003.jpg
/home/pi/Desktop/images/24012025/03/39/image_24012025_03_39_02_865059_0000.jpg
/home/pi/Desktop/images/24012025/03/39/image_24012025_03_39_02_865059_0001.jpg
/home/pi/Desktop/images/24012025/03/39/image_24012025_03_39_02_865059_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330926038","1330926002","1330926011","1330926040","1330926007","1330925996"],"photo_ids_order":["1330925996","1330926002","1330926007","1330926011","1330926038","1330926040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8bfa12af0cd259182bd09fc44e10d914.jpg","text":"TemporaryFile(/tmp/multipartBody7341362558573482490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686438437,"filename":"image_24012025_03_39_02_865059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ca8bd83afbe682fb9e9a18df48c3156.jpg","text":"TemporaryFile(/tmp/multipartBody6403417027453600615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686438437,"filename":"image_24012025_03_38_02_153171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/035582c05d06dd066e648c4850406847.jpg","text":"TemporaryFile(/tmp/multipartBody180440327286491312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686438437,"filename":"image_24012025_03_39_02_865059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45b17bcd1a7f4c1983c39bfd2a4866c0.jpg","text":"TemporaryFile(/tmp/multipartBody4377943132819594330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686438437,"filename":"image_24012025_03_39_02_865059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bfd7d3da23df781e6e06975ba6516290.jpg","text":"TemporaryFile(/tmp/multipartBody2970306926717521136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686438437,"filename":"image_24012025_03_38_02_153171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d70f38944c997a7621d7e2bd899d758.jpg","text":"TemporaryFile(/tmp/multipartBody8112013395431569753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686438437,"filename":"image_24012025_03_38_02_153171_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330926007","file1":"1330926002","file0":"1330925996","file4":"1330926038","file5":"1330926040","file3":"1330926011"},"map_files_photo_id_array":[{"photo_id":"1330926040","filename":"file5"},{"photo_id":"1330926007","filename":"file2"},{"photo_id":"1330926038","filename":"file4"},{"photo_id":"1330926002","filename":"file1"},{"photo_id":"1330925996","filename":"file0"},{"photo_id":"1330926011","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330926038":["hashtag1","hashtag2"]},{"1330926002":["hashtag1","hashtag2"]},{"1330926011":["hashtag1","hashtag2"]},{"1330926040":["hashtag1","hashtag2"]},{"1330926007":["hashtag1","hashtag2"]},{"1330925996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330926038, 1330926002, 1330926011, 1330926040, 1330926007, 1330925996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.79316711425781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:40:22.531078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/39/image_24012025_03_39_02_865059_0003.jpg', '/home/pi/Desktop/images/24012025/03/40/image_24012025_03_40_02_374741_0000.jpg', '/home/pi/Desktop/images/24012025/03/40/image_24012025_03_40_02_374741_0001.jpg', '/home/pi/Desktop/images/24012025/03/40/image_24012025_03_40_02_374741_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/39/image_24012025_03_39_02_865059_0003.jpg
/home/pi/Desktop/images/24012025/03/40/image_24012025_03_40_02_374741_0000.jpg
/home/pi/Desktop/images/24012025/03/40/image_24012025_03_40_02_374741_0001.jpg
/home/pi/Desktop/images/24012025/03/40/image_24012025_03_40_02_374741_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330926127","1330926112","1330926121","1330926105"],"photo_ids_order":["1330926105","1330926112","1330926121","1330926127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f8baff18b98c017bbd63536983cb8ee.jpg","text":"TemporaryFile(/tmp/multipartBody1138010295934979319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686494046,"filename":"image_24012025_03_40_02_374741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d93bda2fadb412a100b5dc85f65af503.jpg","text":"TemporaryFile(/tmp/multipartBody6420565465204783330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686494046,"filename":"image_24012025_03_40_02_374741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a5dec825ca99e4b593d9e830c87ad9e.jpg","text":"TemporaryFile(/tmp/multipartBody754700626297185023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686494046,"filename":"image_24012025_03_40_02_374741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd7bd29f60188764528e87fe72f097b4.jpg","text":"TemporaryFile(/tmp/multipartBody5981399318863322380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686494046,"filename":"image_24012025_03_39_02_865059_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330926121","file1":"1330926112","file0":"1330926105","file3":"1330926127"},"map_files_photo_id_array":[{"photo_id":"1330926121","filename":"file2"},{"photo_id":"1330926112","filename":"file1"},{"photo_id":"1330926105","filename":"file0"},{"photo_id":"1330926127","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330926127":["hashtag1","hashtag2"]},{"1330926112":["hashtag1","hashtag2"]},{"1330926121":["hashtag1","hashtag2"]},{"1330926105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330926127, 1330926112, 1330926121, 1330926105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81647562980652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:41:22.083442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/40/image_24012025_03_40_02_374741_0003.jpg', '/home/pi/Desktop/images/24012025/03/41/image_24012025_03_41_02_913311_0000.jpg', '/home/pi/Desktop/images/24012025/03/41/image_24012025_03_41_02_913311_0001.jpg', '/home/pi/Desktop/images/24012025/03/41/image_24012025_03_41_02_913311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/40/image_24012025_03_40_02_374741_0003.jpg
/home/pi/Desktop/images/24012025/03/41/image_24012025_03_41_02_913311_0000.jpg
/home/pi/Desktop/images/24012025/03/41/image_24012025_03_41_02_913311_0001.jpg
/home/pi/Desktop/images/24012025/03/41/image_24012025_03_41_02_913311_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330926190","1330926172","1330926194","1330926185"],"photo_ids_order":["1330926172","1330926185","1330926190","1330926194"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc07b475c91479ae555bf55e47e7862b.jpg","text":"TemporaryFile(/tmp/multipartBody5069880842120374290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686553416,"filename":"image_24012025_03_41_02_913311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/585ae38c4df1fe7c14b5988159c583cd.jpg","text":"TemporaryFile(/tmp/multipartBody8108779625991981324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686553416,"filename":"image_24012025_03_40_02_374741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3fe5700ed49da4005b0c5ed4af3c5b1b.jpg","text":"TemporaryFile(/tmp/multipartBody6908122359577044254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686553416,"filename":"image_24012025_03_41_02_913311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e0467d90af37618e6d7650eb8da0821.jpg","text":"TemporaryFile(/tmp/multipartBody6869263375118599466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686553416,"filename":"image_24012025_03_41_02_913311_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330926190","file1":"1330926185","file0":"1330926172","file3":"1330926194"},"map_files_photo_id_array":[{"photo_id":"1330926190","filename":"file2"},{"photo_id":"1330926185","filename":"file1"},{"photo_id":"1330926172","filename":"file0"},{"photo_id":"1330926194","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330926190":["hashtag1","hashtag2"]},{"1330926172":["hashtag1","hashtag2"]},{"1330926194":["hashtag1","hashtag2"]},{"1330926185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330926190, 1330926172, 1330926194, 1330926185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82308864593506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:42:02.989518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/19/59/image_21012025_19_59_02_564862_0002.jpg', '/home/pi/Desktop/images/21012025/19/59/image_21012025_19_59_02_564862_0003.jpg', '/home/pi/Desktop/images/21012025/20/00/image_21012025_20_00_02_738393_0000.jpg', '/home/pi/Desktop/images/21012025/20/00/image_21012025_20_00_02_738393_0001.jpg', '/home/pi/Desktop/images/21012025/20/00/image_21012025_20_00_02_738393_0002.jpg', '/home/pi/Desktop/images/21012025/20/00/image_21012025_20_00_02_738393_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/19/59/image_21012025_19_59_02_564862_0002.jpg
/home/pi/Desktop/images/21012025/19/59/image_21012025_19_59_02_564862_0003.jpg
/home/pi/Desktop/images/21012025/20/00/image_21012025_20_00_02_738393_0000.jpg
/home/pi/Desktop/images/21012025/20/00/image_21012025_20_00_02_738393_0001.jpg
/home/pi/Desktop/images/21012025/20/00/image_21012025_20_00_02_738393_0002.jpg
/home/pi/Desktop/images/21012025/20/00/image_21012025_20_00_02_738393_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330926266","1330926274","1330926283","1330926259","1330926250","1330926279"],"photo_ids_order":["1330926250","1330926259","1330926266","1330926274","1330926279","1330926283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10c981fd31ec52e05f955b089eefc429.jpg","text":"TemporaryFile(/tmp/multipartBody7682603240946611939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686600849,"filename":"image_21012025_20_00_02_738393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0bebd24813944baa7329a361565d4695.jpg","text":"TemporaryFile(/tmp/multipartBody2454900726751191602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686600849,"filename":"image_21012025_20_00_02_738393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f4af4b0a676c8a4f60bcafcf5eb0c03d.jpg","text":"TemporaryFile(/tmp/multipartBody2367136211137921399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686600849,"filename":"image_21012025_20_00_02_738393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/622372f614c7471e3d84f138681cc186.jpg","text":"TemporaryFile(/tmp/multipartBody1780935005523375454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686600849,"filename":"image_21012025_19_59_02_564862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1efdd59bb37896e6cbdfadeb06d00a0.jpg","text":"TemporaryFile(/tmp/multipartBody3090963960487441648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686600849,"filename":"image_21012025_19_59_02_564862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3acda36e6f25dd7b8c9e263eddb048cb.jpg","text":"TemporaryFile(/tmp/multipartBody8802082866369714725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686600849,"filename":"image_21012025_20_00_02_738393_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330926266","file1":"1330926259","file0":"1330926250","file4":"1330926279","file5":"1330926283","file3":"1330926274"},"map_files_photo_id_array":[{"photo_id":"1330926283","filename":"file5"},{"photo_id":"1330926266","filename":"file2"},{"photo_id":"1330926279","filename":"file4"},{"photo_id":"1330926259","filename":"file1"},{"photo_id":"1330926250","filename":"file0"},{"photo_id":"1330926274","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330926266":["hashtag1","hashtag2"]},{"1330926274":["hashtag1","hashtag2"]},{"1330926283":["hashtag1","hashtag2"]},{"1330926259":["hashtag1","hashtag2"]},{"1330926250":["hashtag1","hashtag2"]},{"1330926279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330926266, 1330926274, 1330926283, 1330926259, 1330926250, 1330926279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.08305740356445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:43:02.633800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/41/image_24012025_03_41_02_913311_0003.jpg', '/home/pi/Desktop/images/24012025/03/42/image_24012025_03_42_02_466235_0000.jpg', '/home/pi/Desktop/images/24012025/03/42/image_24012025_03_42_02_466235_0001.jpg', '/home/pi/Desktop/images/24012025/03/42/image_24012025_03_42_02_466235_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/41/image_24012025_03_41_02_913311_0003.jpg
/home/pi/Desktop/images/24012025/03/42/image_24012025_03_42_02_466235_0000.jpg
/home/pi/Desktop/images/24012025/03/42/image_24012025_03_42_02_466235_0001.jpg
/home/pi/Desktop/images/24012025/03/42/image_24012025_03_42_02_466235_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330926311","1330926314","1330926317","1330926319"],"photo_ids_order":["1330926311","1330926314","1330926317","1330926319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a58d959bf7f500fece043a6f7f65c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8992224650588102444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686654102,"filename":"image_24012025_03_41_02_913311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f6c07da345723abd49c28460f8fef429.jpg","text":"TemporaryFile(/tmp/multipartBody5389484380267101355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686654102,"filename":"image_24012025_03_42_02_466235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/faced030972a60e148e8931898a391fd.jpg","text":"TemporaryFile(/tmp/multipartBody4728979875369511302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686654102,"filename":"image_24012025_03_42_02_466235_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/35e2b45185e7b3cc610f242039077b64.jpg","text":"TemporaryFile(/tmp/multipartBody2662413552637616535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686654102,"filename":"image_24012025_03_42_02_466235_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330926317","file1":"1330926314","file0":"1330926311","file3":"1330926319"},"map_files_photo_id_array":[{"photo_id":"1330926317","filename":"file2"},{"photo_id":"1330926314","filename":"file1"},{"photo_id":"1330926311","filename":"file0"},{"photo_id":"1330926319","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330926311":["hashtag1","hashtag2"]},{"1330926314":["hashtag1","hashtag2"]},{"1330926317":["hashtag1","hashtag2"]},{"1330926319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330926311, 1330926314, 1330926317, 1330926319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.413236141204834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:44:02.339233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/42/image_24012025_03_42_02_466235_0003.jpg', '/home/pi/Desktop/images/24012025/03/43/image_24012025_03_43_02_984433_0000.jpg', '/home/pi/Desktop/images/24012025/03/43/image_24012025_03_43_02_984433_0001.jpg', '/home/pi/Desktop/images/24012025/03/43/image_24012025_03_43_02_984433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/42/image_24012025_03_42_02_466235_0003.jpg
/home/pi/Desktop/images/24012025/03/43/image_24012025_03_43_02_984433_0000.jpg
/home/pi/Desktop/images/24012025/03/43/image_24012025_03_43_02_984433_0001.jpg
/home/pi/Desktop/images/24012025/03/43/image_24012025_03_43_02_984433_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330926361","1330926372","1330926348","1330926357"],"photo_ids_order":["1330926348","1330926357","1330926361","1330926372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/884c2bb51bfd65bd460bdca19aad49b3.jpg","text":"TemporaryFile(/tmp/multipartBody6271203060333698478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686713940,"filename":"image_24012025_03_43_02_984433_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3143758cacb01d46eb75f009d5d4553b.jpg","text":"TemporaryFile(/tmp/multipartBody6197767949936170077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686713940,"filename":"image_24012025_03_43_02_984433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9bddd88d107c9f3deba0b54fd5b9e07f.jpg","text":"TemporaryFile(/tmp/multipartBody6982539483871587115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686713940,"filename":"image_24012025_03_42_02_466235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39338fbd764cd79612686d11f342c867.jpg","text":"TemporaryFile(/tmp/multipartBody1311322265908180606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686713940,"filename":"image_24012025_03_43_02_984433_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330926361","file1":"1330926357","file0":"1330926348","file3":"1330926372"},"map_files_photo_id_array":[{"photo_id":"1330926361","filename":"file2"},{"photo_id":"1330926357","filename":"file1"},{"photo_id":"1330926348","filename":"file0"},{"photo_id":"1330926372","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330926361":["hashtag1","hashtag2"]},{"1330926372":["hashtag1","hashtag2"]},{"1330926348":["hashtag1","hashtag2"]},{"1330926357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330926361, 1330926372, 1330926348, 1330926357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67071580886841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:45:02.933290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/43/image_24012025_03_43_02_984433_0003.jpg', '/home/pi/Desktop/images/24012025/03/44/image_24012025_03_44_02_512214_0000.jpg', '/home/pi/Desktop/images/24012025/03/44/image_24012025_03_44_02_512214_0001.jpg', '/home/pi/Desktop/images/24012025/03/44/image_24012025_03_44_02_512214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/43/image_24012025_03_43_02_984433_0003.jpg
/home/pi/Desktop/images/24012025/03/44/image_24012025_03_44_02_512214_0000.jpg
/home/pi/Desktop/images/24012025/03/44/image_24012025_03_44_02_512214_0001.jpg
/home/pi/Desktop/images/24012025/03/44/image_24012025_03_44_02_512214_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330926588","1330926576","1330926584","1330926572"],"photo_ids_order":["1330926572","1330926576","1330926584","1330926588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b77bf6f159f14bc0e8e368e8775e79ee.jpg","text":"TemporaryFile(/tmp/multipartBody8852526183186041845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686774371,"filename":"image_24012025_03_44_02_512214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21620c1dd377c0ba4523e25a6e196bb5.jpg","text":"TemporaryFile(/tmp/multipartBody7162854691122960403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686774371,"filename":"image_24012025_03_44_02_512214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/797520289a0865811062bb2ee673320d.jpg","text":"TemporaryFile(/tmp/multipartBody66616297204737567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686774371,"filename":"image_24012025_03_44_02_512214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3005b0c2c9f52b02c2549ffb2bdcf2c9.jpg","text":"TemporaryFile(/tmp/multipartBody7322244601354511032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686774371,"filename":"image_24012025_03_43_02_984433_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330926584","file1":"1330926576","file0":"1330926572","file3":"1330926588"},"map_files_photo_id_array":[{"photo_id":"1330926584","filename":"file2"},{"photo_id":"1330926576","filename":"file1"},{"photo_id":"1330926572","filename":"file0"},{"photo_id":"1330926588","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330926588":["hashtag1","hashtag2"]},{"1330926576":["hashtag1","hashtag2"]},{"1330926584":["hashtag1","hashtag2"]},{"1330926572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330926588, 1330926576, 1330926584, 1330926572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13607382774353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:46:02.435616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/44/image_24012025_03_44_02_512214_0003.jpg', '/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0000.jpg', '/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0001.jpg', '/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/44/image_24012025_03_44_02_512214_0003.jpg
/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0000.jpg
/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0001.jpg
/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.80681848526001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:46:21.940129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/44/image_24012025_03_44_02_512214_0003.jpg', '/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0000.jpg', '/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0001.jpg', '/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0002.jpg', '/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0003.jpg', '/home/pi/Desktop/images/24012025/03/46/image_24012025_03_46_02_692272_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/44/image_24012025_03_44_02_512214_0003.jpg
/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0000.jpg
/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0001.jpg
/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0002.jpg
/home/pi/Desktop/images/24012025/03/45/image_24012025_03_45_02_147671_0003.jpg
/home/pi/Desktop/images/24012025/03/46/image_24012025_03_46_02_692272_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330926704","1330926700","1330926675","1330926690","1330926711","1330926680"],"photo_ids_order":["1330926675","1330926680","1330926690","1330926700","1330926704","1330926711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae9ac29eee8cee506469bef602317600.jpg","text":"TemporaryFile(/tmp/multipartBody1951159711119830536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686858332,"filename":"image_24012025_03_45_02_147671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/77c909eec37ceb818f39c56461cdbb73.jpg","text":"TemporaryFile(/tmp/multipartBody1840552914818320281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686858332,"filename":"image_24012025_03_45_02_147671_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2cb48eb7a7812571e05991c150a6936f.jpg","text":"TemporaryFile(/tmp/multipartBody3710625886967009551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686858332,"filename":"image_24012025_03_44_02_512214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/08f8b7c85d3409ab3b44a6f71ae866ae.jpg","text":"TemporaryFile(/tmp/multipartBody1910119685268076763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686858332,"filename":"image_24012025_03_45_02_147671_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a526e07ee07eb51b766e52877deb6bc2.jpg","text":"TemporaryFile(/tmp/multipartBody6102248259720342728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686858332,"filename":"image_24012025_03_46_02_692272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55bf0bf223b148f4341e39c43c6363e6.jpg","text":"TemporaryFile(/tmp/multipartBody7015703427756710884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686858332,"filename":"image_24012025_03_45_02_147671_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330926690","file1":"1330926680","file0":"1330926675","file4":"1330926704","file5":"1330926711","file3":"1330926700"},"map_files_photo_id_array":[{"photo_id":"1330926711","filename":"file5"},{"photo_id":"1330926690","filename":"file2"},{"photo_id":"1330926704","filename":"file4"},{"photo_id":"1330926680","filename":"file1"},{"photo_id":"1330926675","filename":"file0"},{"photo_id":"1330926700","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330926704":["hashtag1","hashtag2"]},{"1330926700":["hashtag1","hashtag2"]},{"1330926675":["hashtag1","hashtag2"]},{"1330926690":["hashtag1","hashtag2"]},{"1330926711":["hashtag1","hashtag2"]},{"1330926680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330926704, 1330926700, 1330926675, 1330926690, 1330926711, 1330926680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.41931748390198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:47:22.492378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/46/image_24012025_03_46_02_692272_0001.jpg', '/home/pi/Desktop/images/24012025/03/46/image_24012025_03_46_02_692272_0002.jpg', '/home/pi/Desktop/images/24012025/03/46/image_24012025_03_46_02_692272_0003.jpg', '/home/pi/Desktop/images/24012025/03/47/image_24012025_03_47_02_361727_0000.jpg', '/home/pi/Desktop/images/24012025/03/47/image_24012025_03_47_02_361727_0001.jpg', '/home/pi/Desktop/images/24012025/03/47/image_24012025_03_47_02_361727_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/46/image_24012025_03_46_02_692272_0001.jpg
/home/pi/Desktop/images/24012025/03/46/image_24012025_03_46_02_692272_0002.jpg
/home/pi/Desktop/images/24012025/03/46/image_24012025_03_46_02_692272_0003.jpg
/home/pi/Desktop/images/24012025/03/47/image_24012025_03_47_02_361727_0000.jpg
/home/pi/Desktop/images/24012025/03/47/image_24012025_03_47_02_361727_0001.jpg
/home/pi/Desktop/images/24012025/03/47/image_24012025_03_47_02_361727_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330926734","1330926728","1330926742","1330926744","1330926738","1330926747"],"photo_ids_order":["1330926728","1330926734","1330926738","1330926742","1330926744","1330926747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7279f509f7fea721e9f6de52969732ec.jpg","text":"TemporaryFile(/tmp/multipartBody5963241642288104555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686918272,"filename":"image_24012025_03_46_02_692272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/056520a86e1f9b8f19fbdd48c7e96eba.jpg","text":"TemporaryFile(/tmp/multipartBody8678368609350959719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686918272,"filename":"image_24012025_03_46_02_692272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/64ab5c57fe423df18e91d59c34e96757.jpg","text":"TemporaryFile(/tmp/multipartBody1644429679318101603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686918272,"filename":"image_24012025_03_47_02_361727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/03cec5e43364bb00fa98d14050e764d7.jpg","text":"TemporaryFile(/tmp/multipartBody2552321604241895627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686918272,"filename":"image_24012025_03_47_02_361727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/084e20a9c3c0ed63d74b04ac0415ac0e.jpg","text":"TemporaryFile(/tmp/multipartBody1617516238665772403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686918272,"filename":"image_24012025_03_46_02_692272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10290b509e500ce271dff71835360bd8.jpg","text":"TemporaryFile(/tmp/multipartBody126691730493712644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686918272,"filename":"image_24012025_03_47_02_361727_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330926738","file1":"1330926734","file0":"1330926728","file4":"1330926744","file5":"1330926747","file3":"1330926742"},"map_files_photo_id_array":[{"photo_id":"1330926747","filename":"file5"},{"photo_id":"1330926738","filename":"file2"},{"photo_id":"1330926744","filename":"file4"},{"photo_id":"1330926734","filename":"file1"},{"photo_id":"1330926728","filename":"file0"},{"photo_id":"1330926742","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330926734":["hashtag1","hashtag2"]},{"1330926728":["hashtag1","hashtag2"]},{"1330926742":["hashtag1","hashtag2"]},{"1330926744":["hashtag1","hashtag2"]},{"1330926738":["hashtag1","hashtag2"]},{"1330926747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330926734, 1330926728, 1330926742, 1330926744, 1330926738, 1330926747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.081480503082275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:48:22.029369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/47/image_24012025_03_47_02_361727_0003.jpg', '/home/pi/Desktop/images/24012025/03/48/image_24012025_03_48_02_890441_0000.jpg', '/home/pi/Desktop/images/24012025/03/48/image_24012025_03_48_02_890441_0001.jpg', '/home/pi/Desktop/images/24012025/03/48/image_24012025_03_48_02_890441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/47/image_24012025_03_47_02_361727_0003.jpg
/home/pi/Desktop/images/24012025/03/48/image_24012025_03_48_02_890441_0000.jpg
/home/pi/Desktop/images/24012025/03/48/image_24012025_03_48_02_890441_0001.jpg
/home/pi/Desktop/images/24012025/03/48/image_24012025_03_48_02_890441_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330926766","1330926759","1330926779","1330926773"],"photo_ids_order":["1330926759","1330926766","1330926773","1330926779"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/89d2c1c4c7260e8406e68edd3d608bce.jpg","text":"TemporaryFile(/tmp/multipartBody7249468149259868618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686973355,"filename":"image_24012025_03_48_02_890441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/90f06f6f6ea7feb550b45209b54b4137.jpg","text":"TemporaryFile(/tmp/multipartBody5743499509476317872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686973355,"filename":"image_24012025_03_47_02_361727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4fa74844ca672f6e8a7b9ce5067f4ed0.jpg","text":"TemporaryFile(/tmp/multipartBody4523917647093983514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686973355,"filename":"image_24012025_03_48_02_890441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a19ddabfd5a280128593e66079ba86a2.jpg","text":"TemporaryFile(/tmp/multipartBody4420101472228813402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737686973355,"filename":"image_24012025_03_48_02_890441_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330926773","file1":"1330926766","file0":"1330926759","file3":"1330926779"},"map_files_photo_id_array":[{"photo_id":"1330926773","filename":"file2"},{"photo_id":"1330926766","filename":"file1"},{"photo_id":"1330926759","filename":"file0"},{"photo_id":"1330926779","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330926766":["hashtag1","hashtag2"]},{"1330926759":["hashtag1","hashtag2"]},{"1330926779":["hashtag1","hashtag2"]},{"1330926773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330926766, 1330926759, 1330926779, 1330926773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.00980257987976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:49:22.533872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/48/image_24012025_03_48_02_890441_0003.jpg', '/home/pi/Desktop/images/24012025/03/49/image_24012025_03_49_02_383605_0000.jpg', '/home/pi/Desktop/images/24012025/03/49/image_24012025_03_49_02_383605_0001.jpg', '/home/pi/Desktop/images/24012025/03/49/image_24012025_03_49_02_383605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/48/image_24012025_03_48_02_890441_0003.jpg
/home/pi/Desktop/images/24012025/03/49/image_24012025_03_49_02_383605_0000.jpg
/home/pi/Desktop/images/24012025/03/49/image_24012025_03_49_02_383605_0001.jpg
/home/pi/Desktop/images/24012025/03/49/image_24012025_03_49_02_383605_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330927266","1330927122","1330926804","1330926962"],"photo_ids_order":["1330926804","1330926962","1330927122","1330927266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4efc4c0da401e2a5a1d266bd759d0191.jpg","text":"TemporaryFile(/tmp/multipartBody2208703663796944758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687033727,"filename":"image_24012025_03_49_02_383605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0306eae159a09cc6a7a63aa4964f94a.jpg","text":"TemporaryFile(/tmp/multipartBody4357273488597273221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687033727,"filename":"image_24012025_03_49_02_383605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63ebcc1bc627c60bb88bedd73f99abb4.jpg","text":"TemporaryFile(/tmp/multipartBody4307703508482938010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687033727,"filename":"image_24012025_03_48_02_890441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/246e07c5b636fffecbe60a1682bfa3ee.jpg","text":"TemporaryFile(/tmp/multipartBody2282672161766023892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687033727,"filename":"image_24012025_03_49_02_383605_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330927122","file1":"1330926962","file0":"1330926804","file3":"1330927266"},"map_files_photo_id_array":[{"photo_id":"1330927122","filename":"file2"},{"photo_id":"1330926962","filename":"file1"},{"photo_id":"1330926804","filename":"file0"},{"photo_id":"1330927266","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330927266":["hashtag1","hashtag2"]},{"1330927122":["hashtag1","hashtag2"]},{"1330926804":["hashtag1","hashtag2"]},{"1330926962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330927266, 1330927122, 1330926804, 1330926962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46069097518921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:50:22.046161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/49/image_24012025_03_49_02_383605_0003.jpg', '/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0000.jpg', '/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0001.jpg', '/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/49/image_24012025_03_49_02_383605_0003.jpg
/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0000.jpg
/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0001.jpg
/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.572744131088257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:51:03.240982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/49/image_24012025_03_49_02_383605_0003.jpg', '/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0000.jpg', '/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0001.jpg', '/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/49/image_24012025_03_49_02_383605_0003.jpg
/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0000.jpg
/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0001.jpg
/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330927990","1330927789","1330927963","1330927953"],"photo_ids_order":["1330927789","1330927953","1330927963","1330927990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5bdb01a60e65b3d49cafe69e8a4694b9.jpg","text":"TemporaryFile(/tmp/multipartBody479119976342898565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687134268,"filename":"image_24012025_03_50_02_918530_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2978a7e059297aa3f7e2577f5d18710b.jpg","text":"TemporaryFile(/tmp/multipartBody8403078542782372769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687134268,"filename":"image_24012025_03_49_02_383605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c05261cc1f12699e07cc445b03d0031.jpg","text":"TemporaryFile(/tmp/multipartBody9073528833054205266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687134268,"filename":"image_24012025_03_50_02_918530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c4f329aa7143aa6983d3d0cc59d86b2.jpg","text":"TemporaryFile(/tmp/multipartBody7003733684236520501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687134268,"filename":"image_24012025_03_50_02_918530_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330927963","file1":"1330927953","file0":"1330927789","file3":"1330927990"},"map_files_photo_id_array":[{"photo_id":"1330927963","filename":"file2"},{"photo_id":"1330927953","filename":"file1"},{"photo_id":"1330927789","filename":"file0"},{"photo_id":"1330927990","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330927990":["hashtag1","hashtag2"]},{"1330927789":["hashtag1","hashtag2"]},{"1330927963":["hashtag1","hashtag2"]},{"1330927953":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330927990, 1330927789, 1330927963, 1330927953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79480767250061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:52:02.694770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0003.jpg', '/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0000.jpg', '/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0001.jpg', '/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0003.jpg
/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0000.jpg
/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0001.jpg
/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.744792222976685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 03:52:22.206182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0003.jpg', '/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0000.jpg', '/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0001.jpg', '/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0002.jpg', '/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0003.jpg', '/home/pi/Desktop/images/24012025/03/52/image_24012025_03_52_02_998559_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/50/image_24012025_03_50_02_918530_0003.jpg
/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0000.jpg
/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0001.jpg
/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0002.jpg
/home/pi/Desktop/images/24012025/03/51/image_24012025_03_51_02_479083_0003.jpg
/home/pi/Desktop/images/24012025/03/52/image_24012025_03_52_02_998559_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330928125","1330928094","1330928118","1330928103","1330928126","1330928098"],"photo_ids_order":["1330928094","1330928098","1330928103","1330928118","1330928125","1330928126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/14a745347135989945752557eb23e97d.jpg","text":"TemporaryFile(/tmp/multipartBody136092841644542962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687218367,"filename":"image_24012025_03_51_02_479083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/495962bcd66ed4ef6cd2e4ed63b217a0.jpg","text":"TemporaryFile(/tmp/multipartBody7981441636041481358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687218367,"filename":"image_24012025_03_50_02_918530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/05bf2b6f639f23d0ad529d59960242b5.jpg","text":"TemporaryFile(/tmp/multipartBody8459010697596150621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687218367,"filename":"image_24012025_03_51_02_479083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e0d31e92589e781dcfee579690cac3b.jpg","text":"TemporaryFile(/tmp/multipartBody6514699324639678657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687218367,"filename":"image_24012025_03_51_02_479083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d6147b38f20dda73dd16a379695f2ba.jpg","text":"TemporaryFile(/tmp/multipartBody4804370721603899490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687218367,"filename":"image_24012025_03_52_02_998559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7dba78999b37d3c770088b1e09f5c257.jpg","text":"TemporaryFile(/tmp/multipartBody8942171900176527964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687218367,"filename":"image_24012025_03_51_02_479083_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330928103","file1":"1330928098","file0":"1330928094","file4":"1330928125","file5":"1330928126","file3":"1330928118"},"map_files_photo_id_array":[{"photo_id":"1330928126","filename":"file5"},{"photo_id":"1330928103","filename":"file2"},{"photo_id":"1330928125","filename":"file4"},{"photo_id":"1330928098","filename":"file1"},{"photo_id":"1330928094","filename":"file0"},{"photo_id":"1330928118","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330928125":["hashtag1","hashtag2"]},{"1330928094":["hashtag1","hashtag2"]},{"1330928118":["hashtag1","hashtag2"]},{"1330928103":["hashtag1","hashtag2"]},{"1330928126":["hashtag1","hashtag2"]},{"1330928098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330928125, 1330928094, 1330928118, 1330928103, 1330928126, 1330928098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.26307249069214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:54:02.725033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/52/image_24012025_03_52_02_998559_0001.jpg', '/home/pi/Desktop/images/24012025/03/52/image_24012025_03_52_02_998559_0002.jpg', '/home/pi/Desktop/images/24012025/03/52/image_24012025_03_52_02_998559_0003.jpg', '/home/pi/Desktop/images/24012025/03/53/image_24012025_03_53_02_694896_0000.jpg', '/home/pi/Desktop/images/24012025/03/53/image_24012025_03_53_02_694896_0001.jpg', '/home/pi/Desktop/images/24012025/03/53/image_24012025_03_53_02_694896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/52/image_24012025_03_52_02_998559_0001.jpg
/home/pi/Desktop/images/24012025/03/52/image_24012025_03_52_02_998559_0002.jpg
/home/pi/Desktop/images/24012025/03/52/image_24012025_03_52_02_998559_0003.jpg
/home/pi/Desktop/images/24012025/03/53/image_24012025_03_53_02_694896_0000.jpg
/home/pi/Desktop/images/24012025/03/53/image_24012025_03_53_02_694896_0001.jpg
/home/pi/Desktop/images/24012025/03/53/image_24012025_03_53_02_694896_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330928161","1330928172","1330928175","1330928169","1330928165","1330928179"],"photo_ids_order":["1330928161","1330928165","1330928169","1330928172","1330928175","1330928179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/be6b2d81e3d25230d66c1cf0b760c8af.jpg","text":"TemporaryFile(/tmp/multipartBody7384250288643484977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687319353,"filename":"image_24012025_03_52_02_998559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f80faadb512f0849e47a34a8574a6dae.jpg","text":"TemporaryFile(/tmp/multipartBody6651259545918143550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687319353,"filename":"image_24012025_03_53_02_694896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/318838a886f0c717543f9e1cdcfbd5bc.jpg","text":"TemporaryFile(/tmp/multipartBody6224025345922154555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687319353,"filename":"image_24012025_03_53_02_694896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/caa8e32c85b8776eeb7bdf3efe661aa5.jpg","text":"TemporaryFile(/tmp/multipartBody929388372647697099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687319353,"filename":"image_24012025_03_52_02_998559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51df5d4329841928e6a5c8fb83d18666.jpg","text":"TemporaryFile(/tmp/multipartBody4384602317523047044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687319353,"filename":"image_24012025_03_52_02_998559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3abd7f0fe1105c0b4a35d56a391adcfb.jpg","text":"TemporaryFile(/tmp/multipartBody1186836606331590290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687319353,"filename":"image_24012025_03_53_02_694896_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330928169","file1":"1330928165","file0":"1330928161","file4":"1330928175","file5":"1330928179","file3":"1330928172"},"map_files_photo_id_array":[{"photo_id":"1330928179","filename":"file5"},{"photo_id":"1330928169","filename":"file2"},{"photo_id":"1330928175","filename":"file4"},{"photo_id":"1330928165","filename":"file1"},{"photo_id":"1330928161","filename":"file0"},{"photo_id":"1330928172","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330928161":["hashtag1","hashtag2"]},{"1330928172":["hashtag1","hashtag2"]},{"1330928175":["hashtag1","hashtag2"]},{"1330928169":["hashtag1","hashtag2"]},{"1330928165":["hashtag1","hashtag2"]},{"1330928179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330928161, 1330928172, 1330928175, 1330928169, 1330928165, 1330928179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.38552451133728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:55:02.440909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/53/image_24012025_03_53_02_694896_0003.jpg', '/home/pi/Desktop/images/24012025/03/54/image_24012025_03_54_02_231063_0000.jpg', '/home/pi/Desktop/images/24012025/03/54/image_24012025_03_54_02_231063_0001.jpg', '/home/pi/Desktop/images/24012025/03/54/image_24012025_03_54_02_231063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/53/image_24012025_03_53_02_694896_0003.jpg
/home/pi/Desktop/images/24012025/03/54/image_24012025_03_54_02_231063_0000.jpg
/home/pi/Desktop/images/24012025/03/54/image_24012025_03_54_02_231063_0001.jpg
/home/pi/Desktop/images/24012025/03/54/image_24012025_03_54_02_231063_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330928199","1330928232","1330928219","1330928207"],"photo_ids_order":["1330928199","1330928207","1330928219","1330928232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2f0cd3f4337c165f1e0eef724e4318c2.jpg","text":"TemporaryFile(/tmp/multipartBody8929868699052958709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687373772,"filename":"image_24012025_03_53_02_694896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c2aaae3983f6225d36e4aa3610da8326.jpg","text":"TemporaryFile(/tmp/multipartBody2086152527079731634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687373772,"filename":"image_24012025_03_54_02_231063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2076173da16320864a7abd06f2053cd6.jpg","text":"TemporaryFile(/tmp/multipartBody6539140893857590795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687373772,"filename":"image_24012025_03_54_02_231063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec6f5dcd01a68017e39e7c7151297fdd.jpg","text":"TemporaryFile(/tmp/multipartBody5470887881032468015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687373772,"filename":"image_24012025_03_54_02_231063_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330928219","file1":"1330928207","file0":"1330928199","file3":"1330928232"},"map_files_photo_id_array":[{"photo_id":"1330928219","filename":"file2"},{"photo_id":"1330928207","filename":"file1"},{"photo_id":"1330928199","filename":"file0"},{"photo_id":"1330928232","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330928199":["hashtag1","hashtag2"]},{"1330928232":["hashtag1","hashtag2"]},{"1330928219":["hashtag1","hashtag2"]},{"1330928207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330928199, 1330928232, 1330928219, 1330928207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.17995524406433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:56:03.119096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/54/image_24012025_03_54_02_231063_0003.jpg', '/home/pi/Desktop/images/24012025/03/55/image_24012025_03_55_02_739133_0000.jpg', '/home/pi/Desktop/images/24012025/03/55/image_24012025_03_55_02_739133_0001.jpg', '/home/pi/Desktop/images/24012025/03/55/image_24012025_03_55_02_739133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/54/image_24012025_03_54_02_231063_0003.jpg
/home/pi/Desktop/images/24012025/03/55/image_24012025_03_55_02_739133_0000.jpg
/home/pi/Desktop/images/24012025/03/55/image_24012025_03_55_02_739133_0001.jpg
/home/pi/Desktop/images/24012025/03/55/image_24012025_03_55_02_739133_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330928264","1330928267","1330928252","1330928261"],"photo_ids_order":["1330928252","1330928261","1330928264","1330928267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/030d1ea088de8c36e7e03b372b9c14ce.jpg","text":"TemporaryFile(/tmp/multipartBody2962425720735327695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687434411,"filename":"image_24012025_03_55_02_739133_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3c946db85d4b2c9b7af14310d1586665.jpg","text":"TemporaryFile(/tmp/multipartBody27635490398840218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687434411,"filename":"image_24012025_03_55_02_739133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3f9ba98052327bb9e5b4e9e80b5b68ee.jpg","text":"TemporaryFile(/tmp/multipartBody3510446129094965648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687434411,"filename":"image_24012025_03_54_02_231063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d7bd90112b933eca27732a6c75f55ce.jpg","text":"TemporaryFile(/tmp/multipartBody3864396079306653543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687434411,"filename":"image_24012025_03_55_02_739133_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330928264","file1":"1330928261","file0":"1330928252","file3":"1330928267"},"map_files_photo_id_array":[{"photo_id":"1330928264","filename":"file2"},{"photo_id":"1330928261","filename":"file1"},{"photo_id":"1330928252","filename":"file0"},{"photo_id":"1330928267","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330928264":["hashtag1","hashtag2"]},{"1330928267":["hashtag1","hashtag2"]},{"1330928252":["hashtag1","hashtag2"]},{"1330928261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330928264, 1330928267, 1330928252, 1330928261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.721745014190674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:57:02.702308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/55/image_24012025_03_55_02_739133_0003.jpg', '/home/pi/Desktop/images/24012025/03/56/image_24012025_03_56_02_361904_0000.jpg', '/home/pi/Desktop/images/24012025/03/56/image_24012025_03_56_02_361904_0001.jpg', '/home/pi/Desktop/images/24012025/03/56/image_24012025_03_56_02_361904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/55/image_24012025_03_55_02_739133_0003.jpg
/home/pi/Desktop/images/24012025/03/56/image_24012025_03_56_02_361904_0000.jpg
/home/pi/Desktop/images/24012025/03/56/image_24012025_03_56_02_361904_0001.jpg
/home/pi/Desktop/images/24012025/03/56/image_24012025_03_56_02_361904_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330928332","1330928361","1330928325","1330928328"],"photo_ids_order":["1330928325","1330928328","1330928332","1330928361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e4f42f24742b5906d44d5dc91ee1fd1b.jpg","text":"TemporaryFile(/tmp/multipartBody7980069971144766537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687494045,"filename":"image_24012025_03_56_02_361904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51ed5bd0f7600f62ab86ff4d2718ac4e.jpg","text":"TemporaryFile(/tmp/multipartBody7537695861413747988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687494045,"filename":"image_24012025_03_56_02_361904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f079cec3226ab8788c40ad9ef88f1573.jpg","text":"TemporaryFile(/tmp/multipartBody5930748408851344353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687494045,"filename":"image_24012025_03_55_02_739133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/86293865602cc7bcac83a2677dc91929.jpg","text":"TemporaryFile(/tmp/multipartBody9053959384311817040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687494045,"filename":"image_24012025_03_56_02_361904_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330928332","file1":"1330928328","file0":"1330928325","file3":"1330928361"},"map_files_photo_id_array":[{"photo_id":"1330928332","filename":"file2"},{"photo_id":"1330928328","filename":"file1"},{"photo_id":"1330928325","filename":"file0"},{"photo_id":"1330928361","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330928332":["hashtag1","hashtag2"]},{"1330928361":["hashtag1","hashtag2"]},{"1330928325":["hashtag1","hashtag2"]},{"1330928328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330928332, 1330928361, 1330928325, 1330928328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80506634712219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 03:59:02.545469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/56/image_24012025_03_56_02_361904_0003.jpg', '/home/pi/Desktop/images/24012025/03/57/image_24012025_03_57_02_969510_0000.jpg', '/home/pi/Desktop/images/24012025/03/57/image_24012025_03_57_02_969510_0001.jpg', '/home/pi/Desktop/images/24012025/03/57/image_24012025_03_57_02_969510_0002.jpg', '/home/pi/Desktop/images/24012025/03/57/image_24012025_03_57_02_969510_0003.jpg', '/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/56/image_24012025_03_56_02_361904_0003.jpg
/home/pi/Desktop/images/24012025/03/57/image_24012025_03_57_02_969510_0000.jpg
/home/pi/Desktop/images/24012025/03/57/image_24012025_03_57_02_969510_0001.jpg
/home/pi/Desktop/images/24012025/03/57/image_24012025_03_57_02_969510_0002.jpg
/home/pi/Desktop/images/24012025/03/57/image_24012025_03_57_02_969510_0003.jpg
/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330928605","1330928577","1330928586","1330928568","1330928604","1330928603"],"photo_ids_order":["1330928568","1330928577","1330928586","1330928603","1330928604","1330928605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/75069cd5d87832bb09140af1c341c1e4.jpg","text":"TemporaryFile(/tmp/multipartBody3963109407797190307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687618931,"filename":"image_24012025_03_58_02_503337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fbd62bf44e6c6a8f6f37d693d18fa505.jpg","text":"TemporaryFile(/tmp/multipartBody8813551369613427014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687618931,"filename":"image_24012025_03_57_02_969510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff6bcaac04badcac8ef96523e312743a.jpg","text":"TemporaryFile(/tmp/multipartBody7754446925652521479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687618931,"filename":"image_24012025_03_57_02_969510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e658e44d16ebfec06c51f6df9ecf42d.jpg","text":"TemporaryFile(/tmp/multipartBody7708120055358595101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687618931,"filename":"image_24012025_03_56_02_361904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/561caa1a36b03728da47c0946f05a2ec.jpg","text":"TemporaryFile(/tmp/multipartBody2335910765179393474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687618931,"filename":"image_24012025_03_57_02_969510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/58b0dd4ff47594769c613ed6482c34a5.jpg","text":"TemporaryFile(/tmp/multipartBody5076146728696904285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687618931,"filename":"image_24012025_03_57_02_969510_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330928586","file1":"1330928577","file0":"1330928568","file4":"1330928604","file5":"1330928605","file3":"1330928603"},"map_files_photo_id_array":[{"photo_id":"1330928605","filename":"file5"},{"photo_id":"1330928586","filename":"file2"},{"photo_id":"1330928604","filename":"file4"},{"photo_id":"1330928577","filename":"file1"},{"photo_id":"1330928568","filename":"file0"},{"photo_id":"1330928603","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330928605":["hashtag1","hashtag2"]},{"1330928577":["hashtag1","hashtag2"]},{"1330928586":["hashtag1","hashtag2"]},{"1330928568":["hashtag1","hashtag2"]},{"1330928604":["hashtag1","hashtag2"]},{"1330928603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330928605, 1330928577, 1330928586, 1330928568, 1330928604, 1330928603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.80466651916504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:00:03.007841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0001.jpg', '/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0002.jpg', '/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0003.jpg', '/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0000.jpg', '/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0001.jpg', '/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0001.jpg
/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0002.jpg
/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0003.jpg
/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0000.jpg
/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0001.jpg
/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.199109315872192 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:00:22.553651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0001.jpg', '/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0002.jpg', '/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0003.jpg', '/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0000.jpg', '/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0001.jpg', '/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0001.jpg
/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0002.jpg
/home/pi/Desktop/images/24012025/03/58/image_24012025_03_58_02_503337_0003.jpg
/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0000.jpg
/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0001.jpg
/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330928740","1330928751","1330928736","1330928738","1330928729","1330928746"],"photo_ids_order":["1330928729","1330928736","1330928738","1330928740","1330928746","1330928751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa160c630661323d1de99a68d9943d7c.jpg","text":"TemporaryFile(/tmp/multipartBody76805703458021779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687699079,"filename":"image_24012025_03_59_02_213809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f4b63eacd4bc04898528a472ba931e29.jpg","text":"TemporaryFile(/tmp/multipartBody856397370929470041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687699079,"filename":"image_24012025_03_59_02_213809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/02128f14334290466223a5355f31ce0e.jpg","text":"TemporaryFile(/tmp/multipartBody7890331116750982661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687699079,"filename":"image_24012025_03_58_02_503337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e44390784e7d6c6a79bb9049e14a7868.jpg","text":"TemporaryFile(/tmp/multipartBody7119319723005796635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687699079,"filename":"image_24012025_03_58_02_503337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f348c06ed7033ec002bea4c5bc631eaf.jpg","text":"TemporaryFile(/tmp/multipartBody5262251478192253916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687699079,"filename":"image_24012025_03_58_02_503337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/457f5f80dc025d79b753246bc194e520.jpg","text":"TemporaryFile(/tmp/multipartBody3448974739468413277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687699079,"filename":"image_24012025_03_59_02_213809_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330928738","file1":"1330928736","file0":"1330928729","file4":"1330928746","file5":"1330928751","file3":"1330928740"},"map_files_photo_id_array":[{"photo_id":"1330928751","filename":"file5"},{"photo_id":"1330928738","filename":"file2"},{"photo_id":"1330928746","filename":"file4"},{"photo_id":"1330928736","filename":"file1"},{"photo_id":"1330928729","filename":"file0"},{"photo_id":"1330928740","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330928740":["hashtag1","hashtag2"]},{"1330928751":["hashtag1","hashtag2"]},{"1330928736":["hashtag1","hashtag2"]},{"1330928738":["hashtag1","hashtag2"]},{"1330928729":["hashtag1","hashtag2"]},{"1330928746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330928740, 1330928751, 1330928736, 1330928738, 1330928729, 1330928746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.29432129859924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:02:02.951076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0003.jpg', '/home/pi/Desktop/images/24012025/04/00/image_24012025_04_00_02_306528_0000.jpg', '/home/pi/Desktop/images/24012025/04/00/image_24012025_04_00_02_306528_0001.jpg', '/home/pi/Desktop/images/24012025/04/00/image_24012025_04_00_02_306528_0002.jpg', '/home/pi/Desktop/images/24012025/04/00/image_24012025_04_00_02_306528_0003.jpg', '/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/03/59/image_24012025_03_59_02_213809_0003.jpg
/home/pi/Desktop/images/24012025/04/00/image_24012025_04_00_02_306528_0000.jpg
/home/pi/Desktop/images/24012025/04/00/image_24012025_04_00_02_306528_0001.jpg
/home/pi/Desktop/images/24012025/04/00/image_24012025_04_00_02_306528_0002.jpg
/home/pi/Desktop/images/24012025/04/00/image_24012025_04_00_02_306528_0003.jpg
/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330928879","1330928951","1330928873","1330928948","1330928939","1330928944"],"photo_ids_order":["1330928873","1330928879","1330928939","1330928944","1330928948","1330928951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/22f9f1cb73bb8ce4057851c86995c00a.jpg","text":"TemporaryFile(/tmp/multipartBody3567419931571514566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687799584,"filename":"image_24012025_04_00_02_306528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f874eaf5bb0ba58373d435cfebb467f4.jpg","text":"TemporaryFile(/tmp/multipartBody2814279548114721867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687799584,"filename":"image_24012025_04_01_02_906823_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/95b318bfe006b3631f81e41f63573b24.jpg","text":"TemporaryFile(/tmp/multipartBody4702614797719787155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687799584,"filename":"image_24012025_03_59_02_213809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/52c735f0b33d99bfb6051b4a67f0cf6d.jpg","text":"TemporaryFile(/tmp/multipartBody640840439059904001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687799584,"filename":"image_24012025_04_00_02_306528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1653ad0ea3d346a23e1c02391c524a47.jpg","text":"TemporaryFile(/tmp/multipartBody573152592798214594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687799584,"filename":"image_24012025_04_00_02_306528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cf3631b9aac78edad25b23cbd7595be4.jpg","text":"TemporaryFile(/tmp/multipartBody1781767165391378424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687799584,"filename":"image_24012025_04_00_02_306528_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330928939","file1":"1330928879","file0":"1330928873","file4":"1330928948","file5":"1330928951","file3":"1330928944"},"map_files_photo_id_array":[{"photo_id":"1330928951","filename":"file5"},{"photo_id":"1330928939","filename":"file2"},{"photo_id":"1330928948","filename":"file4"},{"photo_id":"1330928879","filename":"file1"},{"photo_id":"1330928873","filename":"file0"},{"photo_id":"1330928944","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330928879":["hashtag1","hashtag2"]},{"1330928951":["hashtag1","hashtag2"]},{"1330928873":["hashtag1","hashtag2"]},{"1330928948":["hashtag1","hashtag2"]},{"1330928939":["hashtag1","hashtag2"]},{"1330928944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330928879, 1330928951, 1330928873, 1330928948, 1330928939, 1330928944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.926618576049805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:03:02.661576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0001.jpg', '/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0002.jpg', '/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0003.jpg', '/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0000.jpg', '/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0001.jpg', '/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0001.jpg
/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0002.jpg
/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0003.jpg
/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0000.jpg
/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0001.jpg
/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.43551516532898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:03:22.003272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0001.jpg', '/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0002.jpg', '/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0003.jpg', '/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0000.jpg', '/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0001.jpg', '/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0001.jpg
/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0002.jpg
/home/pi/Desktop/images/24012025/04/01/image_24012025_04_01_02_906823_0003.jpg
/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0000.jpg
/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0001.jpg
/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330929016","1330929012","1330929006","1330929038","1330929023","1330929017"],"photo_ids_order":["1330929006","1330929012","1330929016","1330929017","1330929023","1330929038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/768a84cc193c87f6392a5f880586cb9c.jpg","text":"TemporaryFile(/tmp/multipartBody897936040231010073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687878761,"filename":"image_24012025_04_01_02_906823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32f11d6ce6d7a755fe7052a86812abc3.jpg","text":"TemporaryFile(/tmp/multipartBody368680281993193874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687878761,"filename":"image_24012025_04_01_02_906823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9576a560be43fe01ab693618a454e465.jpg","text":"TemporaryFile(/tmp/multipartBody7830441635290479190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687878761,"filename":"image_24012025_04_01_02_906823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/623a89df5f3f91ae44f3acb00ad4b597.jpg","text":"TemporaryFile(/tmp/multipartBody1963680413310486782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687878761,"filename":"image_24012025_04_02_02_390578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ae5e4eac1b0c7bfc517ad120c7a865e.jpg","text":"TemporaryFile(/tmp/multipartBody1835778769429609325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687878761,"filename":"image_24012025_04_02_02_390578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f429e57961b75e7ad1caaf76ece658eb.jpg","text":"TemporaryFile(/tmp/multipartBody1316483380982968811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687878761,"filename":"image_24012025_04_02_02_390578_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330929016","file1":"1330929012","file0":"1330929006","file4":"1330929023","file5":"1330929038","file3":"1330929017"},"map_files_photo_id_array":[{"photo_id":"1330929038","filename":"file5"},{"photo_id":"1330929016","filename":"file2"},{"photo_id":"1330929023","filename":"file4"},{"photo_id":"1330929012","filename":"file1"},{"photo_id":"1330929006","filename":"file0"},{"photo_id":"1330929017","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330929016":["hashtag1","hashtag2"]},{"1330929012":["hashtag1","hashtag2"]},{"1330929006":["hashtag1","hashtag2"]},{"1330929038":["hashtag1","hashtag2"]},{"1330929023":["hashtag1","hashtag2"]},{"1330929017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330929016, 1330929012, 1330929006, 1330929038, 1330929023, 1330929017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.35923218727112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:05:02.737107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0003.jpg', '/home/pi/Desktop/images/24012025/04/03/image_24012025_04_03_02_899373_0000.jpg', '/home/pi/Desktop/images/24012025/04/03/image_24012025_04_03_02_899373_0001.jpg', '/home/pi/Desktop/images/24012025/04/03/image_24012025_04_03_02_899373_0002.jpg', '/home/pi/Desktop/images/24012025/04/03/image_24012025_04_03_02_899373_0003.jpg', '/home/pi/Desktop/images/24012025/04/04/image_24012025_04_04_02_495436_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/02/image_24012025_04_02_02_390578_0003.jpg
/home/pi/Desktop/images/24012025/04/03/image_24012025_04_03_02_899373_0000.jpg
/home/pi/Desktop/images/24012025/04/03/image_24012025_04_03_02_899373_0001.jpg
/home/pi/Desktop/images/24012025/04/03/image_24012025_04_03_02_899373_0002.jpg
/home/pi/Desktop/images/24012025/04/03/image_24012025_04_03_02_899373_0003.jpg
/home/pi/Desktop/images/24012025/04/04/image_24012025_04_04_02_495436_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330929176","1330929143","1330929152","1330929107","1330929136","1330929130"],"photo_ids_order":["1330929107","1330929130","1330929136","1330929143","1330929152","1330929176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ec7edb03bcb11e85d75bb9af80fa2f5.jpg","text":"TemporaryFile(/tmp/multipartBody444532596033698750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687979175,"filename":"image_24012025_04_04_02_495436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b1b50234ae7ae29573cf2a94b98694f4.jpg","text":"TemporaryFile(/tmp/multipartBody1399243289959473090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687979175,"filename":"image_24012025_04_03_02_899373_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/338224ab78c579d6ed4bd57061da3021.jpg","text":"TemporaryFile(/tmp/multipartBody3869737657762384519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687979175,"filename":"image_24012025_04_03_02_899373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/caa4eb244e62c4753d683b737fa629cd.jpg","text":"TemporaryFile(/tmp/multipartBody7687780969458359187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687979175,"filename":"image_24012025_04_02_02_390578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e868b23bfb08cb6db446cf815dd14d0.jpg","text":"TemporaryFile(/tmp/multipartBody2287536046636138239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687979175,"filename":"image_24012025_04_03_02_899373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee1027dfa03054dc73568491a8f36c71.jpg","text":"TemporaryFile(/tmp/multipartBody3836974171413983573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737687979175,"filename":"image_24012025_04_03_02_899373_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330929136","file1":"1330929130","file0":"1330929107","file4":"1330929152","file5":"1330929176","file3":"1330929143"},"map_files_photo_id_array":[{"photo_id":"1330929176","filename":"file5"},{"photo_id":"1330929136","filename":"file2"},{"photo_id":"1330929152","filename":"file4"},{"photo_id":"1330929130","filename":"file1"},{"photo_id":"1330929107","filename":"file0"},{"photo_id":"1330929143","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330929176":["hashtag1","hashtag2"]},{"1330929143":["hashtag1","hashtag2"]},{"1330929152":["hashtag1","hashtag2"]},{"1330929107":["hashtag1","hashtag2"]},{"1330929136":["hashtag1","hashtag2"]},{"1330929130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330929176, 1330929143, 1330929152, 1330929107, 1330929136, 1330929130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.3111686706543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:06:02.277725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/04/image_24012025_04_04_02_495436_0001.jpg', '/home/pi/Desktop/images/24012025/04/04/image_24012025_04_04_02_495436_0002.jpg', '/home/pi/Desktop/images/24012025/04/04/image_24012025_04_04_02_495436_0003.jpg', '/home/pi/Desktop/images/24012025/04/05/image_24012025_04_05_03_131267_0000.jpg', '/home/pi/Desktop/images/24012025/04/05/image_24012025_04_05_03_131267_0001.jpg', '/home/pi/Desktop/images/24012025/04/05/image_24012025_04_05_03_131267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/04/image_24012025_04_04_02_495436_0001.jpg
/home/pi/Desktop/images/24012025/04/04/image_24012025_04_04_02_495436_0002.jpg
/home/pi/Desktop/images/24012025/04/04/image_24012025_04_04_02_495436_0003.jpg
/home/pi/Desktop/images/24012025/04/05/image_24012025_04_05_03_131267_0000.jpg
/home/pi/Desktop/images/24012025/04/05/image_24012025_04_05_03_131267_0001.jpg
/home/pi/Desktop/images/24012025/04/05/image_24012025_04_05_03_131267_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330929693","1330929214","1330929198","1330929516","1330929391","1330929463"],"photo_ids_order":["1330929198","1330929214","1330929391","1330929463","1330929516","1330929693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/44a230a446e309bf024db33af8e36011.jpg","text":"TemporaryFile(/tmp/multipartBody3810043168182315402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688038329,"filename":"image_24012025_04_05_03_131267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7ed6ae982983dda145064848891a7b4.jpg","text":"TemporaryFile(/tmp/multipartBody6603074522170179842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688038329,"filename":"image_24012025_04_04_02_495436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb28b4569aa4a9ce94f241695a146017.jpg","text":"TemporaryFile(/tmp/multipartBody1544422766601910166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688038329,"filename":"image_24012025_04_04_02_495436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/118c7bc169e7b3077875c4cf71a1923a.jpg","text":"TemporaryFile(/tmp/multipartBody7261973613364032102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688038329,"filename":"image_24012025_04_05_03_131267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cb74a534fc9b291b1d24cbc56480fb9c.jpg","text":"TemporaryFile(/tmp/multipartBody7331832767594329045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688038329,"filename":"image_24012025_04_04_02_495436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a4825a28aae5bbecded7ecf1f23376d0.jpg","text":"TemporaryFile(/tmp/multipartBody5657107527873318017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688038329,"filename":"image_24012025_04_05_03_131267_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330929391","file1":"1330929214","file0":"1330929198","file4":"1330929516","file5":"1330929693","file3":"1330929463"},"map_files_photo_id_array":[{"photo_id":"1330929693","filename":"file5"},{"photo_id":"1330929391","filename":"file2"},{"photo_id":"1330929516","filename":"file4"},{"photo_id":"1330929214","filename":"file1"},{"photo_id":"1330929198","filename":"file0"},{"photo_id":"1330929463","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330929693":["hashtag1","hashtag2"]},{"1330929214":["hashtag1","hashtag2"]},{"1330929198":["hashtag1","hashtag2"]},{"1330929516":["hashtag1","hashtag2"]},{"1330929391":["hashtag1","hashtag2"]},{"1330929463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330929693, 1330929214, 1330929198, 1330929516, 1330929391, 1330929463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.37575769424438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:07:22.298632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/05/image_24012025_04_05_03_131267_0003.jpg', '/home/pi/Desktop/images/24012025/04/06/image_24012025_04_06_02_565351_0000.jpg', '/home/pi/Desktop/images/24012025/04/06/image_24012025_04_06_02_565351_0001.jpg', '/home/pi/Desktop/images/24012025/04/06/image_24012025_04_06_02_565351_0002.jpg', '/home/pi/Desktop/images/24012025/04/06/image_24012025_04_06_02_565351_0003.jpg', '/home/pi/Desktop/images/24012025/04/07/image_24012025_04_07_02_181864_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/05/image_24012025_04_05_03_131267_0003.jpg
/home/pi/Desktop/images/24012025/04/06/image_24012025_04_06_02_565351_0000.jpg
/home/pi/Desktop/images/24012025/04/06/image_24012025_04_06_02_565351_0001.jpg
/home/pi/Desktop/images/24012025/04/06/image_24012025_04_06_02_565351_0002.jpg
/home/pi/Desktop/images/24012025/04/06/image_24012025_04_06_02_565351_0003.jpg
/home/pi/Desktop/images/24012025/04/07/image_24012025_04_07_02_181864_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330930057","1330930039","1330930050","1330930044","1330930064","1330930034"],"photo_ids_order":["1330930034","1330930039","1330930044","1330930050","1330930057","1330930064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3c4a1adfba14b26c91382757127355b1.jpg","text":"TemporaryFile(/tmp/multipartBody1070332542785167611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688118591,"filename":"image_24012025_04_06_02_565351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5e5019d95bd8a749040096cbb6d0936d.jpg","text":"TemporaryFile(/tmp/multipartBody3284695522539828191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688118591,"filename":"image_24012025_04_06_02_565351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65946914a24328e360396b1bf7e88582.jpg","text":"TemporaryFile(/tmp/multipartBody2974986249139605210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688118591,"filename":"image_24012025_04_06_02_565351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bc52298d94efe7d3372f6850a41b7d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4401525466512872780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688118591,"filename":"image_24012025_04_06_02_565351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb1f201be1dbe2a6f937f9bdd2b486ae.jpg","text":"TemporaryFile(/tmp/multipartBody3116671278780263526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688118591,"filename":"image_24012025_04_07_02_181864_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a75dac89b6268bb3080f782c81a6bfc.jpg","text":"TemporaryFile(/tmp/multipartBody3278754156692747603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688118591,"filename":"image_24012025_04_05_03_131267_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330930044","file1":"1330930039","file0":"1330930034","file4":"1330930057","file5":"1330930064","file3":"1330930050"},"map_files_photo_id_array":[{"photo_id":"1330930064","filename":"file5"},{"photo_id":"1330930044","filename":"file2"},{"photo_id":"1330930057","filename":"file4"},{"photo_id":"1330930039","filename":"file1"},{"photo_id":"1330930034","filename":"file0"},{"photo_id":"1330930050","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330930057":["hashtag1","hashtag2"]},{"1330930039":["hashtag1","hashtag2"]},{"1330930050":["hashtag1","hashtag2"]},{"1330930044":["hashtag1","hashtag2"]},{"1330930064":["hashtag1","hashtag2"]},{"1330930034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330930057, 1330930039, 1330930050, 1330930044, 1330930064, 1330930034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.540284395217896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:08:21.828645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/07/image_24012025_04_07_02_181864_0001.jpg', '/home/pi/Desktop/images/24012025/04/07/image_24012025_04_07_02_181864_0002.jpg', '/home/pi/Desktop/images/24012025/04/07/image_24012025_04_07_02_181864_0003.jpg', '/home/pi/Desktop/images/24012025/04/08/image_24012025_04_08_02_674676_0000.jpg', '/home/pi/Desktop/images/24012025/04/08/image_24012025_04_08_02_674676_0001.jpg', '/home/pi/Desktop/images/24012025/04/08/image_24012025_04_08_02_674676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/07/image_24012025_04_07_02_181864_0001.jpg
/home/pi/Desktop/images/24012025/04/07/image_24012025_04_07_02_181864_0002.jpg
/home/pi/Desktop/images/24012025/04/07/image_24012025_04_07_02_181864_0003.jpg
/home/pi/Desktop/images/24012025/04/08/image_24012025_04_08_02_674676_0000.jpg
/home/pi/Desktop/images/24012025/04/08/image_24012025_04_08_02_674676_0001.jpg
/home/pi/Desktop/images/24012025/04/08/image_24012025_04_08_02_674676_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330930413","1330930397","1330930422","1330930416","1330930403","1330930409"],"photo_ids_order":["1330930397","1330930403","1330930409","1330930413","1330930416","1330930422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/111905406441f563453ef97712346a7e.jpg","text":"TemporaryFile(/tmp/multipartBody110762543481657642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688178152,"filename":"image_24012025_04_08_02_674676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4670a28ccb5ebf883588596c033b56b0.jpg","text":"TemporaryFile(/tmp/multipartBody1412672804909543091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688178152,"filename":"image_24012025_04_07_02_181864_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4cf790f4cac138a1c2e8511a05b950a4.jpg","text":"TemporaryFile(/tmp/multipartBody1374548900500302770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688178152,"filename":"image_24012025_04_08_02_674676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34a8edbc95f3f07f4587d5011f4da6db.jpg","text":"TemporaryFile(/tmp/multipartBody2247320365154462672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688178152,"filename":"image_24012025_04_08_02_674676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/938ef7d87596c717c0f63b44d3ad8590.jpg","text":"TemporaryFile(/tmp/multipartBody6803779549000887104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688178152,"filename":"image_24012025_04_07_02_181864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2b2bc15a8ee3d37a59630d748e9cc278.jpg","text":"TemporaryFile(/tmp/multipartBody587111362711065398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688178152,"filename":"image_24012025_04_07_02_181864_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330930409","file1":"1330930403","file0":"1330930397","file4":"1330930416","file5":"1330930422","file3":"1330930413"},"map_files_photo_id_array":[{"photo_id":"1330930422","filename":"file5"},{"photo_id":"1330930409","filename":"file2"},{"photo_id":"1330930416","filename":"file4"},{"photo_id":"1330930403","filename":"file1"},{"photo_id":"1330930397","filename":"file0"},{"photo_id":"1330930413","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330930413":["hashtag1","hashtag2"]},{"1330930397":["hashtag1","hashtag2"]},{"1330930422":["hashtag1","hashtag2"]},{"1330930416":["hashtag1","hashtag2"]},{"1330930403":["hashtag1","hashtag2"]},{"1330930409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330930413, 1330930397, 1330930422, 1330930416, 1330930403, 1330930409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.638323068618774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:10:02.208642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/08/image_24012025_04_08_02_674676_0003.jpg', '/home/pi/Desktop/images/24012025/04/09/image_24012025_04_09_02_160650_0000.jpg', '/home/pi/Desktop/images/24012025/04/09/image_24012025_04_09_02_160650_0001.jpg', '/home/pi/Desktop/images/24012025/04/09/image_24012025_04_09_02_160650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/08/image_24012025_04_08_02_674676_0003.jpg
/home/pi/Desktop/images/24012025/04/09/image_24012025_04_09_02_160650_0000.jpg
/home/pi/Desktop/images/24012025/04/09/image_24012025_04_09_02_160650_0001.jpg
/home/pi/Desktop/images/24012025/04/09/image_24012025_04_09_02_160650_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330930470","1330930478","1330930502","1330930495"],"photo_ids_order":["1330930470","1330930478","1330930495","1330930502"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4fe01923040ddad0b5b941c291de6f1a.jpg","text":"TemporaryFile(/tmp/multipartBody4350051635028180317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688273426,"filename":"image_24012025_04_08_02_674676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd8fe7a66a557d0c375949443a07a73e.jpg","text":"TemporaryFile(/tmp/multipartBody2170080200066878069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688273426,"filename":"image_24012025_04_09_02_160650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/900d42b901716a1c2f04f178e2637aa1.jpg","text":"TemporaryFile(/tmp/multipartBody3744193939748166125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688273426,"filename":"image_24012025_04_09_02_160650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bc2ff5be3c52386951f532bc61826e47.jpg","text":"TemporaryFile(/tmp/multipartBody4062098393686920868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688273426,"filename":"image_24012025_04_09_02_160650_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330930495","file1":"1330930478","file0":"1330930470","file3":"1330930502"},"map_files_photo_id_array":[{"photo_id":"1330930495","filename":"file2"},{"photo_id":"1330930478","filename":"file1"},{"photo_id":"1330930470","filename":"file0"},{"photo_id":"1330930502","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330930470":["hashtag1","hashtag2"]},{"1330930478":["hashtag1","hashtag2"]},{"1330930502":["hashtag1","hashtag2"]},{"1330930495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330930470, 1330930478, 1330930502, 1330930495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24804067611694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:11:02.920794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/09/image_24012025_04_09_02_160650_0003.jpg', '/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0000.jpg', '/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0001.jpg', '/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/09/image_24012025_04_09_02_160650_0003.jpg
/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0000.jpg
/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0001.jpg
/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.902781963348389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:11:22.236842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/09/image_24012025_04_09_02_160650_0003.jpg', '/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0000.jpg', '/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0001.jpg', '/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0002.jpg', '/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0003.jpg', '/home/pi/Desktop/images/24012025/04/11/image_24012025_04_11_02_159743_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/09/image_24012025_04_09_02_160650_0003.jpg
/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0000.jpg
/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0001.jpg
/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0002.jpg
/home/pi/Desktop/images/24012025/04/10/image_24012025_04_10_02_663342_0003.jpg
/home/pi/Desktop/images/24012025/04/11/image_24012025_04_11_02_159743_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330930578","1330930592","1330930586","1330930588","1330930582","1330930585"],"photo_ids_order":["1330930578","1330930582","1330930585","1330930586","1330930588","1330930592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/54e8cfbed93b44836639475e21e2fffb.jpg","text":"TemporaryFile(/tmp/multipartBody9174943774474151443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688358966,"filename":"image_24012025_04_09_02_160650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fdc3ee692c2b49c6d04b07b95d5e3583.jpg","text":"TemporaryFile(/tmp/multipartBody9137605440977081778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688358966,"filename":"image_24012025_04_11_02_159743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4cb69cabd3cd7f2ad04541c01a0da632.jpg","text":"TemporaryFile(/tmp/multipartBody4305115179245868528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688358966,"filename":"image_24012025_04_10_02_663342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f8c09b88ad577414ebd529d573c89d6.jpg","text":"TemporaryFile(/tmp/multipartBody5874221210644188124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688358966,"filename":"image_24012025_04_10_02_663342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1b293b4631132f62ca313c4f93de0eaf.jpg","text":"TemporaryFile(/tmp/multipartBody4479026538188087044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688358966,"filename":"image_24012025_04_10_02_663342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/88b7bd36f78941d7cf172db15131e305.jpg","text":"TemporaryFile(/tmp/multipartBody5269703517517706569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688358966,"filename":"image_24012025_04_10_02_663342_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330930585","file1":"1330930582","file0":"1330930578","file4":"1330930588","file5":"1330930592","file3":"1330930586"},"map_files_photo_id_array":[{"photo_id":"1330930592","filename":"file5"},{"photo_id":"1330930585","filename":"file2"},{"photo_id":"1330930588","filename":"file4"},{"photo_id":"1330930582","filename":"file1"},{"photo_id":"1330930578","filename":"file0"},{"photo_id":"1330930586","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330930578":["hashtag1","hashtag2"]},{"1330930592":["hashtag1","hashtag2"]},{"1330930586":["hashtag1","hashtag2"]},{"1330930588":["hashtag1","hashtag2"]},{"1330930582":["hashtag1","hashtag2"]},{"1330930585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330930578, 1330930592, 1330930586, 1330930588, 1330930582, 1330930585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.86527609825134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:12:21.909415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/11/image_24012025_04_11_02_159743_0001.jpg', '/home/pi/Desktop/images/24012025/04/11/image_24012025_04_11_02_159743_0002.jpg', '/home/pi/Desktop/images/24012025/04/11/image_24012025_04_11_02_159743_0003.jpg', '/home/pi/Desktop/images/24012025/04/12/image_24012025_04_12_02_644217_0000.jpg', '/home/pi/Desktop/images/24012025/04/12/image_24012025_04_12_02_644217_0001.jpg', '/home/pi/Desktop/images/24012025/04/12/image_24012025_04_12_02_644217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/11/image_24012025_04_11_02_159743_0001.jpg
/home/pi/Desktop/images/24012025/04/11/image_24012025_04_11_02_159743_0002.jpg
/home/pi/Desktop/images/24012025/04/11/image_24012025_04_11_02_159743_0003.jpg
/home/pi/Desktop/images/24012025/04/12/image_24012025_04_12_02_644217_0000.jpg
/home/pi/Desktop/images/24012025/04/12/image_24012025_04_12_02_644217_0001.jpg
/home/pi/Desktop/images/24012025/04/12/image_24012025_04_12_02_644217_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330930627","1330930620","1330930623","1330930614","1330930685","1330930681"],"photo_ids_order":["1330930614","1330930620","1330930623","1330930627","1330930681","1330930685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/95d8a2f3076dca95b4a6c316ea1a4811.jpg","text":"TemporaryFile(/tmp/multipartBody3145546109668272498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688418286,"filename":"image_24012025_04_12_02_644217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a07b12eb3d6c9c7401d0d727f0026074.jpg","text":"TemporaryFile(/tmp/multipartBody903447709849978957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688418286,"filename":"image_24012025_04_11_02_159743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f874973119066dd25977caef740f2fc1.jpg","text":"TemporaryFile(/tmp/multipartBody287291533382420825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688418286,"filename":"image_24012025_04_11_02_159743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/283a279f58a115db53af9f843508cf63.jpg","text":"TemporaryFile(/tmp/multipartBody343312983193255801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688418286,"filename":"image_24012025_04_11_02_159743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c348b48e59f5ada08bfb61559b105006.jpg","text":"TemporaryFile(/tmp/multipartBody9137812374621538299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688418286,"filename":"image_24012025_04_12_02_644217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37accff60149cd8b3daedaad751be5bd.jpg","text":"TemporaryFile(/tmp/multipartBody7639591161106104018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688418286,"filename":"image_24012025_04_12_02_644217_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330930623","file1":"1330930620","file0":"1330930614","file4":"1330930681","file5":"1330930685","file3":"1330930627"},"map_files_photo_id_array":[{"photo_id":"1330930685","filename":"file5"},{"photo_id":"1330930623","filename":"file2"},{"photo_id":"1330930681","filename":"file4"},{"photo_id":"1330930620","filename":"file1"},{"photo_id":"1330930614","filename":"file0"},{"photo_id":"1330930627","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330930627":["hashtag1","hashtag2"]},{"1330930620":["hashtag1","hashtag2"]},{"1330930623":["hashtag1","hashtag2"]},{"1330930614":["hashtag1","hashtag2"]},{"1330930685":["hashtag1","hashtag2"]},{"1330930681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330930627, 1330930620, 1330930623, 1330930614, 1330930685, 1330930681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.392659425735474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:13:22.422859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/12/image_24012025_04_12_02_644217_0003.jpg', '/home/pi/Desktop/images/24012025/04/13/image_24012025_04_13_02_323459_0000.jpg', '/home/pi/Desktop/images/24012025/04/13/image_24012025_04_13_02_323459_0001.jpg', '/home/pi/Desktop/images/24012025/04/13/image_24012025_04_13_02_323459_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/12/image_24012025_04_12_02_644217_0003.jpg
/home/pi/Desktop/images/24012025/04/13/image_24012025_04_13_02_323459_0000.jpg
/home/pi/Desktop/images/24012025/04/13/image_24012025_04_13_02_323459_0001.jpg
/home/pi/Desktop/images/24012025/04/13/image_24012025_04_13_02_323459_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330930711","1330930714","1330930708","1330930703"],"photo_ids_order":["1330930703","1330930708","1330930711","1330930714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e8355ba03e5b0219857fab8fb375de0.jpg","text":"TemporaryFile(/tmp/multipartBody6542989893098196102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688473641,"filename":"image_24012025_04_13_02_323459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/16ebc8108e121c6646691efeb657e988.jpg","text":"TemporaryFile(/tmp/multipartBody7618242094103662035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688473641,"filename":"image_24012025_04_13_02_323459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c72775ffbfe870d978eb99b913a75db.jpg","text":"TemporaryFile(/tmp/multipartBody7268632783999991393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688473641,"filename":"image_24012025_04_13_02_323459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/81af6c55dd90eda7752953ac49a8e806.jpg","text":"TemporaryFile(/tmp/multipartBody29285731036589193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688473641,"filename":"image_24012025_04_12_02_644217_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330930711","file1":"1330930708","file0":"1330930703","file3":"1330930714"},"map_files_photo_id_array":[{"photo_id":"1330930711","filename":"file2"},{"photo_id":"1330930708","filename":"file1"},{"photo_id":"1330930703","filename":"file0"},{"photo_id":"1330930714","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330930711":["hashtag1","hashtag2"]},{"1330930714":["hashtag1","hashtag2"]},{"1330930708":["hashtag1","hashtag2"]},{"1330930703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330930711, 1330930714, 1330930708, 1330930703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.76893448829651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:14:21.939464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/13/image_24012025_04_13_02_323459_0003.jpg', '/home/pi/Desktop/images/24012025/04/14/image_24012025_04_14_02_829589_0000.jpg', '/home/pi/Desktop/images/24012025/04/14/image_24012025_04_14_02_829589_0001.jpg', '/home/pi/Desktop/images/24012025/04/14/image_24012025_04_14_02_829589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/13/image_24012025_04_13_02_323459_0003.jpg
/home/pi/Desktop/images/24012025/04/14/image_24012025_04_14_02_829589_0000.jpg
/home/pi/Desktop/images/24012025/04/14/image_24012025_04_14_02_829589_0001.jpg
/home/pi/Desktop/images/24012025/04/14/image_24012025_04_14_02_829589_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330930764","1330930767","1330930760","1330930754"],"photo_ids_order":["1330930754","1330930760","1330930764","1330930767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e60538aa1dc0f992ecd00fc2372d049.jpg","text":"TemporaryFile(/tmp/multipartBody907387339724936019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688532831,"filename":"image_24012025_04_14_02_829589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98f4d46da7798a5b14c198b165cd22c7.jpg","text":"TemporaryFile(/tmp/multipartBody5017267965210583971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688532831,"filename":"image_24012025_04_14_02_829589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5e4e6e63ec88437a29fc3aab16f88e6.jpg","text":"TemporaryFile(/tmp/multipartBody5152709330692746930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688532831,"filename":"image_24012025_04_14_02_829589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/43703c3e3eb86167ccc69f3776fd1b36.jpg","text":"TemporaryFile(/tmp/multipartBody5351853028665756908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688532831,"filename":"image_24012025_04_13_02_323459_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330930764","file1":"1330930760","file0":"1330930754","file3":"1330930767"},"map_files_photo_id_array":[{"photo_id":"1330930764","filename":"file2"},{"photo_id":"1330930760","filename":"file1"},{"photo_id":"1330930754","filename":"file0"},{"photo_id":"1330930767","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330930764":["hashtag1","hashtag2"]},{"1330930767":["hashtag1","hashtag2"]},{"1330930760":["hashtag1","hashtag2"]},{"1330930754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330930764, 1330930767, 1330930760, 1330930754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04249596595764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:15:03.032226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/01/image_21012025_20_01_02_894002_0000.jpg', '/home/pi/Desktop/images/21012025/20/01/image_21012025_20_01_02_894002_0001.jpg', '/home/pi/Desktop/images/21012025/20/01/image_21012025_20_01_02_894002_0002.jpg', '/home/pi/Desktop/images/21012025/20/01/image_21012025_20_01_02_894002_0003.jpg', '/home/pi/Desktop/images/21012025/20/02/image_21012025_20_02_03_110996_0000.jpg', '/home/pi/Desktop/images/21012025/20/02/image_21012025_20_02_03_110996_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/01/image_21012025_20_01_02_894002_0000.jpg
/home/pi/Desktop/images/21012025/20/01/image_21012025_20_01_02_894002_0001.jpg
/home/pi/Desktop/images/21012025/20/01/image_21012025_20_01_02_894002_0002.jpg
/home/pi/Desktop/images/21012025/20/01/image_21012025_20_01_02_894002_0003.jpg
/home/pi/Desktop/images/21012025/20/02/image_21012025_20_02_03_110996_0000.jpg
/home/pi/Desktop/images/21012025/20/02/image_21012025_20_02_03_110996_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330930804","1330930797","1330930791","1330930809","1330930814","1330930786"],"photo_ids_order":["1330930786","1330930791","1330930797","1330930804","1330930809","1330930814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/75c4e9a281f772dfba2cdb2449c369b3.jpg","text":"TemporaryFile(/tmp/multipartBody8697315150646816557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688581148,"filename":"image_21012025_20_01_02_894002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/050e1f990b843f99954f8e893d80124d.jpg","text":"TemporaryFile(/tmp/multipartBody8606789312000172692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688581148,"filename":"image_21012025_20_01_02_894002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d4fc8cd4ab40519f2a3a7a7376fe6838.jpg","text":"TemporaryFile(/tmp/multipartBody8469912484355475508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688581148,"filename":"image_21012025_20_01_02_894002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/159ba31a3679c3295d5df71fadcfa41b.jpg","text":"TemporaryFile(/tmp/multipartBody1546060029897774889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688581148,"filename":"image_21012025_20_02_03_110996_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db0282977918e8092b7082f301a6fbed.jpg","text":"TemporaryFile(/tmp/multipartBody8768191888070780123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688581148,"filename":"image_21012025_20_02_03_110996_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f8c24f2d953178d9a55ca5194143d566.jpg","text":"TemporaryFile(/tmp/multipartBody1995018380757600189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688581148,"filename":"image_21012025_20_01_02_894002_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330930797","file1":"1330930791","file0":"1330930786","file4":"1330930809","file5":"1330930814","file3":"1330930804"},"map_files_photo_id_array":[{"photo_id":"1330930814","filename":"file5"},{"photo_id":"1330930797","filename":"file2"},{"photo_id":"1330930809","filename":"file4"},{"photo_id":"1330930791","filename":"file1"},{"photo_id":"1330930786","filename":"file0"},{"photo_id":"1330930804","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330930804":["hashtag1","hashtag2"]},{"1330930797":["hashtag1","hashtag2"]},{"1330930791":["hashtag1","hashtag2"]},{"1330930809":["hashtag1","hashtag2"]},{"1330930814":["hashtag1","hashtag2"]},{"1330930786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330930804, 1330930797, 1330930791, 1330930809, 1330930814, 1330930786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.36495614051819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:16:02.635792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/14/image_24012025_04_14_02_829589_0003.jpg', '/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0000.jpg', '/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0001.jpg', '/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/14/image_24012025_04_14_02_829589_0003.jpg
/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0000.jpg
/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0001.jpg
/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.696187496185303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:16:22.261168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/14/image_24012025_04_14_02_829589_0003.jpg', '/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0000.jpg', '/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0001.jpg', '/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0002.jpg', '/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0003.jpg', '/home/pi/Desktop/images/24012025/04/16/image_24012025_04_16_02_942353_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/14/image_24012025_04_14_02_829589_0003.jpg
/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0000.jpg
/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0001.jpg
/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0002.jpg
/home/pi/Desktop/images/24012025/04/15/image_24012025_04_15_02_350176_0003.jpg
/home/pi/Desktop/images/24012025/04/16/image_24012025_04_16_02_942353_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330931136","1330931130","1330931127","1330931123","1330931117","1330931132"],"photo_ids_order":["1330931117","1330931123","1330931127","1330931130","1330931132","1330931136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2dc4e5dc0cd3dc329936a29d74278a70.jpg","text":"TemporaryFile(/tmp/multipartBody8104368845732219393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688658510,"filename":"image_24012025_04_16_02_942353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0a6b10e9da64f2dc6aca2a53d6c31ae.jpg","text":"TemporaryFile(/tmp/multipartBody6505792946365748676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688658510,"filename":"image_24012025_04_15_02_350176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c6deae849ba9840670932685d99ec76.jpg","text":"TemporaryFile(/tmp/multipartBody7220460517602312696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688658510,"filename":"image_24012025_04_15_02_350176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5120ab8ad849c85ca9fd871512e80ef.jpg","text":"TemporaryFile(/tmp/multipartBody5710869134902758764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688658510,"filename":"image_24012025_04_15_02_350176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9f6cc27a1a490309633d7f0cff0495de.jpg","text":"TemporaryFile(/tmp/multipartBody7009610806842131910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688658510,"filename":"image_24012025_04_14_02_829589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f4c40a51091068ab90c8723fc37728f.jpg","text":"TemporaryFile(/tmp/multipartBody2584517903730791472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688658510,"filename":"image_24012025_04_15_02_350176_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330931127","file1":"1330931123","file0":"1330931117","file4":"1330931132","file5":"1330931136","file3":"1330931130"},"map_files_photo_id_array":[{"photo_id":"1330931136","filename":"file5"},{"photo_id":"1330931127","filename":"file2"},{"photo_id":"1330931132","filename":"file4"},{"photo_id":"1330931123","filename":"file1"},{"photo_id":"1330931117","filename":"file0"},{"photo_id":"1330931130","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330931136":["hashtag1","hashtag2"]},{"1330931130":["hashtag1","hashtag2"]},{"1330931127":["hashtag1","hashtag2"]},{"1330931123":["hashtag1","hashtag2"]},{"1330931117":["hashtag1","hashtag2"]},{"1330931132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330931136, 1330931130, 1330931127, 1330931123, 1330931117, 1330931132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.116743087768555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:17:22.679981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/16/image_24012025_04_16_02_942353_0001.jpg', '/home/pi/Desktop/images/24012025/04/16/image_24012025_04_16_02_942353_0002.jpg', '/home/pi/Desktop/images/24012025/04/16/image_24012025_04_16_02_942353_0003.jpg', '/home/pi/Desktop/images/24012025/04/17/image_24012025_04_17_02_612385_0000.jpg', '/home/pi/Desktop/images/24012025/04/17/image_24012025_04_17_02_612385_0001.jpg', '/home/pi/Desktop/images/24012025/04/17/image_24012025_04_17_02_612385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/16/image_24012025_04_16_02_942353_0001.jpg
/home/pi/Desktop/images/24012025/04/16/image_24012025_04_16_02_942353_0002.jpg
/home/pi/Desktop/images/24012025/04/16/image_24012025_04_16_02_942353_0003.jpg
/home/pi/Desktop/images/24012025/04/17/image_24012025_04_17_02_612385_0000.jpg
/home/pi/Desktop/images/24012025/04/17/image_24012025_04_17_02_612385_0001.jpg
/home/pi/Desktop/images/24012025/04/17/image_24012025_04_17_02_612385_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330931226","1330931165","1330931204","1330931207","1330931182","1330931170"],"photo_ids_order":["1330931165","1330931170","1330931182","1330931204","1330931207","1330931226"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/266e0532287c660beac12482ac9e2e45.jpg","text":"TemporaryFile(/tmp/multipartBody5151011705487495282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688719294,"filename":"image_24012025_04_17_02_612385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b3f99124e72fd78d0e55dc3265258018.jpg","text":"TemporaryFile(/tmp/multipartBody7794169081827339560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688719294,"filename":"image_24012025_04_16_02_942353_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/25ffb64513edb752ff21dc944acc80c8.jpg","text":"TemporaryFile(/tmp/multipartBody1540361961199175652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688719294,"filename":"image_24012025_04_17_02_612385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/371e96f110d6f7852b20e77822be456e.jpg","text":"TemporaryFile(/tmp/multipartBody384788496938834440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688719294,"filename":"image_24012025_04_17_02_612385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d24984df53e4b5d69887ee71c3f0e1a1.jpg","text":"TemporaryFile(/tmp/multipartBody5168626908642146584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688719294,"filename":"image_24012025_04_16_02_942353_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c54eef66b2700e9ea7b58cc682a5206b.jpg","text":"TemporaryFile(/tmp/multipartBody5630969580967044333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688719294,"filename":"image_24012025_04_16_02_942353_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330931182","file1":"1330931170","file0":"1330931165","file4":"1330931207","file5":"1330931226","file3":"1330931204"},"map_files_photo_id_array":[{"photo_id":"1330931226","filename":"file5"},{"photo_id":"1330931182","filename":"file2"},{"photo_id":"1330931207","filename":"file4"},{"photo_id":"1330931170","filename":"file1"},{"photo_id":"1330931165","filename":"file0"},{"photo_id":"1330931204","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330931226":["hashtag1","hashtag2"]},{"1330931165":["hashtag1","hashtag2"]},{"1330931204":["hashtag1","hashtag2"]},{"1330931207":["hashtag1","hashtag2"]},{"1330931182":["hashtag1","hashtag2"]},{"1330931170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330931226, 1330931165, 1330931204, 1330931207, 1330931182, 1330931170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.91906428337097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:18:22.249392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/17/image_24012025_04_17_02_612385_0003.jpg', '/home/pi/Desktop/images/24012025/04/18/image_24012025_04_18_03_103168_0000.jpg', '/home/pi/Desktop/images/24012025/04/18/image_24012025_04_18_03_103168_0001.jpg', '/home/pi/Desktop/images/24012025/04/18/image_24012025_04_18_03_103168_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/17/image_24012025_04_17_02_612385_0003.jpg
/home/pi/Desktop/images/24012025/04/18/image_24012025_04_18_03_103168_0000.jpg
/home/pi/Desktop/images/24012025/04/18/image_24012025_04_18_03_103168_0001.jpg
/home/pi/Desktop/images/24012025/04/18/image_24012025_04_18_03_103168_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330931465","1330931438","1330931470","1330931347"],"photo_ids_order":["1330931347","1330931438","1330931465","1330931470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc7b74a23f95f6091131db412fb1e477.jpg","text":"TemporaryFile(/tmp/multipartBody152426988286814265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688773065,"filename":"image_24012025_04_18_03_103168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/197368e3d3649a537ef9dd3daa293861.jpg","text":"TemporaryFile(/tmp/multipartBody2349389758612969900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688773065,"filename":"image_24012025_04_18_03_103168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55fb06fbc3185418740bbb96fc4b76b4.jpg","text":"TemporaryFile(/tmp/multipartBody3967631585125297112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688773065,"filename":"image_24012025_04_18_03_103168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06c45dc353c855d1d6eb1cf0303a2df1.jpg","text":"TemporaryFile(/tmp/multipartBody7351978542127394973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688773065,"filename":"image_24012025_04_17_02_612385_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330931465","file1":"1330931438","file0":"1330931347","file3":"1330931470"},"map_files_photo_id_array":[{"photo_id":"1330931465","filename":"file2"},{"photo_id":"1330931438","filename":"file1"},{"photo_id":"1330931347","filename":"file0"},{"photo_id":"1330931470","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330931465":["hashtag1","hashtag2"]},{"1330931438":["hashtag1","hashtag2"]},{"1330931470":["hashtag1","hashtag2"]},{"1330931347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330931465, 1330931438, 1330931470, 1330931347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.80151009559631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:19:22.685332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/18/image_24012025_04_18_03_103168_0003.jpg', '/home/pi/Desktop/images/24012025/04/19/image_24012025_04_19_02_583244_0000.jpg', '/home/pi/Desktop/images/24012025/04/19/image_24012025_04_19_02_583244_0001.jpg', '/home/pi/Desktop/images/24012025/04/19/image_24012025_04_19_02_583244_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/18/image_24012025_04_18_03_103168_0003.jpg
/home/pi/Desktop/images/24012025/04/19/image_24012025_04_19_02_583244_0000.jpg
/home/pi/Desktop/images/24012025/04/19/image_24012025_04_19_02_583244_0001.jpg
/home/pi/Desktop/images/24012025/04/19/image_24012025_04_19_02_583244_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330931679","1330931814","1330931765","1330931924"],"photo_ids_order":["1330931679","1330931765","1330931814","1330931924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cb29500dec32425bb163def0676dbb6b.jpg","text":"TemporaryFile(/tmp/multipartBody7558757403625080184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688833905,"filename":"image_24012025_04_18_03_103168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6fd5e60337d04179a45ad9cae624c107.jpg","text":"TemporaryFile(/tmp/multipartBody7277059467693371796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688833905,"filename":"image_24012025_04_19_02_583244_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3755cb7cca5afe093c3fa37866e930bb.jpg","text":"TemporaryFile(/tmp/multipartBody8271010384712527644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688833905,"filename":"image_24012025_04_19_02_583244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b1ad42ec4c7caddb40217f00202b1762.jpg","text":"TemporaryFile(/tmp/multipartBody5545888960341975781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688833905,"filename":"image_24012025_04_19_02_583244_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330931814","file1":"1330931765","file0":"1330931679","file3":"1330931924"},"map_files_photo_id_array":[{"photo_id":"1330931814","filename":"file2"},{"photo_id":"1330931765","filename":"file1"},{"photo_id":"1330931679","filename":"file0"},{"photo_id":"1330931924","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330931679":["hashtag1","hashtag2"]},{"1330931814":["hashtag1","hashtag2"]},{"1330931765":["hashtag1","hashtag2"]},{"1330931924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330931679, 1330931814, 1330931765, 1330931924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.07590103149414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:20:22.292723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/19/image_24012025_04_19_02_583244_0003.jpg', '/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0000.jpg', '/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0001.jpg', '/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/19/image_24012025_04_19_02_583244_0003.jpg
/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0000.jpg
/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0001.jpg
/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.723013877868652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:21:02.603060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/19/image_24012025_04_19_02_583244_0003.jpg', '/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0000.jpg', '/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0001.jpg', '/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/19/image_24012025_04_19_02_583244_0003.jpg
/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0000.jpg
/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0001.jpg
/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330932258","1330932286","1330932288","1330932252"],"photo_ids_order":["1330932252","1330932258","1330932286","1330932288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1d2fa9e7e5fde17f7728298ddbb13131.jpg","text":"TemporaryFile(/tmp/multipartBody7453724001652622803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688933745,"filename":"image_24012025_04_20_03_103323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/189cf1c2be5b04cf651408dddc28e707.jpg","text":"TemporaryFile(/tmp/multipartBody5902971700334615638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688933745,"filename":"image_24012025_04_20_03_103323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d4c138a4b1ad63f879a952c46d018102.jpg","text":"TemporaryFile(/tmp/multipartBody7408625962995211065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688933745,"filename":"image_24012025_04_20_03_103323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c30709deee0223c773143e3155f9b693.jpg","text":"TemporaryFile(/tmp/multipartBody5369946687930223762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688933745,"filename":"image_24012025_04_19_02_583244_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330932286","file1":"1330932258","file0":"1330932252","file3":"1330932288"},"map_files_photo_id_array":[{"photo_id":"1330932286","filename":"file2"},{"photo_id":"1330932258","filename":"file1"},{"photo_id":"1330932252","filename":"file0"},{"photo_id":"1330932288","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330932258":["hashtag1","hashtag2"]},{"1330932286":["hashtag1","hashtag2"]},{"1330932288":["hashtag1","hashtag2"]},{"1330932252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330932258, 1330932286, 1330932288, 1330932252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.6905198097229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:22:02.998225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0003.jpg', '/home/pi/Desktop/images/24012025/04/21/image_24012025_04_21_02_757448_0000.jpg', '/home/pi/Desktop/images/24012025/04/21/image_24012025_04_21_02_757448_0001.jpg', '/home/pi/Desktop/images/24012025/04/21/image_24012025_04_21_02_757448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/20/image_24012025_04_20_03_103323_0003.jpg
/home/pi/Desktop/images/24012025/04/21/image_24012025_04_21_02_757448_0000.jpg
/home/pi/Desktop/images/24012025/04/21/image_24012025_04_21_02_757448_0001.jpg
/home/pi/Desktop/images/24012025/04/21/image_24012025_04_21_02_757448_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330932344","1330932323","1330932326","1330932329"],"photo_ids_order":["1330932323","1330932326","1330932329","1330932344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7a0a8f49885a593d50d725009fe980d5.jpg","text":"TemporaryFile(/tmp/multipartBody1312968795087099020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688993898,"filename":"image_24012025_04_21_02_757448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1415afcd0154f1207404618e8e144600.jpg","text":"TemporaryFile(/tmp/multipartBody8353186503078746859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688993898,"filename":"image_24012025_04_20_03_103323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f8f625f8353d839707c3aad3d23865c3.jpg","text":"TemporaryFile(/tmp/multipartBody7691399305112298155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688993898,"filename":"image_24012025_04_21_02_757448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/02c69a95c5ea58c5f373636e6988d993.jpg","text":"TemporaryFile(/tmp/multipartBody1620953926383385075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737688993898,"filename":"image_24012025_04_21_02_757448_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330932329","file1":"1330932326","file0":"1330932323","file3":"1330932344"},"map_files_photo_id_array":[{"photo_id":"1330932329","filename":"file2"},{"photo_id":"1330932326","filename":"file1"},{"photo_id":"1330932323","filename":"file0"},{"photo_id":"1330932344","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330932344":["hashtag1","hashtag2"]},{"1330932323":["hashtag1","hashtag2"]},{"1330932326":["hashtag1","hashtag2"]},{"1330932329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330932344, 1330932323, 1330932326, 1330932329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.139429807662964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:23:02.804932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/21/image_24012025_04_21_02_757448_0003.jpg', '/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0000.jpg', '/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0001.jpg', '/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/21/image_24012025_04_21_02_757448_0003.jpg
/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0000.jpg
/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0001.jpg
/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.673395156860352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:23:22.083861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/21/image_24012025_04_21_02_757448_0003.jpg', '/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0000.jpg', '/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0001.jpg', '/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0002.jpg', '/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0003.jpg', '/home/pi/Desktop/images/24012025/04/23/image_24012025_04_23_02_955563_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/21/image_24012025_04_21_02_757448_0003.jpg
/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0000.jpg
/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0001.jpg
/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0002.jpg
/home/pi/Desktop/images/24012025/04/22/image_24012025_04_22_02_283894_0003.jpg
/home/pi/Desktop/images/24012025/04/23/image_24012025_04_23_02_955563_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330932540","1330932513","1330932504","1330932509","1330932499","1330932495"],"photo_ids_order":["1330932495","1330932499","1330932504","1330932509","1330932513","1330932540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f51b04e205524f65c9109b7d93ae8819.jpg","text":"TemporaryFile(/tmp/multipartBody1114078421521148495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689078309,"filename":"image_24012025_04_23_02_955563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06242d0cac8e13690b14198e4cdcd8d3.jpg","text":"TemporaryFile(/tmp/multipartBody2619309537426946483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689078309,"filename":"image_24012025_04_22_02_283894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ceda720251e3b1c80c60369420e3b53.jpg","text":"TemporaryFile(/tmp/multipartBody1828182930815709496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689078309,"filename":"image_24012025_04_22_02_283894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/31918c610f67aabc21a1d9611ef358d3.jpg","text":"TemporaryFile(/tmp/multipartBody5523976286977004015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689078309,"filename":"image_24012025_04_22_02_283894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ce5b485645843fe009d9224e57c8cfa.jpg","text":"TemporaryFile(/tmp/multipartBody1391854616152646363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689078309,"filename":"image_24012025_04_22_02_283894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/be17552a494afd798370d5e70bd50f2f.jpg","text":"TemporaryFile(/tmp/multipartBody5508546068739815626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689078309,"filename":"image_24012025_04_21_02_757448_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330932504","file1":"1330932499","file0":"1330932495","file4":"1330932513","file5":"1330932540","file3":"1330932509"},"map_files_photo_id_array":[{"photo_id":"1330932540","filename":"file5"},{"photo_id":"1330932504","filename":"file2"},{"photo_id":"1330932513","filename":"file4"},{"photo_id":"1330932499","filename":"file1"},{"photo_id":"1330932495","filename":"file0"},{"photo_id":"1330932509","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330932540":["hashtag1","hashtag2"]},{"1330932513":["hashtag1","hashtag2"]},{"1330932504":["hashtag1","hashtag2"]},{"1330932509":["hashtag1","hashtag2"]},{"1330932499":["hashtag1","hashtag2"]},{"1330932495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330932540, 1330932513, 1330932504, 1330932509, 1330932499, 1330932495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.48623967170715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:24:22.743309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/23/image_24012025_04_23_02_955563_0001.jpg', '/home/pi/Desktop/images/24012025/04/23/image_24012025_04_23_02_955563_0002.jpg', '/home/pi/Desktop/images/24012025/04/23/image_24012025_04_23_02_955563_0003.jpg', '/home/pi/Desktop/images/24012025/04/24/image_24012025_04_24_02_471584_0000.jpg', '/home/pi/Desktop/images/24012025/04/24/image_24012025_04_24_02_471584_0001.jpg', '/home/pi/Desktop/images/24012025/04/24/image_24012025_04_24_02_471584_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/23/image_24012025_04_23_02_955563_0001.jpg
/home/pi/Desktop/images/24012025/04/23/image_24012025_04_23_02_955563_0002.jpg
/home/pi/Desktop/images/24012025/04/23/image_24012025_04_23_02_955563_0003.jpg
/home/pi/Desktop/images/24012025/04/24/image_24012025_04_24_02_471584_0000.jpg
/home/pi/Desktop/images/24012025/04/24/image_24012025_04_24_02_471584_0001.jpg
/home/pi/Desktop/images/24012025/04/24/image_24012025_04_24_02_471584_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330932653","1330932656","1330932641","1330932650","1330932646","1330932636"],"photo_ids_order":["1330932636","1330932641","1330932646","1330932650","1330932653","1330932656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8cc74b002d56d3c9fdc42d655c6cbf37.jpg","text":"TemporaryFile(/tmp/multipartBody9210116011471355719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689139283,"filename":"image_24012025_04_24_02_471584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f62dc82db2115b17e82f7d406cd0d617.jpg","text":"TemporaryFile(/tmp/multipartBody1771318276693213239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689139283,"filename":"image_24012025_04_24_02_471584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8d29233a2e151a79ecc76b4c82505b5c.jpg","text":"TemporaryFile(/tmp/multipartBody8333969332645655338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689139283,"filename":"image_24012025_04_23_02_955563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8807f0f9536bf997d3759d70878b5db9.jpg","text":"TemporaryFile(/tmp/multipartBody2207924801868006536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689139283,"filename":"image_24012025_04_24_02_471584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd6925146cea93dce88333b8341873be.jpg","text":"TemporaryFile(/tmp/multipartBody3917063720402088365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689139283,"filename":"image_24012025_04_23_02_955563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3087db03609729cd12c63dc8b1b9a3b3.jpg","text":"TemporaryFile(/tmp/multipartBody7502107068264045374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689139283,"filename":"image_24012025_04_23_02_955563_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330932646","file1":"1330932641","file0":"1330932636","file4":"1330932653","file5":"1330932656","file3":"1330932650"},"map_files_photo_id_array":[{"photo_id":"1330932656","filename":"file5"},{"photo_id":"1330932646","filename":"file2"},{"photo_id":"1330932653","filename":"file4"},{"photo_id":"1330932641","filename":"file1"},{"photo_id":"1330932636","filename":"file0"},{"photo_id":"1330932650","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330932653":["hashtag1","hashtag2"]},{"1330932656":["hashtag1","hashtag2"]},{"1330932641":["hashtag1","hashtag2"]},{"1330932650":["hashtag1","hashtag2"]},{"1330932646":["hashtag1","hashtag2"]},{"1330932636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330932653, 1330932656, 1330932641, 1330932650, 1330932646, 1330932636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.03474497795105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:25:21.773981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/24/image_24012025_04_24_02_471584_0003.jpg', '/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0000.jpg', '/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0001.jpg', '/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/24/image_24012025_04_24_02_471584_0003.jpg
/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0000.jpg
/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0001.jpg
/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.219865083694458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:26:02.765531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/24/image_24012025_04_24_02_471584_0003.jpg', '/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0000.jpg', '/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0001.jpg', '/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/24/image_24012025_04_24_02_471584_0003.jpg
/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0000.jpg
/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0001.jpg
/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330932722","1330932701","1330932707","1330932696"],"photo_ids_order":["1330932696","1330932701","1330932707","1330932722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce2aec67bcf8895a94cac47d3019e818.jpg","text":"TemporaryFile(/tmp/multipartBody1435264283097113179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689233362,"filename":"image_24012025_04_25_03_118841_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cfdcea7aa374c8a87a6d25104710394b.jpg","text":"TemporaryFile(/tmp/multipartBody1778609602702481063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689233362,"filename":"image_24012025_04_25_03_118841_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bedf540f95874425cb25e0b5db238d3f.jpg","text":"TemporaryFile(/tmp/multipartBody3853934195377165981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689233362,"filename":"image_24012025_04_25_03_118841_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf042d099d1f21763bd0895ccc55df81.jpg","text":"TemporaryFile(/tmp/multipartBody649880713505403725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689233362,"filename":"image_24012025_04_24_02_471584_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330932707","file1":"1330932701","file0":"1330932696","file3":"1330932722"},"map_files_photo_id_array":[{"photo_id":"1330932707","filename":"file2"},{"photo_id":"1330932701","filename":"file1"},{"photo_id":"1330932696","filename":"file0"},{"photo_id":"1330932722","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330932722":["hashtag1","hashtag2"]},{"1330932701":["hashtag1","hashtag2"]},{"1330932707":["hashtag1","hashtag2"]},{"1330932696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330932722, 1330932701, 1330932707, 1330932696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.4258337020874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:27:03.079006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0003.jpg', '/home/pi/Desktop/images/24012025/04/26/image_24012025_04_26_02_142231_0000.jpg', '/home/pi/Desktop/images/24012025/04/26/image_24012025_04_26_02_142231_0001.jpg', '/home/pi/Desktop/images/24012025/04/26/image_24012025_04_26_02_142231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/25/image_24012025_04_25_03_118841_0003.jpg
/home/pi/Desktop/images/24012025/04/26/image_24012025_04_26_02_142231_0000.jpg
/home/pi/Desktop/images/24012025/04/26/image_24012025_04_26_02_142231_0001.jpg
/home/pi/Desktop/images/24012025/04/26/image_24012025_04_26_02_142231_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330932779","1330932787","1330932757","1330932808"],"photo_ids_order":["1330932757","1330932779","1330932787","1330932808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/38822f29fcb8362ecfc99c6565d6ae90.jpg","text":"TemporaryFile(/tmp/multipartBody8210846732550630296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689293524,"filename":"image_24012025_04_26_02_142231_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/769e3ba3cad0a7d73ddcb3ca1cf9ce1c.jpg","text":"TemporaryFile(/tmp/multipartBody8854576427468740516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689293524,"filename":"image_24012025_04_26_02_142231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c6b16e90ffa20986525e6408c1edb9b.jpg","text":"TemporaryFile(/tmp/multipartBody239071463909973331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689293524,"filename":"image_24012025_04_25_03_118841_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/53c166153f8e996d37664025161f091f.jpg","text":"TemporaryFile(/tmp/multipartBody1667492117384346848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689293524,"filename":"image_24012025_04_26_02_142231_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330932787","file1":"1330932779","file0":"1330932757","file3":"1330932808"},"map_files_photo_id_array":[{"photo_id":"1330932787","filename":"file2"},{"photo_id":"1330932779","filename":"file1"},{"photo_id":"1330932757","filename":"file0"},{"photo_id":"1330932808","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330932779":["hashtag1","hashtag2"]},{"1330932787":["hashtag1","hashtag2"]},{"1330932757":["hashtag1","hashtag2"]},{"1330932808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330932779, 1330932787, 1330932757, 1330932808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.17343282699585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:28:02.682472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/26/image_24012025_04_26_02_142231_0003.jpg', '/home/pi/Desktop/images/24012025/04/27/image_24012025_04_27_02_591344_0000.jpg', '/home/pi/Desktop/images/24012025/04/27/image_24012025_04_27_02_591344_0001.jpg', '/home/pi/Desktop/images/24012025/04/27/image_24012025_04_27_02_591344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/26/image_24012025_04_26_02_142231_0003.jpg
/home/pi/Desktop/images/24012025/04/27/image_24012025_04_27_02_591344_0000.jpg
/home/pi/Desktop/images/24012025/04/27/image_24012025_04_27_02_591344_0001.jpg
/home/pi/Desktop/images/24012025/04/27/image_24012025_04_27_02_591344_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330932921","1330932903","1330932983","1330933035"],"photo_ids_order":["1330932903","1330932921","1330932983","1330933035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65d191ca0b7181511baa0b410d32f488.jpg","text":"TemporaryFile(/tmp/multipartBody2776596531939240620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689352999,"filename":"image_24012025_04_27_02_591344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4981d1bfe8e41d2c66ef48bfdf754287.jpg","text":"TemporaryFile(/tmp/multipartBody7559909925109101358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689352999,"filename":"image_24012025_04_26_02_142231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5461b964be054551545fa23d65b3307b.jpg","text":"TemporaryFile(/tmp/multipartBody1019064069091679534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689352999,"filename":"image_24012025_04_27_02_591344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c5fa32d1783a7225e60fc00b26f9e979.jpg","text":"TemporaryFile(/tmp/multipartBody1415187895903732414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689352999,"filename":"image_24012025_04_27_02_591344_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330932983","file1":"1330932921","file0":"1330932903","file3":"1330933035"},"map_files_photo_id_array":[{"photo_id":"1330932983","filename":"file2"},{"photo_id":"1330932921","filename":"file1"},{"photo_id":"1330932903","filename":"file0"},{"photo_id":"1330933035","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330932921":["hashtag1","hashtag2"]},{"1330932903":["hashtag1","hashtag2"]},{"1330932983":["hashtag1","hashtag2"]},{"1330933035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330932921, 1330932903, 1330932983, 1330933035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.86107850074768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:29:02.459247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/27/image_24012025_04_27_02_591344_0003.jpg', '/home/pi/Desktop/images/24012025/04/28/image_24012025_04_28_03_067959_0000.jpg', '/home/pi/Desktop/images/24012025/04/28/image_24012025_04_28_03_067959_0001.jpg', '/home/pi/Desktop/images/24012025/04/28/image_24012025_04_28_03_067959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/27/image_24012025_04_27_02_591344_0003.jpg
/home/pi/Desktop/images/24012025/04/28/image_24012025_04_28_03_067959_0000.jpg
/home/pi/Desktop/images/24012025/04/28/image_24012025_04_28_03_067959_0001.jpg
/home/pi/Desktop/images/24012025/04/28/image_24012025_04_28_03_067959_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330933307","1330933273","1330933287","1330933383"],"photo_ids_order":["1330933273","1330933287","1330933307","1330933383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23d22e69645dbb739e5bdeec6c9ec9eb.jpg","text":"TemporaryFile(/tmp/multipartBody7115744775540309190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689412977,"filename":"image_24012025_04_28_03_067959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3d0547386a00e76ea1b615c1f687b7f7.jpg","text":"TemporaryFile(/tmp/multipartBody911490608559600862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689412977,"filename":"image_24012025_04_27_02_591344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c820f462cf0886b1f425894a193358eb.jpg","text":"TemporaryFile(/tmp/multipartBody6760825602013243985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689412977,"filename":"image_24012025_04_28_03_067959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ee9069229c90d0e1f9b63cdf3ab6f88.jpg","text":"TemporaryFile(/tmp/multipartBody366149891845538841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689412977,"filename":"image_24012025_04_28_03_067959_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330933307","file1":"1330933287","file0":"1330933273","file3":"1330933383"},"map_files_photo_id_array":[{"photo_id":"1330933307","filename":"file2"},{"photo_id":"1330933287","filename":"file1"},{"photo_id":"1330933273","filename":"file0"},{"photo_id":"1330933383","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330933307":["hashtag1","hashtag2"]},{"1330933273":["hashtag1","hashtag2"]},{"1330933287":["hashtag1","hashtag2"]},{"1330933383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330933307, 1330933273, 1330933287, 1330933383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.28019976615906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:30:02.910900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/28/image_24012025_04_28_03_067959_0003.jpg', '/home/pi/Desktop/images/24012025/04/29/image_24012025_04_29_02_652969_0000.jpg', '/home/pi/Desktop/images/24012025/04/29/image_24012025_04_29_02_652969_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/28/image_24012025_04_28_03_067959_0003.jpg
/home/pi/Desktop/images/24012025/04/29/image_24012025_04_29_02_652969_0000.jpg
/home/pi/Desktop/images/24012025/04/29/image_24012025_04_29_02_652969_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330933432","1330933426","1330933419"],"photo_ids_order":["1330933419","1330933426","1330933432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2b340475af0cd99eb53fb8be286ebe76.jpg","text":"TemporaryFile(/tmp/multipartBody4733307044536651276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689471111,"filename":"image_24012025_04_29_02_652969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a74e69e212f0f0aaea70072a61bd801.jpg","text":"TemporaryFile(/tmp/multipartBody4380675889503996588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689471111,"filename":"image_24012025_04_29_02_652969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e8737bda4579d718e808961c9a076c8.jpg","text":"TemporaryFile(/tmp/multipartBody7446331756083818647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689471111,"filename":"image_24012025_04_28_03_067959_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330933432","file1":"1330933426","file0":"1330933419"},"map_files_photo_id_array":[{"photo_id":"1330933432","filename":"file2"},{"photo_id":"1330933426","filename":"file1"},{"photo_id":"1330933419","filename":"file0"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330933432":["hashtag1","hashtag2"]},{"1330933426":["hashtag1","hashtag2"]},{"1330933419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330933432, 1330933426, 1330933419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.25951147079468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:31:02.523592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/29/image_24012025_04_29_02_652969_0003.jpg', '/home/pi/Desktop/images/24012025/04/30/image_24012025_04_30_02_163766_0000.jpg', '/home/pi/Desktop/images/24012025/04/30/image_24012025_04_30_02_163766_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/29/image_24012025_04_29_02_652969_0003.jpg
/home/pi/Desktop/images/24012025/04/30/image_24012025_04_30_02_163766_0000.jpg
/home/pi/Desktop/images/24012025/04/30/image_24012025_04_30_02_163766_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.20111346244812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:31:22.004269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/29/image_24012025_04_29_02_652969_0003.jpg', '/home/pi/Desktop/images/24012025/04/30/image_24012025_04_30_02_163766_0000.jpg', '/home/pi/Desktop/images/24012025/04/30/image_24012025_04_30_02_163766_0001.jpg', '/home/pi/Desktop/images/24012025/04/31/image_24012025_04_31_02_842940_0000.jpg', '/home/pi/Desktop/images/24012025/04/31/image_24012025_04_31_02_842940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/29/image_24012025_04_29_02_652969_0003.jpg
/home/pi/Desktop/images/24012025/04/30/image_24012025_04_30_02_163766_0000.jpg
/home/pi/Desktop/images/24012025/04/30/image_24012025_04_30_02_163766_0001.jpg
/home/pi/Desktop/images/24012025/04/31/image_24012025_04_31_02_842940_0000.jpg
/home/pi/Desktop/images/24012025/04/31/image_24012025_04_31_02_842940_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330933514","1330933508","1330933502","1330933511","1330933496"],"photo_ids_order":["1330933496","1330933502","1330933508","1330933511","1330933514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed6b1f9b5f443da9ceee875440f37547.jpg","text":"TemporaryFile(/tmp/multipartBody7681326941893658730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689554291,"filename":"image_24012025_04_31_02_842940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e7044888e7f9ae5c716d1babb8a32732.jpg","text":"TemporaryFile(/tmp/multipartBody5430807704790652237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689554291,"filename":"image_24012025_04_30_02_163766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/354367a7a35a46d93d6998712eb3acdd.jpg","text":"TemporaryFile(/tmp/multipartBody6347543807627035340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689554291,"filename":"image_24012025_04_30_02_163766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fab5df11ed6e54b154190520c0e89736.jpg","text":"TemporaryFile(/tmp/multipartBody1069324548728660613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689554291,"filename":"image_24012025_04_31_02_842940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d9536ef8ef7a8c039ba490d667a9b086.jpg","text":"TemporaryFile(/tmp/multipartBody940089949252761458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689554291,"filename":"image_24012025_04_29_02_652969_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330933508","file1":"1330933502","file0":"1330933496","file4":"1330933514","file3":"1330933511"},"map_files_photo_id_array":[{"photo_id":"1330933508","filename":"file2"},{"photo_id":"1330933514","filename":"file4"},{"photo_id":"1330933502","filename":"file1"},{"photo_id":"1330933496","filename":"file0"},{"photo_id":"1330933511","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330933514":["hashtag1","hashtag2"]},{"1330933508":["hashtag1","hashtag2"]},{"1330933502":["hashtag1","hashtag2"]},{"1330933511":["hashtag1","hashtag2"]},{"1330933496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330933514, 1330933508, 1330933502, 1330933511, 1330933496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.12140607833862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:32:22.546122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/31/image_24012025_04_31_02_842940_0003.jpg', '/home/pi/Desktop/images/24012025/04/32/image_24012025_04_32_02_305024_0001.jpg', '/home/pi/Desktop/images/24012025/04/32/image_24012025_04_32_02_305024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/31/image_24012025_04_31_02_842940_0003.jpg
/home/pi/Desktop/images/24012025/04/32/image_24012025_04_32_02_305024_0001.jpg
/home/pi/Desktop/images/24012025/04/32/image_24012025_04_32_02_305024_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330933562","1330933574","1330933566"],"photo_ids_order":["1330933562","1330933566","1330933574"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e901b9886c843a5fbae28a8eee6d370.jpg","text":"TemporaryFile(/tmp/multipartBody8835429777001118876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689610036,"filename":"image_24012025_04_31_02_842940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c76157d051b5c45ca3a0731a91c09ef.jpg","text":"TemporaryFile(/tmp/multipartBody4381490377026640002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689610036,"filename":"image_24012025_04_32_02_305024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c7e00f8f23b2512ea9671cc6e4fc374f.jpg","text":"TemporaryFile(/tmp/multipartBody512445448444014652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689610036,"filename":"image_24012025_04_32_02_305024_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330933574","file1":"1330933566","file0":"1330933562"},"map_files_photo_id_array":[{"photo_id":"1330933574","filename":"file2"},{"photo_id":"1330933566","filename":"file1"},{"photo_id":"1330933562","filename":"file0"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330933562":["hashtag1","hashtag2"]},{"1330933574":["hashtag1","hashtag2"]},{"1330933566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330933562, 1330933574, 1330933566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.37230944633484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:33:02.601118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/02/image_21012025_20_02_03_110996_0002.jpg', '/home/pi/Desktop/images/21012025/20/02/image_21012025_20_02_03_110996_0003.jpg', '/home/pi/Desktop/images/21012025/20/03/image_21012025_20_03_02_249132_0000.jpg', '/home/pi/Desktop/images/21012025/20/03/image_21012025_20_03_02_249132_0001.jpg', '/home/pi/Desktop/images/21012025/20/03/image_21012025_20_03_02_249132_0002.jpg', '/home/pi/Desktop/images/21012025/20/03/image_21012025_20_03_02_249132_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/02/image_21012025_20_02_03_110996_0002.jpg
/home/pi/Desktop/images/21012025/20/02/image_21012025_20_02_03_110996_0003.jpg
/home/pi/Desktop/images/21012025/20/03/image_21012025_20_03_02_249132_0000.jpg
/home/pi/Desktop/images/21012025/20/03/image_21012025_20_03_02_249132_0001.jpg
/home/pi/Desktop/images/21012025/20/03/image_21012025_20_03_02_249132_0002.jpg
/home/pi/Desktop/images/21012025/20/03/image_21012025_20_03_02_249132_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330933599","1330933603","1330933641","1330933626","1330933611","1330933595"],"photo_ids_order":["1330933595","1330933599","1330933603","1330933611","1330933626","1330933641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65634d48f8510f23197470c870c2c3b8.jpg","text":"TemporaryFile(/tmp/multipartBody2388948228805576021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689660676,"filename":"image_21012025_20_02_03_110996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1d87f7c46aaca6bfb9fa89cdad330b5.jpg","text":"TemporaryFile(/tmp/multipartBody2078386627445798141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689660676,"filename":"image_21012025_20_03_02_249132_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e0923705967baa87618c1f1e457ba4f8.jpg","text":"TemporaryFile(/tmp/multipartBody2264474296311628683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689660676,"filename":"image_21012025_20_03_02_249132_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/69c541e8f0d9be2cdfe91e12ef70ed6b.jpg","text":"TemporaryFile(/tmp/multipartBody8558663337454370593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689660676,"filename":"image_21012025_20_03_02_249132_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2529eee4a48fee82f1fa5700b1dc1002.jpg","text":"TemporaryFile(/tmp/multipartBody2794371260392896827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689660676,"filename":"image_21012025_20_03_02_249132_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e6a44d99b86f24c291558ca922f5de65.jpg","text":"TemporaryFile(/tmp/multipartBody1634187106374474790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689660676,"filename":"image_21012025_20_02_03_110996_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330933603","file1":"1330933599","file0":"1330933595","file4":"1330933626","file5":"1330933641","file3":"1330933611"},"map_files_photo_id_array":[{"photo_id":"1330933641","filename":"file5"},{"photo_id":"1330933603","filename":"file2"},{"photo_id":"1330933626","filename":"file4"},{"photo_id":"1330933599","filename":"file1"},{"photo_id":"1330933595","filename":"file0"},{"photo_id":"1330933611","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330933599":["hashtag1","hashtag2"]},{"1330933603":["hashtag1","hashtag2"]},{"1330933641":["hashtag1","hashtag2"]},{"1330933626":["hashtag1","hashtag2"]},{"1330933611":["hashtag1","hashtag2"]},{"1330933595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330933599, 1330933603, 1330933641, 1330933626, 1330933611, 1330933595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.730506896972656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:34:02.983255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/04/image_21012025_20_04_02_516924_0000.jpg', '/home/pi/Desktop/images/21012025/20/04/image_21012025_20_04_02_516924_0001.jpg', '/home/pi/Desktop/images/21012025/20/04/image_21012025_20_04_02_516924_0002.jpg', '/home/pi/Desktop/images/21012025/20/04/image_21012025_20_04_02_516924_0003.jpg', '/home/pi/Desktop/images/21012025/20/05/image_21012025_20_05_02_662283_0000.jpg', '/home/pi/Desktop/images/21012025/20/05/image_21012025_20_05_02_662283_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/04/image_21012025_20_04_02_516924_0000.jpg
/home/pi/Desktop/images/21012025/20/04/image_21012025_20_04_02_516924_0001.jpg
/home/pi/Desktop/images/21012025/20/04/image_21012025_20_04_02_516924_0002.jpg
/home/pi/Desktop/images/21012025/20/04/image_21012025_20_04_02_516924_0003.jpg
/home/pi/Desktop/images/21012025/20/05/image_21012025_20_05_02_662283_0000.jpg
/home/pi/Desktop/images/21012025/20/05/image_21012025_20_05_02_662283_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330933707","1330933700","1330933693","1330933689","1330933722","1330933716"],"photo_ids_order":["1330933689","1330933693","1330933700","1330933707","1330933716","1330933722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b697b5f5c0eb6769005b4f927100815d.jpg","text":"TemporaryFile(/tmp/multipartBody4748162724971818376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689720943,"filename":"image_21012025_20_04_02_516924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/acaea94b8136fb959584de2360ca1a0b.jpg","text":"TemporaryFile(/tmp/multipartBody3632837092455585665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689720943,"filename":"image_21012025_20_04_02_516924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/678f8795f06e530341965375c53442c7.jpg","text":"TemporaryFile(/tmp/multipartBody278106744021383294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689720943,"filename":"image_21012025_20_04_02_516924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/11e47bc07dffdde963437185747ef6d2.jpg","text":"TemporaryFile(/tmp/multipartBody7038864628018163147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689720943,"filename":"image_21012025_20_04_02_516924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdb9023f667be2d321e80cbb6a983625.jpg","text":"TemporaryFile(/tmp/multipartBody2653330413937732270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689720943,"filename":"image_21012025_20_05_02_662283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/424faa66e53dcb76110e495635518f09.jpg","text":"TemporaryFile(/tmp/multipartBody7175163565707813180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689720943,"filename":"image_21012025_20_05_02_662283_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330933700","file1":"1330933693","file0":"1330933689","file4":"1330933716","file5":"1330933722","file3":"1330933707"},"map_files_photo_id_array":[{"photo_id":"1330933722","filename":"file5"},{"photo_id":"1330933700","filename":"file2"},{"photo_id":"1330933716","filename":"file4"},{"photo_id":"1330933693","filename":"file1"},{"photo_id":"1330933689","filename":"file0"},{"photo_id":"1330933707","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330933707":["hashtag1","hashtag2"]},{"1330933700":["hashtag1","hashtag2"]},{"1330933693":["hashtag1","hashtag2"]},{"1330933689":["hashtag1","hashtag2"]},{"1330933722":["hashtag1","hashtag2"]},{"1330933716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330933707, 1330933700, 1330933693, 1330933689, 1330933722, 1330933716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.3067512512207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:35:02.675220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/34/image_24012025_04_34_02_364343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/34/image_24012025_04_34_02_364343_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.799194574356079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:35:22.071377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/34/image_24012025_04_34_02_364343_0002.jpg', '/home/pi/Desktop/images/24012025/04/35/image_24012025_04_35_02_954974_0000.jpg', '/home/pi/Desktop/images/24012025/04/35/image_24012025_04_35_02_954974_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/34/image_24012025_04_34_02_364343_0002.jpg
/home/pi/Desktop/images/24012025/04/35/image_24012025_04_35_02_954974_0000.jpg
/home/pi/Desktop/images/24012025/04/35/image_24012025_04_35_02_954974_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330933951","1330933738","1330933803"],"photo_ids_order":["1330933738","1330933803","1330933951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/25e0e8b498c13b6933de5d5418a09942.jpg","text":"TemporaryFile(/tmp/multipartBody6643845140309150312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689789660,"filename":"image_24012025_04_35_02_954974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a91e8faa983f0f35604e0bd1b77a436.jpg","text":"TemporaryFile(/tmp/multipartBody4730415597674418689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689789660,"filename":"image_24012025_04_34_02_364343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fcffd6ac60b0add4846a15d3548a9634.jpg","text":"TemporaryFile(/tmp/multipartBody1832889497298454911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689789660,"filename":"image_24012025_04_35_02_954974_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330933951","file1":"1330933803","file0":"1330933738"},"map_files_photo_id_array":[{"photo_id":"1330933951","filename":"file2"},{"photo_id":"1330933803","filename":"file1"},{"photo_id":"1330933738","filename":"file0"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330933951":["hashtag1","hashtag2"]},{"1330933738":["hashtag1","hashtag2"]},{"1330933803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330933951, 1330933738, 1330933803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.11128830909729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:36:02.196739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/05/image_21012025_20_05_02_662283_0002.jpg', '/home/pi/Desktop/images/21012025/20/05/image_21012025_20_05_02_662283_0003.jpg', '/home/pi/Desktop/images/21012025/20/06/image_21012025_20_06_02_829033_0000.jpg', '/home/pi/Desktop/images/21012025/20/06/image_21012025_20_06_02_829033_0001.jpg', '/home/pi/Desktop/images/21012025/20/06/image_21012025_20_06_02_829033_0002.jpg', '/home/pi/Desktop/images/21012025/20/06/image_21012025_20_06_02_829033_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/05/image_21012025_20_05_02_662283_0002.jpg
/home/pi/Desktop/images/21012025/20/05/image_21012025_20_05_02_662283_0003.jpg
/home/pi/Desktop/images/21012025/20/06/image_21012025_20_06_02_829033_0000.jpg
/home/pi/Desktop/images/21012025/20/06/image_21012025_20_06_02_829033_0001.jpg
/home/pi/Desktop/images/21012025/20/06/image_21012025_20_06_02_829033_0002.jpg
/home/pi/Desktop/images/21012025/20/06/image_21012025_20_06_02_829033_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330935292","1330935088","1330935393","1330935192","1330935497","1330935599"],"photo_ids_order":["1330935088","1330935192","1330935292","1330935393","1330935497","1330935599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/35638577b5997b924fdccce2fa17f167.jpg","text":"TemporaryFile(/tmp/multipartBody9054450024718804095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689840045,"filename":"image_21012025_20_06_02_829033_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc7449d2ef7a3ae7f32c03d7ed58396f.jpg","text":"TemporaryFile(/tmp/multipartBody1556457447705126224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689840045,"filename":"image_21012025_20_05_02_662283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5433d44d06db137cac1ab193f63006fe.jpg","text":"TemporaryFile(/tmp/multipartBody2155792083336631551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689840045,"filename":"image_21012025_20_06_02_829033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4146391f7963a1471a4ce34aadd7c2b1.jpg","text":"TemporaryFile(/tmp/multipartBody5103811735227685762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689840045,"filename":"image_21012025_20_05_02_662283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/952e5539c2c9d9682ff197f0fba95545.jpg","text":"TemporaryFile(/tmp/multipartBody8124758923554067365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689840045,"filename":"image_21012025_20_06_02_829033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/50e0d21561b2e13b3e70e612b02848da.jpg","text":"TemporaryFile(/tmp/multipartBody1713663926091863382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689840045,"filename":"image_21012025_20_06_02_829033_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330935292","file1":"1330935192","file0":"1330935088","file4":"1330935497","file5":"1330935599","file3":"1330935393"},"map_files_photo_id_array":[{"photo_id":"1330935599","filename":"file5"},{"photo_id":"1330935292","filename":"file2"},{"photo_id":"1330935497","filename":"file4"},{"photo_id":"1330935192","filename":"file1"},{"photo_id":"1330935088","filename":"file0"},{"photo_id":"1330935393","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330935292":["hashtag1","hashtag2"]},{"1330935088":["hashtag1","hashtag2"]},{"1330935393":["hashtag1","hashtag2"]},{"1330935192":["hashtag1","hashtag2"]},{"1330935497":["hashtag1","hashtag2"]},{"1330935599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330935292, 1330935088, 1330935393, 1330935192, 1330935497, 1330935599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.761767625808716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:37:02.939096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/35/image_24012025_04_35_02_954974_0003.jpg', '/home/pi/Desktop/images/24012025/04/36/image_24012025_04_36_02_475760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/35/image_24012025_04_35_02_954974_0003.jpg
/home/pi/Desktop/images/24012025/04/36/image_24012025_04_36_02_475760_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330935955","1330936000"],"photo_ids_order":["1330935955","1330936000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ffbf9ff032148090bd0eddd4d2af2fc0.jpg","text":"TemporaryFile(/tmp/multipartBody2777396575760735296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689888264,"filename":"image_24012025_04_35_02_954974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bebcaf3aa6235051d75374ba604798e7.jpg","text":"TemporaryFile(/tmp/multipartBody7199480815345179087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689888264,"filename":"image_24012025_04_36_02_475760_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330936000","file0":"1330935955"},"map_files_photo_id_array":[{"photo_id":"1330936000","filename":"file1"},{"photo_id":"1330935955","filename":"file0"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330935955":["hashtag1","hashtag2"]},{"1330936000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330935955, 1330936000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.22440218925476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:38:02.299485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/36/image_24012025_04_36_02_475760_0003.jpg', '/home/pi/Desktop/images/24012025/04/37/image_24012025_04_37_02_106525_0000.jpg', '/home/pi/Desktop/images/24012025/04/37/image_24012025_04_37_02_106525_0001.jpg', '/home/pi/Desktop/images/24012025/04/37/image_24012025_04_37_02_106525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/36/image_24012025_04_36_02_475760_0003.jpg
/home/pi/Desktop/images/24012025/04/37/image_24012025_04_37_02_106525_0000.jpg
/home/pi/Desktop/images/24012025/04/37/image_24012025_04_37_02_106525_0001.jpg
/home/pi/Desktop/images/24012025/04/37/image_24012025_04_37_02_106525_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.6238853931427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:38:21.885127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/04/36/image_24012025_04_36_02_475760_0003.jpg', '/home/pi/Desktop/images/24012025/04/37/image_24012025_04_37_02_106525_0000.jpg', '/home/pi/Desktop/images/24012025/04/37/image_24012025_04_37_02_106525_0001.jpg', '/home/pi/Desktop/images/24012025/04/37/image_24012025_04_37_02_106525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/04/36/image_24012025_04_36_02_475760_0003.jpg
/home/pi/Desktop/images/24012025/04/37/image_24012025_04_37_02_106525_0000.jpg
/home/pi/Desktop/images/24012025/04/37/image_24012025_04_37_02_106525_0001.jpg
/home/pi/Desktop/images/24012025/04/37/image_24012025_04_37_02_106525_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330936341","1330936605","1330936537","1330936438"],"photo_ids_order":["1330936341","1330936438","1330936537","1330936605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ca6a3060d3cdc4f9cf6cf7848f94fb3.jpg","text":"TemporaryFile(/tmp/multipartBody6749996779627639413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689971861,"filename":"image_24012025_04_36_02_475760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4406e2f84fff99c67dda9d151c6cda0c.jpg","text":"TemporaryFile(/tmp/multipartBody5701955927549952521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689971861,"filename":"image_24012025_04_37_02_106525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d592746ff0c086059d80ac9b6932bd2.jpg","text":"TemporaryFile(/tmp/multipartBody3025285879521420058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689971861,"filename":"image_24012025_04_37_02_106525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fff037e289eec4e0f3003f90dde38a45.jpg","text":"TemporaryFile(/tmp/multipartBody5143326405251413534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737689971861,"filename":"image_24012025_04_37_02_106525_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330936537","file1":"1330936438","file0":"1330936341","file3":"1330936605"},"map_files_photo_id_array":[{"photo_id":"1330936537","filename":"file2"},{"photo_id":"1330936438","filename":"file1"},{"photo_id":"1330936341","filename":"file0"},{"photo_id":"1330936605","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330936341":["hashtag1","hashtag2"]},{"1330936605":["hashtag1","hashtag2"]},{"1330936537":["hashtag1","hashtag2"]},{"1330936438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330936341, 1330936605, 1330936537, 1330936438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.13567280769348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:39:03.027045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/07/image_21012025_20_07_03_062484_0000.jpg', '/home/pi/Desktop/images/21012025/20/07/image_21012025_20_07_03_062484_0001.jpg', '/home/pi/Desktop/images/21012025/20/07/image_21012025_20_07_03_062484_0002.jpg', '/home/pi/Desktop/images/21012025/20/07/image_21012025_20_07_03_062484_0003.jpg', '/home/pi/Desktop/images/21012025/20/08/image_21012025_20_08_02_189377_0000.jpg', '/home/pi/Desktop/images/21012025/20/08/image_21012025_20_08_02_189377_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/07/image_21012025_20_07_03_062484_0000.jpg
/home/pi/Desktop/images/21012025/20/07/image_21012025_20_07_03_062484_0001.jpg
/home/pi/Desktop/images/21012025/20/07/image_21012025_20_07_03_062484_0002.jpg
/home/pi/Desktop/images/21012025/20/07/image_21012025_20_07_03_062484_0003.jpg
/home/pi/Desktop/images/21012025/20/08/image_21012025_20_08_02_189377_0000.jpg
/home/pi/Desktop/images/21012025/20/08/image_21012025_20_08_02_189377_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330936801","1330936863","1330936871","1330936868","1330936814","1330936715"],"photo_ids_order":["1330936715","1330936801","1330936814","1330936863","1330936868","1330936871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6fc53b5a7cd77c07018b18a33740a3f7.jpg","text":"TemporaryFile(/tmp/multipartBody115610814998941641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690020492,"filename":"image_21012025_20_07_03_062484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/164a60450f4200aabbf1375fc92f0284.jpg","text":"TemporaryFile(/tmp/multipartBody2784346988046870924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690020492,"filename":"image_21012025_20_07_03_062484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b9b630d4a561e1a585c24c1600c585c.jpg","text":"TemporaryFile(/tmp/multipartBody3314201534957719201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690020492,"filename":"image_21012025_20_08_02_189377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c30444b12d2923a7f5f8dd0f519425f4.jpg","text":"TemporaryFile(/tmp/multipartBody2166673919552086740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690020492,"filename":"image_21012025_20_08_02_189377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/277584d2dc73bb1a3be5d3aece92d836.jpg","text":"TemporaryFile(/tmp/multipartBody1743824610809669833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690020492,"filename":"image_21012025_20_07_03_062484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e365c2444a7f2fe0d1158458a37538a.jpg","text":"TemporaryFile(/tmp/multipartBody7510120266660592217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690020492,"filename":"image_21012025_20_07_03_062484_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330936814","file1":"1330936801","file0":"1330936715","file4":"1330936868","file5":"1330936871","file3":"1330936863"},"map_files_photo_id_array":[{"photo_id":"1330936871","filename":"file5"},{"photo_id":"1330936814","filename":"file2"},{"photo_id":"1330936868","filename":"file4"},{"photo_id":"1330936801","filename":"file1"},{"photo_id":"1330936715","filename":"file0"},{"photo_id":"1330936863","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330936801":["hashtag1","hashtag2"]},{"1330936863":["hashtag1","hashtag2"]},{"1330936871":["hashtag1","hashtag2"]},{"1330936868":["hashtag1","hashtag2"]},{"1330936814":["hashtag1","hashtag2"]},{"1330936715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330936801, 1330936863, 1330936871, 1330936868, 1330936814, 1330936715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.14185810089111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:40:02.616090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/08/image_21012025_20_08_02_189377_0002.jpg', '/home/pi/Desktop/images/21012025/20/08/image_21012025_20_08_02_189377_0003.jpg', '/home/pi/Desktop/images/21012025/20/09/image_21012025_20_09_02_461698_0000.jpg', '/home/pi/Desktop/images/21012025/20/09/image_21012025_20_09_02_461698_0001.jpg', '/home/pi/Desktop/images/21012025/20/09/image_21012025_20_09_02_461698_0002.jpg', '/home/pi/Desktop/images/21012025/20/09/image_21012025_20_09_02_461698_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/08/image_21012025_20_08_02_189377_0002.jpg
/home/pi/Desktop/images/21012025/20/08/image_21012025_20_08_02_189377_0003.jpg
/home/pi/Desktop/images/21012025/20/09/image_21012025_20_09_02_461698_0000.jpg
/home/pi/Desktop/images/21012025/20/09/image_21012025_20_09_02_461698_0001.jpg
/home/pi/Desktop/images/21012025/20/09/image_21012025_20_09_02_461698_0002.jpg
/home/pi/Desktop/images/21012025/20/09/image_21012025_20_09_02_461698_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330936912","1330936906","1330936890","1330936920","1330936917","1330936897"],"photo_ids_order":["1330936890","1330936897","1330936906","1330936912","1330936917","1330936920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21078757ee1d31fc7d5dd37eaacf8e19.jpg","text":"TemporaryFile(/tmp/multipartBody8768003600150440668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690080362,"filename":"image_21012025_20_09_02_461698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6c7fab7de595f3a2fb6cf5649f4f1918.jpg","text":"TemporaryFile(/tmp/multipartBody8082788154547440331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690080362,"filename":"image_21012025_20_09_02_461698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc1bf2d71fb484b7cee9599759d4e1c2.jpg","text":"TemporaryFile(/tmp/multipartBody6887660032723826582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690080362,"filename":"image_21012025_20_08_02_189377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b2b3d2f60ad2bd2a56fa34f7f87f62f.jpg","text":"TemporaryFile(/tmp/multipartBody8230172651269710136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690080362,"filename":"image_21012025_20_09_02_461698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff35ce923de720a139a3fb62edc04155.jpg","text":"TemporaryFile(/tmp/multipartBody2100992910495686049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690080362,"filename":"image_21012025_20_09_02_461698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab9eb6b6282e74032ba155b2d7fb1afb.jpg","text":"TemporaryFile(/tmp/multipartBody7391912266361522182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690080362,"filename":"image_21012025_20_08_02_189377_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330936906","file1":"1330936897","file0":"1330936890","file4":"1330936917","file5":"1330936920","file3":"1330936912"},"map_files_photo_id_array":[{"photo_id":"1330936920","filename":"file5"},{"photo_id":"1330936906","filename":"file2"},{"photo_id":"1330936917","filename":"file4"},{"photo_id":"1330936897","filename":"file1"},{"photo_id":"1330936890","filename":"file0"},{"photo_id":"1330936912","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330936912":["hashtag1","hashtag2"]},{"1330936906":["hashtag1","hashtag2"]},{"1330936890":["hashtag1","hashtag2"]},{"1330936920":["hashtag1","hashtag2"]},{"1330936917":["hashtag1","hashtag2"]},{"1330936897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330936912, 1330936906, 1330936890, 1330936920, 1330936917, 1330936897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.70263433456421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:41:03.013130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/10/image_21012025_20_10_02_457187_0000.jpg', '/home/pi/Desktop/images/21012025/20/10/image_21012025_20_10_02_457187_0001.jpg', '/home/pi/Desktop/images/21012025/20/10/image_21012025_20_10_02_457187_0002.jpg', '/home/pi/Desktop/images/21012025/20/10/image_21012025_20_10_02_457187_0003.jpg', '/home/pi/Desktop/images/21012025/20/11/image_21012025_20_11_02_680743_0000.jpg', '/home/pi/Desktop/images/21012025/20/11/image_21012025_20_11_02_680743_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/10/image_21012025_20_10_02_457187_0000.jpg
/home/pi/Desktop/images/21012025/20/10/image_21012025_20_10_02_457187_0001.jpg
/home/pi/Desktop/images/21012025/20/10/image_21012025_20_10_02_457187_0002.jpg
/home/pi/Desktop/images/21012025/20/10/image_21012025_20_10_02_457187_0003.jpg
/home/pi/Desktop/images/21012025/20/11/image_21012025_20_11_02_680743_0000.jpg
/home/pi/Desktop/images/21012025/20/11/image_21012025_20_11_02_680743_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330937088","1330937099","1330937093","1330937102","1330937105","1330937080"],"photo_ids_order":["1330937080","1330937088","1330937093","1330937099","1330937102","1330937105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a35ef5296fd89c760dc6b8decf4ea60b.jpg","text":"TemporaryFile(/tmp/multipartBody5045851594345146882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690140923,"filename":"image_21012025_20_10_02_457187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/38061b9d372e5c7edd60bbdb95d475f5.jpg","text":"TemporaryFile(/tmp/multipartBody8789288342489558956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690140923,"filename":"image_21012025_20_10_02_457187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0408be39400061d5bd58f42a02b35d31.jpg","text":"TemporaryFile(/tmp/multipartBody4900294270047870569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690140923,"filename":"image_21012025_20_10_02_457187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/08784a89bf60e92f6df8be945be43bf1.jpg","text":"TemporaryFile(/tmp/multipartBody4406224454916683192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690140923,"filename":"image_21012025_20_11_02_680743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d67b3db1f939101b31a134cda1db7da9.jpg","text":"TemporaryFile(/tmp/multipartBody5177840388127622365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690140923,"filename":"image_21012025_20_11_02_680743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fcbf1626265e040d435242ebfdf36b62.jpg","text":"TemporaryFile(/tmp/multipartBody72042205130599804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690140923,"filename":"image_21012025_20_10_02_457187_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330937093","file1":"1330937088","file0":"1330937080","file4":"1330937102","file5":"1330937105","file3":"1330937099"},"map_files_photo_id_array":[{"photo_id":"1330937105","filename":"file5"},{"photo_id":"1330937093","filename":"file2"},{"photo_id":"1330937102","filename":"file4"},{"photo_id":"1330937088","filename":"file1"},{"photo_id":"1330937080","filename":"file0"},{"photo_id":"1330937099","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330937088":["hashtag1","hashtag2"]},{"1330937099":["hashtag1","hashtag2"]},{"1330937093":["hashtag1","hashtag2"]},{"1330937102":["hashtag1","hashtag2"]},{"1330937105":["hashtag1","hashtag2"]},{"1330937080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330937088, 1330937099, 1330937093, 1330937102, 1330937105, 1330937080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.62083840370178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:42:02.595042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/11/image_21012025_20_11_02_680743_0002.jpg', '/home/pi/Desktop/images/21012025/20/11/image_21012025_20_11_02_680743_0003.jpg', '/home/pi/Desktop/images/21012025/20/12/image_21012025_20_12_02_922405_0000.jpg', '/home/pi/Desktop/images/21012025/20/12/image_21012025_20_12_02_922405_0001.jpg', '/home/pi/Desktop/images/21012025/20/12/image_21012025_20_12_02_922405_0002.jpg', '/home/pi/Desktop/images/21012025/20/12/image_21012025_20_12_02_922405_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/11/image_21012025_20_11_02_680743_0002.jpg
/home/pi/Desktop/images/21012025/20/11/image_21012025_20_11_02_680743_0003.jpg
/home/pi/Desktop/images/21012025/20/12/image_21012025_20_12_02_922405_0000.jpg
/home/pi/Desktop/images/21012025/20/12/image_21012025_20_12_02_922405_0001.jpg
/home/pi/Desktop/images/21012025/20/12/image_21012025_20_12_02_922405_0002.jpg
/home/pi/Desktop/images/21012025/20/12/image_21012025_20_12_02_922405_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330937133","1330937153","1330937129","1330937144","1330937138","1330937123"],"photo_ids_order":["1330937123","1330937129","1330937133","1330937138","1330937144","1330937153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c38792739f73b6ffcd073cc5adca5e78.jpg","text":"TemporaryFile(/tmp/multipartBody8039048732906993739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690199972,"filename":"image_21012025_20_12_02_922405_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e4a8cd6f0981bd278a1c8992fd413616.jpg","text":"TemporaryFile(/tmp/multipartBody7986901358439550825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690199972,"filename":"image_21012025_20_12_02_922405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ef6bffab05e97cdf47776f8a798c671.jpg","text":"TemporaryFile(/tmp/multipartBody4445774216993527063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690199972,"filename":"image_21012025_20_11_02_680743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac6f941fec6fb7cde166f7b98a64a66a.jpg","text":"TemporaryFile(/tmp/multipartBody8189958621948422169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690199972,"filename":"image_21012025_20_12_02_922405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c40b80fb6e202742ff6600f9ef7fcf76.jpg","text":"TemporaryFile(/tmp/multipartBody7661370944747258628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690199972,"filename":"image_21012025_20_12_02_922405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1115879596da6e903c38ef8138ab92ae.jpg","text":"TemporaryFile(/tmp/multipartBody423795940109059656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690199972,"filename":"image_21012025_20_11_02_680743_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330937133","file1":"1330937129","file0":"1330937123","file4":"1330937144","file5":"1330937153","file3":"1330937138"},"map_files_photo_id_array":[{"photo_id":"1330937153","filename":"file5"},{"photo_id":"1330937133","filename":"file2"},{"photo_id":"1330937144","filename":"file4"},{"photo_id":"1330937129","filename":"file1"},{"photo_id":"1330937123","filename":"file0"},{"photo_id":"1330937138","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330937133":["hashtag1","hashtag2"]},{"1330937153":["hashtag1","hashtag2"]},{"1330937129":["hashtag1","hashtag2"]},{"1330937144":["hashtag1","hashtag2"]},{"1330937138":["hashtag1","hashtag2"]},{"1330937123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330937133, 1330937153, 1330937129, 1330937144, 1330937138, 1330937123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.45620632171631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:43:03.191928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/13/image_21012025_20_13_03_126254_0000.jpg', '/home/pi/Desktop/images/21012025/20/13/image_21012025_20_13_03_126254_0001.jpg', '/home/pi/Desktop/images/21012025/20/13/image_21012025_20_13_03_126254_0002.jpg', '/home/pi/Desktop/images/21012025/20/13/image_21012025_20_13_03_126254_0003.jpg', '/home/pi/Desktop/images/21012025/20/14/image_21012025_20_14_02_289855_0000.jpg', '/home/pi/Desktop/images/21012025/20/14/image_21012025_20_14_02_289855_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/13/image_21012025_20_13_03_126254_0000.jpg
/home/pi/Desktop/images/21012025/20/13/image_21012025_20_13_03_126254_0001.jpg
/home/pi/Desktop/images/21012025/20/13/image_21012025_20_13_03_126254_0002.jpg
/home/pi/Desktop/images/21012025/20/13/image_21012025_20_13_03_126254_0003.jpg
/home/pi/Desktop/images/21012025/20/14/image_21012025_20_14_02_289855_0000.jpg
/home/pi/Desktop/images/21012025/20/14/image_21012025_20_14_02_289855_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330937181","1330937208","1330937234","1330937197","1330937248","1330937190"],"photo_ids_order":["1330937181","1330937190","1330937197","1330937208","1330937234","1330937248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/868ceb6fc9153810b230fdbf44a009b7.jpg","text":"TemporaryFile(/tmp/multipartBody2845272665059446212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690260898,"filename":"image_21012025_20_13_03_126254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/110057326b74cc407cdf85f4dd5c7a89.jpg","text":"TemporaryFile(/tmp/multipartBody4248842903164024689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690260898,"filename":"image_21012025_20_13_03_126254_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/905d6dcb75bb8637628c8dd22e1dbe7b.jpg","text":"TemporaryFile(/tmp/multipartBody2761949211397388977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690260898,"filename":"image_21012025_20_14_02_289855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6acc8357ca7afc9042129d408c56ea11.jpg","text":"TemporaryFile(/tmp/multipartBody7797590525964260759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690260898,"filename":"image_21012025_20_13_03_126254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6eba974f80110f2e6ad8b4dbb4439020.jpg","text":"TemporaryFile(/tmp/multipartBody715041084353637197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690260898,"filename":"image_21012025_20_14_02_289855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9961963ed45cce00683deafbd9f87cd0.jpg","text":"TemporaryFile(/tmp/multipartBody7406504639371715048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690260898,"filename":"image_21012025_20_13_03_126254_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330937197","file1":"1330937190","file0":"1330937181","file4":"1330937234","file5":"1330937248","file3":"1330937208"},"map_files_photo_id_array":[{"photo_id":"1330937248","filename":"file5"},{"photo_id":"1330937197","filename":"file2"},{"photo_id":"1330937234","filename":"file4"},{"photo_id":"1330937190","filename":"file1"},{"photo_id":"1330937181","filename":"file0"},{"photo_id":"1330937208","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330937181":["hashtag1","hashtag2"]},{"1330937208":["hashtag1","hashtag2"]},{"1330937234":["hashtag1","hashtag2"]},{"1330937197":["hashtag1","hashtag2"]},{"1330937248":["hashtag1","hashtag2"]},{"1330937190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330937181, 1330937208, 1330937234, 1330937197, 1330937248, 1330937190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.39544987678528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:44:22.219117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/14/image_21012025_20_14_02_289855_0002.jpg', '/home/pi/Desktop/images/21012025/20/14/image_21012025_20_14_02_289855_0003.jpg', '/home/pi/Desktop/images/21012025/20/15/image_21012025_20_15_02_453004_0000.jpg', '/home/pi/Desktop/images/21012025/20/15/image_21012025_20_15_02_453004_0001.jpg', '/home/pi/Desktop/images/21012025/20/15/image_21012025_20_15_02_453004_0002.jpg', '/home/pi/Desktop/images/21012025/20/15/image_21012025_20_15_02_453004_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/14/image_21012025_20_14_02_289855_0002.jpg
/home/pi/Desktop/images/21012025/20/14/image_21012025_20_14_02_289855_0003.jpg
/home/pi/Desktop/images/21012025/20/15/image_21012025_20_15_02_453004_0000.jpg
/home/pi/Desktop/images/21012025/20/15/image_21012025_20_15_02_453004_0001.jpg
/home/pi/Desktop/images/21012025/20/15/image_21012025_20_15_02_453004_0002.jpg
/home/pi/Desktop/images/21012025/20/15/image_21012025_20_15_02_453004_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330937319","1330937288","1330937297","1330937312","1330937306","1330937308"],"photo_ids_order":["1330937288","1330937297","1330937306","1330937308","1330937312","1330937319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b74ece63aae421bfb239907f8f25ca55.jpg","text":"TemporaryFile(/tmp/multipartBody8251595064654499256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690340262,"filename":"image_21012025_20_15_02_453004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a2f9cf518c6ce7535430f2e60fa829c9.jpg","text":"TemporaryFile(/tmp/multipartBody3226252654283520031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690340262,"filename":"image_21012025_20_14_02_289855_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/92552166b13bcb9b7f0dedb7128be8ea.jpg","text":"TemporaryFile(/tmp/multipartBody8468469378519664568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690340262,"filename":"image_21012025_20_14_02_289855_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1fd2153437b68cdf8031626739f89719.jpg","text":"TemporaryFile(/tmp/multipartBody6789138478545739278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690340262,"filename":"image_21012025_20_15_02_453004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/82585bdb3819eb8757b359f513a2eb0b.jpg","text":"TemporaryFile(/tmp/multipartBody250533504484447575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690340262,"filename":"image_21012025_20_15_02_453004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/18bfeb88b39e1d9d547ff9dd74873646.jpg","text":"TemporaryFile(/tmp/multipartBody3742667207037819218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690340262,"filename":"image_21012025_20_15_02_453004_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330937306","file1":"1330937297","file0":"1330937288","file4":"1330937312","file5":"1330937319","file3":"1330937308"},"map_files_photo_id_array":[{"photo_id":"1330937319","filename":"file5"},{"photo_id":"1330937306","filename":"file2"},{"photo_id":"1330937312","filename":"file4"},{"photo_id":"1330937297","filename":"file1"},{"photo_id":"1330937288","filename":"file0"},{"photo_id":"1330937308","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330937319":["hashtag1","hashtag2"]},{"1330937288":["hashtag1","hashtag2"]},{"1330937297":["hashtag1","hashtag2"]},{"1330937312":["hashtag1","hashtag2"]},{"1330937306":["hashtag1","hashtag2"]},{"1330937308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330937319, 1330937288, 1330937297, 1330937312, 1330937306, 1330937308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.402997970581055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:45:22.685367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/16/image_21012025_20_16_02_639876_0000.jpg', '/home/pi/Desktop/images/21012025/20/16/image_21012025_20_16_02_639876_0001.jpg', '/home/pi/Desktop/images/21012025/20/16/image_21012025_20_16_02_639876_0002.jpg', '/home/pi/Desktop/images/21012025/20/16/image_21012025_20_16_02_639876_0003.jpg', '/home/pi/Desktop/images/21012025/20/17/image_21012025_20_17_02_877919_0000.jpg', '/home/pi/Desktop/images/21012025/20/17/image_21012025_20_17_02_877919_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/16/image_21012025_20_16_02_639876_0000.jpg
/home/pi/Desktop/images/21012025/20/16/image_21012025_20_16_02_639876_0001.jpg
/home/pi/Desktop/images/21012025/20/16/image_21012025_20_16_02_639876_0002.jpg
/home/pi/Desktop/images/21012025/20/16/image_21012025_20_16_02_639876_0003.jpg
/home/pi/Desktop/images/21012025/20/17/image_21012025_20_17_02_877919_0000.jpg
/home/pi/Desktop/images/21012025/20/17/image_21012025_20_17_02_877919_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330937364","1330937352","1330937355","1330937358","1330937369","1330937360"],"photo_ids_order":["1330937352","1330937355","1330937358","1330937360","1330937364","1330937369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7bd115e65ea39420283c9abf3beaba9f.jpg","text":"TemporaryFile(/tmp/multipartBody3726420556397960713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690400475,"filename":"image_21012025_20_17_02_877919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3713e3608f03fdb9e9ee62f80f01b690.jpg","text":"TemporaryFile(/tmp/multipartBody3725199799521962291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690400475,"filename":"image_21012025_20_16_02_639876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d3e3c29f911c84456622451d80a0c0d.jpg","text":"TemporaryFile(/tmp/multipartBody3591891047777121862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690400475,"filename":"image_21012025_20_16_02_639876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/43913b47c5a425cdc557074a0d5ba53e.jpg","text":"TemporaryFile(/tmp/multipartBody377004574926086293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690400475,"filename":"image_21012025_20_16_02_639876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e9fc1faf27e70422079fe3e01e28f7f9.jpg","text":"TemporaryFile(/tmp/multipartBody1002290600277748731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690400475,"filename":"image_21012025_20_17_02_877919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/99ad57712e761aa8c3729338d2211640.jpg","text":"TemporaryFile(/tmp/multipartBody6328925280987955768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690400475,"filename":"image_21012025_20_16_02_639876_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330937358","file1":"1330937355","file0":"1330937352","file4":"1330937364","file5":"1330937369","file3":"1330937360"},"map_files_photo_id_array":[{"photo_id":"1330937369","filename":"file5"},{"photo_id":"1330937358","filename":"file2"},{"photo_id":"1330937364","filename":"file4"},{"photo_id":"1330937355","filename":"file1"},{"photo_id":"1330937352","filename":"file0"},{"photo_id":"1330937360","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330937364":["hashtag1","hashtag2"]},{"1330937352":["hashtag1","hashtag2"]},{"1330937355":["hashtag1","hashtag2"]},{"1330937358":["hashtag1","hashtag2"]},{"1330937369":["hashtag1","hashtag2"]},{"1330937360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330937364, 1330937352, 1330937355, 1330937358, 1330937369, 1330937360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.63386273384094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:46:22.289592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/17/image_21012025_20_17_02_877919_0002.jpg', '/home/pi/Desktop/images/21012025/20/17/image_21012025_20_17_02_877919_0003.jpg', '/home/pi/Desktop/images/21012025/20/18/image_21012025_20_18_03_026617_0000.jpg', '/home/pi/Desktop/images/21012025/20/18/image_21012025_20_18_03_026617_0001.jpg', '/home/pi/Desktop/images/21012025/20/18/image_21012025_20_18_03_026617_0002.jpg', '/home/pi/Desktop/images/21012025/20/18/image_21012025_20_18_03_026617_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/17/image_21012025_20_17_02_877919_0002.jpg
/home/pi/Desktop/images/21012025/20/17/image_21012025_20_17_02_877919_0003.jpg
/home/pi/Desktop/images/21012025/20/18/image_21012025_20_18_03_026617_0000.jpg
/home/pi/Desktop/images/21012025/20/18/image_21012025_20_18_03_026617_0001.jpg
/home/pi/Desktop/images/21012025/20/18/image_21012025_20_18_03_026617_0002.jpg
/home/pi/Desktop/images/21012025/20/18/image_21012025_20_18_03_026617_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330937466","1330937451","1330937427","1330937400","1330937473","1330937419"],"photo_ids_order":["1330937400","1330937419","1330937427","1330937451","1330937466","1330937473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/214d16bfde7452c4ca143aabf288dfec.jpg","text":"TemporaryFile(/tmp/multipartBody2100279804172505438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690460244,"filename":"image_21012025_20_18_03_026617_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da6471ed72a6587886aeb139e069fa95.jpg","text":"TemporaryFile(/tmp/multipartBody1058349165780311242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690460244,"filename":"image_21012025_20_18_03_026617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34f13ceabdf19489036dc1debf9980eb.jpg","text":"TemporaryFile(/tmp/multipartBody2488384909470315213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690460244,"filename":"image_21012025_20_18_03_026617_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a07bd1f1bdd2fb42b3268628573c3c3d.jpg","text":"TemporaryFile(/tmp/multipartBody8990985101014296736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690460244,"filename":"image_21012025_20_17_02_877919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/714d49ebd44a4da745d7c3efd3682d8a.jpg","text":"TemporaryFile(/tmp/multipartBody3245449977407710713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690460244,"filename":"image_21012025_20_18_03_026617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8dc296246dc77f03370362cd4a3ef838.jpg","text":"TemporaryFile(/tmp/multipartBody1397342367374328171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690460244,"filename":"image_21012025_20_17_02_877919_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330937427","file1":"1330937419","file0":"1330937400","file4":"1330937466","file5":"1330937473","file3":"1330937451"},"map_files_photo_id_array":[{"photo_id":"1330937473","filename":"file5"},{"photo_id":"1330937427","filename":"file2"},{"photo_id":"1330937466","filename":"file4"},{"photo_id":"1330937419","filename":"file1"},{"photo_id":"1330937400","filename":"file0"},{"photo_id":"1330937451","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330937466":["hashtag1","hashtag2"]},{"1330937451":["hashtag1","hashtag2"]},{"1330937427":["hashtag1","hashtag2"]},{"1330937400":["hashtag1","hashtag2"]},{"1330937473":["hashtag1","hashtag2"]},{"1330937419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330937466, 1330937451, 1330937427, 1330937400, 1330937473, 1330937419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.34215235710144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:48:02.558938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/19/image_21012025_20_19_02_220805_0000.jpg', '/home/pi/Desktop/images/21012025/20/19/image_21012025_20_19_02_220805_0001.jpg', '/home/pi/Desktop/images/21012025/20/19/image_21012025_20_19_02_220805_0002.jpg', '/home/pi/Desktop/images/21012025/20/19/image_21012025_20_19_02_220805_0003.jpg', '/home/pi/Desktop/images/21012025/20/20/image_21012025_20_20_02_479557_0000.jpg', '/home/pi/Desktop/images/21012025/20/20/image_21012025_20_20_02_479557_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/19/image_21012025_20_19_02_220805_0000.jpg
/home/pi/Desktop/images/21012025/20/19/image_21012025_20_19_02_220805_0001.jpg
/home/pi/Desktop/images/21012025/20/19/image_21012025_20_19_02_220805_0002.jpg
/home/pi/Desktop/images/21012025/20/19/image_21012025_20_19_02_220805_0003.jpg
/home/pi/Desktop/images/21012025/20/20/image_21012025_20_20_02_479557_0000.jpg
/home/pi/Desktop/images/21012025/20/20/image_21012025_20_20_02_479557_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330937601","1330937618","1330937606","1330937590","1330937611","1330937595"],"photo_ids_order":["1330937590","1330937595","1330937601","1330937606","1330937611","1330937618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40c2c78f9095607db407b47bf2bd5350.jpg","text":"TemporaryFile(/tmp/multipartBody6457850552183870347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690560519,"filename":"image_21012025_20_19_02_220805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32bd81ce2e9537c2dac0de97c8801fef.jpg","text":"TemporaryFile(/tmp/multipartBody7072911197270349402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690560519,"filename":"image_21012025_20_20_02_479557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5fa38fc7cfd4b6b0969f79cf66b34f4f.jpg","text":"TemporaryFile(/tmp/multipartBody4690415735730408978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690560519,"filename":"image_21012025_20_19_02_220805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40dfa96c9d7eaf43a2f886e691b3b45b.jpg","text":"TemporaryFile(/tmp/multipartBody4439394632974677359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690560519,"filename":"image_21012025_20_19_02_220805_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/772173375b66e375c8809fe13417123e.jpg","text":"TemporaryFile(/tmp/multipartBody3029938441308328256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690560519,"filename":"image_21012025_20_20_02_479557_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0fbe47c734142de3913c9bd14540d9d1.jpg","text":"TemporaryFile(/tmp/multipartBody6178191230947201888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690560519,"filename":"image_21012025_20_19_02_220805_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330937601","file1":"1330937595","file0":"1330937590","file4":"1330937611","file5":"1330937618","file3":"1330937606"},"map_files_photo_id_array":[{"photo_id":"1330937618","filename":"file5"},{"photo_id":"1330937601","filename":"file2"},{"photo_id":"1330937611","filename":"file4"},{"photo_id":"1330937595","filename":"file1"},{"photo_id":"1330937590","filename":"file0"},{"photo_id":"1330937606","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330937601":["hashtag1","hashtag2"]},{"1330937618":["hashtag1","hashtag2"]},{"1330937606":["hashtag1","hashtag2"]},{"1330937590":["hashtag1","hashtag2"]},{"1330937611":["hashtag1","hashtag2"]},{"1330937595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330937601, 1330937618, 1330937606, 1330937590, 1330937611, 1330937595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.62291693687439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:49:03.574581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/20/image_21012025_20_20_02_479557_0002.jpg', '/home/pi/Desktop/images/21012025/20/20/image_21012025_20_20_02_479557_0003.jpg', '/home/pi/Desktop/images/21012025/20/21/image_21012025_20_21_02_618824_0000.jpg', '/home/pi/Desktop/images/21012025/20/21/image_21012025_20_21_02_618824_0001.jpg', '/home/pi/Desktop/images/21012025/20/21/image_21012025_20_21_02_618824_0002.jpg', '/home/pi/Desktop/images/21012025/20/21/image_21012025_20_21_02_618824_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/20/image_21012025_20_20_02_479557_0002.jpg
/home/pi/Desktop/images/21012025/20/20/image_21012025_20_20_02_479557_0003.jpg
/home/pi/Desktop/images/21012025/20/21/image_21012025_20_21_02_618824_0000.jpg
/home/pi/Desktop/images/21012025/20/21/image_21012025_20_21_02_618824_0001.jpg
/home/pi/Desktop/images/21012025/20/21/image_21012025_20_21_02_618824_0002.jpg
/home/pi/Desktop/images/21012025/20/21/image_21012025_20_21_02_618824_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330937712","1330937720","1330937723","1330937717","1330937728","1330937707"],"photo_ids_order":["1330937707","1330937712","1330937717","1330937720","1330937723","1330937728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ca1260e9857f3469f709032f6acfeb3a.jpg","text":"TemporaryFile(/tmp/multipartBody7005554750745856269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690620964,"filename":"image_21012025_20_20_02_479557_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e8302b1381519db7676f3b665b1872c.jpg","text":"TemporaryFile(/tmp/multipartBody7454205790499698243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690620964,"filename":"image_21012025_20_21_02_618824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/91d4952ca8ec2b29912451aa118327be.jpg","text":"TemporaryFile(/tmp/multipartBody2658054250483766933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690620964,"filename":"image_21012025_20_21_02_618824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d90f39b2e2fa3bd6ddf93b5d2ced3887.jpg","text":"TemporaryFile(/tmp/multipartBody354149979405400027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690620964,"filename":"image_21012025_20_21_02_618824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bc96fa12260f9a34fc0c73c5801e2ace.jpg","text":"TemporaryFile(/tmp/multipartBody5263665807511882601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690620964,"filename":"image_21012025_20_21_02_618824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd4991caddf12036fa5ea149c79d2156.jpg","text":"TemporaryFile(/tmp/multipartBody8893078500113514681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690620964,"filename":"image_21012025_20_20_02_479557_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330937717","file1":"1330937712","file0":"1330937707","file4":"1330937723","file5":"1330937728","file3":"1330937720"},"map_files_photo_id_array":[{"photo_id":"1330937728","filename":"file5"},{"photo_id":"1330937717","filename":"file2"},{"photo_id":"1330937723","filename":"file4"},{"photo_id":"1330937712","filename":"file1"},{"photo_id":"1330937707","filename":"file0"},{"photo_id":"1330937720","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330937712":["hashtag1","hashtag2"]},{"1330937720":["hashtag1","hashtag2"]},{"1330937723":["hashtag1","hashtag2"]},{"1330937717":["hashtag1","hashtag2"]},{"1330937728":["hashtag1","hashtag2"]},{"1330937707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330937712, 1330937720, 1330937723, 1330937717, 1330937728, 1330937707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.5959095954895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:50:22.356760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/22/image_21012025_20_22_02_796440_0000.jpg', '/home/pi/Desktop/images/21012025/20/22/image_21012025_20_22_02_796440_0001.jpg', '/home/pi/Desktop/images/21012025/20/22/image_21012025_20_22_02_796440_0002.jpg', '/home/pi/Desktop/images/21012025/20/22/image_21012025_20_22_02_796440_0003.jpg', '/home/pi/Desktop/images/21012025/20/23/image_21012025_20_23_03_005577_0000.jpg', '/home/pi/Desktop/images/21012025/20/23/image_21012025_20_23_03_005577_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/22/image_21012025_20_22_02_796440_0000.jpg
/home/pi/Desktop/images/21012025/20/22/image_21012025_20_22_02_796440_0001.jpg
/home/pi/Desktop/images/21012025/20/22/image_21012025_20_22_02_796440_0002.jpg
/home/pi/Desktop/images/21012025/20/22/image_21012025_20_22_02_796440_0003.jpg
/home/pi/Desktop/images/21012025/20/23/image_21012025_20_23_03_005577_0000.jpg
/home/pi/Desktop/images/21012025/20/23/image_21012025_20_23_03_005577_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330937763","1330937774","1330937756","1330937770","1330937767","1330937772"],"photo_ids_order":["1330937756","1330937763","1330937767","1330937770","1330937772","1330937774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e84a03b79f22aa6f3ee1afe990d424bf.jpg","text":"TemporaryFile(/tmp/multipartBody3109415562443945827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690700198,"filename":"image_21012025_20_22_02_796440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5a8451d5408ddc24c91a56a5e35a1c0.jpg","text":"TemporaryFile(/tmp/multipartBody8661820773547493342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690700198,"filename":"image_21012025_20_23_03_005577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a4f6627d1357d81f65626b96e0257047.jpg","text":"TemporaryFile(/tmp/multipartBody1260242094806134321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690700198,"filename":"image_21012025_20_22_02_796440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd823e1954cbedca0ca683f696d057bd.jpg","text":"TemporaryFile(/tmp/multipartBody2671483380409073580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690700198,"filename":"image_21012025_20_22_02_796440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5dd3be1f4f2007ed5730730fbe31e9ca.jpg","text":"TemporaryFile(/tmp/multipartBody9006713918905350312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690700198,"filename":"image_21012025_20_22_02_796440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f619f77143dff4def37496e0ef6142aa.jpg","text":"TemporaryFile(/tmp/multipartBody8242243119614971339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690700198,"filename":"image_21012025_20_23_03_005577_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330937767","file1":"1330937763","file0":"1330937756","file4":"1330937772","file5":"1330937774","file3":"1330937770"},"map_files_photo_id_array":[{"photo_id":"1330937774","filename":"file5"},{"photo_id":"1330937767","filename":"file2"},{"photo_id":"1330937772","filename":"file4"},{"photo_id":"1330937763","filename":"file1"},{"photo_id":"1330937756","filename":"file0"},{"photo_id":"1330937770","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330937763":["hashtag1","hashtag2"]},{"1330937774":["hashtag1","hashtag2"]},{"1330937756":["hashtag1","hashtag2"]},{"1330937770":["hashtag1","hashtag2"]},{"1330937767":["hashtag1","hashtag2"]},{"1330937772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330937763, 1330937774, 1330937756, 1330937770, 1330937767, 1330937772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.44338011741638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:51:21.814394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/23/image_21012025_20_23_03_005577_0002.jpg', '/home/pi/Desktop/images/21012025/20/23/image_21012025_20_23_03_005577_0003.jpg', '/home/pi/Desktop/images/21012025/20/24/image_21012025_20_24_02_124722_0000.jpg', '/home/pi/Desktop/images/21012025/20/24/image_21012025_20_24_02_124722_0001.jpg', '/home/pi/Desktop/images/21012025/20/24/image_21012025_20_24_02_124722_0002.jpg', '/home/pi/Desktop/images/21012025/20/24/image_21012025_20_24_02_124722_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/23/image_21012025_20_23_03_005577_0002.jpg
/home/pi/Desktop/images/21012025/20/23/image_21012025_20_23_03_005577_0003.jpg
/home/pi/Desktop/images/21012025/20/24/image_21012025_20_24_02_124722_0000.jpg
/home/pi/Desktop/images/21012025/20/24/image_21012025_20_24_02_124722_0001.jpg
/home/pi/Desktop/images/21012025/20/24/image_21012025_20_24_02_124722_0002.jpg
/home/pi/Desktop/images/21012025/20/24/image_21012025_20_24_02_124722_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330937813","1330937807","1330937797","1330937809","1330937790","1330937803"],"photo_ids_order":["1330937790","1330937797","1330937803","1330937807","1330937809","1330937813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6d2c1ec1de0dfd4acc8d151c535045f4.jpg","text":"TemporaryFile(/tmp/multipartBody6243508941262369162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690759069,"filename":"image_21012025_20_24_02_124722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/70c8597443b3835ceb6a9fcd983ed982.jpg","text":"TemporaryFile(/tmp/multipartBody7514373204010285500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690759069,"filename":"image_21012025_20_24_02_124722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7929a93d7f3c879c9ad1e09d0afbd2fa.jpg","text":"TemporaryFile(/tmp/multipartBody7137194771814955338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690759069,"filename":"image_21012025_20_23_03_005577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1884345e5404b1603065d42997607b7f.jpg","text":"TemporaryFile(/tmp/multipartBody3150498389521612035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690759069,"filename":"image_21012025_20_24_02_124722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf84d2d0e1ac28d6b3a351498d680823.jpg","text":"TemporaryFile(/tmp/multipartBody350386851077964488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690759069,"filename":"image_21012025_20_23_03_005577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47ceb7ed8f8c2fdae855aac883daf21e.jpg","text":"TemporaryFile(/tmp/multipartBody6565998263127637414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690759069,"filename":"image_21012025_20_24_02_124722_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330937803","file1":"1330937797","file0":"1330937790","file4":"1330937809","file5":"1330937813","file3":"1330937807"},"map_files_photo_id_array":[{"photo_id":"1330937813","filename":"file5"},{"photo_id":"1330937803","filename":"file2"},{"photo_id":"1330937809","filename":"file4"},{"photo_id":"1330937797","filename":"file1"},{"photo_id":"1330937790","filename":"file0"},{"photo_id":"1330937807","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330937813":["hashtag1","hashtag2"]},{"1330937807":["hashtag1","hashtag2"]},{"1330937797":["hashtag1","hashtag2"]},{"1330937809":["hashtag1","hashtag2"]},{"1330937790":["hashtag1","hashtag2"]},{"1330937803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330937813, 1330937807, 1330937797, 1330937809, 1330937790, 1330937803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.1612663269043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:52:22.365152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0000.jpg', '/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0001.jpg', '/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0002.jpg', '/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0003.jpg', '/home/pi/Desktop/images/21012025/20/26/image_21012025_20_26_02_567658_0000.jpg', '/home/pi/Desktop/images/21012025/20/26/image_21012025_20_26_02_567658_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0000.jpg
/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0001.jpg
/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0002.jpg
/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0003.jpg
/home/pi/Desktop/images/21012025/20/26/image_21012025_20_26_02_567658_0000.jpg
/home/pi/Desktop/images/21012025/20/26/image_21012025_20_26_02_567658_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 19.02995204925537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:53:02.509593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0000.jpg', '/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0001.jpg', '/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0002.jpg', '/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0003.jpg', '/home/pi/Desktop/images/21012025/20/26/image_21012025_20_26_02_567658_0000.jpg', '/home/pi/Desktop/images/21012025/20/26/image_21012025_20_26_02_567658_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0000.jpg
/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0001.jpg
/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0002.jpg
/home/pi/Desktop/images/21012025/20/25/image_21012025_20_25_02_304021_0003.jpg
/home/pi/Desktop/images/21012025/20/26/image_21012025_20_26_02_567658_0000.jpg
/home/pi/Desktop/images/21012025/20/26/image_21012025_20_26_02_567658_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330937904","1330937897","1330937891","1330937911","1330937908","1330937886"],"photo_ids_order":["1330937886","1330937891","1330937897","1330937904","1330937908","1330937911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c590ff4e7b7d495eb3216c58dfaf8ef.jpg","text":"TemporaryFile(/tmp/multipartBody7619977474043291908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690861861,"filename":"image_21012025_20_25_02_304021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6cbf09ca7855e0fa6cc5e1d4d6ab8449.jpg","text":"TemporaryFile(/tmp/multipartBody2613336871586533451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690861861,"filename":"image_21012025_20_25_02_304021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4db13a4dedab27ee4385799a24db30af.jpg","text":"TemporaryFile(/tmp/multipartBody4709488698745934036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690861861,"filename":"image_21012025_20_25_02_304021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1c9651eaa01c517a7255312d871140bc.jpg","text":"TemporaryFile(/tmp/multipartBody8382641322105703022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690861861,"filename":"image_21012025_20_26_02_567658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/167960e0e8579679406d36f87a1c90bf.jpg","text":"TemporaryFile(/tmp/multipartBody2530255146103583899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690861861,"filename":"image_21012025_20_26_02_567658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/413b62260757a8be6495ebe9deff0feb.jpg","text":"TemporaryFile(/tmp/multipartBody2875482945515414281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690861861,"filename":"image_21012025_20_25_02_304021_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330937897","file1":"1330937891","file0":"1330937886","file4":"1330937908","file5":"1330937911","file3":"1330937904"},"map_files_photo_id_array":[{"photo_id":"1330937911","filename":"file5"},{"photo_id":"1330937897","filename":"file2"},{"photo_id":"1330937908","filename":"file4"},{"photo_id":"1330937891","filename":"file1"},{"photo_id":"1330937886","filename":"file0"},{"photo_id":"1330937904","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330937904":["hashtag1","hashtag2"]},{"1330937897":["hashtag1","hashtag2"]},{"1330937891":["hashtag1","hashtag2"]},{"1330937911":["hashtag1","hashtag2"]},{"1330937908":["hashtag1","hashtag2"]},{"1330937886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330937904, 1330937897, 1330937891, 1330937911, 1330937908, 1330937886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.62823820114136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:54:02.979923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/26/image_21012025_20_26_02_567658_0002.jpg', '/home/pi/Desktop/images/21012025/20/26/image_21012025_20_26_02_567658_0003.jpg', '/home/pi/Desktop/images/21012025/20/27/image_21012025_20_27_02_665606_0000.jpg', '/home/pi/Desktop/images/21012025/20/27/image_21012025_20_27_02_665606_0001.jpg', '/home/pi/Desktop/images/21012025/20/27/image_21012025_20_27_02_665606_0002.jpg', '/home/pi/Desktop/images/21012025/20/27/image_21012025_20_27_02_665606_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/26/image_21012025_20_26_02_567658_0002.jpg
/home/pi/Desktop/images/21012025/20/26/image_21012025_20_26_02_567658_0003.jpg
/home/pi/Desktop/images/21012025/20/27/image_21012025_20_27_02_665606_0000.jpg
/home/pi/Desktop/images/21012025/20/27/image_21012025_20_27_02_665606_0001.jpg
/home/pi/Desktop/images/21012025/20/27/image_21012025_20_27_02_665606_0002.jpg
/home/pi/Desktop/images/21012025/20/27/image_21012025_20_27_02_665606_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330938030","1330938219","1330938260","1330938197","1330938179","1330938245"],"photo_ids_order":["1330938030","1330938179","1330938197","1330938219","1330938245","1330938260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab09a648d0c06be99135c084b65dd19e.jpg","text":"TemporaryFile(/tmp/multipartBody2746653740276925587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690921339,"filename":"image_21012025_20_26_02_567658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0d29b7151eee0f5aef7f6c2aa473f0dc.jpg","text":"TemporaryFile(/tmp/multipartBody7864684809910155244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690921339,"filename":"image_21012025_20_27_02_665606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2f2cd4322fd7f4923e35f4838d643102.jpg","text":"TemporaryFile(/tmp/multipartBody951940076105968688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690921339,"filename":"image_21012025_20_27_02_665606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/772d76de35cbd84b6cee0f29748ac753.jpg","text":"TemporaryFile(/tmp/multipartBody5816753925196360526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690921339,"filename":"image_21012025_20_27_02_665606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/73b2d1d5083b14f3ea19e22b3bf9ee13.jpg","text":"TemporaryFile(/tmp/multipartBody6238098300869215074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690921339,"filename":"image_21012025_20_26_02_567658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ccf1b9c4aecaae7953600f105fa6694e.jpg","text":"TemporaryFile(/tmp/multipartBody8645937601617819376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737690921339,"filename":"image_21012025_20_27_02_665606_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330938197","file1":"1330938179","file0":"1330938030","file4":"1330938245","file5":"1330938260","file3":"1330938219"},"map_files_photo_id_array":[{"photo_id":"1330938260","filename":"file5"},{"photo_id":"1330938197","filename":"file2"},{"photo_id":"1330938245","filename":"file4"},{"photo_id":"1330938179","filename":"file1"},{"photo_id":"1330938030","filename":"file0"},{"photo_id":"1330938219","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330938030":["hashtag1","hashtag2"]},{"1330938219":["hashtag1","hashtag2"]},{"1330938260":["hashtag1","hashtag2"]},{"1330938197":["hashtag1","hashtag2"]},{"1330938179":["hashtag1","hashtag2"]},{"1330938245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330938030, 1330938219, 1330938260, 1330938197, 1330938179, 1330938245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.739741802215576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:55:21.929312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/28/image_21012025_20_28_02_895130_0000.jpg', '/home/pi/Desktop/images/21012025/20/28/image_21012025_20_28_02_895130_0001.jpg', '/home/pi/Desktop/images/21012025/20/28/image_21012025_20_28_02_895130_0002.jpg', '/home/pi/Desktop/images/21012025/20/28/image_21012025_20_28_02_895130_0003.jpg', '/home/pi/Desktop/images/21012025/20/29/image_21012025_20_29_03_040283_0000.jpg', '/home/pi/Desktop/images/21012025/20/29/image_21012025_20_29_03_040283_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/28/image_21012025_20_28_02_895130_0000.jpg
/home/pi/Desktop/images/21012025/20/28/image_21012025_20_28_02_895130_0001.jpg
/home/pi/Desktop/images/21012025/20/28/image_21012025_20_28_02_895130_0002.jpg
/home/pi/Desktop/images/21012025/20/28/image_21012025_20_28_02_895130_0003.jpg
/home/pi/Desktop/images/21012025/20/29/image_21012025_20_29_03_040283_0000.jpg
/home/pi/Desktop/images/21012025/20/29/image_21012025_20_29_03_040283_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330938432","1330938426","1330938440","1330938439","1330938421","1330938399"],"photo_ids_order":["1330938399","1330938421","1330938426","1330938432","1330938439","1330938440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ace361ef6871fd1186c62ef0f150c277.jpg","text":"TemporaryFile(/tmp/multipartBody1560893627730096659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691000037,"filename":"image_21012025_20_28_02_895130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/df76207fb625d18a245a6d9f316d2704.jpg","text":"TemporaryFile(/tmp/multipartBody8418870565490491317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691000037,"filename":"image_21012025_20_28_02_895130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c43e8dd8e1d1646704f17f9ff9980066.jpg","text":"TemporaryFile(/tmp/multipartBody911255904014406041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691000037,"filename":"image_21012025_20_29_03_040283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/640f62b52be5730db5bec21977cce9f8.jpg","text":"TemporaryFile(/tmp/multipartBody6830856848530863069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691000037,"filename":"image_21012025_20_29_03_040283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3d2d6eb42c20f46fb69ea86f1b2a7904.jpg","text":"TemporaryFile(/tmp/multipartBody1500024846772344968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691000037,"filename":"image_21012025_20_28_02_895130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1246717ef864b1650982f5fc8e12350a.jpg","text":"TemporaryFile(/tmp/multipartBody6050141453016542285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691000037,"filename":"image_21012025_20_28_02_895130_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330938426","file1":"1330938421","file0":"1330938399","file4":"1330938439","file5":"1330938440","file3":"1330938432"},"map_files_photo_id_array":[{"photo_id":"1330938440","filename":"file5"},{"photo_id":"1330938426","filename":"file2"},{"photo_id":"1330938439","filename":"file4"},{"photo_id":"1330938421","filename":"file1"},{"photo_id":"1330938399","filename":"file0"},{"photo_id":"1330938432","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330938432":["hashtag1","hashtag2"]},{"1330938426":["hashtag1","hashtag2"]},{"1330938440":["hashtag1","hashtag2"]},{"1330938439":["hashtag1","hashtag2"]},{"1330938421":["hashtag1","hashtag2"]},{"1330938399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330938432, 1330938426, 1330938440, 1330938439, 1330938421, 1330938399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.058390617370605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:56:22.509888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/29/image_21012025_20_29_03_040283_0002.jpg', '/home/pi/Desktop/images/21012025/20/29/image_21012025_20_29_03_040283_0003.jpg', '/home/pi/Desktop/images/21012025/20/30/image_21012025_20_30_02_365670_0000.jpg', '/home/pi/Desktop/images/21012025/20/30/image_21012025_20_30_02_365670_0001.jpg', '/home/pi/Desktop/images/21012025/20/30/image_21012025_20_30_02_365670_0002.jpg', '/home/pi/Desktop/images/21012025/20/30/image_21012025_20_30_02_365670_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/29/image_21012025_20_29_03_040283_0002.jpg
/home/pi/Desktop/images/21012025/20/29/image_21012025_20_29_03_040283_0003.jpg
/home/pi/Desktop/images/21012025/20/30/image_21012025_20_30_02_365670_0000.jpg
/home/pi/Desktop/images/21012025/20/30/image_21012025_20_30_02_365670_0001.jpg
/home/pi/Desktop/images/21012025/20/30/image_21012025_20_30_02_365670_0002.jpg
/home/pi/Desktop/images/21012025/20/30/image_21012025_20_30_02_365670_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330938467","1330938478","1330938457","1330938451","1330938474","1330938462"],"photo_ids_order":["1330938451","1330938457","1330938462","1330938467","1330938474","1330938478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a2684fc653c542dbb5d17afa6b3cdd6.jpg","text":"TemporaryFile(/tmp/multipartBody5750609292251773030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691060318,"filename":"image_21012025_20_30_02_365670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a648a6c167f113c1249e8a25041601db.jpg","text":"TemporaryFile(/tmp/multipartBody2385805223709743508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691060318,"filename":"image_21012025_20_30_02_365670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3180910111f1669ec7018c90b1c04a70.jpg","text":"TemporaryFile(/tmp/multipartBody5140112860753097554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691060318,"filename":"image_21012025_20_29_03_040283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fea1c4bfd88776161520a55bb9497d98.jpg","text":"TemporaryFile(/tmp/multipartBody3890715863016017022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691060318,"filename":"image_21012025_20_29_03_040283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d55428cf7bed93b8db2c53ecbeb3d69.jpg","text":"TemporaryFile(/tmp/multipartBody5474136226261847236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691060318,"filename":"image_21012025_20_30_02_365670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30272378333de8e5af95c1533cfa4e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2105266055351853028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691060318,"filename":"image_21012025_20_30_02_365670_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330938462","file1":"1330938457","file0":"1330938451","file4":"1330938474","file5":"1330938478","file3":"1330938467"},"map_files_photo_id_array":[{"photo_id":"1330938478","filename":"file5"},{"photo_id":"1330938462","filename":"file2"},{"photo_id":"1330938474","filename":"file4"},{"photo_id":"1330938457","filename":"file1"},{"photo_id":"1330938451","filename":"file0"},{"photo_id":"1330938467","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330938467":["hashtag1","hashtag2"]},{"1330938478":["hashtag1","hashtag2"]},{"1330938457":["hashtag1","hashtag2"]},{"1330938451":["hashtag1","hashtag2"]},{"1330938474":["hashtag1","hashtag2"]},{"1330938462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330938467, 1330938478, 1330938457, 1330938451, 1330938474, 1330938462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.74863648414612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 04:57:22.101712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0000.jpg', '/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0001.jpg', '/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0002.jpg', '/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0003.jpg', '/home/pi/Desktop/images/21012025/20/32/image_21012025_20_32_02_569916_0000.jpg', '/home/pi/Desktop/images/21012025/20/32/image_21012025_20_32_02_569916_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0000.jpg
/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0001.jpg
/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0002.jpg
/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0003.jpg
/home/pi/Desktop/images/21012025/20/32/image_21012025_20_32_02_569916_0000.jpg
/home/pi/Desktop/images/21012025/20/32/image_21012025_20_32_02_569916_0001.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 04:59:02.301992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0000.jpg', '/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0001.jpg', '/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0002.jpg', '/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0003.jpg', '/home/pi/Desktop/images/21012025/20/32/image_21012025_20_32_02_569916_0000.jpg', '/home/pi/Desktop/images/21012025/20/32/image_21012025_20_32_02_569916_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0000.jpg
/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0001.jpg
/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0002.jpg
/home/pi/Desktop/images/21012025/20/31/image_21012025_20_31_02_477123_0003.jpg
/home/pi/Desktop/images/21012025/20/32/image_21012025_20_32_02_569916_0000.jpg
/home/pi/Desktop/images/21012025/20/32/image_21012025_20_32_02_569916_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330939154","1330939213","1330939161","1330939170","1330939215","1330939209"],"photo_ids_order":["1330939154","1330939161","1330939170","1330939209","1330939213","1330939215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1da2f7915270703ad101d863bb031208.jpg","text":"TemporaryFile(/tmp/multipartBody7705821855137690835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691220993,"filename":"image_21012025_20_31_02_477123_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cd1e9e0b8a761a4a27ce8676ebfa59db.jpg","text":"TemporaryFile(/tmp/multipartBody2288533630662952002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691220993,"filename":"image_21012025_20_32_02_569916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/96cea01d1fe16c357e72ea9bbf623d13.jpg","text":"TemporaryFile(/tmp/multipartBody2437265392066549932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691220993,"filename":"image_21012025_20_31_02_477123_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e0d43c3f83b0a2ae681c9635536ee8b0.jpg","text":"TemporaryFile(/tmp/multipartBody5648202974265962459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691220993,"filename":"image_21012025_20_31_02_477123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/31840aa472d237a8cd2088c2b1fe103d.jpg","text":"TemporaryFile(/tmp/multipartBody1781560706273525837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691220993,"filename":"image_21012025_20_32_02_569916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/79cd9ab2189168830530154062ded781.jpg","text":"TemporaryFile(/tmp/multipartBody2772644934485744420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691220993,"filename":"image_21012025_20_31_02_477123_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330939170","file1":"1330939161","file0":"1330939154","file4":"1330939213","file5":"1330939215","file3":"1330939209"},"map_files_photo_id_array":[{"photo_id":"1330939215","filename":"file5"},{"photo_id":"1330939170","filename":"file2"},{"photo_id":"1330939213","filename":"file4"},{"photo_id":"1330939161","filename":"file1"},{"photo_id":"1330939154","filename":"file0"},{"photo_id":"1330939209","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330939154":["hashtag1","hashtag2"]},{"1330939213":["hashtag1","hashtag2"]},{"1330939161":["hashtag1","hashtag2"]},{"1330939170":["hashtag1","hashtag2"]},{"1330939215":["hashtag1","hashtag2"]},{"1330939209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330939154, 1330939213, 1330939161, 1330939170, 1330939215, 1330939209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.49155139923096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:00:02.755577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/32/image_21012025_20_32_02_569916_0002.jpg', '/home/pi/Desktop/images/21012025/20/32/image_21012025_20_32_02_569916_0003.jpg', '/home/pi/Desktop/images/21012025/20/33/image_21012025_20_33_02_769159_0000.jpg', '/home/pi/Desktop/images/21012025/20/33/image_21012025_20_33_02_769159_0001.jpg', '/home/pi/Desktop/images/21012025/20/33/image_21012025_20_33_02_769159_0002.jpg', '/home/pi/Desktop/images/21012025/20/33/image_21012025_20_33_02_769159_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/32/image_21012025_20_32_02_569916_0002.jpg
/home/pi/Desktop/images/21012025/20/32/image_21012025_20_32_02_569916_0003.jpg
/home/pi/Desktop/images/21012025/20/33/image_21012025_20_33_02_769159_0000.jpg
/home/pi/Desktop/images/21012025/20/33/image_21012025_20_33_02_769159_0001.jpg
/home/pi/Desktop/images/21012025/20/33/image_21012025_20_33_02_769159_0002.jpg
/home/pi/Desktop/images/21012025/20/33/image_21012025_20_33_02_769159_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330939259","1330939541","1330939588","1330939537","1330939479","1330939314"],"photo_ids_order":["1330939259","1330939314","1330939479","1330939537","1330939541","1330939588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a3172030f525862387c27cf27ae3da10.jpg","text":"TemporaryFile(/tmp/multipartBody1865310762324734726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691280942,"filename":"image_21012025_20_32_02_569916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cb1b98276e54646c15d59494d9b1de0c.jpg","text":"TemporaryFile(/tmp/multipartBody5719086649654945543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691280942,"filename":"image_21012025_20_33_02_769159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab94d529070db47ea6c5e8aa71053b15.jpg","text":"TemporaryFile(/tmp/multipartBody179305076403414324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691280942,"filename":"image_21012025_20_33_02_769159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eab7c2cc699879ccac012227a67fd7d7.jpg","text":"TemporaryFile(/tmp/multipartBody4634743057975506893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691280942,"filename":"image_21012025_20_33_02_769159_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a6d4a082e32e390d548cad5c3a2bd922.jpg","text":"TemporaryFile(/tmp/multipartBody3676178055247762343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691280942,"filename":"image_21012025_20_33_02_769159_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32b3ca3c42987b1274b2cbd523a1c634.jpg","text":"TemporaryFile(/tmp/multipartBody7929664250410370668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691280942,"filename":"image_21012025_20_32_02_569916_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330939479","file1":"1330939314","file0":"1330939259","file4":"1330939541","file5":"1330939588","file3":"1330939537"},"map_files_photo_id_array":[{"photo_id":"1330939588","filename":"file5"},{"photo_id":"1330939479","filename":"file2"},{"photo_id":"1330939541","filename":"file4"},{"photo_id":"1330939314","filename":"file1"},{"photo_id":"1330939259","filename":"file0"},{"photo_id":"1330939537","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330939259":["hashtag1","hashtag2"]},{"1330939541":["hashtag1","hashtag2"]},{"1330939588":["hashtag1","hashtag2"]},{"1330939537":["hashtag1","hashtag2"]},{"1330939479":["hashtag1","hashtag2"]},{"1330939314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330939259, 1330939541, 1330939588, 1330939537, 1330939479, 1330939314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.44410157203674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:01:02.450766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/00/image_24012025_05_00_02_118995_0000.jpg', '/home/pi/Desktop/images/24012025/05/00/image_24012025_05_00_02_118995_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/00/image_24012025_05_00_02_118995_0000.jpg
/home/pi/Desktop/images/24012025/05/00/image_24012025_05_00_02_118995_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330939652","1330939648"],"photo_ids_order":["1330939648","1330939652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f8704a26b8f77148308fe9abf057c7f7.jpg","text":"TemporaryFile(/tmp/multipartBody1607780856916002420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691328071,"filename":"image_24012025_05_00_02_118995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0bd1dde3124f59d5be50c35f7dd7aca0.jpg","text":"TemporaryFile(/tmp/multipartBody1054394922307925059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691328071,"filename":"image_24012025_05_00_02_118995_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330939652","file0":"1330939648"},"map_files_photo_id_array":[{"photo_id":"1330939652","filename":"file1"},{"photo_id":"1330939648","filename":"file0"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330939652":["hashtag1","hashtag2"]},{"1330939648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330939652, 1330939648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.753646850585938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:02:02.633718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/01/image_24012025_05_01_02_643272_0001.jpg', '/home/pi/Desktop/images/24012025/05/01/image_24012025_05_01_02_643272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/01/image_24012025_05_01_02_643272_0001.jpg
/home/pi/Desktop/images/24012025/05/01/image_24012025_05_01_02_643272_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330939761","1330939740"],"photo_ids_order":["1330939740","1330939761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/befc22fcccaafafdac127e207483ae42.jpg","text":"TemporaryFile(/tmp/multipartBody5032263507234509928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691388616,"filename":"image_24012025_05_01_02_643272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/535094d0f530b7ebe3d0b307da048b4c.jpg","text":"TemporaryFile(/tmp/multipartBody801654609520636325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691388616,"filename":"image_24012025_05_01_02_643272_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330939761","file0":"1330939740"},"map_files_photo_id_array":[{"photo_id":"1330939761","filename":"file1"},{"photo_id":"1330939740","filename":"file0"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330939761":["hashtag1","hashtag2"]},{"1330939740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330939761, 1330939740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.910581827163696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:03:02.410472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/01/image_24012025_05_01_02_643272_0003.jpg', '/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0000.jpg', '/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0001.jpg', '/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/01/image_24012025_05_01_02_643272_0003.jpg
/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0000.jpg
/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0001.jpg
/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.0407133102417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:03:21.802795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/01/image_24012025_05_01_02_643272_0003.jpg', '/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0000.jpg', '/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0001.jpg', '/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0002.jpg', '/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0003.jpg', '/home/pi/Desktop/images/24012025/05/03/image_24012025_05_03_02_669951_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/01/image_24012025_05_01_02_643272_0003.jpg
/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0000.jpg
/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0001.jpg
/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0002.jpg
/home/pi/Desktop/images/24012025/05/02/image_24012025_05_02_02_122250_0003.jpg
/home/pi/Desktop/images/24012025/05/03/image_24012025_05_03_02_669951_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330939847","1330939856","1330939859","1330939850","1330939852","1330939854"],"photo_ids_order":["1330939847","1330939850","1330939852","1330939854","1330939856","1330939859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf3218b3d1c7fda8f0db43435cb881f9.jpg","text":"TemporaryFile(/tmp/multipartBody2057308431074848180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691477960,"filename":"image_24012025_05_01_02_643272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f83562731595808b3343123f70004d83.jpg","text":"TemporaryFile(/tmp/multipartBody7001315548651183866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691477960,"filename":"image_24012025_05_02_02_122250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/277e603f355cb9173520382db865adf6.jpg","text":"TemporaryFile(/tmp/multipartBody1251267682841368812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691477960,"filename":"image_24012025_05_03_02_669951_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/67de22ebafff604f1cd2b60952d46d97.jpg","text":"TemporaryFile(/tmp/multipartBody581050240997075929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691477960,"filename":"image_24012025_05_02_02_122250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac7272fa7b1ce2a280bd0116d45a14ac.jpg","text":"TemporaryFile(/tmp/multipartBody2437612323929012534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691477960,"filename":"image_24012025_05_02_02_122250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd699a564c5fdc13e3863b6028bf36e0.jpg","text":"TemporaryFile(/tmp/multipartBody2889641097346172737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691477960,"filename":"image_24012025_05_02_02_122250_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330939852","file1":"1330939850","file0":"1330939847","file4":"1330939856","file5":"1330939859","file3":"1330939854"},"map_files_photo_id_array":[{"photo_id":"1330939859","filename":"file5"},{"photo_id":"1330939852","filename":"file2"},{"photo_id":"1330939856","filename":"file4"},{"photo_id":"1330939850","filename":"file1"},{"photo_id":"1330939847","filename":"file0"},{"photo_id":"1330939854","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330939847":["hashtag1","hashtag2"]},{"1330939856":["hashtag1","hashtag2"]},{"1330939859":["hashtag1","hashtag2"]},{"1330939850":["hashtag1","hashtag2"]},{"1330939852":["hashtag1","hashtag2"]},{"1330939854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330939847, 1330939856, 1330939859, 1330939850, 1330939852, 1330939854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.63820767402649 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:04:22.443392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/03/image_24012025_05_03_02_669951_0001.jpg', '/home/pi/Desktop/images/24012025/05/03/image_24012025_05_03_02_669951_0002.jpg', '/home/pi/Desktop/images/24012025/05/04/image_24012025_05_04_02_147150_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/03/image_24012025_05_03_02_669951_0001.jpg
/home/pi/Desktop/images/24012025/05/03/image_24012025_05_03_02_669951_0002.jpg
/home/pi/Desktop/images/24012025/05/04/image_24012025_05_04_02_147150_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330939877","1330939890","1330939884"],"photo_ids_order":["1330939877","1330939884","1330939890"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c954dc45b8dc077aa027780484d85bb2.jpg","text":"TemporaryFile(/tmp/multipartBody4195500709612875991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691529884,"filename":"image_24012025_05_03_02_669951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a121a05e20cf1e493a8412e637125a78.jpg","text":"TemporaryFile(/tmp/multipartBody7195558911260577895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691529884,"filename":"image_24012025_05_04_02_147150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3191a032e874dc6f35634b21735adbbd.jpg","text":"TemporaryFile(/tmp/multipartBody4374881011314176899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691529884,"filename":"image_24012025_05_03_02_669951_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330939890","file1":"1330939884","file0":"1330939877"},"map_files_photo_id_array":[{"photo_id":"1330939890","filename":"file2"},{"photo_id":"1330939884","filename":"file1"},{"photo_id":"1330939877","filename":"file0"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330939877":["hashtag1","hashtag2"]},{"1330939890":["hashtag1","hashtag2"]},{"1330939884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330939877, 1330939890, 1330939884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.04612112045288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:05:02.387978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/34/image_21012025_20_34_02_906376_0000.jpg', '/home/pi/Desktop/images/21012025/20/34/image_21012025_20_34_02_906376_0001.jpg', '/home/pi/Desktop/images/21012025/20/34/image_21012025_20_34_02_906376_0002.jpg', '/home/pi/Desktop/images/21012025/20/34/image_21012025_20_34_02_906376_0003.jpg', '/home/pi/Desktop/images/21012025/20/35/image_21012025_20_35_03_089428_0000.jpg', '/home/pi/Desktop/images/21012025/20/35/image_21012025_20_35_03_089428_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/34/image_21012025_20_34_02_906376_0000.jpg
/home/pi/Desktop/images/21012025/20/34/image_21012025_20_34_02_906376_0001.jpg
/home/pi/Desktop/images/21012025/20/34/image_21012025_20_34_02_906376_0002.jpg
/home/pi/Desktop/images/21012025/20/34/image_21012025_20_34_02_906376_0003.jpg
/home/pi/Desktop/images/21012025/20/35/image_21012025_20_35_03_089428_0000.jpg
/home/pi/Desktop/images/21012025/20/35/image_21012025_20_35_03_089428_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330939952","1330939922","1330939941","1330939917","1330939947","1330939929"],"photo_ids_order":["1330939917","1330939922","1330939929","1330939941","1330939947","1330939952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a39ce57919acecc394d16c91a8bfd5e6.jpg","text":"TemporaryFile(/tmp/multipartBody1261334199481184852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691580716,"filename":"image_21012025_20_35_03_089428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3df3b1c5a0a860158bc70403e65091e5.jpg","text":"TemporaryFile(/tmp/multipartBody1224370609799881486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691580716,"filename":"image_21012025_20_34_02_906376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/184803c0454e6fddfac7abe96d74f671.jpg","text":"TemporaryFile(/tmp/multipartBody7259387960572281096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691580716,"filename":"image_21012025_20_34_02_906376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/711faf6e5dcba196b645437fd67d58de.jpg","text":"TemporaryFile(/tmp/multipartBody5692935642166389278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691580716,"filename":"image_21012025_20_34_02_906376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5bb29d603dc69354d3d924c843b9fdbc.jpg","text":"TemporaryFile(/tmp/multipartBody5713977303092166739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691580716,"filename":"image_21012025_20_35_03_089428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47b1a4ade3d7bc03990d7b8aa38ea804.jpg","text":"TemporaryFile(/tmp/multipartBody1369990006412378252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691580716,"filename":"image_21012025_20_34_02_906376_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330939929","file1":"1330939922","file0":"1330939917","file4":"1330939947","file5":"1330939952","file3":"1330939941"},"map_files_photo_id_array":[{"photo_id":"1330939952","filename":"file5"},{"photo_id":"1330939929","filename":"file2"},{"photo_id":"1330939947","filename":"file4"},{"photo_id":"1330939922","filename":"file1"},{"photo_id":"1330939917","filename":"file0"},{"photo_id":"1330939941","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330939952":["hashtag1","hashtag2"]},{"1330939922":["hashtag1","hashtag2"]},{"1330939941":["hashtag1","hashtag2"]},{"1330939917":["hashtag1","hashtag2"]},{"1330939947":["hashtag1","hashtag2"]},{"1330939929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330939952, 1330939922, 1330939941, 1330939917, 1330939947, 1330939929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.982277393341064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:06:02.956030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/05/image_24012025_05_05_02_795716_0000.jpg', '/home/pi/Desktop/images/24012025/05/05/image_24012025_05_05_02_795716_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/05/image_24012025_05_05_02_795716_0000.jpg
/home/pi/Desktop/images/24012025/05/05/image_24012025_05_05_02_795716_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330940152","1330940302"],"photo_ids_order":["1330940152","1330940302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f00fb02847d5fcef1c818386bda14121.jpg","text":"TemporaryFile(/tmp/multipartBody7699382870201054229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691628307,"filename":"image_24012025_05_05_02_795716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/137b587c4d1c49904551d02ade55b1ed.jpg","text":"TemporaryFile(/tmp/multipartBody1167810477711112938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691628307,"filename":"image_24012025_05_05_02_795716_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1330940302","file0":"1330940152"},"map_files_photo_id_array":[{"photo_id":"1330940302","filename":"file1"},{"photo_id":"1330940152","filename":"file0"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330940152":["hashtag1","hashtag2"]},{"1330940302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330940152, 1330940302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.368419408798218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:07:02.628217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/35/image_21012025_20_35_03_089428_0002.jpg', '/home/pi/Desktop/images/21012025/20/35/image_21012025_20_35_03_089428_0003.jpg', '/home/pi/Desktop/images/21012025/20/36/image_21012025_20_36_02_233165_0000.jpg', '/home/pi/Desktop/images/21012025/20/36/image_21012025_20_36_02_233165_0001.jpg', '/home/pi/Desktop/images/21012025/20/36/image_21012025_20_36_02_233165_0002.jpg', '/home/pi/Desktop/images/21012025/20/36/image_21012025_20_36_02_233165_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/35/image_21012025_20_35_03_089428_0002.jpg
/home/pi/Desktop/images/21012025/20/35/image_21012025_20_35_03_089428_0003.jpg
/home/pi/Desktop/images/21012025/20/36/image_21012025_20_36_02_233165_0000.jpg
/home/pi/Desktop/images/21012025/20/36/image_21012025_20_36_02_233165_0001.jpg
/home/pi/Desktop/images/21012025/20/36/image_21012025_20_36_02_233165_0002.jpg
/home/pi/Desktop/images/21012025/20/36/image_21012025_20_36_02_233165_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330940910","1330940915","1330940845","1330940755","1330940922","1330940652"],"photo_ids_order":["1330940652","1330940755","1330940845","1330940910","1330940915","1330940922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6bdfe4923dfd473c6ba3beb31708dd67.jpg","text":"TemporaryFile(/tmp/multipartBody4356910375586499325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691701202,"filename":"image_21012025_20_36_02_233165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd2ad05f72934aa5327982f5949a75b2.jpg","text":"TemporaryFile(/tmp/multipartBody8203471682329170258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691701202,"filename":"image_21012025_20_36_02_233165_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/599c7ee22e62bb6e3f07fb2e5be4e2be.jpg","text":"TemporaryFile(/tmp/multipartBody29917936473419487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691701202,"filename":"image_21012025_20_36_02_233165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7190be2b56ff098174de791fe90e0d74.jpg","text":"TemporaryFile(/tmp/multipartBody269030115863800326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691701202,"filename":"image_21012025_20_35_03_089428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2da7a2710c07cae1fe3a7cde0840dbd7.jpg","text":"TemporaryFile(/tmp/multipartBody8645309581780031563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691701202,"filename":"image_21012025_20_36_02_233165_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0bc1740a46de1957be3a529140c4e325.jpg","text":"TemporaryFile(/tmp/multipartBody5094822202357524494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691701202,"filename":"image_21012025_20_35_03_089428_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330940845","file1":"1330940755","file0":"1330940652","file4":"1330940915","file5":"1330940922","file3":"1330940910"},"map_files_photo_id_array":[{"photo_id":"1330940922","filename":"file5"},{"photo_id":"1330940845","filename":"file2"},{"photo_id":"1330940915","filename":"file4"},{"photo_id":"1330940755","filename":"file1"},{"photo_id":"1330940652","filename":"file0"},{"photo_id":"1330940910","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330940910":["hashtag1","hashtag2"]},{"1330940915":["hashtag1","hashtag2"]},{"1330940845":["hashtag1","hashtag2"]},{"1330940755":["hashtag1","hashtag2"]},{"1330940922":["hashtag1","hashtag2"]},{"1330940652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330940910, 1330940915, 1330940845, 1330940755, 1330940922, 1330940652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.26798176765442 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:08:22.571798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/06/image_24012025_05_06_02_306710_0003.jpg', '/home/pi/Desktop/images/24012025/05/07/image_24012025_05_07_02_861142_0003.jpg', '/home/pi/Desktop/images/24012025/05/08/image_24012025_05_08_02_306382_0000.jpg', '/home/pi/Desktop/images/24012025/05/08/image_24012025_05_08_02_306382_0001.jpg', '/home/pi/Desktop/images/24012025/05/08/image_24012025_05_08_02_306382_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/06/image_24012025_05_06_02_306710_0003.jpg
/home/pi/Desktop/images/24012025/05/07/image_24012025_05_07_02_861142_0003.jpg
/home/pi/Desktop/images/24012025/05/08/image_24012025_05_08_02_306382_0000.jpg
/home/pi/Desktop/images/24012025/05/08/image_24012025_05_08_02_306382_0001.jpg
/home/pi/Desktop/images/24012025/05/08/image_24012025_05_08_02_306382_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330941209","1330941094","1330941151","1330941213","1330941194"],"photo_ids_order":["1330941094","1330941151","1330941194","1330941209","1330941213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4fe3d487056e52a396b95655c92a6a2b.jpg","text":"TemporaryFile(/tmp/multipartBody1465163488352520098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691775246,"filename":"image_24012025_05_08_02_306382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/adce3e7af7d62f05b70d713b9fc7d3fe.jpg","text":"TemporaryFile(/tmp/multipartBody7947207704212766003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691775246,"filename":"image_24012025_05_06_02_306710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/85728526a1c2ea1ddb93378b282cc513.jpg","text":"TemporaryFile(/tmp/multipartBody409676145953697037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691775246,"filename":"image_24012025_05_07_02_861142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aa0ce0d297a1e5217e43f482fe4d337e.jpg","text":"TemporaryFile(/tmp/multipartBody744087550381645376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691775246,"filename":"image_24012025_05_08_02_306382_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/49ed4e3769a070748019c37320115fda.jpg","text":"TemporaryFile(/tmp/multipartBody3908845651350623067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691775246,"filename":"image_24012025_05_08_02_306382_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330941194","file1":"1330941151","file0":"1330941094","file4":"1330941213","file3":"1330941209"},"map_files_photo_id_array":[{"photo_id":"1330941194","filename":"file2"},{"photo_id":"1330941213","filename":"file4"},{"photo_id":"1330941151","filename":"file1"},{"photo_id":"1330941094","filename":"file0"},{"photo_id":"1330941209","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330941209":["hashtag1","hashtag2"]},{"1330941094":["hashtag1","hashtag2"]},{"1330941151":["hashtag1","hashtag2"]},{"1330941213":["hashtag1","hashtag2"]},{"1330941194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330941209, 1330941094, 1330941151, 1330941213, 1330941194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 55.485055446624756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:09:22.139580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/08/image_24012025_05_08_02_306382_0003.jpg', '/home/pi/Desktop/images/24012025/05/09/image_24012025_05_09_02_916674_0000.jpg', '/home/pi/Desktop/images/24012025/05/09/image_24012025_05_09_02_916674_0001.jpg', '/home/pi/Desktop/images/24012025/05/09/image_24012025_05_09_02_916674_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/08/image_24012025_05_08_02_306382_0003.jpg
/home/pi/Desktop/images/24012025/05/09/image_24012025_05_09_02_916674_0000.jpg
/home/pi/Desktop/images/24012025/05/09/image_24012025_05_09_02_916674_0001.jpg
/home/pi/Desktop/images/24012025/05/09/image_24012025_05_09_02_916674_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330941311","1330941328","1330941304","1330941333"],"photo_ids_order":["1330941304","1330941311","1330941328","1330941333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/89ee5ca2cfcec70b01e6001576bcd3d7.jpg","text":"TemporaryFile(/tmp/multipartBody712118936716071581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691832795,"filename":"image_24012025_05_09_02_916674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c2b8aeae2edf43f4bf9f50e192abe2e.jpg","text":"TemporaryFile(/tmp/multipartBody3957668907840090673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691832795,"filename":"image_24012025_05_09_02_916674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7a8e2206b58d08bb5cdc4c73ce5fe4cc.jpg","text":"TemporaryFile(/tmp/multipartBody4640200838223277151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691832795,"filename":"image_24012025_05_08_02_306382_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6fe36a955fa1c3a202ad404b0312e398.jpg","text":"TemporaryFile(/tmp/multipartBody3279663861578012156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691832795,"filename":"image_24012025_05_09_02_916674_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330941328","file1":"1330941311","file0":"1330941304","file3":"1330941333"},"map_files_photo_id_array":[{"photo_id":"1330941328","filename":"file2"},{"photo_id":"1330941311","filename":"file1"},{"photo_id":"1330941304","filename":"file0"},{"photo_id":"1330941333","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330941311":["hashtag1","hashtag2"]},{"1330941328":["hashtag1","hashtag2"]},{"1330941304":["hashtag1","hashtag2"]},{"1330941333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330941311, 1330941328, 1330941304, 1330941333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.884628772735596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:10:02.936894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0000.jpg', '/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0001.jpg', '/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0002.jpg', '/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0003.jpg', '/home/pi/Desktop/images/21012025/20/38/image_21012025_20_38_02_602783_0000.jpg', '/home/pi/Desktop/images/21012025/20/38/image_21012025_20_38_02_602783_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0000.jpg
/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0001.jpg
/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0002.jpg
/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0003.jpg
/home/pi/Desktop/images/21012025/20/38/image_21012025_20_38_02_602783_0000.jpg
/home/pi/Desktop/images/21012025/20/38/image_21012025_20_38_02_602783_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 18.005285501480103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:10:22.494893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/09/image_24012025_05_09_02_916674_0003.jpg', '/home/pi/Desktop/images/24012025/05/10/image_24012025_05_10_02_415979_0000.jpg', '/home/pi/Desktop/images/24012025/05/10/image_24012025_05_10_02_415979_0001.jpg', '/home/pi/Desktop/images/24012025/05/10/image_24012025_05_10_02_415979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/09/image_24012025_05_09_02_916674_0003.jpg
/home/pi/Desktop/images/24012025/05/10/image_24012025_05_10_02_415979_0000.jpg
/home/pi/Desktop/images/24012025/05/10/image_24012025_05_10_02_415979_0001.jpg
/home/pi/Desktop/images/24012025/05/10/image_24012025_05_10_02_415979_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330941443","1330941460","1330941448","1330941453"],"photo_ids_order":["1330941443","1330941448","1330941453","1330941460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37a294435f47c678fe1ded6acbfa73d0.jpg","text":"TemporaryFile(/tmp/multipartBody4334469270955340780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691893114,"filename":"image_24012025_05_09_02_916674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d641f119df181726b1aea9b9c98fc885.jpg","text":"TemporaryFile(/tmp/multipartBody6600568510693552047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691893114,"filename":"image_24012025_05_10_02_415979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d3f5359b01007a5d4c49f9ef20442c6a.jpg","text":"TemporaryFile(/tmp/multipartBody5860526304214971702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691893114,"filename":"image_24012025_05_10_02_415979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ed73a66fdaceb4a03e681718fb676bc.jpg","text":"TemporaryFile(/tmp/multipartBody7234104852637791670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691893114,"filename":"image_24012025_05_10_02_415979_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330941453","file1":"1330941448","file0":"1330941443","file3":"1330941460"},"map_files_photo_id_array":[{"photo_id":"1330941453","filename":"file2"},{"photo_id":"1330941448","filename":"file1"},{"photo_id":"1330941443","filename":"file0"},{"photo_id":"1330941460","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330941443":["hashtag1","hashtag2"]},{"1330941460":["hashtag1","hashtag2"]},{"1330941448":["hashtag1","hashtag2"]},{"1330941453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330941443, 1330941460, 1330941448, 1330941453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.284241676330566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:11:21.957858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/10/image_24012025_05_10_02_415979_0003.jpg', '/home/pi/Desktop/images/24012025/05/11/image_24012025_05_11_02_856453_0000.jpg', '/home/pi/Desktop/images/24012025/05/11/image_24012025_05_11_02_856453_0001.jpg', '/home/pi/Desktop/images/24012025/05/11/image_24012025_05_11_02_856453_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/10/image_24012025_05_10_02_415979_0003.jpg
/home/pi/Desktop/images/24012025/05/11/image_24012025_05_11_02_856453_0000.jpg
/home/pi/Desktop/images/24012025/05/11/image_24012025_05_11_02_856453_0001.jpg
/home/pi/Desktop/images/24012025/05/11/image_24012025_05_11_02_856453_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330941509","1330941505","1330941513","1330941501"],"photo_ids_order":["1330941501","1330941505","1330941509","1330941513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a6df823ac44a7ad40744f649d926cbd.jpg","text":"TemporaryFile(/tmp/multipartBody8872667948381317610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691953144,"filename":"image_24012025_05_11_02_856453_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d20287cca7b2efa4a94bf0b2e573d4b4.jpg","text":"TemporaryFile(/tmp/multipartBody4098125132732204550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691953144,"filename":"image_24012025_05_11_02_856453_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c4bfe35152d9fde42f22e7f9f46dbc5d.jpg","text":"TemporaryFile(/tmp/multipartBody1029127595767191570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691953144,"filename":"image_24012025_05_11_02_856453_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b19d3f059c631b1c3d29f05c6617da49.jpg","text":"TemporaryFile(/tmp/multipartBody6050755162612812629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737691953144,"filename":"image_24012025_05_10_02_415979_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330941509","file1":"1330941505","file0":"1330941501","file3":"1330941513"},"map_files_photo_id_array":[{"photo_id":"1330941509","filename":"file2"},{"photo_id":"1330941505","filename":"file1"},{"photo_id":"1330941501","filename":"file0"},{"photo_id":"1330941513","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330941509":["hashtag1","hashtag2"]},{"1330941505":["hashtag1","hashtag2"]},{"1330941513":["hashtag1","hashtag2"]},{"1330941501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330941509, 1330941505, 1330941513, 1330941501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.65437388420105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:12:22.532590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/11/image_24012025_05_11_02_856453_0003.jpg', '/home/pi/Desktop/images/24012025/05/12/image_24012025_05_12_02_393895_0000.jpg', '/home/pi/Desktop/images/24012025/05/12/image_24012025_05_12_02_393895_0001.jpg', '/home/pi/Desktop/images/24012025/05/12/image_24012025_05_12_02_393895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/11/image_24012025_05_11_02_856453_0003.jpg
/home/pi/Desktop/images/24012025/05/12/image_24012025_05_12_02_393895_0000.jpg
/home/pi/Desktop/images/24012025/05/12/image_24012025_05_12_02_393895_0001.jpg
/home/pi/Desktop/images/24012025/05/12/image_24012025_05_12_02_393895_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330941650","1330941656","1330941637","1330941628"],"photo_ids_order":["1330941628","1330941637","1330941650","1330941656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a6dfe3d050f80ae8c3dd6f135be1b3ec.jpg","text":"TemporaryFile(/tmp/multipartBody4445288982941117818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692013731,"filename":"image_24012025_05_12_02_393895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ea8f0da431de7021ca0f22af6ddab2e9.jpg","text":"TemporaryFile(/tmp/multipartBody8408059885378206879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692013731,"filename":"image_24012025_05_12_02_393895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45dc4b6d0572a3f566c356250887c719.jpg","text":"TemporaryFile(/tmp/multipartBody6721528211039863857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692013731,"filename":"image_24012025_05_12_02_393895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/642f5f79c0d05d17509129380a5d38a4.jpg","text":"TemporaryFile(/tmp/multipartBody6586121103933040477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692013731,"filename":"image_24012025_05_11_02_856453_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330941650","file1":"1330941637","file0":"1330941628","file3":"1330941656"},"map_files_photo_id_array":[{"photo_id":"1330941650","filename":"file2"},{"photo_id":"1330941637","filename":"file1"},{"photo_id":"1330941628","filename":"file0"},{"photo_id":"1330941656","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330941650":["hashtag1","hashtag2"]},{"1330941656":["hashtag1","hashtag2"]},{"1330941637":["hashtag1","hashtag2"]},{"1330941628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330941650, 1330941656, 1330941637, 1330941628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.56000852584839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:13:22.112560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/12/image_24012025_05_12_02_393895_0003.jpg', '/home/pi/Desktop/images/24012025/05/13/image_24012025_05_13_02_966563_0000.jpg', '/home/pi/Desktop/images/24012025/05/13/image_24012025_05_13_02_966563_0001.jpg', '/home/pi/Desktop/images/24012025/05/13/image_24012025_05_13_02_966563_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/12/image_24012025_05_12_02_393895_0003.jpg
/home/pi/Desktop/images/24012025/05/13/image_24012025_05_13_02_966563_0000.jpg
/home/pi/Desktop/images/24012025/05/13/image_24012025_05_13_02_966563_0001.jpg
/home/pi/Desktop/images/24012025/05/13/image_24012025_05_13_02_966563_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330942007","1330941993","1330942043","1330941974"],"photo_ids_order":["1330941974","1330941993","1330942007","1330942043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/73fe8c4f556125628a2ae8ed5919ec1f.jpg","text":"TemporaryFile(/tmp/multipartBody7243277802848705506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692073445,"filename":"image_24012025_05_13_02_966563_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6bde90b37902e3c7702a5e5386aa6da9.jpg","text":"TemporaryFile(/tmp/multipartBody95007947408573709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692073445,"filename":"image_24012025_05_13_02_966563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/89bd6f2fc17b890d254360deb65f416b.jpg","text":"TemporaryFile(/tmp/multipartBody2072908046020627331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692073445,"filename":"image_24012025_05_13_02_966563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1436b25096e6f42e2d3017a587b11292.jpg","text":"TemporaryFile(/tmp/multipartBody418159043886720497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692073445,"filename":"image_24012025_05_12_02_393895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330942007","file1":"1330941993","file0":"1330941974","file3":"1330942043"},"map_files_photo_id_array":[{"photo_id":"1330942007","filename":"file2"},{"photo_id":"1330941993","filename":"file1"},{"photo_id":"1330941974","filename":"file0"},{"photo_id":"1330942043","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330942007":["hashtag1","hashtag2"]},{"1330941993":["hashtag1","hashtag2"]},{"1330942043":["hashtag1","hashtag2"]},{"1330941974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330942007, 1330941993, 1330942043, 1330941974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.33108735084534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:14:22.653809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/13/image_24012025_05_13_02_966563_0003.jpg', '/home/pi/Desktop/images/24012025/05/14/image_24012025_05_14_02_536336_0000.jpg', '/home/pi/Desktop/images/24012025/05/14/image_24012025_05_14_02_536336_0001.jpg', '/home/pi/Desktop/images/24012025/05/14/image_24012025_05_14_02_536336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/13/image_24012025_05_13_02_966563_0003.jpg
/home/pi/Desktop/images/24012025/05/14/image_24012025_05_14_02_536336_0000.jpg
/home/pi/Desktop/images/24012025/05/14/image_24012025_05_14_02_536336_0001.jpg
/home/pi/Desktop/images/24012025/05/14/image_24012025_05_14_02_536336_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330942264","1330942371","1330942326","1330942376"],"photo_ids_order":["1330942264","1330942326","1330942371","1330942376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db14d88c90e672caf523c66ec9d95f5d.jpg","text":"TemporaryFile(/tmp/multipartBody8322195014136308875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692134235,"filename":"image_24012025_05_13_02_966563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/afc4c287ce7d40ec46452389a959ef9a.jpg","text":"TemporaryFile(/tmp/multipartBody4613932260345527293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692134235,"filename":"image_24012025_05_14_02_536336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c0b66888d87f44d192103f4a3dab3e1d.jpg","text":"TemporaryFile(/tmp/multipartBody1773515538728780283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692134235,"filename":"image_24012025_05_14_02_536336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28e0e18ccea932a7e3c2dd5063b5cc77.jpg","text":"TemporaryFile(/tmp/multipartBody6684104475308100464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692134235,"filename":"image_24012025_05_14_02_536336_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330942371","file1":"1330942326","file0":"1330942264","file3":"1330942376"},"map_files_photo_id_array":[{"photo_id":"1330942371","filename":"file2"},{"photo_id":"1330942326","filename":"file1"},{"photo_id":"1330942264","filename":"file0"},{"photo_id":"1330942376","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330942264":["hashtag1","hashtag2"]},{"1330942371":["hashtag1","hashtag2"]},{"1330942326":["hashtag1","hashtag2"]},{"1330942376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330942264, 1330942371, 1330942326, 1330942376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81428003311157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:15:22.108860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/14/image_24012025_05_14_02_536336_0003.jpg', '/home/pi/Desktop/images/24012025/05/15/image_24012025_05_15_03_006878_0000.jpg', '/home/pi/Desktop/images/24012025/05/15/image_24012025_05_15_03_006878_0001.jpg', '/home/pi/Desktop/images/24012025/05/15/image_24012025_05_15_03_006878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/14/image_24012025_05_14_02_536336_0003.jpg
/home/pi/Desktop/images/24012025/05/15/image_24012025_05_15_03_006878_0000.jpg
/home/pi/Desktop/images/24012025/05/15/image_24012025_05_15_03_006878_0001.jpg
/home/pi/Desktop/images/24012025/05/15/image_24012025_05_15_03_006878_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330942418","1330942426","1330942411","1330942422"],"photo_ids_order":["1330942411","1330942418","1330942422","1330942426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0286588417c0605bfca39a4d96e2490.jpg","text":"TemporaryFile(/tmp/multipartBody5003817243666001232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692193859,"filename":"image_24012025_05_15_03_006878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc7296079a58b5d20031f6ab8f2752e3.jpg","text":"TemporaryFile(/tmp/multipartBody5386885073177173149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692193859,"filename":"image_24012025_05_15_03_006878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b788fafa37bd67c5cccf621502113210.jpg","text":"TemporaryFile(/tmp/multipartBody805473631879688876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692193859,"filename":"image_24012025_05_14_02_536336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1d4426ed5f0d5310d7e4331dddff47b.jpg","text":"TemporaryFile(/tmp/multipartBody1189759257605433033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692193859,"filename":"image_24012025_05_15_03_006878_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330942422","file1":"1330942418","file0":"1330942411","file3":"1330942426"},"map_files_photo_id_array":[{"photo_id":"1330942422","filename":"file2"},{"photo_id":"1330942418","filename":"file1"},{"photo_id":"1330942411","filename":"file0"},{"photo_id":"1330942426","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330942418":["hashtag1","hashtag2"]},{"1330942426":["hashtag1","hashtag2"]},{"1330942411":["hashtag1","hashtag2"]},{"1330942422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330942418, 1330942426, 1330942411, 1330942422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.8221435546875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:16:21.833576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/15/image_24012025_05_15_03_006878_0003.jpg', '/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0000.jpg', '/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0001.jpg', '/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/15/image_24012025_05_15_03_006878_0003.jpg
/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0000.jpg
/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0001.jpg
/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.11475419998169 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:17:02.888900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/15/image_24012025_05_15_03_006878_0003.jpg', '/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0000.jpg', '/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0001.jpg', '/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/15/image_24012025_05_15_03_006878_0003.jpg
/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0000.jpg
/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0001.jpg
/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330942520","1330942508","1330942515","1330942503"],"photo_ids_order":["1330942503","1330942508","1330942515","1330942520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/838d7f9694da00d6a8483e677a3bec47.jpg","text":"TemporaryFile(/tmp/multipartBody6365188413628727903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692294502,"filename":"image_24012025_05_16_02_607409_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce5ce14c73f15376ed899aeaa7f9d253.jpg","text":"TemporaryFile(/tmp/multipartBody806835524443215272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692294502,"filename":"image_24012025_05_16_02_607409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/52f4df1dee2e8577aac6e065c1e18353.jpg","text":"TemporaryFile(/tmp/multipartBody7221165143942495114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692294502,"filename":"image_24012025_05_16_02_607409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fe87ba289e1bc7166b99d59c1d992095.jpg","text":"TemporaryFile(/tmp/multipartBody4369507727417764724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692294502,"filename":"image_24012025_05_15_03_006878_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330942515","file1":"1330942508","file0":"1330942503","file3":"1330942520"},"map_files_photo_id_array":[{"photo_id":"1330942515","filename":"file2"},{"photo_id":"1330942508","filename":"file1"},{"photo_id":"1330942503","filename":"file0"},{"photo_id":"1330942520","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330942520":["hashtag1","hashtag2"]},{"1330942508":["hashtag1","hashtag2"]},{"1330942515":["hashtag1","hashtag2"]},{"1330942503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330942520, 1330942508, 1330942515, 1330942503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51638126373291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:18:02.414928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0003.jpg', '/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0000.jpg', '/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0001.jpg', '/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0003.jpg
/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0000.jpg
/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0001.jpg
/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.981054544448853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:18:21.921179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0003.jpg', '/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0000.jpg', '/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0001.jpg', '/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0002.jpg', '/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0003.jpg', '/home/pi/Desktop/images/24012025/05/18/image_24012025_05_18_02_687991_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/16/image_24012025_05_16_02_607409_0003.jpg
/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0000.jpg
/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0001.jpg
/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0002.jpg
/home/pi/Desktop/images/24012025/05/17/image_24012025_05_17_02_171998_0003.jpg
/home/pi/Desktop/images/24012025/05/18/image_24012025_05_18_02_687991_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330942613","1330942616","1330942588","1330942603","1330942608","1330942611"],"photo_ids_order":["1330942588","1330942603","1330942608","1330942611","1330942613","1330942616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cf00d724028375748e2e640b007eb589.jpg","text":"TemporaryFile(/tmp/multipartBody710208271343118058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692378771,"filename":"image_24012025_05_17_02_171998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74c1f8745a0cec9c01cde8a4eb363159.jpg","text":"TemporaryFile(/tmp/multipartBody6803599438260303335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692378771,"filename":"image_24012025_05_18_02_687991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1b2d2a0301133b78391546b7ce43a837.jpg","text":"TemporaryFile(/tmp/multipartBody6970559279857921685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692378771,"filename":"image_24012025_05_16_02_607409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8ab8163bda90ff0264bba02591abce5c.jpg","text":"TemporaryFile(/tmp/multipartBody6327724865193804111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692378771,"filename":"image_24012025_05_17_02_171998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eed5d81146b3ffa2f833eb7cd7074a79.jpg","text":"TemporaryFile(/tmp/multipartBody8720843078799743825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692378771,"filename":"image_24012025_05_17_02_171998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/347aec6e9dedc4cb93d45f9a3a7c0a0a.jpg","text":"TemporaryFile(/tmp/multipartBody1304009254471803608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692378771,"filename":"image_24012025_05_17_02_171998_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330942608","file1":"1330942603","file0":"1330942588","file4":"1330942613","file5":"1330942616","file3":"1330942611"},"map_files_photo_id_array":[{"photo_id":"1330942616","filename":"file5"},{"photo_id":"1330942608","filename":"file2"},{"photo_id":"1330942613","filename":"file4"},{"photo_id":"1330942603","filename":"file1"},{"photo_id":"1330942588","filename":"file0"},{"photo_id":"1330942611","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330942613":["hashtag1","hashtag2"]},{"1330942616":["hashtag1","hashtag2"]},{"1330942588":["hashtag1","hashtag2"]},{"1330942603":["hashtag1","hashtag2"]},{"1330942608":["hashtag1","hashtag2"]},{"1330942611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330942613, 1330942616, 1330942588, 1330942603, 1330942608, 1330942611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.05986547470093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:19:22.434701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/18/image_24012025_05_18_02_687991_0001.jpg', '/home/pi/Desktop/images/24012025/05/18/image_24012025_05_18_02_687991_0002.jpg', '/home/pi/Desktop/images/24012025/05/18/image_24012025_05_18_02_687991_0003.jpg', '/home/pi/Desktop/images/24012025/05/19/image_24012025_05_19_02_333064_0000.jpg', '/home/pi/Desktop/images/24012025/05/19/image_24012025_05_19_02_333064_0001.jpg', '/home/pi/Desktop/images/24012025/05/19/image_24012025_05_19_02_333064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/18/image_24012025_05_18_02_687991_0001.jpg
/home/pi/Desktop/images/24012025/05/18/image_24012025_05_18_02_687991_0002.jpg
/home/pi/Desktop/images/24012025/05/18/image_24012025_05_18_02_687991_0003.jpg
/home/pi/Desktop/images/24012025/05/19/image_24012025_05_19_02_333064_0000.jpg
/home/pi/Desktop/images/24012025/05/19/image_24012025_05_19_02_333064_0001.jpg
/home/pi/Desktop/images/24012025/05/19/image_24012025_05_19_02_333064_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330942666","1330942648","1330942644","1330942656","1330942661","1330942652"],"photo_ids_order":["1330942644","1330942648","1330942652","1330942656","1330942661","1330942666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb5863d0cd724e1050dfcedc86cd0d01.jpg","text":"TemporaryFile(/tmp/multipartBody1371316048858438471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692439385,"filename":"image_24012025_05_19_02_333064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ccafd4da85e2a77bd605259af1d34f3.jpg","text":"TemporaryFile(/tmp/multipartBody7043405223085351593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692439385,"filename":"image_24012025_05_18_02_687991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ec862c45101eaed62f0f2fa4459a6ec.jpg","text":"TemporaryFile(/tmp/multipartBody7605082923246126013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692439385,"filename":"image_24012025_05_18_02_687991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/75ff531096fc62d90f89106a962bb084.jpg","text":"TemporaryFile(/tmp/multipartBody3123662349001359954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692439385,"filename":"image_24012025_05_19_02_333064_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ba167b1f6e010ab318f104704e978607.jpg","text":"TemporaryFile(/tmp/multipartBody454759702896735415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692439385,"filename":"image_24012025_05_19_02_333064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/44fcecdfd48b2215e2b878d41ff0f8fa.jpg","text":"TemporaryFile(/tmp/multipartBody5591403330836371075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692439385,"filename":"image_24012025_05_18_02_687991_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330942652","file1":"1330942648","file0":"1330942644","file4":"1330942661","file5":"1330942666","file3":"1330942656"},"map_files_photo_id_array":[{"photo_id":"1330942666","filename":"file5"},{"photo_id":"1330942652","filename":"file2"},{"photo_id":"1330942661","filename":"file4"},{"photo_id":"1330942648","filename":"file1"},{"photo_id":"1330942644","filename":"file0"},{"photo_id":"1330942656","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330942666":["hashtag1","hashtag2"]},{"1330942648":["hashtag1","hashtag2"]},{"1330942644":["hashtag1","hashtag2"]},{"1330942656":["hashtag1","hashtag2"]},{"1330942661":["hashtag1","hashtag2"]},{"1330942652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330942666, 1330942648, 1330942644, 1330942656, 1330942661, 1330942652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.48329162597656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:21:03.209352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/19/image_24012025_05_19_02_333064_0003.jpg', '/home/pi/Desktop/images/24012025/05/20/image_24012025_05_20_02_817453_0000.jpg', '/home/pi/Desktop/images/24012025/05/20/image_24012025_05_20_02_817453_0001.jpg', '/home/pi/Desktop/images/24012025/05/20/image_24012025_05_20_02_817453_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/19/image_24012025_05_19_02_333064_0003.jpg
/home/pi/Desktop/images/24012025/05/20/image_24012025_05_20_02_817453_0000.jpg
/home/pi/Desktop/images/24012025/05/20/image_24012025_05_20_02_817453_0001.jpg
/home/pi/Desktop/images/24012025/05/20/image_24012025_05_20_02_817453_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330943499","1330943484","1330943474","1330943477"],"photo_ids_order":["1330943474","1330943477","1330943484","1330943499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd6213c6f485eb468b6fb43f20b7edd6.jpg","text":"TemporaryFile(/tmp/multipartBody8352395882989787730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692534726,"filename":"image_24012025_05_20_02_817453_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc2655b29f0193c5a50adc36ef6afef8.jpg","text":"TemporaryFile(/tmp/multipartBody5919159470811030290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692534726,"filename":"image_24012025_05_20_02_817453_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bbadbb6e21bbd593727d77d2d16ff11f.jpg","text":"TemporaryFile(/tmp/multipartBody4271035558976767906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692534726,"filename":"image_24012025_05_19_02_333064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d5dc86d8df6b69e051c7e4d9450b857c.jpg","text":"TemporaryFile(/tmp/multipartBody3300999412165544523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692534726,"filename":"image_24012025_05_20_02_817453_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330943484","file1":"1330943477","file0":"1330943474","file3":"1330943499"},"map_files_photo_id_array":[{"photo_id":"1330943484","filename":"file2"},{"photo_id":"1330943477","filename":"file1"},{"photo_id":"1330943474","filename":"file0"},{"photo_id":"1330943499","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330943499":["hashtag1","hashtag2"]},{"1330943484":["hashtag1","hashtag2"]},{"1330943474":["hashtag1","hashtag2"]},{"1330943477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330943499, 1330943484, 1330943474, 1330943477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.32773303985596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:22:02.684559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/20/image_24012025_05_20_02_817453_0003.jpg', '/home/pi/Desktop/images/24012025/05/21/image_24012025_05_21_02_373720_0000.jpg', '/home/pi/Desktop/images/24012025/05/21/image_24012025_05_21_02_373720_0001.jpg', '/home/pi/Desktop/images/24012025/05/21/image_24012025_05_21_02_373720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/20/image_24012025_05_20_02_817453_0003.jpg
/home/pi/Desktop/images/24012025/05/21/image_24012025_05_21_02_373720_0000.jpg
/home/pi/Desktop/images/24012025/05/21/image_24012025_05_21_02_373720_0001.jpg
/home/pi/Desktop/images/24012025/05/21/image_24012025_05_21_02_373720_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330943820","1330943792","1330943852","1330943816"],"photo_ids_order":["1330943792","1330943816","1330943820","1330943852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a734d258bcf5db547348049597c0a8a1.jpg","text":"TemporaryFile(/tmp/multipartBody1662042755157314888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692593752,"filename":"image_24012025_05_21_02_373720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45cca68f1ac0bf9d68efa164264bb5e2.jpg","text":"TemporaryFile(/tmp/multipartBody6000685871171688293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692593752,"filename":"image_24012025_05_20_02_817453_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/651834a077aaab26edea08340cf7a00c.jpg","text":"TemporaryFile(/tmp/multipartBody6523568648313100658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692593752,"filename":"image_24012025_05_21_02_373720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7eea88b8d707ae295a29c76a8c8170d3.jpg","text":"TemporaryFile(/tmp/multipartBody7316558925180197050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692593752,"filename":"image_24012025_05_21_02_373720_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330943820","file1":"1330943816","file0":"1330943792","file3":"1330943852"},"map_files_photo_id_array":[{"photo_id":"1330943820","filename":"file2"},{"photo_id":"1330943816","filename":"file1"},{"photo_id":"1330943792","filename":"file0"},{"photo_id":"1330943852","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330943820":["hashtag1","hashtag2"]},{"1330943792":["hashtag1","hashtag2"]},{"1330943852":["hashtag1","hashtag2"]},{"1330943816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330943820, 1330943792, 1330943852, 1330943816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91015315055847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:23:03.189594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/21/image_24012025_05_21_02_373720_0003.jpg', '/home/pi/Desktop/images/24012025/05/22/image_24012025_05_22_02_890532_0000.jpg', '/home/pi/Desktop/images/24012025/05/22/image_24012025_05_22_02_890532_0001.jpg', '/home/pi/Desktop/images/24012025/05/22/image_24012025_05_22_02_890532_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/21/image_24012025_05_21_02_373720_0003.jpg
/home/pi/Desktop/images/24012025/05/22/image_24012025_05_22_02_890532_0000.jpg
/home/pi/Desktop/images/24012025/05/22/image_24012025_05_22_02_890532_0001.jpg
/home/pi/Desktop/images/24012025/05/22/image_24012025_05_22_02_890532_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330943972","1330943939","1330943933","1330943890"],"photo_ids_order":["1330943890","1330943933","1330943939","1330943972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/906fd46f53e991c2c0dbf76e4dccc202.jpg","text":"TemporaryFile(/tmp/multipartBody3700517186415660541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692654515,"filename":"image_24012025_05_22_02_890532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ac4bf6ba48c8fcb6bb69433eb509b98.jpg","text":"TemporaryFile(/tmp/multipartBody2574179535710275345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692654515,"filename":"image_24012025_05_22_02_890532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9fa8d69b22cc11c8e3c5cd5cfbea2821.jpg","text":"TemporaryFile(/tmp/multipartBody405277573976527323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692654515,"filename":"image_24012025_05_22_02_890532_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1d17e4261cb1937b524d888d5d661c65.jpg","text":"TemporaryFile(/tmp/multipartBody1574347401464074605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692654515,"filename":"image_24012025_05_21_02_373720_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330943939","file1":"1330943933","file0":"1330943890","file3":"1330943972"},"map_files_photo_id_array":[{"photo_id":"1330943939","filename":"file2"},{"photo_id":"1330943933","filename":"file1"},{"photo_id":"1330943890","filename":"file0"},{"photo_id":"1330943972","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330943972":["hashtag1","hashtag2"]},{"1330943939":["hashtag1","hashtag2"]},{"1330943933":["hashtag1","hashtag2"]},{"1330943890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330943972, 1330943939, 1330943933, 1330943890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.393943071365356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:24:02.793855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/22/image_24012025_05_22_02_890532_0003.jpg', '/home/pi/Desktop/images/24012025/05/23/image_24012025_05_23_02_543161_0000.jpg', '/home/pi/Desktop/images/24012025/05/23/image_24012025_05_23_02_543161_0001.jpg', '/home/pi/Desktop/images/24012025/05/23/image_24012025_05_23_02_543161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/22/image_24012025_05_22_02_890532_0003.jpg
/home/pi/Desktop/images/24012025/05/23/image_24012025_05_23_02_543161_0000.jpg
/home/pi/Desktop/images/24012025/05/23/image_24012025_05_23_02_543161_0001.jpg
/home/pi/Desktop/images/24012025/05/23/image_24012025_05_23_02_543161_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330944106","1330944084","1330944077","1330944094"],"photo_ids_order":["1330944077","1330944084","1330944094","1330944106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/54eb0960b80990369faf596f8cc0a399.jpg","text":"TemporaryFile(/tmp/multipartBody7354717678937863180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692713956,"filename":"image_24012025_05_23_02_543161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7db2925120178776f2668dee6408155e.jpg","text":"TemporaryFile(/tmp/multipartBody3389636833232190529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692713956,"filename":"image_24012025_05_23_02_543161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1be5313dd6809f3430e239529fca1e52.jpg","text":"TemporaryFile(/tmp/multipartBody7114240931458905697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692713956,"filename":"image_24012025_05_22_02_890532_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30df1002e25c36860da095db60725879.jpg","text":"TemporaryFile(/tmp/multipartBody910897178448161424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692713956,"filename":"image_24012025_05_23_02_543161_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330944094","file1":"1330944084","file0":"1330944077","file3":"1330944106"},"map_files_photo_id_array":[{"photo_id":"1330944094","filename":"file2"},{"photo_id":"1330944084","filename":"file1"},{"photo_id":"1330944077","filename":"file0"},{"photo_id":"1330944106","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330944106":["hashtag1","hashtag2"]},{"1330944084":["hashtag1","hashtag2"]},{"1330944077":["hashtag1","hashtag2"]},{"1330944094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330944106, 1330944084, 1330944077, 1330944094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.38403344154358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:25:02.283512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/23/image_24012025_05_23_02_543161_0003.jpg', '/home/pi/Desktop/images/24012025/05/24/image_24012025_05_24_03_024747_0000.jpg', '/home/pi/Desktop/images/24012025/05/24/image_24012025_05_24_03_024747_0001.jpg', '/home/pi/Desktop/images/24012025/05/24/image_24012025_05_24_03_024747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/23/image_24012025_05_23_02_543161_0003.jpg
/home/pi/Desktop/images/24012025/05/24/image_24012025_05_24_03_024747_0000.jpg
/home/pi/Desktop/images/24012025/05/24/image_24012025_05_24_03_024747_0001.jpg
/home/pi/Desktop/images/24012025/05/24/image_24012025_05_24_03_024747_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330944258","1330944267","1330944281","1330944274"],"photo_ids_order":["1330944258","1330944267","1330944274","1330944281"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/13174c95dba02af3ef317852ed6c2146.jpg","text":"TemporaryFile(/tmp/multipartBody753490768429887097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692773517,"filename":"image_24012025_05_23_02_543161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e07249552f4e59ca7c58047d0426b2a.jpg","text":"TemporaryFile(/tmp/multipartBody1711212532384775415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692773517,"filename":"image_24012025_05_24_03_024747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b275a866543f5573684d122f7fdef810.jpg","text":"TemporaryFile(/tmp/multipartBody5376596591115744046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692773517,"filename":"image_24012025_05_24_03_024747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed6169d35c7d36053c57b842146851de.jpg","text":"TemporaryFile(/tmp/multipartBody755193438971504373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692773517,"filename":"image_24012025_05_24_03_024747_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330944274","file1":"1330944267","file0":"1330944258","file3":"1330944281"},"map_files_photo_id_array":[{"photo_id":"1330944274","filename":"file2"},{"photo_id":"1330944267","filename":"file1"},{"photo_id":"1330944258","filename":"file0"},{"photo_id":"1330944281","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330944258":["hashtag1","hashtag2"]},{"1330944267":["hashtag1","hashtag2"]},{"1330944281":["hashtag1","hashtag2"]},{"1330944274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330944258, 1330944267, 1330944281, 1330944274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.65234851837158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:26:02.935113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/24/image_24012025_05_24_03_024747_0003.jpg', '/home/pi/Desktop/images/24012025/05/25/image_24012025_05_25_02_654240_0000.jpg', '/home/pi/Desktop/images/24012025/05/25/image_24012025_05_25_02_654240_0001.jpg', '/home/pi/Desktop/images/24012025/05/25/image_24012025_05_25_02_654240_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/24/image_24012025_05_24_03_024747_0003.jpg
/home/pi/Desktop/images/24012025/05/25/image_24012025_05_25_02_654240_0000.jpg
/home/pi/Desktop/images/24012025/05/25/image_24012025_05_25_02_654240_0001.jpg
/home/pi/Desktop/images/24012025/05/25/image_24012025_05_25_02_654240_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330944327","1330944312","1330944320","1330944332"],"photo_ids_order":["1330944312","1330944320","1330944327","1330944332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30bda03918c4a7e42138407b37abccb1.jpg","text":"TemporaryFile(/tmp/multipartBody3880898114493416106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692833881,"filename":"image_24012025_05_25_02_654240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e7a77a5b51e24c868f8cbfee87931a70.jpg","text":"TemporaryFile(/tmp/multipartBody9110566904046301433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692833881,"filename":"image_24012025_05_24_03_024747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/27adce377bde184070a1820bb81267b5.jpg","text":"TemporaryFile(/tmp/multipartBody5543032639986344213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692833881,"filename":"image_24012025_05_25_02_654240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/428e08a57d31ad3149b271a5ea385e7b.jpg","text":"TemporaryFile(/tmp/multipartBody5545683074936362092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692833881,"filename":"image_24012025_05_25_02_654240_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330944327","file1":"1330944320","file0":"1330944312","file3":"1330944332"},"map_files_photo_id_array":[{"photo_id":"1330944327","filename":"file2"},{"photo_id":"1330944320","filename":"file1"},{"photo_id":"1330944312","filename":"file0"},{"photo_id":"1330944332","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330944327":["hashtag1","hashtag2"]},{"1330944312":["hashtag1","hashtag2"]},{"1330944320":["hashtag1","hashtag2"]},{"1330944332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330944327, 1330944312, 1330944320, 1330944332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.55130887031555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:27:02.690259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/25/image_24012025_05_25_02_654240_0003.jpg', '/home/pi/Desktop/images/24012025/05/26/image_24012025_05_26_02_159766_0000.jpg', '/home/pi/Desktop/images/24012025/05/26/image_24012025_05_26_02_159766_0001.jpg', '/home/pi/Desktop/images/24012025/05/26/image_24012025_05_26_02_159766_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/25/image_24012025_05_25_02_654240_0003.jpg
/home/pi/Desktop/images/24012025/05/26/image_24012025_05_26_02_159766_0000.jpg
/home/pi/Desktop/images/24012025/05/26/image_24012025_05_26_02_159766_0001.jpg
/home/pi/Desktop/images/24012025/05/26/image_24012025_05_26_02_159766_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330944371","1330944385","1330944379","1330944364"],"photo_ids_order":["1330944364","1330944371","1330944379","1330944385"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28a3cacfd3e000ec16a71639bc235b1f.jpg","text":"TemporaryFile(/tmp/multipartBody3822175950069890933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692894079,"filename":"image_24012025_05_26_02_159766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f2cf0bc7e4e2e99e3b93ee14143330a8.jpg","text":"TemporaryFile(/tmp/multipartBody834744036265098148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692894079,"filename":"image_24012025_05_26_02_159766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6472fa96f27a93ef850c1f221d62b407.jpg","text":"TemporaryFile(/tmp/multipartBody4090349515116562339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692894079,"filename":"image_24012025_05_26_02_159766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/287fc66cab9b3689d024069fd1ab5b6b.jpg","text":"TemporaryFile(/tmp/multipartBody7272425571847799668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692894079,"filename":"image_24012025_05_25_02_654240_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330944379","file1":"1330944371","file0":"1330944364","file3":"1330944385"},"map_files_photo_id_array":[{"photo_id":"1330944379","filename":"file2"},{"photo_id":"1330944371","filename":"file1"},{"photo_id":"1330944364","filename":"file0"},{"photo_id":"1330944385","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330944371":["hashtag1","hashtag2"]},{"1330944385":["hashtag1","hashtag2"]},{"1330944379":["hashtag1","hashtag2"]},{"1330944364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330944371, 1330944385, 1330944379, 1330944364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.04185104370117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:28:03.154903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/26/image_24012025_05_26_02_159766_0003.jpg', '/home/pi/Desktop/images/24012025/05/27/image_24012025_05_27_02_892839_0000.jpg', '/home/pi/Desktop/images/24012025/05/27/image_24012025_05_27_02_892839_0001.jpg', '/home/pi/Desktop/images/24012025/05/27/image_24012025_05_27_02_892839_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/26/image_24012025_05_26_02_159766_0003.jpg
/home/pi/Desktop/images/24012025/05/27/image_24012025_05_27_02_892839_0000.jpg
/home/pi/Desktop/images/24012025/05/27/image_24012025_05_27_02_892839_0001.jpg
/home/pi/Desktop/images/24012025/05/27/image_24012025_05_27_02_892839_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330944442","1330944418","1330944420","1330944414"],"photo_ids_order":["1330944414","1330944418","1330944420","1330944442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10ef3754053b3981f2c91c206c990c31.jpg","text":"TemporaryFile(/tmp/multipartBody3995852592709588917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692954484,"filename":"image_24012025_05_27_02_892839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/474c298726b1607bf8bbc0acbfbeedd0.jpg","text":"TemporaryFile(/tmp/multipartBody4524779199903825946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692954484,"filename":"image_24012025_05_27_02_892839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/56d8a4701081df78ea50c51d7989f9ae.jpg","text":"TemporaryFile(/tmp/multipartBody8508666140051661679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692954484,"filename":"image_24012025_05_27_02_892839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e6907be6b17b87bc7d961bb5bc3b8a4.jpg","text":"TemporaryFile(/tmp/multipartBody7212422255012235335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737692954484,"filename":"image_24012025_05_26_02_159766_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330944420","file1":"1330944418","file0":"1330944414","file3":"1330944442"},"map_files_photo_id_array":[{"photo_id":"1330944420","filename":"file2"},{"photo_id":"1330944418","filename":"file1"},{"photo_id":"1330944414","filename":"file0"},{"photo_id":"1330944442","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330944442":["hashtag1","hashtag2"]},{"1330944418":["hashtag1","hashtag2"]},{"1330944420":["hashtag1","hashtag2"]},{"1330944414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330944442, 1330944418, 1330944420, 1330944414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.78481698036194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:29:02.971811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/27/image_24012025_05_27_02_892839_0003.jpg', '/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0000.jpg', '/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0001.jpg', '/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/27/image_24012025_05_27_02_892839_0003.jpg
/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0000.jpg
/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0001.jpg
/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.678045749664307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:29:22.210478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/27/image_24012025_05_27_02_892839_0003.jpg', '/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0000.jpg', '/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0001.jpg', '/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0002.jpg', '/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0003.jpg', '/home/pi/Desktop/images/24012025/05/29/image_24012025_05_29_03_104823_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/27/image_24012025_05_27_02_892839_0003.jpg
/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0000.jpg
/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0001.jpg
/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0002.jpg
/home/pi/Desktop/images/24012025/05/28/image_24012025_05_28_02_406361_0003.jpg
/home/pi/Desktop/images/24012025/05/29/image_24012025_05_29_03_104823_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330944523","1330944505","1330944519","1330944497","1330944501","1330944548"],"photo_ids_order":["1330944497","1330944501","1330944505","1330944519","1330944523","1330944548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4a2175651379fa65359bc1307335692a.jpg","text":"TemporaryFile(/tmp/multipartBody7578515241784645823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693038421,"filename":"image_24012025_05_28_02_406361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f2660b80f08cec88d0b3043f4c799d3c.jpg","text":"TemporaryFile(/tmp/multipartBody8240252308577474050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693038421,"filename":"image_24012025_05_28_02_406361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3162d9c886cb46c75718ea82f3cae267.jpg","text":"TemporaryFile(/tmp/multipartBody7748708414719639898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693038421,"filename":"image_24012025_05_28_02_406361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2583ed53f8a82215c417f6b7b6c6a981.jpg","text":"TemporaryFile(/tmp/multipartBody131342790465397450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693038421,"filename":"image_24012025_05_27_02_892839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28ac93c8aa6c5f75f3694a0e97329b54.jpg","text":"TemporaryFile(/tmp/multipartBody567843911097167828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693038421,"filename":"image_24012025_05_28_02_406361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/448b3c06a4cc184bb956d668337597a7.jpg","text":"TemporaryFile(/tmp/multipartBody1345396232372889675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693038421,"filename":"image_24012025_05_29_03_104823_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330944505","file1":"1330944501","file0":"1330944497","file4":"1330944523","file5":"1330944548","file3":"1330944519"},"map_files_photo_id_array":[{"photo_id":"1330944548","filename":"file5"},{"photo_id":"1330944505","filename":"file2"},{"photo_id":"1330944523","filename":"file4"},{"photo_id":"1330944501","filename":"file1"},{"photo_id":"1330944497","filename":"file0"},{"photo_id":"1330944519","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330944523":["hashtag1","hashtag2"]},{"1330944505":["hashtag1","hashtag2"]},{"1330944519":["hashtag1","hashtag2"]},{"1330944497":["hashtag1","hashtag2"]},{"1330944501":["hashtag1","hashtag2"]},{"1330944548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330944523, 1330944505, 1330944519, 1330944497, 1330944501, 1330944548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.43773555755615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:31:03.210327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/29/image_24012025_05_29_03_104823_0001.jpg', '/home/pi/Desktop/images/24012025/05/29/image_24012025_05_29_03_104823_0002.jpg', '/home/pi/Desktop/images/24012025/05/29/image_24012025_05_29_03_104823_0003.jpg', '/home/pi/Desktop/images/24012025/05/30/image_24012025_05_30_02_627908_0000.jpg', '/home/pi/Desktop/images/24012025/05/30/image_24012025_05_30_02_627908_0001.jpg', '/home/pi/Desktop/images/24012025/05/30/image_24012025_05_30_02_627908_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/29/image_24012025_05_29_03_104823_0001.jpg
/home/pi/Desktop/images/24012025/05/29/image_24012025_05_29_03_104823_0002.jpg
/home/pi/Desktop/images/24012025/05/29/image_24012025_05_29_03_104823_0003.jpg
/home/pi/Desktop/images/24012025/05/30/image_24012025_05_30_02_627908_0000.jpg
/home/pi/Desktop/images/24012025/05/30/image_24012025_05_30_02_627908_0001.jpg
/home/pi/Desktop/images/24012025/05/30/image_24012025_05_30_02_627908_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330944696","1330944693","1330944675","1330944683","1330944688","1330944670"],"photo_ids_order":["1330944670","1330944675","1330944683","1330944688","1330944693","1330944696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eb4029a0562a8a3f26d8cb1a93a53163.jpg","text":"TemporaryFile(/tmp/multipartBody7321143058421388339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693139346,"filename":"image_24012025_05_30_02_627908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/621cc68eae937ba860485bf38edd0211.jpg","text":"TemporaryFile(/tmp/multipartBody8848643669934932324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693139346,"filename":"image_24012025_05_30_02_627908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ed9a844bf7c73c0a389ef76a45bdd51.jpg","text":"TemporaryFile(/tmp/multipartBody3186876225641686769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693139346,"filename":"image_24012025_05_29_03_104823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bae68276cadf084ffc9f0bda91e997b2.jpg","text":"TemporaryFile(/tmp/multipartBody3773894123343455695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693139346,"filename":"image_24012025_05_29_03_104823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32c16c0f93f35b7ee885373683a1e4f1.jpg","text":"TemporaryFile(/tmp/multipartBody6032215434607637074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693139346,"filename":"image_24012025_05_30_02_627908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e6337f3f7622e508c4ba30cd89e2252d.jpg","text":"TemporaryFile(/tmp/multipartBody1428228627817692845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693139346,"filename":"image_24012025_05_29_03_104823_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330944683","file1":"1330944675","file0":"1330944670","file4":"1330944693","file5":"1330944696","file3":"1330944688"},"map_files_photo_id_array":[{"photo_id":"1330944696","filename":"file5"},{"photo_id":"1330944683","filename":"file2"},{"photo_id":"1330944693","filename":"file4"},{"photo_id":"1330944675","filename":"file1"},{"photo_id":"1330944670","filename":"file0"},{"photo_id":"1330944688","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330944696":["hashtag1","hashtag2"]},{"1330944693":["hashtag1","hashtag2"]},{"1330944675":["hashtag1","hashtag2"]},{"1330944683":["hashtag1","hashtag2"]},{"1330944688":["hashtag1","hashtag2"]},{"1330944670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330944696, 1330944693, 1330944675, 1330944683, 1330944688, 1330944670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.3740816116333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:32:02.576335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/30/image_24012025_05_30_02_627908_0003.jpg', '/home/pi/Desktop/images/24012025/05/31/image_24012025_05_31_02_291339_0000.jpg', '/home/pi/Desktop/images/24012025/05/31/image_24012025_05_31_02_291339_0001.jpg', '/home/pi/Desktop/images/24012025/05/31/image_24012025_05_31_02_291339_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/30/image_24012025_05_30_02_627908_0003.jpg
/home/pi/Desktop/images/24012025/05/31/image_24012025_05_31_02_291339_0000.jpg
/home/pi/Desktop/images/24012025/05/31/image_24012025_05_31_02_291339_0001.jpg
/home/pi/Desktop/images/24012025/05/31/image_24012025_05_31_02_291339_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330944716","1330944748","1330944736","1330944721"],"photo_ids_order":["1330944716","1330944721","1330944736","1330944748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/33c5c67e028fe4a0fb8db7c27e553ef0.jpg","text":"TemporaryFile(/tmp/multipartBody2659787426876854044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693194130,"filename":"image_24012025_05_30_02_627908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af165986aee4d6c95117d14976a5f4f0.jpg","text":"TemporaryFile(/tmp/multipartBody1248415619389195438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693194130,"filename":"image_24012025_05_31_02_291339_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ba18b30f2ede4ce9932d2b2f851dc8c.jpg","text":"TemporaryFile(/tmp/multipartBody6303812187719099504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693194130,"filename":"image_24012025_05_31_02_291339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b2656eece44f06a5587f82e21bceaf3b.jpg","text":"TemporaryFile(/tmp/multipartBody755136187395802601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693194130,"filename":"image_24012025_05_31_02_291339_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330944736","file1":"1330944721","file0":"1330944716","file3":"1330944748"},"map_files_photo_id_array":[{"photo_id":"1330944736","filename":"file2"},{"photo_id":"1330944721","filename":"file1"},{"photo_id":"1330944716","filename":"file0"},{"photo_id":"1330944748","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330944716":["hashtag1","hashtag2"]},{"1330944748":["hashtag1","hashtag2"]},{"1330944736":["hashtag1","hashtag2"]},{"1330944721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330944716, 1330944748, 1330944736, 1330944721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63262605667114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:33:03.274114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/31/image_24012025_05_31_02_291339_0003.jpg', '/home/pi/Desktop/images/24012025/05/32/image_24012025_05_32_02_876672_0000.jpg', '/home/pi/Desktop/images/24012025/05/32/image_24012025_05_32_02_876672_0001.jpg', '/home/pi/Desktop/images/24012025/05/32/image_24012025_05_32_02_876672_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/31/image_24012025_05_31_02_291339_0003.jpg
/home/pi/Desktop/images/24012025/05/32/image_24012025_05_32_02_876672_0000.jpg
/home/pi/Desktop/images/24012025/05/32/image_24012025_05_32_02_876672_0001.jpg
/home/pi/Desktop/images/24012025/05/32/image_24012025_05_32_02_876672_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330945317","1330945120","1330944946","1330944781"],"photo_ids_order":["1330944781","1330944946","1330945120","1330945317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd3241bb12a6bb55da17cb11191c4a0d.jpg","text":"TemporaryFile(/tmp/multipartBody6408090966016029368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693254719,"filename":"image_24012025_05_32_02_876672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/33fb9f1e390088036c7f4bd58bfbeedf.jpg","text":"TemporaryFile(/tmp/multipartBody870170532054274717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693254719,"filename":"image_24012025_05_32_02_876672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c64f88745fc591d877feaceeca2521a.jpg","text":"TemporaryFile(/tmp/multipartBody5693519525877546831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693254719,"filename":"image_24012025_05_32_02_876672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39d481767d11dc591bfe7d5f3c615bf8.jpg","text":"TemporaryFile(/tmp/multipartBody6042971450903462369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693254719,"filename":"image_24012025_05_31_02_291339_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330945120","file1":"1330944946","file0":"1330944781","file3":"1330945317"},"map_files_photo_id_array":[{"photo_id":"1330945120","filename":"file2"},{"photo_id":"1330944946","filename":"file1"},{"photo_id":"1330944781","filename":"file0"},{"photo_id":"1330945317","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330945317":["hashtag1","hashtag2"]},{"1330945120":["hashtag1","hashtag2"]},{"1330944946":["hashtag1","hashtag2"]},{"1330944781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330945317, 1330945120, 1330944946, 1330944781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.387887954711914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:34:02.848336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/32/image_24012025_05_32_02_876672_0003.jpg', '/home/pi/Desktop/images/24012025/05/33/image_24012025_05_33_02_526512_0000.jpg', '/home/pi/Desktop/images/24012025/05/33/image_24012025_05_33_02_526512_0001.jpg', '/home/pi/Desktop/images/24012025/05/33/image_24012025_05_33_02_526512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/32/image_24012025_05_32_02_876672_0003.jpg
/home/pi/Desktop/images/24012025/05/33/image_24012025_05_33_02_526512_0000.jpg
/home/pi/Desktop/images/24012025/05/33/image_24012025_05_33_02_526512_0001.jpg
/home/pi/Desktop/images/24012025/05/33/image_24012025_05_33_02_526512_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330945602","1330945592","1330945573","1330945596"],"photo_ids_order":["1330945573","1330945592","1330945596","1330945602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/defd282bb01e32e168d21b9606e59ba4.jpg","text":"TemporaryFile(/tmp/multipartBody7984081234590728519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693314287,"filename":"image_24012025_05_33_02_526512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/82e6735b41c29b5d85bd9c3435b52ea7.jpg","text":"TemporaryFile(/tmp/multipartBody2774776766247083548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693314287,"filename":"image_24012025_05_33_02_526512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e38ac155ae627de319fcfdbc11a42bc1.jpg","text":"TemporaryFile(/tmp/multipartBody3755249458497690876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693314287,"filename":"image_24012025_05_32_02_876672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4dada306f6b96fb77183b1cd0cfb89ae.jpg","text":"TemporaryFile(/tmp/multipartBody4095676619083664448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693314287,"filename":"image_24012025_05_33_02_526512_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330945596","file1":"1330945592","file0":"1330945573","file3":"1330945602"},"map_files_photo_id_array":[{"photo_id":"1330945596","filename":"file2"},{"photo_id":"1330945592","filename":"file1"},{"photo_id":"1330945573","filename":"file0"},{"photo_id":"1330945602","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330945602":["hashtag1","hashtag2"]},{"1330945592":["hashtag1","hashtag2"]},{"1330945573":["hashtag1","hashtag2"]},{"1330945596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330945602, 1330945592, 1330945573, 1330945596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.30276036262512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:35:02.790428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/33/image_24012025_05_33_02_526512_0003.jpg', '/home/pi/Desktop/images/24012025/05/34/image_24012025_05_34_03_039627_0000.jpg', '/home/pi/Desktop/images/24012025/05/34/image_24012025_05_34_03_039627_0001.jpg', '/home/pi/Desktop/images/24012025/05/34/image_24012025_05_34_03_039627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/33/image_24012025_05_33_02_526512_0003.jpg
/home/pi/Desktop/images/24012025/05/34/image_24012025_05_34_03_039627_0000.jpg
/home/pi/Desktop/images/24012025/05/34/image_24012025_05_34_03_039627_0001.jpg
/home/pi/Desktop/images/24012025/05/34/image_24012025_05_34_03_039627_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330945665","1330945668","1330945689","1330945674"],"photo_ids_order":["1330945665","1330945668","1330945674","1330945689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c5abb08797a50f274c3487e6034e07cd.jpg","text":"TemporaryFile(/tmp/multipartBody5682687596755186045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693374174,"filename":"image_24012025_05_33_02_526512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fbde3ce7c1deaf801b3c3107384d21e2.jpg","text":"TemporaryFile(/tmp/multipartBody2964048297675646937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693374174,"filename":"image_24012025_05_34_03_039627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bc154ee4c027ea802615eeeb21196468.jpg","text":"TemporaryFile(/tmp/multipartBody2750726384790188967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693374174,"filename":"image_24012025_05_34_03_039627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/46b9551e115b3a6b42467875667d9ecd.jpg","text":"TemporaryFile(/tmp/multipartBody6586203129165481406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693374174,"filename":"image_24012025_05_34_03_039627_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330945674","file1":"1330945668","file0":"1330945665","file3":"1330945689"},"map_files_photo_id_array":[{"photo_id":"1330945674","filename":"file2"},{"photo_id":"1330945668","filename":"file1"},{"photo_id":"1330945665","filename":"file0"},{"photo_id":"1330945689","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330945665":["hashtag1","hashtag2"]},{"1330945668":["hashtag1","hashtag2"]},{"1330945689":["hashtag1","hashtag2"]},{"1330945674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330945665, 1330945668, 1330945689, 1330945674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.7310004234314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:36:03.025170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/34/image_24012025_05_34_03_039627_0003.jpg', '/home/pi/Desktop/images/24012025/05/35/image_24012025_05_35_02_862266_0000.jpg', '/home/pi/Desktop/images/24012025/05/35/image_24012025_05_35_02_862266_0001.jpg', '/home/pi/Desktop/images/24012025/05/35/image_24012025_05_35_02_862266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/34/image_24012025_05_34_03_039627_0003.jpg
/home/pi/Desktop/images/24012025/05/35/image_24012025_05_35_02_862266_0000.jpg
/home/pi/Desktop/images/24012025/05/35/image_24012025_05_35_02_862266_0001.jpg
/home/pi/Desktop/images/24012025/05/35/image_24012025_05_35_02_862266_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330945784","1330945763","1330945791","1330945773"],"photo_ids_order":["1330945763","1330945773","1330945784","1330945791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e9d1673ec7028797b3eac14796bebfa.jpg","text":"TemporaryFile(/tmp/multipartBody4115686215319970321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693434683,"filename":"image_24012025_05_35_02_862266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b2d66dea7d3b449fd3d0e4ca39e2708c.jpg","text":"TemporaryFile(/tmp/multipartBody430526192096906909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693434683,"filename":"image_24012025_05_34_03_039627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/50a9cc61d8140e34e1464f28f4d65b16.jpg","text":"TemporaryFile(/tmp/multipartBody788146885346569598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693434683,"filename":"image_24012025_05_35_02_862266_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74c57e941bfb369bd5d71dbb6d90a4ae.jpg","text":"TemporaryFile(/tmp/multipartBody4804658057340415140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693434683,"filename":"image_24012025_05_35_02_862266_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330945784","file1":"1330945773","file0":"1330945763","file3":"1330945791"},"map_files_photo_id_array":[{"photo_id":"1330945784","filename":"file2"},{"photo_id":"1330945773","filename":"file1"},{"photo_id":"1330945763","filename":"file0"},{"photo_id":"1330945791","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330945784":["hashtag1","hashtag2"]},{"1330945763":["hashtag1","hashtag2"]},{"1330945791":["hashtag1","hashtag2"]},{"1330945773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330945784, 1330945763, 1330945791, 1330945773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.072014570236206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:37:02.576689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/35/image_24012025_05_35_02_862266_0003.jpg', '/home/pi/Desktop/images/24012025/05/36/image_24012025_05_36_02_389686_0000.jpg', '/home/pi/Desktop/images/24012025/05/36/image_24012025_05_36_02_389686_0001.jpg', '/home/pi/Desktop/images/24012025/05/36/image_24012025_05_36_02_389686_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/35/image_24012025_05_35_02_862266_0003.jpg
/home/pi/Desktop/images/24012025/05/36/image_24012025_05_36_02_389686_0000.jpg
/home/pi/Desktop/images/24012025/05/36/image_24012025_05_36_02_389686_0001.jpg
/home/pi/Desktop/images/24012025/05/36/image_24012025_05_36_02_389686_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330945923","1330945933","1330945927","1330945921"],"photo_ids_order":["1330945921","1330945923","1330945927","1330945933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1dc9ee0765d99df1ec32e16e36e2b0b9.jpg","text":"TemporaryFile(/tmp/multipartBody6666092596512637373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693494045,"filename":"image_24012025_05_36_02_389686_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/11779fb5501db3964b0bae5c74c24ed7.jpg","text":"TemporaryFile(/tmp/multipartBody8377823793107872065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693494045,"filename":"image_24012025_05_36_02_389686_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/208e1a766934aa491af291165cb2aa29.jpg","text":"TemporaryFile(/tmp/multipartBody636867414861561870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693494045,"filename":"image_24012025_05_36_02_389686_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7b12c41ea2f705181242198283330f61.jpg","text":"TemporaryFile(/tmp/multipartBody6111235388107555022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693494045,"filename":"image_24012025_05_35_02_862266_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330945927","file1":"1330945923","file0":"1330945921","file3":"1330945933"},"map_files_photo_id_array":[{"photo_id":"1330945927","filename":"file2"},{"photo_id":"1330945923","filename":"file1"},{"photo_id":"1330945921","filename":"file0"},{"photo_id":"1330945933","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330945923":["hashtag1","hashtag2"]},{"1330945933":["hashtag1","hashtag2"]},{"1330945927":["hashtag1","hashtag2"]},{"1330945921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330945923, 1330945933, 1330945927, 1330945921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.04477643966675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:38:03.065043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/36/image_24012025_05_36_02_389686_0003.jpg', '/home/pi/Desktop/images/24012025/05/37/image_24012025_05_37_02_890447_0000.jpg', '/home/pi/Desktop/images/24012025/05/37/image_24012025_05_37_02_890447_0001.jpg', '/home/pi/Desktop/images/24012025/05/37/image_24012025_05_37_02_890447_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/36/image_24012025_05_36_02_389686_0003.jpg
/home/pi/Desktop/images/24012025/05/37/image_24012025_05_37_02_890447_0000.jpg
/home/pi/Desktop/images/24012025/05/37/image_24012025_05_37_02_890447_0001.jpg
/home/pi/Desktop/images/24012025/05/37/image_24012025_05_37_02_890447_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330946339","1330946233","1330946035","1330946133"],"photo_ids_order":["1330946035","1330946133","1330946233","1330946339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c7554466860aa5067daa54c1332b85ce.jpg","text":"TemporaryFile(/tmp/multipartBody6194726021574952088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693554439,"filename":"image_24012025_05_37_02_890447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8fecc25b00b225845a5928e642295a7b.jpg","text":"TemporaryFile(/tmp/multipartBody4567460086014704956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693554439,"filename":"image_24012025_05_37_02_890447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/89be20b597c9afa765ccfdf316c8db58.jpg","text":"TemporaryFile(/tmp/multipartBody370181130040951500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693554439,"filename":"image_24012025_05_36_02_389686_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/849f16bcb04ff5377b0b5395b3496a43.jpg","text":"TemporaryFile(/tmp/multipartBody7243945035632743099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693554439,"filename":"image_24012025_05_37_02_890447_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330946233","file1":"1330946133","file0":"1330946035","file3":"1330946339"},"map_files_photo_id_array":[{"photo_id":"1330946233","filename":"file2"},{"photo_id":"1330946133","filename":"file1"},{"photo_id":"1330946035","filename":"file0"},{"photo_id":"1330946339","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330946339":["hashtag1","hashtag2"]},{"1330946233":["hashtag1","hashtag2"]},{"1330946035":["hashtag1","hashtag2"]},{"1330946133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330946339, 1330946233, 1330946035, 1330946133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15968036651611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:39:02.673717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/37/image_24012025_05_37_02_890447_0003.jpg', '/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0000.jpg', '/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0001.jpg', '/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/37/image_24012025_05_37_02_890447_0003.jpg
/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0000.jpg
/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0001.jpg
/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.367900848388672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:39:21.947584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/37/image_24012025_05_37_02_890447_0003.jpg', '/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0000.jpg', '/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0001.jpg', '/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0002.jpg', '/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0003.jpg', '/home/pi/Desktop/images/24012025/05/39/image_24012025_05_39_02_900169_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/37/image_24012025_05_37_02_890447_0003.jpg
/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0000.jpg
/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0001.jpg
/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0002.jpg
/home/pi/Desktop/images/24012025/05/38/image_24012025_05_38_02_387992_0003.jpg
/home/pi/Desktop/images/24012025/05/39/image_24012025_05_39_02_900169_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330947155","1330947166","1330947157","1330947159","1330947150","1330947153"],"photo_ids_order":["1330947150","1330947153","1330947155","1330947157","1330947159","1330947166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f3b837bfc02aab55d1a92f6314c385c5.jpg","text":"TemporaryFile(/tmp/multipartBody1666603566451587859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693639105,"filename":"image_24012025_05_38_02_387992_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c439ff71c96c1acbd1dd96156153f63f.jpg","text":"TemporaryFile(/tmp/multipartBody1659904715347901105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693639105,"filename":"image_24012025_05_39_02_900169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a736ba9b3062b7fd23a012fada88628a.jpg","text":"TemporaryFile(/tmp/multipartBody1405903892579640768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693639105,"filename":"image_24012025_05_38_02_387992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad8d324332c401d3ef5c33dbb6323bcd.jpg","text":"TemporaryFile(/tmp/multipartBody438051588595902657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693639105,"filename":"image_24012025_05_38_02_387992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c263b11ffb3a9490aec2e7c56d4e8b3.jpg","text":"TemporaryFile(/tmp/multipartBody2781065017840854520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693639105,"filename":"image_24012025_05_37_02_890447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/128492bb434caad28566aa5398b4ad19.jpg","text":"TemporaryFile(/tmp/multipartBody7134550791416863375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693639105,"filename":"image_24012025_05_38_02_387992_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330947155","file1":"1330947153","file0":"1330947150","file4":"1330947159","file5":"1330947166","file3":"1330947157"},"map_files_photo_id_array":[{"photo_id":"1330947166","filename":"file5"},{"photo_id":"1330947155","filename":"file2"},{"photo_id":"1330947159","filename":"file4"},{"photo_id":"1330947153","filename":"file1"},{"photo_id":"1330947150","filename":"file0"},{"photo_id":"1330947157","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330947155":["hashtag1","hashtag2"]},{"1330947166":["hashtag1","hashtag2"]},{"1330947157":["hashtag1","hashtag2"]},{"1330947159":["hashtag1","hashtag2"]},{"1330947150":["hashtag1","hashtag2"]},{"1330947153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330947155, 1330947166, 1330947157, 1330947159, 1330947150, 1330947153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.595176458358765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:40:22.736460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/39/image_24012025_05_39_02_900169_0001.jpg', '/home/pi/Desktop/images/24012025/05/39/image_24012025_05_39_02_900169_0002.jpg', '/home/pi/Desktop/images/24012025/05/39/image_24012025_05_39_02_900169_0003.jpg', '/home/pi/Desktop/images/24012025/05/40/image_24012025_05_40_02_505484_0000.jpg', '/home/pi/Desktop/images/24012025/05/40/image_24012025_05_40_02_505484_0001.jpg', '/home/pi/Desktop/images/24012025/05/40/image_24012025_05_40_02_505484_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/39/image_24012025_05_39_02_900169_0001.jpg
/home/pi/Desktop/images/24012025/05/39/image_24012025_05_39_02_900169_0002.jpg
/home/pi/Desktop/images/24012025/05/39/image_24012025_05_39_02_900169_0003.jpg
/home/pi/Desktop/images/24012025/05/40/image_24012025_05_40_02_505484_0000.jpg
/home/pi/Desktop/images/24012025/05/40/image_24012025_05_40_02_505484_0001.jpg
/home/pi/Desktop/images/24012025/05/40/image_24012025_05_40_02_505484_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330947493","1330947308","1330947562","1330947613","1330947621","1330947398"],"photo_ids_order":["1330947308","1330947398","1330947493","1330947562","1330947613","1330947621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a39e30c3b7c7d9f704b5ec996052d0e2.jpg","text":"TemporaryFile(/tmp/multipartBody7327535174024248801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693699876,"filename":"image_24012025_05_39_02_900169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bba972623dfacb47c86423d95c740d21.jpg","text":"TemporaryFile(/tmp/multipartBody6498421959037194899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693699876,"filename":"image_24012025_05_39_02_900169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdf4fad6dbb6627e34522b2faa7b841d.jpg","text":"TemporaryFile(/tmp/multipartBody1598891643155235619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693699876,"filename":"image_24012025_05_40_02_505484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b3c172f218bf7493b61e67a32e6b33ca.jpg","text":"TemporaryFile(/tmp/multipartBody306275328298956633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693699876,"filename":"image_24012025_05_40_02_505484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e1eafcdda22c57c20078bd27684735a0.jpg","text":"TemporaryFile(/tmp/multipartBody4411799409105728498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693699876,"filename":"image_24012025_05_40_02_505484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a131fee49663ba6c6f4f3c9db498370.jpg","text":"TemporaryFile(/tmp/multipartBody7809740211262383708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693699876,"filename":"image_24012025_05_39_02_900169_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330947493","file1":"1330947398","file0":"1330947308","file4":"1330947613","file5":"1330947621","file3":"1330947562"},"map_files_photo_id_array":[{"photo_id":"1330947621","filename":"file5"},{"photo_id":"1330947493","filename":"file2"},{"photo_id":"1330947613","filename":"file4"},{"photo_id":"1330947398","filename":"file1"},{"photo_id":"1330947308","filename":"file0"},{"photo_id":"1330947562","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330947493":["hashtag1","hashtag2"]},{"1330947308":["hashtag1","hashtag2"]},{"1330947562":["hashtag1","hashtag2"]},{"1330947613":["hashtag1","hashtag2"]},{"1330947621":["hashtag1","hashtag2"]},{"1330947398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330947493, 1330947308, 1330947562, 1330947613, 1330947621, 1330947398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.8195013999939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:41:22.218764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/40/image_24012025_05_40_02_505484_0003.jpg', '/home/pi/Desktop/images/24012025/05/41/image_24012025_05_41_03_102445_0000.jpg', '/home/pi/Desktop/images/24012025/05/41/image_24012025_05_41_03_102445_0001.jpg', '/home/pi/Desktop/images/24012025/05/41/image_24012025_05_41_03_102445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/40/image_24012025_05_40_02_505484_0003.jpg
/home/pi/Desktop/images/24012025/05/41/image_24012025_05_41_03_102445_0000.jpg
/home/pi/Desktop/images/24012025/05/41/image_24012025_05_41_03_102445_0001.jpg
/home/pi/Desktop/images/24012025/05/41/image_24012025_05_41_03_102445_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330947713","1330947821","1330947815","1330947780"],"photo_ids_order":["1330947713","1330947780","1330947815","1330947821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9317e638b14440f5534b8c3a94520981.jpg","text":"TemporaryFile(/tmp/multipartBody4418175177058788662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693753870,"filename":"image_24012025_05_40_02_505484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b27281612e23fa8e596e8d8c2ba8fdee.jpg","text":"TemporaryFile(/tmp/multipartBody2804917915089800769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693753870,"filename":"image_24012025_05_41_03_102445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0b0358a867e276b1c3f21049fa06cb88.jpg","text":"TemporaryFile(/tmp/multipartBody8153243840524168454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693753870,"filename":"image_24012025_05_41_03_102445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/95b3ab20d22e319a916a6607d42486d9.jpg","text":"TemporaryFile(/tmp/multipartBody7777774356694060384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693753870,"filename":"image_24012025_05_41_03_102445_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330947815","file1":"1330947780","file0":"1330947713","file3":"1330947821"},"map_files_photo_id_array":[{"photo_id":"1330947815","filename":"file2"},{"photo_id":"1330947780","filename":"file1"},{"photo_id":"1330947713","filename":"file0"},{"photo_id":"1330947821","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330947713":["hashtag1","hashtag2"]},{"1330947821":["hashtag1","hashtag2"]},{"1330947815":["hashtag1","hashtag2"]},{"1330947780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330947713, 1330947821, 1330947815, 1330947780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.33971571922302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:42:21.794057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/41/image_24012025_05_41_03_102445_0003.jpg', '/home/pi/Desktop/images/24012025/05/42/image_24012025_05_42_02_667931_0000.jpg', '/home/pi/Desktop/images/24012025/05/42/image_24012025_05_42_02_667931_0001.jpg', '/home/pi/Desktop/images/24012025/05/42/image_24012025_05_42_02_667931_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/41/image_24012025_05_41_03_102445_0003.jpg
/home/pi/Desktop/images/24012025/05/42/image_24012025_05_42_02_667931_0000.jpg
/home/pi/Desktop/images/24012025/05/42/image_24012025_05_42_02_667931_0001.jpg
/home/pi/Desktop/images/24012025/05/42/image_24012025_05_42_02_667931_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330947857","1330947905","1330947883","1330947864"],"photo_ids_order":["1330947857","1330947864","1330947883","1330947905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d7236e92e1dd42321d97837730c567bc.jpg","text":"TemporaryFile(/tmp/multipartBody2656538634628558755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693813354,"filename":"image_24012025_05_41_03_102445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6022f8264020ff16b8577604bbc9094f.jpg","text":"TemporaryFile(/tmp/multipartBody6451161475024516683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693813354,"filename":"image_24012025_05_42_02_667931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/711152d97bc670d16d4fb0b24702576c.jpg","text":"TemporaryFile(/tmp/multipartBody4519767551962981043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693813354,"filename":"image_24012025_05_42_02_667931_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45b7c7076fa33b0846675ebf16176f05.jpg","text":"TemporaryFile(/tmp/multipartBody1221560923163968056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693813354,"filename":"image_24012025_05_42_02_667931_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330947883","file1":"1330947864","file0":"1330947857","file3":"1330947905"},"map_files_photo_id_array":[{"photo_id":"1330947883","filename":"file2"},{"photo_id":"1330947864","filename":"file1"},{"photo_id":"1330947857","filename":"file0"},{"photo_id":"1330947905","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330947857":["hashtag1","hashtag2"]},{"1330947905":["hashtag1","hashtag2"]},{"1330947883":["hashtag1","hashtag2"]},{"1330947864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330947857, 1330947905, 1330947883, 1330947864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.24599552154541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:43:22.286923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/42/image_24012025_05_42_02_667931_0003.jpg', '/home/pi/Desktop/images/24012025/05/43/image_24012025_05_43_02_147515_0000.jpg', '/home/pi/Desktop/images/24012025/05/43/image_24012025_05_43_02_147515_0001.jpg', '/home/pi/Desktop/images/24012025/05/43/image_24012025_05_43_02_147515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/42/image_24012025_05_42_02_667931_0003.jpg
/home/pi/Desktop/images/24012025/05/43/image_24012025_05_43_02_147515_0000.jpg
/home/pi/Desktop/images/24012025/05/43/image_24012025_05_43_02_147515_0001.jpg
/home/pi/Desktop/images/24012025/05/43/image_24012025_05_43_02_147515_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330947993","1330947984","1330947978","1330947989"],"photo_ids_order":["1330947978","1330947984","1330947989","1330947993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e804c1122950a6c902c245751f53d161.jpg","text":"TemporaryFile(/tmp/multipartBody6456886931488664759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693873968,"filename":"image_24012025_05_43_02_147515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d668aedb7c9213af796a10689fac5625.jpg","text":"TemporaryFile(/tmp/multipartBody2339249478130533931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693873968,"filename":"image_24012025_05_43_02_147515_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1fc4b260874622433eea08b1661b64e2.jpg","text":"TemporaryFile(/tmp/multipartBody1323435705904936868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693873968,"filename":"image_24012025_05_42_02_667931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e3f464e2af5d491071fe70cc1d92cb32.jpg","text":"TemporaryFile(/tmp/multipartBody2533158972835017083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693873968,"filename":"image_24012025_05_43_02_147515_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330947989","file1":"1330947984","file0":"1330947978","file3":"1330947993"},"map_files_photo_id_array":[{"photo_id":"1330947989","filename":"file2"},{"photo_id":"1330947984","filename":"file1"},{"photo_id":"1330947978","filename":"file0"},{"photo_id":"1330947993","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330947993":["hashtag1","hashtag2"]},{"1330947984":["hashtag1","hashtag2"]},{"1330947978":["hashtag1","hashtag2"]},{"1330947989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330947993, 1330947984, 1330947978, 1330947989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.50667428970337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:44:21.852236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/43/image_24012025_05_43_02_147515_0003.jpg', '/home/pi/Desktop/images/24012025/05/44/image_24012025_05_44_02_660688_0000.jpg', '/home/pi/Desktop/images/24012025/05/44/image_24012025_05_44_02_660688_0001.jpg', '/home/pi/Desktop/images/24012025/05/44/image_24012025_05_44_02_660688_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/43/image_24012025_05_43_02_147515_0003.jpg
/home/pi/Desktop/images/24012025/05/44/image_24012025_05_44_02_660688_0000.jpg
/home/pi/Desktop/images/24012025/05/44/image_24012025_05_44_02_660688_0001.jpg
/home/pi/Desktop/images/24012025/05/44/image_24012025_05_44_02_660688_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330948060","1330948054","1330948048","1330948033"],"photo_ids_order":["1330948033","1330948048","1330948054","1330948060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/94f89ceb9bb1f538bd6eab49692b3f22.jpg","text":"TemporaryFile(/tmp/multipartBody742568738707254227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693933479,"filename":"image_24012025_05_44_02_660688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a48b6a1ae5b0ef2700fa73c9538f85f4.jpg","text":"TemporaryFile(/tmp/multipartBody3039311222122309915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693933479,"filename":"image_24012025_05_44_02_660688_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c2a772e3f1083b3037270861e352477.jpg","text":"TemporaryFile(/tmp/multipartBody3355338654577559212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693933479,"filename":"image_24012025_05_44_02_660688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/91b10866f2426a17621555833319b214.jpg","text":"TemporaryFile(/tmp/multipartBody7482338667015176777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693933479,"filename":"image_24012025_05_43_02_147515_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330948054","file1":"1330948048","file0":"1330948033","file3":"1330948060"},"map_files_photo_id_array":[{"photo_id":"1330948054","filename":"file2"},{"photo_id":"1330948048","filename":"file1"},{"photo_id":"1330948033","filename":"file0"},{"photo_id":"1330948060","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330948060":["hashtag1","hashtag2"]},{"1330948054":["hashtag1","hashtag2"]},{"1330948048":["hashtag1","hashtag2"]},{"1330948033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330948060, 1330948054, 1330948048, 1330948033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.665014028549194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:45:22.239630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/44/image_24012025_05_44_02_660688_0003.jpg', '/home/pi/Desktop/images/24012025/05/45/image_24012025_05_45_02_158180_0000.jpg', '/home/pi/Desktop/images/24012025/05/45/image_24012025_05_45_02_158180_0001.jpg', '/home/pi/Desktop/images/24012025/05/45/image_24012025_05_45_02_158180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/44/image_24012025_05_44_02_660688_0003.jpg
/home/pi/Desktop/images/24012025/05/45/image_24012025_05_45_02_158180_0000.jpg
/home/pi/Desktop/images/24012025/05/45/image_24012025_05_45_02_158180_0001.jpg
/home/pi/Desktop/images/24012025/05/45/image_24012025_05_45_02_158180_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330948106","1330948096","1330948090","1330948101"],"photo_ids_order":["1330948090","1330948096","1330948101","1330948106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65b088b9a028161e6420a9c2575d5efa.jpg","text":"TemporaryFile(/tmp/multipartBody4040871894932871555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693993458,"filename":"image_24012025_05_45_02_158180_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c1fb408b9eac1d5ceca370e489f6eae1.jpg","text":"TemporaryFile(/tmp/multipartBody3547343295333649038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693993458,"filename":"image_24012025_05_45_02_158180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0e35cecf4ffcc871197a96deb9910ce.jpg","text":"TemporaryFile(/tmp/multipartBody3577127089295711210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693993458,"filename":"image_24012025_05_44_02_660688_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/57cd510140036f91aeb8079af22360b9.jpg","text":"TemporaryFile(/tmp/multipartBody8681265975826112029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737693993458,"filename":"image_24012025_05_45_02_158180_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330948101","file1":"1330948096","file0":"1330948090","file3":"1330948106"},"map_files_photo_id_array":[{"photo_id":"1330948101","filename":"file2"},{"photo_id":"1330948096","filename":"file1"},{"photo_id":"1330948090","filename":"file0"},{"photo_id":"1330948106","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330948106":["hashtag1","hashtag2"]},{"1330948096":["hashtag1","hashtag2"]},{"1330948090":["hashtag1","hashtag2"]},{"1330948101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330948106, 1330948096, 1330948090, 1330948101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.19479179382324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:46:21.763887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/45/image_24012025_05_45_02_158180_0003.jpg', '/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0000.jpg', '/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0001.jpg', '/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/45/image_24012025_05_45_02_158180_0003.jpg
/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0000.jpg
/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0001.jpg
/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.374338150024414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:47:02.780022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/45/image_24012025_05_45_02_158180_0003.jpg', '/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0000.jpg', '/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0001.jpg', '/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/45/image_24012025_05_45_02_158180_0003.jpg
/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0000.jpg
/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0001.jpg
/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330948225","1330948218","1330948212","1330948229"],"photo_ids_order":["1330948212","1330948218","1330948225","1330948229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb0fa7762095b233c091330a9deeb22f.jpg","text":"TemporaryFile(/tmp/multipartBody134119316033027213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694094607,"filename":"image_24012025_05_46_02_654781_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9a71af11dd57f5cf2743780e4d8925a2.jpg","text":"TemporaryFile(/tmp/multipartBody7116724999774988068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694094607,"filename":"image_24012025_05_46_02_654781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c7987e3c98af369c0d0ce0fb52c032c6.jpg","text":"TemporaryFile(/tmp/multipartBody3622447538262627895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694094607,"filename":"image_24012025_05_45_02_158180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f22505f0cf3159418a99fc2d6ba7e50.jpg","text":"TemporaryFile(/tmp/multipartBody1249593460830651743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694094607,"filename":"image_24012025_05_46_02_654781_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330948225","file1":"1330948218","file0":"1330948212","file3":"1330948229"},"map_files_photo_id_array":[{"photo_id":"1330948225","filename":"file2"},{"photo_id":"1330948218","filename":"file1"},{"photo_id":"1330948212","filename":"file0"},{"photo_id":"1330948229","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330948225":["hashtag1","hashtag2"]},{"1330948218":["hashtag1","hashtag2"]},{"1330948212":["hashtag1","hashtag2"]},{"1330948229":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330948225, 1330948218, 1330948212, 1330948229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.87207555770874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:48:02.507646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0003.jpg', '/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0000.jpg', '/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0001.jpg', '/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0003.jpg
/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0000.jpg
/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0001.jpg
/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.67665147781372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:48:22.147002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0003.jpg', '/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0000.jpg', '/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0001.jpg', '/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0002.jpg', '/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0003.jpg', '/home/pi/Desktop/images/24012025/05/48/image_24012025_05_48_02_815428_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/46/image_24012025_05_46_02_654781_0003.jpg
/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0000.jpg
/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0001.jpg
/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0002.jpg
/home/pi/Desktop/images/24012025/05/47/image_24012025_05_47_02_190571_0003.jpg
/home/pi/Desktop/images/24012025/05/48/image_24012025_05_48_02_815428_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330948288","1330948315","1330948300","1330948295","1330948298","1330948292"],"photo_ids_order":["1330948288","1330948292","1330948295","1330948298","1330948300","1330948315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fda5b03da18b1ee94cf7d97f70eacd11.jpg","text":"TemporaryFile(/tmp/multipartBody7026337204303565982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694179867,"filename":"image_24012025_05_46_02_654781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2437a899e2be1bc9a5de9414e85e77b7.jpg","text":"TemporaryFile(/tmp/multipartBody6195973567060989918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694179867,"filename":"image_24012025_05_48_02_815428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9880ea08937f4f2dfddedbc71a87eef8.jpg","text":"TemporaryFile(/tmp/multipartBody3315442867414164087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694179867,"filename":"image_24012025_05_47_02_190571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dcc764f851a22c538c585adc432b7f6c.jpg","text":"TemporaryFile(/tmp/multipartBody5362616615077031492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694179867,"filename":"image_24012025_05_47_02_190571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1841b19a8a6d42d7d101510845cc2f7.jpg","text":"TemporaryFile(/tmp/multipartBody4965641165550475151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694179867,"filename":"image_24012025_05_47_02_190571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28d18e05374a60a54d89c9ba1361ad5f.jpg","text":"TemporaryFile(/tmp/multipartBody399657669820040275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694179867,"filename":"image_24012025_05_47_02_190571_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330948295","file1":"1330948292","file0":"1330948288","file4":"1330948300","file5":"1330948315","file3":"1330948298"},"map_files_photo_id_array":[{"photo_id":"1330948315","filename":"file5"},{"photo_id":"1330948295","filename":"file2"},{"photo_id":"1330948300","filename":"file4"},{"photo_id":"1330948292","filename":"file1"},{"photo_id":"1330948288","filename":"file0"},{"photo_id":"1330948298","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330948288":["hashtag1","hashtag2"]},{"1330948315":["hashtag1","hashtag2"]},{"1330948300":["hashtag1","hashtag2"]},{"1330948295":["hashtag1","hashtag2"]},{"1330948298":["hashtag1","hashtag2"]},{"1330948292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330948288, 1330948315, 1330948300, 1330948295, 1330948298, 1330948292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.40947985649109 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:49:22.648016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/48/image_24012025_05_48_02_815428_0001.jpg', '/home/pi/Desktop/images/24012025/05/48/image_24012025_05_48_02_815428_0002.jpg', '/home/pi/Desktop/images/24012025/05/48/image_24012025_05_48_02_815428_0003.jpg', '/home/pi/Desktop/images/24012025/05/49/image_24012025_05_49_02_490988_0000.jpg', '/home/pi/Desktop/images/24012025/05/49/image_24012025_05_49_02_490988_0001.jpg', '/home/pi/Desktop/images/24012025/05/49/image_24012025_05_49_02_490988_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/48/image_24012025_05_48_02_815428_0001.jpg
/home/pi/Desktop/images/24012025/05/48/image_24012025_05_48_02_815428_0002.jpg
/home/pi/Desktop/images/24012025/05/48/image_24012025_05_48_02_815428_0003.jpg
/home/pi/Desktop/images/24012025/05/49/image_24012025_05_49_02_490988_0000.jpg
/home/pi/Desktop/images/24012025/05/49/image_24012025_05_49_02_490988_0001.jpg
/home/pi/Desktop/images/24012025/05/49/image_24012025_05_49_02_490988_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330948351","1330948365","1330948359","1330948361","1330948346","1330948355"],"photo_ids_order":["1330948346","1330948351","1330948355","1330948359","1330948361","1330948365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f2d4f64a6d06b1a0b264259a7cbce66.jpg","text":"TemporaryFile(/tmp/multipartBody1947677645904832376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694239767,"filename":"image_24012025_05_48_02_815428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/60b44107dbe94dc9d683cfd7b76eb0ed.jpg","text":"TemporaryFile(/tmp/multipartBody667082109368482974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694239767,"filename":"image_24012025_05_49_02_490988_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32dad236fd768b6a2e4d71b38fc6184d.jpg","text":"TemporaryFile(/tmp/multipartBody3686039893429535951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694239767,"filename":"image_24012025_05_49_02_490988_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/92919b5547caf437dac788b03f6ce606.jpg","text":"TemporaryFile(/tmp/multipartBody691915625530115523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694239767,"filename":"image_24012025_05_49_02_490988_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/93c9313ad7faad6e4e4608669662c7dc.jpg","text":"TemporaryFile(/tmp/multipartBody5610538991399131873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694239767,"filename":"image_24012025_05_48_02_815428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e0dfd0459bc138d309b7f61897e5ca1b.jpg","text":"TemporaryFile(/tmp/multipartBody6154307055835043554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694239767,"filename":"image_24012025_05_48_02_815428_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330948355","file1":"1330948351","file0":"1330948346","file4":"1330948361","file5":"1330948365","file3":"1330948359"},"map_files_photo_id_array":[{"photo_id":"1330948365","filename":"file5"},{"photo_id":"1330948355","filename":"file2"},{"photo_id":"1330948361","filename":"file4"},{"photo_id":"1330948351","filename":"file1"},{"photo_id":"1330948346","filename":"file0"},{"photo_id":"1330948359","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330948351":["hashtag1","hashtag2"]},{"1330948365":["hashtag1","hashtag2"]},{"1330948359":["hashtag1","hashtag2"]},{"1330948361":["hashtag1","hashtag2"]},{"1330948346":["hashtag1","hashtag2"]},{"1330948355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330948351, 1330948365, 1330948359, 1330948361, 1330948346, 1330948355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.8903648853302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:50:22.131502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/49/image_24012025_05_49_02_490988_0003.jpg', '/home/pi/Desktop/images/24012025/05/50/image_24012025_05_50_03_060877_0000.jpg', '/home/pi/Desktop/images/24012025/05/50/image_24012025_05_50_03_060877_0001.jpg', '/home/pi/Desktop/images/24012025/05/50/image_24012025_05_50_03_060877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/49/image_24012025_05_49_02_490988_0003.jpg
/home/pi/Desktop/images/24012025/05/50/image_24012025_05_50_03_060877_0000.jpg
/home/pi/Desktop/images/24012025/05/50/image_24012025_05_50_03_060877_0001.jpg
/home/pi/Desktop/images/24012025/05/50/image_24012025_05_50_03_060877_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330948390","1330948395","1330948383","1330948402"],"photo_ids_order":["1330948383","1330948390","1330948395","1330948402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d69db6107790b33e9e60a757bf289031.jpg","text":"TemporaryFile(/tmp/multipartBody7075609481795002730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694293766,"filename":"image_24012025_05_50_03_060877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f15f5574d4df085a77e8f83007b8e576.jpg","text":"TemporaryFile(/tmp/multipartBody73095811371051018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694293766,"filename":"image_24012025_05_50_03_060877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a51f98df549fa327dc93a8c49fbf7ed6.jpg","text":"TemporaryFile(/tmp/multipartBody5565457098271518769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694293766,"filename":"image_24012025_05_49_02_490988_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74da902d826df854ed324569d09a66e2.jpg","text":"TemporaryFile(/tmp/multipartBody5969638724583214689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694293766,"filename":"image_24012025_05_50_03_060877_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330948395","file1":"1330948390","file0":"1330948383","file3":"1330948402"},"map_files_photo_id_array":[{"photo_id":"1330948395","filename":"file2"},{"photo_id":"1330948390","filename":"file1"},{"photo_id":"1330948383","filename":"file0"},{"photo_id":"1330948402","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330948390":["hashtag1","hashtag2"]},{"1330948395":["hashtag1","hashtag2"]},{"1330948383":["hashtag1","hashtag2"]},{"1330948402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330948390, 1330948395, 1330948383, 1330948402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.744866371154785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:51:03.263480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0000.jpg', '/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0001.jpg', '/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0002.jpg', '/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0003.jpg', '/home/pi/Desktop/images/21012025/20/38/image_21012025_20_38_02_602783_0000.jpg', '/home/pi/Desktop/images/21012025/20/38/image_21012025_20_38_02_602783_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0000.jpg
/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0001.jpg
/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0002.jpg
/home/pi/Desktop/images/21012025/20/37/image_21012025_20_37_02_413187_0003.jpg
/home/pi/Desktop/images/21012025/20/38/image_21012025_20_38_02_602783_0000.jpg
/home/pi/Desktop/images/21012025/20/38/image_21012025_20_38_02_602783_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330948438","1330948423","1330948452","1330948443","1330948430","1330948448"],"photo_ids_order":["1330948423","1330948430","1330948438","1330948443","1330948448","1330948452"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d8e6e911550744d5e4feddc7ecb1dfaf.jpg","text":"TemporaryFile(/tmp/multipartBody1725772841834457485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694341548,"filename":"image_21012025_20_37_02_413187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/78cd5df22cbc2ca3dded463d7d7874c5.jpg","text":"TemporaryFile(/tmp/multipartBody7893044257864944790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694341548,"filename":"image_21012025_20_37_02_413187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e6423f2d9d7d6c4a6ce9bf396d7b77ad.jpg","text":"TemporaryFile(/tmp/multipartBody7629625245459215785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694341548,"filename":"image_21012025_20_38_02_602783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa0dd44ab057cd131c8faa9315497e33.jpg","text":"TemporaryFile(/tmp/multipartBody3243063040210430195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694341548,"filename":"image_21012025_20_37_02_413187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/44571676ce1e1a584f354c4e50e5fba2.jpg","text":"TemporaryFile(/tmp/multipartBody4451575029837884149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694341548,"filename":"image_21012025_20_37_02_413187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d005753f7ef82f32ca312bcc54229e02.jpg","text":"TemporaryFile(/tmp/multipartBody6064287606247358328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694341548,"filename":"image_21012025_20_38_02_602783_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330948438","file1":"1330948430","file0":"1330948423","file4":"1330948448","file5":"1330948452","file3":"1330948443"},"map_files_photo_id_array":[{"photo_id":"1330948452","filename":"file5"},{"photo_id":"1330948438","filename":"file2"},{"photo_id":"1330948448","filename":"file4"},{"photo_id":"1330948430","filename":"file1"},{"photo_id":"1330948423","filename":"file0"},{"photo_id":"1330948443","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330948438":["hashtag1","hashtag2"]},{"1330948423":["hashtag1","hashtag2"]},{"1330948452":["hashtag1","hashtag2"]},{"1330948443":["hashtag1","hashtag2"]},{"1330948430":["hashtag1","hashtag2"]},{"1330948448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330948438, 1330948423, 1330948452, 1330948443, 1330948430, 1330948448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.552290201187134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 05:52:22.284436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/50/image_24012025_05_50_03_060877_0003.jpg', '/home/pi/Desktop/images/24012025/05/51/image_24012025_05_51_02_501805_0000.jpg', '/home/pi/Desktop/images/24012025/05/51/image_24012025_05_51_02_501805_0001.jpg', '/home/pi/Desktop/images/24012025/05/51/image_24012025_05_51_02_501805_0002.jpg', '/home/pi/Desktop/images/24012025/05/51/image_24012025_05_51_02_501805_0003.jpg', '/home/pi/Desktop/images/24012025/05/52/image_24012025_05_52_03_016832_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/50/image_24012025_05_50_03_060877_0003.jpg
/home/pi/Desktop/images/24012025/05/51/image_24012025_05_51_02_501805_0000.jpg
/home/pi/Desktop/images/24012025/05/51/image_24012025_05_51_02_501805_0001.jpg
/home/pi/Desktop/images/24012025/05/51/image_24012025_05_51_02_501805_0002.jpg
/home/pi/Desktop/images/24012025/05/51/image_24012025_05_51_02_501805_0003.jpg
/home/pi/Desktop/images/24012025/05/52/image_24012025_05_52_03_016832_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330948495","1330948501","1330948491","1330948499","1330948487","1330948506"],"photo_ids_order":["1330948487","1330948491","1330948495","1330948499","1330948501","1330948506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74314026a377eec274971b969ad2c8a9.jpg","text":"TemporaryFile(/tmp/multipartBody1714776563447842277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694419443,"filename":"image_24012025_05_51_02_501805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7761815730fcbdaf462318babe247a8f.jpg","text":"TemporaryFile(/tmp/multipartBody5296353530118701811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694419443,"filename":"image_24012025_05_51_02_501805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdb45720677f1b0809e28004f7e6e208.jpg","text":"TemporaryFile(/tmp/multipartBody3883921245421966700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694419443,"filename":"image_24012025_05_51_02_501805_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b4279d67616b9f5eac51e458d54560f.jpg","text":"TemporaryFile(/tmp/multipartBody8742884811287703371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694419443,"filename":"image_24012025_05_51_02_501805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d2f462dc46adeee9a4e4f454f081533a.jpg","text":"TemporaryFile(/tmp/multipartBody5706004402505610425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694419443,"filename":"image_24012025_05_50_03_060877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5576e3dcf3a43cdafb0c7b048c6b6662.jpg","text":"TemporaryFile(/tmp/multipartBody6994348894155037713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694419443,"filename":"image_24012025_05_52_03_016832_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330948495","file1":"1330948491","file0":"1330948487","file4":"1330948501","file5":"1330948506","file3":"1330948499"},"map_files_photo_id_array":[{"photo_id":"1330948506","filename":"file5"},{"photo_id":"1330948495","filename":"file2"},{"photo_id":"1330948501","filename":"file4"},{"photo_id":"1330948491","filename":"file1"},{"photo_id":"1330948487","filename":"file0"},{"photo_id":"1330948499","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330948495":["hashtag1","hashtag2"]},{"1330948501":["hashtag1","hashtag2"]},{"1330948491":["hashtag1","hashtag2"]},{"1330948499":["hashtag1","hashtag2"]},{"1330948487":["hashtag1","hashtag2"]},{"1330948506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330948495, 1330948501, 1330948491, 1330948499, 1330948487, 1330948506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.58585953712463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:54:02.642128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/52/image_24012025_05_52_03_016832_0001.jpg', '/home/pi/Desktop/images/24012025/05/52/image_24012025_05_52_03_016832_0002.jpg', '/home/pi/Desktop/images/24012025/05/52/image_24012025_05_52_03_016832_0003.jpg', '/home/pi/Desktop/images/24012025/05/53/image_24012025_05_53_02_681223_0000.jpg', '/home/pi/Desktop/images/24012025/05/53/image_24012025_05_53_02_681223_0001.jpg', '/home/pi/Desktop/images/24012025/05/53/image_24012025_05_53_02_681223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/52/image_24012025_05_52_03_016832_0001.jpg
/home/pi/Desktop/images/24012025/05/52/image_24012025_05_52_03_016832_0002.jpg
/home/pi/Desktop/images/24012025/05/52/image_24012025_05_52_03_016832_0003.jpg
/home/pi/Desktop/images/24012025/05/53/image_24012025_05_53_02_681223_0000.jpg
/home/pi/Desktop/images/24012025/05/53/image_24012025_05_53_02_681223_0001.jpg
/home/pi/Desktop/images/24012025/05/53/image_24012025_05_53_02_681223_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330948609","1330948632","1330948626","1330948637","1330948616","1330948604"],"photo_ids_order":["1330948604","1330948609","1330948616","1330948626","1330948632","1330948637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bc475ee6b6fd57ae18e5ea613605ec39.jpg","text":"TemporaryFile(/tmp/multipartBody8721365661702032098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694519997,"filename":"image_24012025_05_52_03_016832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/426fef0b6b85656b425420a5415a173b.jpg","text":"TemporaryFile(/tmp/multipartBody5074098297407975668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694519997,"filename":"image_24012025_05_53_02_681223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fcc511ea9b28d647cee69ad13e2b25c3.jpg","text":"TemporaryFile(/tmp/multipartBody2490961387691114040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694519997,"filename":"image_24012025_05_53_02_681223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b8ad00b23119fda404bf5a641748b16.jpg","text":"TemporaryFile(/tmp/multipartBody2887483052376398592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694519997,"filename":"image_24012025_05_53_02_681223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7393a7fb3c83b859e8f60fb99c1c4dbe.jpg","text":"TemporaryFile(/tmp/multipartBody125628435199104526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694519997,"filename":"image_24012025_05_52_03_016832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f7135a012f76dd0e958c561855a0157c.jpg","text":"TemporaryFile(/tmp/multipartBody1819214562738958074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694519997,"filename":"image_24012025_05_52_03_016832_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330948616","file1":"1330948609","file0":"1330948604","file4":"1330948632","file5":"1330948637","file3":"1330948626"},"map_files_photo_id_array":[{"photo_id":"1330948637","filename":"file5"},{"photo_id":"1330948616","filename":"file2"},{"photo_id":"1330948632","filename":"file4"},{"photo_id":"1330948609","filename":"file1"},{"photo_id":"1330948604","filename":"file0"},{"photo_id":"1330948626","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330948609":["hashtag1","hashtag2"]},{"1330948632":["hashtag1","hashtag2"]},{"1330948626":["hashtag1","hashtag2"]},{"1330948637":["hashtag1","hashtag2"]},{"1330948616":["hashtag1","hashtag2"]},{"1330948604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330948609, 1330948632, 1330948626, 1330948637, 1330948616, 1330948604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.71726870536804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:55:02.432913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/53/image_24012025_05_53_02_681223_0003.jpg', '/home/pi/Desktop/images/24012025/05/54/image_24012025_05_54_02_178406_0000.jpg', '/home/pi/Desktop/images/24012025/05/54/image_24012025_05_54_02_178406_0001.jpg', '/home/pi/Desktop/images/24012025/05/54/image_24012025_05_54_02_178406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/53/image_24012025_05_53_02_681223_0003.jpg
/home/pi/Desktop/images/24012025/05/54/image_24012025_05_54_02_178406_0000.jpg
/home/pi/Desktop/images/24012025/05/54/image_24012025_05_54_02_178406_0001.jpg
/home/pi/Desktop/images/24012025/05/54/image_24012025_05_54_02_178406_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330948984","1330949301","1330948800","1330948661"],"photo_ids_order":["1330948661","1330948800","1330948984","1330949301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7404b21039234d1b8603989faf0dfe32.jpg","text":"TemporaryFile(/tmp/multipartBody7064297866279402976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694574025,"filename":"image_24012025_05_54_02_178406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21bd11413f176b5206c72ee85a6d6b98.jpg","text":"TemporaryFile(/tmp/multipartBody2572807093949104907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694574025,"filename":"image_24012025_05_54_02_178406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a98fd74f44b0a21b756af8198abc64b7.jpg","text":"TemporaryFile(/tmp/multipartBody8135885368992798344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694574025,"filename":"image_24012025_05_54_02_178406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d644dcc36c7200f85f9b0d4085e9836a.jpg","text":"TemporaryFile(/tmp/multipartBody825548466122434554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694574025,"filename":"image_24012025_05_53_02_681223_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330948984","file1":"1330948800","file0":"1330948661","file3":"1330949301"},"map_files_photo_id_array":[{"photo_id":"1330948984","filename":"file2"},{"photo_id":"1330948800","filename":"file1"},{"photo_id":"1330948661","filename":"file0"},{"photo_id":"1330949301","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330948984":["hashtag1","hashtag2"]},{"1330949301":["hashtag1","hashtag2"]},{"1330948800":["hashtag1","hashtag2"]},{"1330948661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330948984, 1330949301, 1330948800, 1330948661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.34050726890564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:56:02.893846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/54/image_24012025_05_54_02_178406_0003.jpg', '/home/pi/Desktop/images/24012025/05/55/image_24012025_05_55_02_669151_0000.jpg', '/home/pi/Desktop/images/24012025/05/55/image_24012025_05_55_02_669151_0001.jpg', '/home/pi/Desktop/images/24012025/05/55/image_24012025_05_55_02_669151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/54/image_24012025_05_54_02_178406_0003.jpg
/home/pi/Desktop/images/24012025/05/55/image_24012025_05_55_02_669151_0000.jpg
/home/pi/Desktop/images/24012025/05/55/image_24012025_05_55_02_669151_0001.jpg
/home/pi/Desktop/images/24012025/05/55/image_24012025_05_55_02_669151_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330949338","1330949346","1330949349","1330949334"],"photo_ids_order":["1330949334","1330949338","1330949346","1330949349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0d63319d011e7cbb22e1046e227b14d8.jpg","text":"TemporaryFile(/tmp/multipartBody6784826219331808814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694634402,"filename":"image_24012025_05_55_02_669151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/790ca65865614734729db56907042ca9.jpg","text":"TemporaryFile(/tmp/multipartBody6423450025794736162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694634402,"filename":"image_24012025_05_55_02_669151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cd79ee8cc0e8d709be80678d29de8bbc.jpg","text":"TemporaryFile(/tmp/multipartBody1077040218658957441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694634402,"filename":"image_24012025_05_55_02_669151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/49494e2235099e586ee4afd38ad88813.jpg","text":"TemporaryFile(/tmp/multipartBody5709063831189200831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694634402,"filename":"image_24012025_05_54_02_178406_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330949346","file1":"1330949338","file0":"1330949334","file3":"1330949349"},"map_files_photo_id_array":[{"photo_id":"1330949346","filename":"file2"},{"photo_id":"1330949338","filename":"file1"},{"photo_id":"1330949334","filename":"file0"},{"photo_id":"1330949349","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330949338":["hashtag1","hashtag2"]},{"1330949346":["hashtag1","hashtag2"]},{"1330949349":["hashtag1","hashtag2"]},{"1330949334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330949338, 1330949346, 1330949349, 1330949334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74939203262329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:57:02.719323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/55/image_24012025_05_55_02_669151_0003.jpg', '/home/pi/Desktop/images/24012025/05/56/image_24012025_05_56_02_074748_0000.jpg', '/home/pi/Desktop/images/24012025/05/56/image_24012025_05_56_02_074748_0001.jpg', '/home/pi/Desktop/images/24012025/05/56/image_24012025_05_56_02_074748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/55/image_24012025_05_55_02_669151_0003.jpg
/home/pi/Desktop/images/24012025/05/56/image_24012025_05_56_02_074748_0000.jpg
/home/pi/Desktop/images/24012025/05/56/image_24012025_05_56_02_074748_0001.jpg
/home/pi/Desktop/images/24012025/05/56/image_24012025_05_56_02_074748_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330949751","1330949814","1330949789","1330949749"],"photo_ids_order":["1330949749","1330949751","1330949789","1330949814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/293fc0cd15dcbb251e77b6fae890a16c.jpg","text":"TemporaryFile(/tmp/multipartBody2897981144931570461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694694202,"filename":"image_24012025_05_56_02_074748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48d1260aed6f63c5b2a6a930cdc6b577.jpg","text":"TemporaryFile(/tmp/multipartBody6859507977836337992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694694202,"filename":"image_24012025_05_56_02_074748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6be527da7d1434b1806d507e8d11b9f5.jpg","text":"TemporaryFile(/tmp/multipartBody5301664288602853666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694694202,"filename":"image_24012025_05_56_02_074748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21d98b9d905852fc0bd1394c36397e05.jpg","text":"TemporaryFile(/tmp/multipartBody7525875450966133567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694694202,"filename":"image_24012025_05_55_02_669151_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330949789","file1":"1330949751","file0":"1330949749","file3":"1330949814"},"map_files_photo_id_array":[{"photo_id":"1330949789","filename":"file2"},{"photo_id":"1330949751","filename":"file1"},{"photo_id":"1330949749","filename":"file0"},{"photo_id":"1330949814","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330949751":["hashtag1","hashtag2"]},{"1330949814":["hashtag1","hashtag2"]},{"1330949789":["hashtag1","hashtag2"]},{"1330949749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330949751, 1330949814, 1330949789, 1330949749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58199954032898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 05:59:03.175582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/56/image_24012025_05_56_02_074748_0003.jpg', '/home/pi/Desktop/images/24012025/05/57/image_24012025_05_57_02_791806_0000.jpg', '/home/pi/Desktop/images/24012025/05/57/image_24012025_05_57_02_791806_0001.jpg', '/home/pi/Desktop/images/24012025/05/57/image_24012025_05_57_02_791806_0002.jpg', '/home/pi/Desktop/images/24012025/05/57/image_24012025_05_57_02_791806_0003.jpg', '/home/pi/Desktop/images/24012025/05/58/image_24012025_05_58_02_279291_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/56/image_24012025_05_56_02_074748_0003.jpg
/home/pi/Desktop/images/24012025/05/57/image_24012025_05_57_02_791806_0000.jpg
/home/pi/Desktop/images/24012025/05/57/image_24012025_05_57_02_791806_0001.jpg
/home/pi/Desktop/images/24012025/05/57/image_24012025_05_57_02_791806_0002.jpg
/home/pi/Desktop/images/24012025/05/57/image_24012025_05_57_02_791806_0003.jpg
/home/pi/Desktop/images/24012025/05/58/image_24012025_05_58_02_279291_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330949938","1330949958","1330949955","1330949949","1330949927","1330949953"],"photo_ids_order":["1330949927","1330949938","1330949949","1330949953","1330949955","1330949958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f96185aee4e0b968eb3be171f9999d9.jpg","text":"TemporaryFile(/tmp/multipartBody1663141623399111564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694819854,"filename":"image_24012025_05_57_02_791806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e78a4e3ba89181c4bb097b94553c9099.jpg","text":"TemporaryFile(/tmp/multipartBody5905684305166069921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694819854,"filename":"image_24012025_05_58_02_279291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2b7013d766b67dad2a7a28f8efe53df3.jpg","text":"TemporaryFile(/tmp/multipartBody7004825055806554471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694819854,"filename":"image_24012025_05_57_02_791806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b69ea3e754057ed9961ef3e3e324066.jpg","text":"TemporaryFile(/tmp/multipartBody1502814241865745339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694819854,"filename":"image_24012025_05_57_02_791806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd1fa1981ea35d9b838347f455ec77d4.jpg","text":"TemporaryFile(/tmp/multipartBody3633354534823377020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694819854,"filename":"image_24012025_05_56_02_074748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/84e0fd1428deca5ec83e84e4b47e9a16.jpg","text":"TemporaryFile(/tmp/multipartBody6380813184303112007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694819854,"filename":"image_24012025_05_57_02_791806_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330949949","file1":"1330949938","file0":"1330949927","file4":"1330949955","file5":"1330949958","file3":"1330949953"},"map_files_photo_id_array":[{"photo_id":"1330949958","filename":"file5"},{"photo_id":"1330949949","filename":"file2"},{"photo_id":"1330949955","filename":"file4"},{"photo_id":"1330949938","filename":"file1"},{"photo_id":"1330949927","filename":"file0"},{"photo_id":"1330949953","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330949938":["hashtag1","hashtag2"]},{"1330949958":["hashtag1","hashtag2"]},{"1330949955":["hashtag1","hashtag2"]},{"1330949949":["hashtag1","hashtag2"]},{"1330949927":["hashtag1","hashtag2"]},{"1330949953":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330949938, 1330949958, 1330949955, 1330949949, 1330949927, 1330949953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.56431841850281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:00:02.886481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/58/image_24012025_05_58_02_279291_0001.jpg', '/home/pi/Desktop/images/24012025/05/58/image_24012025_05_58_02_279291_0002.jpg', '/home/pi/Desktop/images/24012025/05/58/image_24012025_05_58_02_279291_0003.jpg', '/home/pi/Desktop/images/24012025/05/59/image_24012025_05_59_02_889328_0000.jpg', '/home/pi/Desktop/images/24012025/05/59/image_24012025_05_59_02_889328_0001.jpg', '/home/pi/Desktop/images/24012025/05/59/image_24012025_05_59_02_889328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/58/image_24012025_05_58_02_279291_0001.jpg
/home/pi/Desktop/images/24012025/05/58/image_24012025_05_58_02_279291_0002.jpg
/home/pi/Desktop/images/24012025/05/58/image_24012025_05_58_02_279291_0003.jpg
/home/pi/Desktop/images/24012025/05/59/image_24012025_05_59_02_889328_0000.jpg
/home/pi/Desktop/images/24012025/05/59/image_24012025_05_59_02_889328_0001.jpg
/home/pi/Desktop/images/24012025/05/59/image_24012025_05_59_02_889328_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330950029","1330950025","1330950004","1330950048","1330950015","1330950053"],"photo_ids_order":["1330950004","1330950015","1330950025","1330950029","1330950048","1330950053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/90588defab719ae55ee0574c0fae2687.jpg","text":"TemporaryFile(/tmp/multipartBody4860321763501943548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694880087,"filename":"image_24012025_05_59_02_889328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c7bd6afab0a394f97e668e440bb37020.jpg","text":"TemporaryFile(/tmp/multipartBody6338797668986344677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694880087,"filename":"image_24012025_05_58_02_279291_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06fe6d9ea34d48337059492b4331ec18.jpg","text":"TemporaryFile(/tmp/multipartBody2533161142736684491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694880087,"filename":"image_24012025_05_58_02_279291_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a4b871ea2bad247ed2c3ea7caf262b9.jpg","text":"TemporaryFile(/tmp/multipartBody8391166110545618522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694880087,"filename":"image_24012025_05_59_02_889328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d3f1747875b9b4b2c70cca4e1b0952b1.jpg","text":"TemporaryFile(/tmp/multipartBody1961317894119633630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694880087,"filename":"image_24012025_05_58_02_279291_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a13473a932923a81b0a0a0d510e91c7.jpg","text":"TemporaryFile(/tmp/multipartBody3300984349456309997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694880087,"filename":"image_24012025_05_59_02_889328_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330950025","file1":"1330950015","file0":"1330950004","file4":"1330950048","file5":"1330950053","file3":"1330950029"},"map_files_photo_id_array":[{"photo_id":"1330950053","filename":"file5"},{"photo_id":"1330950025","filename":"file2"},{"photo_id":"1330950048","filename":"file4"},{"photo_id":"1330950015","filename":"file1"},{"photo_id":"1330950004","filename":"file0"},{"photo_id":"1330950029","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330950029":["hashtag1","hashtag2"]},{"1330950025":["hashtag1","hashtag2"]},{"1330950004":["hashtag1","hashtag2"]},{"1330950048":["hashtag1","hashtag2"]},{"1330950015":["hashtag1","hashtag2"]},{"1330950053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330950029, 1330950025, 1330950004, 1330950048, 1330950015, 1330950053)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.581458568573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:01:21.826856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/05/59/image_24012025_05_59_02_889328_0003.jpg', '/home/pi/Desktop/images/24012025/06/00/image_24012025_06_00_03_034473_0000.jpg', '/home/pi/Desktop/images/24012025/06/00/image_24012025_06_00_03_034473_0001.jpg', '/home/pi/Desktop/images/24012025/06/00/image_24012025_06_00_03_034473_0002.jpg', '/home/pi/Desktop/images/24012025/06/00/image_24012025_06_00_03_034473_0003.jpg', '/home/pi/Desktop/images/24012025/06/01/image_24012025_06_01_02_707000_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/05/59/image_24012025_05_59_02_889328_0003.jpg
/home/pi/Desktop/images/24012025/06/00/image_24012025_06_00_03_034473_0000.jpg
/home/pi/Desktop/images/24012025/06/00/image_24012025_06_00_03_034473_0001.jpg
/home/pi/Desktop/images/24012025/06/00/image_24012025_06_00_03_034473_0002.jpg
/home/pi/Desktop/images/24012025/06/00/image_24012025_06_00_03_034473_0003.jpg
/home/pi/Desktop/images/24012025/06/01/image_24012025_06_01_02_707000_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330950116","1330950166","1330950124","1330950132","1330950173","1330950170"],"photo_ids_order":["1330950116","1330950124","1330950132","1330950166","1330950170","1330950173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30a21f70b41a9a105d775008592f2e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8812369019839329599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694958699,"filename":"image_24012025_05_59_02_889328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c6c8d868a640e8006770f0bf8d5b405.jpg","text":"TemporaryFile(/tmp/multipartBody6994386251250425114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694958699,"filename":"image_24012025_06_00_03_034473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b57cb6de2966ffe9356b0f3ddb6ce306.jpg","text":"TemporaryFile(/tmp/multipartBody5078138573780769285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694958699,"filename":"image_24012025_06_00_03_034473_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8c5ea1f283fe32461959070c651d26e7.jpg","text":"TemporaryFile(/tmp/multipartBody6779906919659860587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694958699,"filename":"image_24012025_06_00_03_034473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b864252eb2bd8cad01e42ffe510f763.jpg","text":"TemporaryFile(/tmp/multipartBody8840183975214341936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694958699,"filename":"image_24012025_06_01_02_707000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/91361c8595f12db2439fd46d86e71fdc.jpg","text":"TemporaryFile(/tmp/multipartBody7841565286580473234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737694958699,"filename":"image_24012025_06_00_03_034473_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330950132","file1":"1330950124","file0":"1330950116","file4":"1330950170","file5":"1330950173","file3":"1330950166"},"map_files_photo_id_array":[{"photo_id":"1330950173","filename":"file5"},{"photo_id":"1330950132","filename":"file2"},{"photo_id":"1330950170","filename":"file4"},{"photo_id":"1330950124","filename":"file1"},{"photo_id":"1330950116","filename":"file0"},{"photo_id":"1330950166","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330950116":["hashtag1","hashtag2"]},{"1330950166":["hashtag1","hashtag2"]},{"1330950124":["hashtag1","hashtag2"]},{"1330950132":["hashtag1","hashtag2"]},{"1330950173":["hashtag1","hashtag2"]},{"1330950170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330950116, 1330950166, 1330950124, 1330950132, 1330950173, 1330950170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.1084144115448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:03:02.513163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/01/image_24012025_06_01_02_707000_0001.jpg', '/home/pi/Desktop/images/24012025/06/01/image_24012025_06_01_02_707000_0002.jpg', '/home/pi/Desktop/images/24012025/06/01/image_24012025_06_01_02_707000_0003.jpg', '/home/pi/Desktop/images/24012025/06/02/image_24012025_06_02_02_264276_0000.jpg', '/home/pi/Desktop/images/24012025/06/02/image_24012025_06_02_02_264276_0001.jpg', '/home/pi/Desktop/images/24012025/06/02/image_24012025_06_02_02_264276_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/01/image_24012025_06_01_02_707000_0001.jpg
/home/pi/Desktop/images/24012025/06/01/image_24012025_06_01_02_707000_0002.jpg
/home/pi/Desktop/images/24012025/06/01/image_24012025_06_01_02_707000_0003.jpg
/home/pi/Desktop/images/24012025/06/02/image_24012025_06_02_02_264276_0000.jpg
/home/pi/Desktop/images/24012025/06/02/image_24012025_06_02_02_264276_0001.jpg
/home/pi/Desktop/images/24012025/06/02/image_24012025_06_02_02_264276_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330950212","1330950220","1330950217","1330950270","1330950225","1330950296"],"photo_ids_order":["1330950212","1330950217","1330950220","1330950225","1330950270","1330950296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/20b45eccf8cd6a0ec5b62dcdd9614f9f.jpg","text":"TemporaryFile(/tmp/multipartBody9045501417017562941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695059145,"filename":"image_24012025_06_01_02_707000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ecbe0f4e352073af412757d5bf1fee37.jpg","text":"TemporaryFile(/tmp/multipartBody2563517684983602298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695059145,"filename":"image_24012025_06_01_02_707000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/785629eac5874b16c251e81d990c5dbe.jpg","text":"TemporaryFile(/tmp/multipartBody328006487547669121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695059145,"filename":"image_24012025_06_01_02_707000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51efebaaecffba9d4be9477fe66a8030.jpg","text":"TemporaryFile(/tmp/multipartBody1028947142837191563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695059145,"filename":"image_24012025_06_02_02_264276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad883be53d32dd91df03a836756cbc5e.jpg","text":"TemporaryFile(/tmp/multipartBody7503921918803570735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695059145,"filename":"image_24012025_06_02_02_264276_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/965a41ada543a0cd3f53d73271e7ca62.jpg","text":"TemporaryFile(/tmp/multipartBody9007607840583955703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695059145,"filename":"image_24012025_06_02_02_264276_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330950220","file1":"1330950217","file0":"1330950212","file4":"1330950270","file5":"1330950296","file3":"1330950225"},"map_files_photo_id_array":[{"photo_id":"1330950296","filename":"file5"},{"photo_id":"1330950220","filename":"file2"},{"photo_id":"1330950270","filename":"file4"},{"photo_id":"1330950217","filename":"file1"},{"photo_id":"1330950212","filename":"file0"},{"photo_id":"1330950225","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330950212":["hashtag1","hashtag2"]},{"1330950220":["hashtag1","hashtag2"]},{"1330950217":["hashtag1","hashtag2"]},{"1330950270":["hashtag1","hashtag2"]},{"1330950225":["hashtag1","hashtag2"]},{"1330950296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330950212, 1330950220, 1330950217, 1330950270, 1330950225, 1330950296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.541635274887085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:04:22.491788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/02/image_24012025_06_02_02_264276_0003.jpg', '/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0000.jpg', '/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0001.jpg', '/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0002.jpg', '/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0003.jpg', '/home/pi/Desktop/images/24012025/06/04/image_24012025_06_04_02_301488_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/02/image_24012025_06_02_02_264276_0003.jpg
/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0000.jpg
/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0001.jpg
/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0002.jpg
/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0003.jpg
/home/pi/Desktop/images/24012025/06/04/image_24012025_06_04_02_301488_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.688075542449951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:05:02.665636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/02/image_24012025_06_02_02_264276_0003.jpg', '/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0000.jpg', '/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0001.jpg', '/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0002.jpg', '/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0003.jpg', '/home/pi/Desktop/images/24012025/06/04/image_24012025_06_04_02_301488_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/02/image_24012025_06_02_02_264276_0003.jpg
/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0000.jpg
/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0001.jpg
/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0002.jpg
/home/pi/Desktop/images/24012025/06/03/image_24012025_06_03_02_767711_0003.jpg
/home/pi/Desktop/images/24012025/06/04/image_24012025_06_04_02_301488_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330950892","1330951005","1330950999","1330951040","1330951034","1330950806"],"photo_ids_order":["1330950806","1330950892","1330950999","1330951005","1330951034","1330951040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32c0fe5f9d466fc695f216d0823a31d3.jpg","text":"TemporaryFile(/tmp/multipartBody4720840782565016920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695178762,"filename":"image_24012025_06_03_02_767711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ca864044fa26e6197a758b617a5b8e8.jpg","text":"TemporaryFile(/tmp/multipartBody7672641649276274689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695178762,"filename":"image_24012025_06_03_02_767711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f53d9c31046d7f8ea9be7be83e5b242a.jpg","text":"TemporaryFile(/tmp/multipartBody4471694139491660641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695178762,"filename":"image_24012025_06_03_02_767711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/012321b452c15071aed98ed3da13de8d.jpg","text":"TemporaryFile(/tmp/multipartBody1110441753725543692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695178762,"filename":"image_24012025_06_04_02_301488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f7b245d91e7dbb0e2e95b2ce043b2f4b.jpg","text":"TemporaryFile(/tmp/multipartBody8292857302044794615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695178762,"filename":"image_24012025_06_03_02_767711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98ec04c34d3d79084143803c5de4d12a.jpg","text":"TemporaryFile(/tmp/multipartBody2841519634113625042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695178762,"filename":"image_24012025_06_02_02_264276_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330950999","file1":"1330950892","file0":"1330950806","file4":"1330951034","file5":"1330951040","file3":"1330951005"},"map_files_photo_id_array":[{"photo_id":"1330951040","filename":"file5"},{"photo_id":"1330950999","filename":"file2"},{"photo_id":"1330951034","filename":"file4"},{"photo_id":"1330950892","filename":"file1"},{"photo_id":"1330950806","filename":"file0"},{"photo_id":"1330951005","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330950892":["hashtag1","hashtag2"]},{"1330951005":["hashtag1","hashtag2"]},{"1330950999":["hashtag1","hashtag2"]},{"1330951040":["hashtag1","hashtag2"]},{"1330951034":["hashtag1","hashtag2"]},{"1330950806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330950892, 1330951005, 1330950999, 1330951040, 1330951034, 1330950806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.35062050819397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:06:03.161495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/04/image_24012025_06_04_02_301488_0001.jpg', '/home/pi/Desktop/images/24012025/06/04/image_24012025_06_04_02_301488_0002.jpg', '/home/pi/Desktop/images/24012025/06/04/image_24012025_06_04_02_301488_0003.jpg', '/home/pi/Desktop/images/24012025/06/05/image_24012025_06_05_02_838173_0000.jpg', '/home/pi/Desktop/images/24012025/06/05/image_24012025_06_05_02_838173_0001.jpg', '/home/pi/Desktop/images/24012025/06/05/image_24012025_06_05_02_838173_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/04/image_24012025_06_04_02_301488_0001.jpg
/home/pi/Desktop/images/24012025/06/04/image_24012025_06_04_02_301488_0002.jpg
/home/pi/Desktop/images/24012025/06/04/image_24012025_06_04_02_301488_0003.jpg
/home/pi/Desktop/images/24012025/06/05/image_24012025_06_05_02_838173_0000.jpg
/home/pi/Desktop/images/24012025/06/05/image_24012025_06_05_02_838173_0001.jpg
/home/pi/Desktop/images/24012025/06/05/image_24012025_06_05_02_838173_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330951306","1330951260","1330951251","1330951295","1330951196","1330951310"],"photo_ids_order":["1330951196","1330951251","1330951260","1330951295","1330951306","1330951310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d43d1d7f3f1f1902bb5822c335497c8d.jpg","text":"TemporaryFile(/tmp/multipartBody6740629526741940169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695239508,"filename":"image_24012025_06_05_02_838173_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0188117edb01366f68f1d0ed830eddce.jpg","text":"TemporaryFile(/tmp/multipartBody4120870696895564966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695239508,"filename":"image_24012025_06_04_02_301488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47ba1da41fc10ce43b9a4dea056fcc44.jpg","text":"TemporaryFile(/tmp/multipartBody3009089051616575919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695239508,"filename":"image_24012025_06_04_02_301488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ef152ba70d88e43220554c38deb41b3d.jpg","text":"TemporaryFile(/tmp/multipartBody7286824644021771276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695239508,"filename":"image_24012025_06_05_02_838173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f0185e151a4156f7e22c3edc2bf654e4.jpg","text":"TemporaryFile(/tmp/multipartBody223135033546942059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695239508,"filename":"image_24012025_06_04_02_301488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/546008e5daf669b9130d10de8f5b0f0b.jpg","text":"TemporaryFile(/tmp/multipartBody3854359842783620053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695239508,"filename":"image_24012025_06_05_02_838173_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330951260","file1":"1330951251","file0":"1330951196","file4":"1330951306","file5":"1330951310","file3":"1330951295"},"map_files_photo_id_array":[{"photo_id":"1330951310","filename":"file5"},{"photo_id":"1330951260","filename":"file2"},{"photo_id":"1330951306","filename":"file4"},{"photo_id":"1330951251","filename":"file1"},{"photo_id":"1330951196","filename":"file0"},{"photo_id":"1330951295","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330951306":["hashtag1","hashtag2"]},{"1330951260":["hashtag1","hashtag2"]},{"1330951251":["hashtag1","hashtag2"]},{"1330951295":["hashtag1","hashtag2"]},{"1330951196":["hashtag1","hashtag2"]},{"1330951310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330951306, 1330951260, 1330951251, 1330951295, 1330951196, 1330951310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.492881774902344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:07:02.834183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/05/image_24012025_06_05_02_838173_0003.jpg', '/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0000.jpg', '/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0001.jpg', '/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/05/image_24012025_06_05_02_838173_0003.jpg
/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0000.jpg
/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0001.jpg
/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.274741649627686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:07:22.118008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/05/image_24012025_06_05_02_838173_0003.jpg', '/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0000.jpg', '/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0001.jpg', '/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0002.jpg', '/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0003.jpg', '/home/pi/Desktop/images/24012025/06/07/image_24012025_06_07_03_035771_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/05/image_24012025_06_05_02_838173_0003.jpg
/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0000.jpg
/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0001.jpg
/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0002.jpg
/home/pi/Desktop/images/24012025/06/06/image_24012025_06_06_02_344372_0003.jpg
/home/pi/Desktop/images/24012025/06/07/image_24012025_06_07_03_035771_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330951383","1330951365","1330951359","1330951380","1330951375","1330951354"],"photo_ids_order":["1330951354","1330951359","1330951365","1330951375","1330951380","1330951383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0ee50d7f21f516a8dcb6324feef68da8.jpg","text":"TemporaryFile(/tmp/multipartBody4930318748689138017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695319276,"filename":"image_24012025_06_07_03_035771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3c441741d1b7a05901d670649db72082.jpg","text":"TemporaryFile(/tmp/multipartBody7761423209044555814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695319276,"filename":"image_24012025_06_06_02_344372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7b2f99f117ca57bbab2a363710227229.jpg","text":"TemporaryFile(/tmp/multipartBody1094399569072686523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695319276,"filename":"image_24012025_06_06_02_344372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/597c74e9c80a4b065f3c1858c7b91e23.jpg","text":"TemporaryFile(/tmp/multipartBody1738802595123069726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695319276,"filename":"image_24012025_06_06_02_344372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf3b53711fd61c826fecae17c31616fe.jpg","text":"TemporaryFile(/tmp/multipartBody3915428653696862516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695319276,"filename":"image_24012025_06_06_02_344372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a46eda0de45ae850727fa7ca9c4b27ec.jpg","text":"TemporaryFile(/tmp/multipartBody6418715855849641243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695319276,"filename":"image_24012025_06_05_02_838173_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330951365","file1":"1330951359","file0":"1330951354","file4":"1330951380","file5":"1330951383","file3":"1330951375"},"map_files_photo_id_array":[{"photo_id":"1330951383","filename":"file5"},{"photo_id":"1330951365","filename":"file2"},{"photo_id":"1330951380","filename":"file4"},{"photo_id":"1330951359","filename":"file1"},{"photo_id":"1330951354","filename":"file0"},{"photo_id":"1330951375","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330951383":["hashtag1","hashtag2"]},{"1330951365":["hashtag1","hashtag2"]},{"1330951359":["hashtag1","hashtag2"]},{"1330951380":["hashtag1","hashtag2"]},{"1330951375":["hashtag1","hashtag2"]},{"1330951354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330951383, 1330951365, 1330951359, 1330951380, 1330951375, 1330951354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.47633218765259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:08:21.948148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/07/image_24012025_06_07_03_035771_0001.jpg', '/home/pi/Desktop/images/24012025/06/07/image_24012025_06_07_03_035771_0002.jpg', '/home/pi/Desktop/images/24012025/06/07/image_24012025_06_07_03_035771_0003.jpg', '/home/pi/Desktop/images/24012025/06/08/image_24012025_06_08_02_518816_0000.jpg', '/home/pi/Desktop/images/24012025/06/08/image_24012025_06_08_02_518816_0001.jpg', '/home/pi/Desktop/images/24012025/06/08/image_24012025_06_08_02_518816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/07/image_24012025_06_07_03_035771_0001.jpg
/home/pi/Desktop/images/24012025/06/07/image_24012025_06_07_03_035771_0002.jpg
/home/pi/Desktop/images/24012025/06/07/image_24012025_06_07_03_035771_0003.jpg
/home/pi/Desktop/images/24012025/06/08/image_24012025_06_08_02_518816_0000.jpg
/home/pi/Desktop/images/24012025/06/08/image_24012025_06_08_02_518816_0001.jpg
/home/pi/Desktop/images/24012025/06/08/image_24012025_06_08_02_518816_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330951429","1330951434","1330951437","1330951424","1330951412","1330951418"],"photo_ids_order":["1330951412","1330951418","1330951424","1330951429","1330951434","1330951437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/13f6e3b8a929ae9c072b1edc188c490d.jpg","text":"TemporaryFile(/tmp/multipartBody2373231015899262874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695378409,"filename":"image_24012025_06_08_02_518816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c84784fc1439365e516b640ab38017c.jpg","text":"TemporaryFile(/tmp/multipartBody4326233006851781623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695378409,"filename":"image_24012025_06_08_02_518816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bdae5441e67d1a0fc3cae6ad15ee117d.jpg","text":"TemporaryFile(/tmp/multipartBody7659690889460545445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695378409,"filename":"image_24012025_06_08_02_518816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/90f48b1e1fd3bf1c425a9a4672bc10d0.jpg","text":"TemporaryFile(/tmp/multipartBody8988616354274444059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695378409,"filename":"image_24012025_06_07_03_035771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/93b5206968ed99e730df0575f24bcb54.jpg","text":"TemporaryFile(/tmp/multipartBody8297835277686999256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695378409,"filename":"image_24012025_06_07_03_035771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b6559dd25a1b7e1901e5f160e8221c4.jpg","text":"TemporaryFile(/tmp/multipartBody3700788177667080255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695378409,"filename":"image_24012025_06_07_03_035771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330951424","file1":"1330951418","file0":"1330951412","file4":"1330951434","file5":"1330951437","file3":"1330951429"},"map_files_photo_id_array":[{"photo_id":"1330951437","filename":"file5"},{"photo_id":"1330951424","filename":"file2"},{"photo_id":"1330951434","filename":"file4"},{"photo_id":"1330951418","filename":"file1"},{"photo_id":"1330951412","filename":"file0"},{"photo_id":"1330951429","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330951429":["hashtag1","hashtag2"]},{"1330951434":["hashtag1","hashtag2"]},{"1330951437":["hashtag1","hashtag2"]},{"1330951424":["hashtag1","hashtag2"]},{"1330951412":["hashtag1","hashtag2"]},{"1330951418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330951429, 1330951434, 1330951437, 1330951424, 1330951412, 1330951418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.59904932975769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:09:22.394991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/08/image_24012025_06_08_02_518816_0003.jpg', '/home/pi/Desktop/images/24012025/06/09/image_24012025_06_09_02_318467_0000.jpg', '/home/pi/Desktop/images/24012025/06/09/image_24012025_06_09_02_318467_0001.jpg', '/home/pi/Desktop/images/24012025/06/09/image_24012025_06_09_02_318467_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/08/image_24012025_06_08_02_518816_0003.jpg
/home/pi/Desktop/images/24012025/06/09/image_24012025_06_09_02_318467_0000.jpg
/home/pi/Desktop/images/24012025/06/09/image_24012025_06_09_02_318467_0001.jpg
/home/pi/Desktop/images/24012025/06/09/image_24012025_06_09_02_318467_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330951485","1330951452","1330951469","1330951457"],"photo_ids_order":["1330951452","1330951457","1330951469","1330951485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f806f6a10863cc6fe0df34eb8cde800b.jpg","text":"TemporaryFile(/tmp/multipartBody3554574884150095862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695433943,"filename":"image_24012025_06_09_02_318467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b564d72a4c537ecbb0b39eca12e6b1a2.jpg","text":"TemporaryFile(/tmp/multipartBody1172960213448547293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695433943,"filename":"image_24012025_06_08_02_518816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f4b8f19025fcec29acf89c2bcdec4fe.jpg","text":"TemporaryFile(/tmp/multipartBody7597493638251201532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695433943,"filename":"image_24012025_06_09_02_318467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/588f0bbc57d2fb0aef4507ee42fffae0.jpg","text":"TemporaryFile(/tmp/multipartBody5724961579899324733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695433943,"filename":"image_24012025_06_09_02_318467_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330951469","file1":"1330951457","file0":"1330951452","file3":"1330951485"},"map_files_photo_id_array":[{"photo_id":"1330951469","filename":"file2"},{"photo_id":"1330951457","filename":"file1"},{"photo_id":"1330951452","filename":"file0"},{"photo_id":"1330951485","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330951485":["hashtag1","hashtag2"]},{"1330951452":["hashtag1","hashtag2"]},{"1330951469":["hashtag1","hashtag2"]},{"1330951457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330951485, 1330951452, 1330951469, 1330951457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20194411277771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:10:22.008394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/09/image_24012025_06_09_02_318467_0003.jpg', '/home/pi/Desktop/images/24012025/06/10/image_24012025_06_10_02_828160_0000.jpg', '/home/pi/Desktop/images/24012025/06/10/image_24012025_06_10_02_828160_0001.jpg', '/home/pi/Desktop/images/24012025/06/10/image_24012025_06_10_02_828160_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/09/image_24012025_06_09_02_318467_0003.jpg
/home/pi/Desktop/images/24012025/06/10/image_24012025_06_10_02_828160_0000.jpg
/home/pi/Desktop/images/24012025/06/10/image_24012025_06_10_02_828160_0001.jpg
/home/pi/Desktop/images/24012025/06/10/image_24012025_06_10_02_828160_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330951551","1330951539","1330951548","1330951544"],"photo_ids_order":["1330951539","1330951544","1330951548","1330951551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/97dc4798eb192d514c9b8329633e5555.jpg","text":"TemporaryFile(/tmp/multipartBody6214670571864785168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695493614,"filename":"image_24012025_06_10_02_828160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/43369a68cd5284f0aea76c3326cb8435.jpg","text":"TemporaryFile(/tmp/multipartBody3501690274464010960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695493614,"filename":"image_24012025_06_09_02_318467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a9a762038b751da8490be0855b4849f1.jpg","text":"TemporaryFile(/tmp/multipartBody5157944914696998786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695493614,"filename":"image_24012025_06_10_02_828160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39ca791b1173fcd6bfaee9d03e0f8f17.jpg","text":"TemporaryFile(/tmp/multipartBody170829537023420976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695493614,"filename":"image_24012025_06_10_02_828160_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330951548","file1":"1330951544","file0":"1330951539","file3":"1330951551"},"map_files_photo_id_array":[{"photo_id":"1330951548","filename":"file2"},{"photo_id":"1330951544","filename":"file1"},{"photo_id":"1330951539","filename":"file0"},{"photo_id":"1330951551","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330951551":["hashtag1","hashtag2"]},{"1330951539":["hashtag1","hashtag2"]},{"1330951548":["hashtag1","hashtag2"]},{"1330951544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330951551, 1330951539, 1330951548, 1330951544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.49376058578491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:11:03.081199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/38/image_21012025_20_38_02_602783_0002.jpg', '/home/pi/Desktop/images/21012025/20/38/image_21012025_20_38_02_602783_0003.jpg', '/home/pi/Desktop/images/21012025/20/39/image_21012025_20_39_02_859475_0000.jpg', '/home/pi/Desktop/images/21012025/20/39/image_21012025_20_39_02_859475_0001.jpg', '/home/pi/Desktop/images/21012025/20/39/image_21012025_20_39_02_859475_0002.jpg', '/home/pi/Desktop/images/21012025/20/39/image_21012025_20_39_02_859475_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/38/image_21012025_20_38_02_602783_0002.jpg
/home/pi/Desktop/images/21012025/20/38/image_21012025_20_38_02_602783_0003.jpg
/home/pi/Desktop/images/21012025/20/39/image_21012025_20_39_02_859475_0000.jpg
/home/pi/Desktop/images/21012025/20/39/image_21012025_20_39_02_859475_0001.jpg
/home/pi/Desktop/images/21012025/20/39/image_21012025_20_39_02_859475_0002.jpg
/home/pi/Desktop/images/21012025/20/39/image_21012025_20_39_02_859475_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330951581","1330951578","1330951611","1330951608","1330951574","1330951585"],"photo_ids_order":["1330951574","1330951578","1330951581","1330951585","1330951608","1330951611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00b24d749b224cc85812cfc89087718e.jpg","text":"TemporaryFile(/tmp/multipartBody6464219157716410025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695540552,"filename":"image_21012025_20_39_02_859475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/86a25bb6b21dd0f2d58ff7dad8fd1dc3.jpg","text":"TemporaryFile(/tmp/multipartBody8647874597445640488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695540552,"filename":"image_21012025_20_38_02_602783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/de3980516716740f19bf4054fa6e4745.jpg","text":"TemporaryFile(/tmp/multipartBody4895207028254715713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695540552,"filename":"image_21012025_20_39_02_859475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7fdd39943c2bf6d1e77a791e152be16e.jpg","text":"TemporaryFile(/tmp/multipartBody7894806537919413900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695540552,"filename":"image_21012025_20_39_02_859475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7b53e2d9001edea247768adea428cc33.jpg","text":"TemporaryFile(/tmp/multipartBody2177752317629629120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695540552,"filename":"image_21012025_20_38_02_602783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/de56d7d88bf7bbf51187ab8e165c6420.jpg","text":"TemporaryFile(/tmp/multipartBody2262263127592464406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695540552,"filename":"image_21012025_20_39_02_859475_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330951581","file1":"1330951578","file0":"1330951574","file4":"1330951608","file5":"1330951611","file3":"1330951585"},"map_files_photo_id_array":[{"photo_id":"1330951611","filename":"file5"},{"photo_id":"1330951581","filename":"file2"},{"photo_id":"1330951608","filename":"file4"},{"photo_id":"1330951578","filename":"file1"},{"photo_id":"1330951574","filename":"file0"},{"photo_id":"1330951585","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330951581":["hashtag1","hashtag2"]},{"1330951578":["hashtag1","hashtag2"]},{"1330951611":["hashtag1","hashtag2"]},{"1330951608":["hashtag1","hashtag2"]},{"1330951574":["hashtag1","hashtag2"]},{"1330951585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330951581, 1330951578, 1330951611, 1330951608, 1330951574, 1330951585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.86536622047424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:12:02.553873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/10/image_24012025_06_10_02_828160_0003.jpg', '/home/pi/Desktop/images/24012025/06/11/image_24012025_06_11_02_364022_0000.jpg', '/home/pi/Desktop/images/24012025/06/11/image_24012025_06_11_02_364022_0001.jpg', '/home/pi/Desktop/images/24012025/06/11/image_24012025_06_11_02_364022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/10/image_24012025_06_10_02_828160_0003.jpg
/home/pi/Desktop/images/24012025/06/11/image_24012025_06_11_02_364022_0000.jpg
/home/pi/Desktop/images/24012025/06/11/image_24012025_06_11_02_364022_0001.jpg
/home/pi/Desktop/images/24012025/06/11/image_24012025_06_11_02_364022_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330951642","1330951647","1330951632","1330951626"],"photo_ids_order":["1330951626","1330951632","1330951642","1330951647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a57c19f129b580a1f0c94ed934310ce2.jpg","text":"TemporaryFile(/tmp/multipartBody8626989697421029531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695594309,"filename":"image_24012025_06_11_02_364022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4160ddd73158562510afc0c5798a29bb.jpg","text":"TemporaryFile(/tmp/multipartBody1356092067429642345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695594309,"filename":"image_24012025_06_11_02_364022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0bab731d37f26c11a764db852405f45d.jpg","text":"TemporaryFile(/tmp/multipartBody2146630008531730130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695594309,"filename":"image_24012025_06_11_02_364022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d993ec1dc05e2f92a23ff9fb42376fa4.jpg","text":"TemporaryFile(/tmp/multipartBody5412908230171231653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695594309,"filename":"image_24012025_06_10_02_828160_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330951642","file1":"1330951632","file0":"1330951626","file3":"1330951647"},"map_files_photo_id_array":[{"photo_id":"1330951642","filename":"file2"},{"photo_id":"1330951632","filename":"file1"},{"photo_id":"1330951626","filename":"file0"},{"photo_id":"1330951647","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330951642":["hashtag1","hashtag2"]},{"1330951647":["hashtag1","hashtag2"]},{"1330951632":["hashtag1","hashtag2"]},{"1330951626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330951642, 1330951647, 1330951632, 1330951626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64599394798279 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:13:03.372156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/11/image_24012025_06_11_02_364022_0003.jpg', '/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0000.jpg', '/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0001.jpg', '/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/11/image_24012025_06_11_02_364022_0003.jpg
/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0000.jpg
/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0001.jpg
/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.016302108764648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:13:22.645982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/11/image_24012025_06_11_02_364022_0003.jpg', '/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0000.jpg', '/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0001.jpg', '/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0002.jpg', '/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0003.jpg', '/home/pi/Desktop/images/24012025/06/13/image_24012025_06_13_02_568447_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/11/image_24012025_06_11_02_364022_0003.jpg
/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0000.jpg
/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0001.jpg
/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0002.jpg
/home/pi/Desktop/images/24012025/06/12/image_24012025_06_12_02_857520_0003.jpg
/home/pi/Desktop/images/24012025/06/13/image_24012025_06_13_02_568447_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330951867","1330951896","1330951883","1330951892","1330951886","1330951888"],"photo_ids_order":["1330951867","1330951883","1330951886","1330951888","1330951892","1330951896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2e5fad6044bcaf5be0402bf81a265110.jpg","text":"TemporaryFile(/tmp/multipartBody1640391787832537647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695679283,"filename":"image_24012025_06_11_02_364022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0d7764c86df4f94530807e0da6dae973.jpg","text":"TemporaryFile(/tmp/multipartBody8372183610778128463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695679283,"filename":"image_24012025_06_13_02_568447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63084fa9f36e634913172c03bc5a4352.jpg","text":"TemporaryFile(/tmp/multipartBody1709237721523820978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695679283,"filename":"image_24012025_06_12_02_857520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cbf0065917af69ea3a2994d0a637282a.jpg","text":"TemporaryFile(/tmp/multipartBody8570730309991022885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695679283,"filename":"image_24012025_06_12_02_857520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b97d07681a45a3929d0460cc4deddf22.jpg","text":"TemporaryFile(/tmp/multipartBody7954669699238345678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695679283,"filename":"image_24012025_06_12_02_857520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5e1c6b0be27cca11dee6c8acbf3261dc.jpg","text":"TemporaryFile(/tmp/multipartBody8039626487600174376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695679283,"filename":"image_24012025_06_12_02_857520_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330951886","file1":"1330951883","file0":"1330951867","file4":"1330951892","file5":"1330951896","file3":"1330951888"},"map_files_photo_id_array":[{"photo_id":"1330951896","filename":"file5"},{"photo_id":"1330951886","filename":"file2"},{"photo_id":"1330951892","filename":"file4"},{"photo_id":"1330951883","filename":"file1"},{"photo_id":"1330951867","filename":"file0"},{"photo_id":"1330951888","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330951867":["hashtag1","hashtag2"]},{"1330951896":["hashtag1","hashtag2"]},{"1330951883":["hashtag1","hashtag2"]},{"1330951892":["hashtag1","hashtag2"]},{"1330951886":["hashtag1","hashtag2"]},{"1330951888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330951867, 1330951896, 1330951883, 1330951892, 1330951886, 1330951888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.81490516662598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:15:02.438316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/13/image_24012025_06_13_02_568447_0001.jpg', '/home/pi/Desktop/images/24012025/06/13/image_24012025_06_13_02_568447_0002.jpg', '/home/pi/Desktop/images/24012025/06/13/image_24012025_06_13_02_568447_0003.jpg', '/home/pi/Desktop/images/24012025/06/14/image_24012025_06_14_03_065097_0000.jpg', '/home/pi/Desktop/images/24012025/06/14/image_24012025_06_14_03_065097_0001.jpg', '/home/pi/Desktop/images/24012025/06/14/image_24012025_06_14_03_065097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/13/image_24012025_06_13_02_568447_0001.jpg
/home/pi/Desktop/images/24012025/06/13/image_24012025_06_13_02_568447_0002.jpg
/home/pi/Desktop/images/24012025/06/13/image_24012025_06_13_02_568447_0003.jpg
/home/pi/Desktop/images/24012025/06/14/image_24012025_06_14_03_065097_0000.jpg
/home/pi/Desktop/images/24012025/06/14/image_24012025_06_14_03_065097_0001.jpg
/home/pi/Desktop/images/24012025/06/14/image_24012025_06_14_03_065097_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330951953","1330951941","1330951958","1330951946","1330951949","1330951963"],"photo_ids_order":["1330951941","1330951946","1330951949","1330951953","1330951958","1330951963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0bc247c9378342864e074a4663f7ee8c.jpg","text":"TemporaryFile(/tmp/multipartBody471485644464441764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695779798,"filename":"image_24012025_06_14_03_065097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7b1d5b37f26304feac7adcb0a2555432.jpg","text":"TemporaryFile(/tmp/multipartBody2010396522998439569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695779798,"filename":"image_24012025_06_13_02_568447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1bec4ec50d7d67ca319523561c810349.jpg","text":"TemporaryFile(/tmp/multipartBody7742543923774799998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695779798,"filename":"image_24012025_06_14_03_065097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63ee8f6e821a9cef78946c8518dcd146.jpg","text":"TemporaryFile(/tmp/multipartBody7475355585846768619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695779798,"filename":"image_24012025_06_13_02_568447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b835e3e525a59e0a596bc8b24d837162.jpg","text":"TemporaryFile(/tmp/multipartBody7451167288440325186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695779798,"filename":"image_24012025_06_13_02_568447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/de8610f067d7dfe39bbd21f9ba33de07.jpg","text":"TemporaryFile(/tmp/multipartBody4289033245530121398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695779798,"filename":"image_24012025_06_14_03_065097_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330951949","file1":"1330951946","file0":"1330951941","file4":"1330951958","file5":"1330951963","file3":"1330951953"},"map_files_photo_id_array":[{"photo_id":"1330951963","filename":"file5"},{"photo_id":"1330951949","filename":"file2"},{"photo_id":"1330951958","filename":"file4"},{"photo_id":"1330951946","filename":"file1"},{"photo_id":"1330951941","filename":"file0"},{"photo_id":"1330951953","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330951953":["hashtag1","hashtag2"]},{"1330951941":["hashtag1","hashtag2"]},{"1330951958":["hashtag1","hashtag2"]},{"1330951946":["hashtag1","hashtag2"]},{"1330951949":["hashtag1","hashtag2"]},{"1330951963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330951953, 1330951941, 1330951958, 1330951946, 1330951949, 1330951963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.833571672439575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:16:02.872955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/14/image_24012025_06_14_03_065097_0003.jpg', '/home/pi/Desktop/images/24012025/06/15/image_24012025_06_15_02_649949_0000.jpg', '/home/pi/Desktop/images/24012025/06/15/image_24012025_06_15_02_649949_0001.jpg', '/home/pi/Desktop/images/24012025/06/15/image_24012025_06_15_02_649949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/14/image_24012025_06_14_03_065097_0003.jpg
/home/pi/Desktop/images/24012025/06/15/image_24012025_06_15_02_649949_0000.jpg
/home/pi/Desktop/images/24012025/06/15/image_24012025_06_15_02_649949_0001.jpg
/home/pi/Desktop/images/24012025/06/15/image_24012025_06_15_02_649949_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330952057","1330951994","1330951982","1330951988"],"photo_ids_order":["1330951982","1330951988","1330951994","1330952057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b754c555ca21d2c5bb57dde11132001.jpg","text":"TemporaryFile(/tmp/multipartBody260996831586232516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695834209,"filename":"image_24012025_06_15_02_649949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e00882aeff444b2dc2540d1b32ee61e.jpg","text":"TemporaryFile(/tmp/multipartBody3020092284133630566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695834209,"filename":"image_24012025_06_15_02_649949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f95a13e2935009a3b1ff740e21a559d.jpg","text":"TemporaryFile(/tmp/multipartBody613958459304381839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695834209,"filename":"image_24012025_06_14_03_065097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c32954baaf0e2804b3ecbc68747a695.jpg","text":"TemporaryFile(/tmp/multipartBody66817298970163317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695834209,"filename":"image_24012025_06_15_02_649949_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330951994","file1":"1330951988","file0":"1330951982","file3":"1330952057"},"map_files_photo_id_array":[{"photo_id":"1330951994","filename":"file2"},{"photo_id":"1330951988","filename":"file1"},{"photo_id":"1330951982","filename":"file0"},{"photo_id":"1330952057","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330952057":["hashtag1","hashtag2"]},{"1330951994":["hashtag1","hashtag2"]},{"1330951982":["hashtag1","hashtag2"]},{"1330951988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330952057, 1330951994, 1330951982, 1330951988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.01637530326843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:17:02.718251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/15/image_24012025_06_15_02_649949_0003.jpg', '/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0000.jpg', '/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0001.jpg', '/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/15/image_24012025_06_15_02_649949_0003.jpg
/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0000.jpg
/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0001.jpg
/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 13.874165058135986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:17:21.943096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/15/image_24012025_06_15_02_649949_0003.jpg', '/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0000.jpg', '/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0001.jpg', '/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0002.jpg', '/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0003.jpg', '/home/pi/Desktop/images/24012025/06/17/image_24012025_06_17_02_851674_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/15/image_24012025_06_15_02_649949_0003.jpg
/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0000.jpg
/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0001.jpg
/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0002.jpg
/home/pi/Desktop/images/24012025/06/16/image_24012025_06_16_02_193391_0003.jpg
/home/pi/Desktop/images/24012025/06/17/image_24012025_06_17_02_851674_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330952151","1330952154","1330952148","1330952157","1330952144","1330952140"],"photo_ids_order":["1330952140","1330952144","1330952148","1330952151","1330952154","1330952157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d62ee05de254201f58200521d2e8300b.jpg","text":"TemporaryFile(/tmp/multipartBody7875990117297964171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695918759,"filename":"image_24012025_06_16_02_193391_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/324e07caf6cb4c008120de036a55448e.jpg","text":"TemporaryFile(/tmp/multipartBody6702176128677026778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695918759,"filename":"image_24012025_06_16_02_193391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9711fb05d5a0f8e838d1fa3e29d8c3eb.jpg","text":"TemporaryFile(/tmp/multipartBody4714351783588468197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695918759,"filename":"image_24012025_06_16_02_193391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f6de53fe5118a9b02398baa220874d5.jpg","text":"TemporaryFile(/tmp/multipartBody4980761503128658407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695918759,"filename":"image_24012025_06_17_02_851674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a74601fb789e31ddb463791ec5507e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3002815501282742580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695918759,"filename":"image_24012025_06_16_02_193391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06ff5c22fba52d342d57652fce4d5116.jpg","text":"TemporaryFile(/tmp/multipartBody6968243163616519784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695918759,"filename":"image_24012025_06_15_02_649949_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330952148","file1":"1330952144","file0":"1330952140","file4":"1330952154","file5":"1330952157","file3":"1330952151"},"map_files_photo_id_array":[{"photo_id":"1330952157","filename":"file5"},{"photo_id":"1330952148","filename":"file2"},{"photo_id":"1330952154","filename":"file4"},{"photo_id":"1330952144","filename":"file1"},{"photo_id":"1330952140","filename":"file0"},{"photo_id":"1330952151","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330952151":["hashtag1","hashtag2"]},{"1330952154":["hashtag1","hashtag2"]},{"1330952148":["hashtag1","hashtag2"]},{"1330952157":["hashtag1","hashtag2"]},{"1330952144":["hashtag1","hashtag2"]},{"1330952140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330952151, 1330952154, 1330952148, 1330952157, 1330952144, 1330952140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.24762678146362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:18:21.860605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/17/image_24012025_06_17_02_851674_0001.jpg', '/home/pi/Desktop/images/24012025/06/17/image_24012025_06_17_02_851674_0002.jpg', '/home/pi/Desktop/images/24012025/06/17/image_24012025_06_17_02_851674_0003.jpg', '/home/pi/Desktop/images/24012025/06/18/image_24012025_06_18_02_430161_0000.jpg', '/home/pi/Desktop/images/24012025/06/18/image_24012025_06_18_02_430161_0001.jpg', '/home/pi/Desktop/images/24012025/06/18/image_24012025_06_18_02_430161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/17/image_24012025_06_17_02_851674_0001.jpg
/home/pi/Desktop/images/24012025/06/17/image_24012025_06_17_02_851674_0002.jpg
/home/pi/Desktop/images/24012025/06/17/image_24012025_06_17_02_851674_0003.jpg
/home/pi/Desktop/images/24012025/06/18/image_24012025_06_18_02_430161_0000.jpg
/home/pi/Desktop/images/24012025/06/18/image_24012025_06_18_02_430161_0001.jpg
/home/pi/Desktop/images/24012025/06/18/image_24012025_06_18_02_430161_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330952778","1330952664","1330952802","1330952822","1330952674","1330952827"],"photo_ids_order":["1330952664","1330952674","1330952778","1330952802","1330952822","1330952827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc73adcb9f01cf9111cab0714a78719a.jpg","text":"TemporaryFile(/tmp/multipartBody470606951820407163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695978580,"filename":"image_24012025_06_17_02_851674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/edec8daf87cff12acf0647e1a6e17fbb.jpg","text":"TemporaryFile(/tmp/multipartBody2658836762539758176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695978580,"filename":"image_24012025_06_17_02_851674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72019bafe0e996e1a9306772f3313cc5.jpg","text":"TemporaryFile(/tmp/multipartBody6722629277458006335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695978580,"filename":"image_24012025_06_18_02_430161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e4d4c21665bfe3d71dc288864d490b7.jpg","text":"TemporaryFile(/tmp/multipartBody6174273840344450276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695978580,"filename":"image_24012025_06_18_02_430161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd1bf04d72ab75894ab6bab4532e06d3.jpg","text":"TemporaryFile(/tmp/multipartBody7591085615410875568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695978580,"filename":"image_24012025_06_17_02_851674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ab585a8cc45a5405e9f37c4c9b935c6.jpg","text":"TemporaryFile(/tmp/multipartBody5187133182675991359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737695978580,"filename":"image_24012025_06_18_02_430161_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330952778","file1":"1330952674","file0":"1330952664","file4":"1330952822","file5":"1330952827","file3":"1330952802"},"map_files_photo_id_array":[{"photo_id":"1330952827","filename":"file5"},{"photo_id":"1330952778","filename":"file2"},{"photo_id":"1330952822","filename":"file4"},{"photo_id":"1330952674","filename":"file1"},{"photo_id":"1330952664","filename":"file0"},{"photo_id":"1330952802","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330952778":["hashtag1","hashtag2"]},{"1330952664":["hashtag1","hashtag2"]},{"1330952802":["hashtag1","hashtag2"]},{"1330952822":["hashtag1","hashtag2"]},{"1330952674":["hashtag1","hashtag2"]},{"1330952827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330952778, 1330952664, 1330952802, 1330952822, 1330952674, 1330952827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.37167572975159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:19:22.366922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/18/image_24012025_06_18_02_430161_0003.jpg', '/home/pi/Desktop/images/24012025/06/19/image_24012025_06_19_02_194317_0000.jpg', '/home/pi/Desktop/images/24012025/06/19/image_24012025_06_19_02_194317_0001.jpg', '/home/pi/Desktop/images/24012025/06/19/image_24012025_06_19_02_194317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/18/image_24012025_06_18_02_430161_0003.jpg
/home/pi/Desktop/images/24012025/06/19/image_24012025_06_19_02_194317_0000.jpg
/home/pi/Desktop/images/24012025/06/19/image_24012025_06_19_02_194317_0001.jpg
/home/pi/Desktop/images/24012025/06/19/image_24012025_06_19_02_194317_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330952859","1330952864","1330952854","1330952848"],"photo_ids_order":["1330952848","1330952854","1330952859","1330952864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9763c4697626901ba7e859ca4ef0550b.jpg","text":"TemporaryFile(/tmp/multipartBody6675551743501407565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696033896,"filename":"image_24012025_06_19_02_194317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48908ccb433fe29b7fb985ad4c27a7d3.jpg","text":"TemporaryFile(/tmp/multipartBody8813796648834034482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696033896,"filename":"image_24012025_06_19_02_194317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0d8c410ead9a113dc5b505dfcafdb0e3.jpg","text":"TemporaryFile(/tmp/multipartBody6284454949907268144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696033896,"filename":"image_24012025_06_19_02_194317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/05a4ade6b0a091abbdea3f16a66b46bb.jpg","text":"TemporaryFile(/tmp/multipartBody9071956175531750417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696033896,"filename":"image_24012025_06_18_02_430161_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330952859","file1":"1330952854","file0":"1330952848","file3":"1330952864"},"map_files_photo_id_array":[{"photo_id":"1330952859","filename":"file2"},{"photo_id":"1330952854","filename":"file1"},{"photo_id":"1330952848","filename":"file0"},{"photo_id":"1330952864","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330952859":["hashtag1","hashtag2"]},{"1330952864":["hashtag1","hashtag2"]},{"1330952854":["hashtag1","hashtag2"]},{"1330952848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330952859, 1330952864, 1330952854, 1330952848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45637917518616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:20:21.972125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/19/image_24012025_06_19_02_194317_0003.jpg', '/home/pi/Desktop/images/24012025/06/20/image_24012025_06_20_02_750362_0000.jpg', '/home/pi/Desktop/images/24012025/06/20/image_24012025_06_20_02_750362_0001.jpg', '/home/pi/Desktop/images/24012025/06/20/image_24012025_06_20_02_750362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/19/image_24012025_06_19_02_194317_0003.jpg
/home/pi/Desktop/images/24012025/06/20/image_24012025_06_20_02_750362_0000.jpg
/home/pi/Desktop/images/24012025/06/20/image_24012025_06_20_02_750362_0001.jpg
/home/pi/Desktop/images/24012025/06/20/image_24012025_06_20_02_750362_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330952934","1330952925","1330952930","1330952920"],"photo_ids_order":["1330952920","1330952925","1330952930","1330952934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1c51a88541d849ff2d6a2b4d9a2034c8.jpg","text":"TemporaryFile(/tmp/multipartBody5133274878541932009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696093691,"filename":"image_24012025_06_20_02_750362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7080bf2b8bd3cda4c7c8237b161190fb.jpg","text":"TemporaryFile(/tmp/multipartBody7940677408543434085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696093691,"filename":"image_24012025_06_20_02_750362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cf646b1665d95748352f735aa3c28e1f.jpg","text":"TemporaryFile(/tmp/multipartBody6145187926656553413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696093691,"filename":"image_24012025_06_20_02_750362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae8830abe3a78b77fca8e553e382ca2b.jpg","text":"TemporaryFile(/tmp/multipartBody3913178693244912688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696093691,"filename":"image_24012025_06_19_02_194317_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330952930","file1":"1330952925","file0":"1330952920","file3":"1330952934"},"map_files_photo_id_array":[{"photo_id":"1330952930","filename":"file2"},{"photo_id":"1330952925","filename":"file1"},{"photo_id":"1330952920","filename":"file0"},{"photo_id":"1330952934","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330952934":["hashtag1","hashtag2"]},{"1330952925":["hashtag1","hashtag2"]},{"1330952930":["hashtag1","hashtag2"]},{"1330952920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330952934, 1330952925, 1330952930, 1330952920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.845189571380615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:21:22.379062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/20/image_24012025_06_20_02_750362_0003.jpg', '/home/pi/Desktop/images/24012025/06/21/image_24012025_06_21_02_244160_0000.jpg', '/home/pi/Desktop/images/24012025/06/21/image_24012025_06_21_02_244160_0001.jpg', '/home/pi/Desktop/images/24012025/06/21/image_24012025_06_21_02_244160_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/20/image_24012025_06_20_02_750362_0003.jpg
/home/pi/Desktop/images/24012025/06/21/image_24012025_06_21_02_244160_0000.jpg
/home/pi/Desktop/images/24012025/06/21/image_24012025_06_21_02_244160_0001.jpg
/home/pi/Desktop/images/24012025/06/21/image_24012025_06_21_02_244160_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330952970","1330953001","1330952995","1330952988"],"photo_ids_order":["1330952970","1330952988","1330952995","1330953001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f708ed1138d6ab6fec686d039922e68.jpg","text":"TemporaryFile(/tmp/multipartBody5637494334411161456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696153844,"filename":"image_24012025_06_20_02_750362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb822848f28fdc32c9b1a53478f4e327.jpg","text":"TemporaryFile(/tmp/multipartBody5583424775821271907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696153844,"filename":"image_24012025_06_21_02_244160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f9479f185cb61d8e3bae63e68251e7f7.jpg","text":"TemporaryFile(/tmp/multipartBody4294119972771570770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696153844,"filename":"image_24012025_06_21_02_244160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cfa01cfaa9a4e0886cda3a526ccb4e45.jpg","text":"TemporaryFile(/tmp/multipartBody3196574370508708959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696153844,"filename":"image_24012025_06_21_02_244160_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330952995","file1":"1330952988","file0":"1330952970","file3":"1330953001"},"map_files_photo_id_array":[{"photo_id":"1330952995","filename":"file2"},{"photo_id":"1330952988","filename":"file1"},{"photo_id":"1330952970","filename":"file0"},{"photo_id":"1330953001","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330952970":["hashtag1","hashtag2"]},{"1330953001":["hashtag1","hashtag2"]},{"1330952995":["hashtag1","hashtag2"]},{"1330952988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330952970, 1330953001, 1330952995, 1330952988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.88944935798645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:22:21.863929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/21/image_24012025_06_21_02_244160_0003.jpg', '/home/pi/Desktop/images/24012025/06/22/image_24012025_06_22_02_720908_0000.jpg', '/home/pi/Desktop/images/24012025/06/22/image_24012025_06_22_02_720908_0001.jpg', '/home/pi/Desktop/images/24012025/06/22/image_24012025_06_22_02_720908_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/21/image_24012025_06_21_02_244160_0003.jpg
/home/pi/Desktop/images/24012025/06/22/image_24012025_06_22_02_720908_0000.jpg
/home/pi/Desktop/images/24012025/06/22/image_24012025_06_22_02_720908_0001.jpg
/home/pi/Desktop/images/24012025/06/22/image_24012025_06_22_02_720908_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330953072","1330953095","1330953077","1330953067"],"photo_ids_order":["1330953067","1330953072","1330953077","1330953095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3390d2435e4c74a379cd5e0c7dbfb730.jpg","text":"TemporaryFile(/tmp/multipartBody2002682323309341874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696213302,"filename":"image_24012025_06_22_02_720908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00baf459db32f7abc5c4bb95288ab7da.jpg","text":"TemporaryFile(/tmp/multipartBody5270317454689000140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696213302,"filename":"image_24012025_06_22_02_720908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/faeeef5c1641157681dbf745b30ef06c.jpg","text":"TemporaryFile(/tmp/multipartBody1552668469904959773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696213302,"filename":"image_24012025_06_22_02_720908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f1d38f888be1541a1663dc5b656dcbf.jpg","text":"TemporaryFile(/tmp/multipartBody759008326521858259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696213302,"filename":"image_24012025_06_21_02_244160_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330953077","file1":"1330953072","file0":"1330953067","file3":"1330953095"},"map_files_photo_id_array":[{"photo_id":"1330953077","filename":"file2"},{"photo_id":"1330953072","filename":"file1"},{"photo_id":"1330953067","filename":"file0"},{"photo_id":"1330953095","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330953072":["hashtag1","hashtag2"]},{"1330953095":["hashtag1","hashtag2"]},{"1330953077":["hashtag1","hashtag2"]},{"1330953067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330953072, 1330953095, 1330953077, 1330953067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.84429311752319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:23:22.313275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/22/image_24012025_06_22_02_720908_0003.jpg', '/home/pi/Desktop/images/24012025/06/23/image_24012025_06_23_02_233684_0000.jpg', '/home/pi/Desktop/images/24012025/06/23/image_24012025_06_23_02_233684_0001.jpg', '/home/pi/Desktop/images/24012025/06/23/image_24012025_06_23_02_233684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/22/image_24012025_06_22_02_720908_0003.jpg
/home/pi/Desktop/images/24012025/06/23/image_24012025_06_23_02_233684_0000.jpg
/home/pi/Desktop/images/24012025/06/23/image_24012025_06_23_02_233684_0001.jpg
/home/pi/Desktop/images/24012025/06/23/image_24012025_06_23_02_233684_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330953171","1330953176","1330953137","1330953160"],"photo_ids_order":["1330953137","1330953160","1330953171","1330953176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/080d0d8a660e3f815fb490d188bba59f.jpg","text":"TemporaryFile(/tmp/multipartBody2660898658954833453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696273850,"filename":"image_24012025_06_23_02_233684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce59297d188f0d910b0d1a9cf454239b.jpg","text":"TemporaryFile(/tmp/multipartBody2748577201791853164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696273850,"filename":"image_24012025_06_23_02_233684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd41943b6ad62de36836617765742154.jpg","text":"TemporaryFile(/tmp/multipartBody6447677327546244681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696273850,"filename":"image_24012025_06_22_02_720908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/99cb7cd0d053484572fc6fedf2f00cc4.jpg","text":"TemporaryFile(/tmp/multipartBody6045053002281169521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696273850,"filename":"image_24012025_06_23_02_233684_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330953171","file1":"1330953160","file0":"1330953137","file3":"1330953176"},"map_files_photo_id_array":[{"photo_id":"1330953171","filename":"file2"},{"photo_id":"1330953160","filename":"file1"},{"photo_id":"1330953137","filename":"file0"},{"photo_id":"1330953176","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330953171":["hashtag1","hashtag2"]},{"1330953176":["hashtag1","hashtag2"]},{"1330953137":["hashtag1","hashtag2"]},{"1330953160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330953171, 1330953176, 1330953137, 1330953160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.42921686172485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:24:22.282591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/23/image_24012025_06_23_02_233684_0003.jpg', '/home/pi/Desktop/images/24012025/06/24/image_24012025_06_24_02_780493_0000.jpg', '/home/pi/Desktop/images/24012025/06/24/image_24012025_06_24_02_780493_0001.jpg', '/home/pi/Desktop/images/24012025/06/24/image_24012025_06_24_02_780493_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/23/image_24012025_06_23_02_233684_0003.jpg
/home/pi/Desktop/images/24012025/06/24/image_24012025_06_24_02_780493_0000.jpg
/home/pi/Desktop/images/24012025/06/24/image_24012025_06_24_02_780493_0001.jpg
/home/pi/Desktop/images/24012025/06/24/image_24012025_06_24_02_780493_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330953257","1330953221","1330953239","1330953250"],"photo_ids_order":["1330953221","1330953239","1330953250","1330953257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/493a1565d8ca82ae4ec5b094813a82ce.jpg","text":"TemporaryFile(/tmp/multipartBody4307626787563647298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696333796,"filename":"image_24012025_06_24_02_780493_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/580c6d845beae412023971f552a90f99.jpg","text":"TemporaryFile(/tmp/multipartBody9016597995243924609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696333796,"filename":"image_24012025_06_23_02_233684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4a31e318dee40faf0fb7661871fd2bb0.jpg","text":"TemporaryFile(/tmp/multipartBody1698249410343386230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696333796,"filename":"image_24012025_06_24_02_780493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e746b3df4c5f3b0e4352ddbaea35eb06.jpg","text":"TemporaryFile(/tmp/multipartBody6993237629979800893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696333796,"filename":"image_24012025_06_24_02_780493_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330953250","file1":"1330953239","file0":"1330953221","file3":"1330953257"},"map_files_photo_id_array":[{"photo_id":"1330953250","filename":"file2"},{"photo_id":"1330953239","filename":"file1"},{"photo_id":"1330953221","filename":"file0"},{"photo_id":"1330953257","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330953257":["hashtag1","hashtag2"]},{"1330953221":["hashtag1","hashtag2"]},{"1330953239":["hashtag1","hashtag2"]},{"1330953250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330953257, 1330953221, 1330953239, 1330953250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.99258542060852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:25:21.753105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/24/image_24012025_06_24_02_780493_0003.jpg', '/home/pi/Desktop/images/24012025/06/25/image_24012025_06_25_02_632197_0000.jpg', '/home/pi/Desktop/images/24012025/06/25/image_24012025_06_25_02_632197_0001.jpg', '/home/pi/Desktop/images/24012025/06/25/image_24012025_06_25_02_632197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/24/image_24012025_06_24_02_780493_0003.jpg
/home/pi/Desktop/images/24012025/06/25/image_24012025_06_25_02_632197_0000.jpg
/home/pi/Desktop/images/24012025/06/25/image_24012025_06_25_02_632197_0001.jpg
/home/pi/Desktop/images/24012025/06/25/image_24012025_06_25_02_632197_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330953477","1330953470","1330953526","1330953511"],"photo_ids_order":["1330953470","1330953477","1330953511","1330953526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34b5dff2b732d7d2409ed4e288afe418.jpg","text":"TemporaryFile(/tmp/multipartBody3282713395179063356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696392726,"filename":"image_24012025_06_25_02_632197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9dbaec7682e8d6b2c88912c5e2b02087.jpg","text":"TemporaryFile(/tmp/multipartBody6224025953246061208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696392726,"filename":"image_24012025_06_24_02_780493_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/376252762cc89a512e3c84a15e7b57b0.jpg","text":"TemporaryFile(/tmp/multipartBody2928393560732215168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696392726,"filename":"image_24012025_06_25_02_632197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ed0ad762c7a7ba9e50ea0659ed4278a.jpg","text":"TemporaryFile(/tmp/multipartBody3469876757885738060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696392726,"filename":"image_24012025_06_25_02_632197_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330953511","file1":"1330953477","file0":"1330953470","file3":"1330953526"},"map_files_photo_id_array":[{"photo_id":"1330953511","filename":"file2"},{"photo_id":"1330953477","filename":"file1"},{"photo_id":"1330953470","filename":"file0"},{"photo_id":"1330953526","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330953477":["hashtag1","hashtag2"]},{"1330953470":["hashtag1","hashtag2"]},{"1330953526":["hashtag1","hashtag2"]},{"1330953511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330953477, 1330953470, 1330953526, 1330953511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.817840337753296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:26:22.366246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/25/image_24012025_06_25_02_632197_0003.jpg', '/home/pi/Desktop/images/24012025/06/26/image_24012025_06_26_02_204333_0000.jpg', '/home/pi/Desktop/images/24012025/06/26/image_24012025_06_26_02_204333_0001.jpg', '/home/pi/Desktop/images/24012025/06/26/image_24012025_06_26_02_204333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/25/image_24012025_06_25_02_632197_0003.jpg
/home/pi/Desktop/images/24012025/06/26/image_24012025_06_26_02_204333_0000.jpg
/home/pi/Desktop/images/24012025/06/26/image_24012025_06_26_02_204333_0001.jpg
/home/pi/Desktop/images/24012025/06/26/image_24012025_06_26_02_204333_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330953605","1330953635","1330953646","1330953610"],"photo_ids_order":["1330953605","1330953610","1330953635","1330953646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/66ffb0834a1fd09d5e95c369ed2fab0d.jpg","text":"TemporaryFile(/tmp/multipartBody7556188603538671168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696453978,"filename":"image_24012025_06_25_02_632197_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f287934c7b9bb5538632fa67b845d3f3.jpg","text":"TemporaryFile(/tmp/multipartBody1877308622832504537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696453978,"filename":"image_24012025_06_26_02_204333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6a1e814a0bfe60ccd3b1dc89a8f488b8.jpg","text":"TemporaryFile(/tmp/multipartBody1431925688290130180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696453978,"filename":"image_24012025_06_26_02_204333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec1c33b9bb4be557867922e4a0c79d60.jpg","text":"TemporaryFile(/tmp/multipartBody4338134550310233513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696453978,"filename":"image_24012025_06_26_02_204333_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330953635","file1":"1330953610","file0":"1330953605","file3":"1330953646"},"map_files_photo_id_array":[{"photo_id":"1330953635","filename":"file2"},{"photo_id":"1330953610","filename":"file1"},{"photo_id":"1330953605","filename":"file0"},{"photo_id":"1330953646","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330953605":["hashtag1","hashtag2"]},{"1330953635":["hashtag1","hashtag2"]},{"1330953646":["hashtag1","hashtag2"]},{"1330953610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330953605, 1330953635, 1330953646, 1330953610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15896248817444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:27:21.824976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/26/image_24012025_06_26_02_204333_0003.jpg', '/home/pi/Desktop/images/24012025/06/27/image_24012025_06_27_02_726913_0000.jpg', '/home/pi/Desktop/images/24012025/06/27/image_24012025_06_27_02_726913_0001.jpg', '/home/pi/Desktop/images/24012025/06/27/image_24012025_06_27_02_726913_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/26/image_24012025_06_26_02_204333_0003.jpg
/home/pi/Desktop/images/24012025/06/27/image_24012025_06_27_02_726913_0000.jpg
/home/pi/Desktop/images/24012025/06/27/image_24012025_06_27_02_726913_0001.jpg
/home/pi/Desktop/images/24012025/06/27/image_24012025_06_27_02_726913_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330953754","1330953745","1330953750","1330953738"],"photo_ids_order":["1330953738","1330953745","1330953750","1330953754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3baa67409acc337a32ccf94879d23d20.jpg","text":"TemporaryFile(/tmp/multipartBody5545860267447735465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696513176,"filename":"image_24012025_06_27_02_726913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a43b871d3932d1a7538064947047403.jpg","text":"TemporaryFile(/tmp/multipartBody4898508748428791109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696513176,"filename":"image_24012025_06_27_02_726913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aa2e6f1f392f25128cb20c606f2e6766.jpg","text":"TemporaryFile(/tmp/multipartBody7637146346306640456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696513176,"filename":"image_24012025_06_27_02_726913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4bb2f4a347f25b7058d812e788a373f3.jpg","text":"TemporaryFile(/tmp/multipartBody7262253793740782638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696513176,"filename":"image_24012025_06_26_02_204333_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330953750","file1":"1330953745","file0":"1330953738","file3":"1330953754"},"map_files_photo_id_array":[{"photo_id":"1330953750","filename":"file2"},{"photo_id":"1330953745","filename":"file1"},{"photo_id":"1330953738","filename":"file0"},{"photo_id":"1330953754","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330953754":["hashtag1","hashtag2"]},{"1330953745":["hashtag1","hashtag2"]},{"1330953750":["hashtag1","hashtag2"]},{"1330953738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330953754, 1330953745, 1330953750, 1330953738)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.153218030929565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:28:22.437995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/27/image_24012025_06_27_02_726913_0003.jpg', '/home/pi/Desktop/images/24012025/06/28/image_24012025_06_28_02_268135_0000.jpg', '/home/pi/Desktop/images/24012025/06/28/image_24012025_06_28_02_268135_0001.jpg', '/home/pi/Desktop/images/24012025/06/28/image_24012025_06_28_02_268135_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/27/image_24012025_06_27_02_726913_0003.jpg
/home/pi/Desktop/images/24012025/06/28/image_24012025_06_28_02_268135_0000.jpg
/home/pi/Desktop/images/24012025/06/28/image_24012025_06_28_02_268135_0001.jpg
/home/pi/Desktop/images/24012025/06/28/image_24012025_06_28_02_268135_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330953930","1330953947","1330953917","1330953952"],"photo_ids_order":["1330953917","1330953930","1330953947","1330953952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e69f3a553d29a093f24e0f957342a5e8.jpg","text":"TemporaryFile(/tmp/multipartBody2530497467433058367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696573651,"filename":"image_24012025_06_28_02_268135_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/349fda315c626da8468eec683eeab29b.jpg","text":"TemporaryFile(/tmp/multipartBody37874014942517483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696573651,"filename":"image_24012025_06_28_02_268135_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f8de56aaf6ed292ec00d599db12ee250.jpg","text":"TemporaryFile(/tmp/multipartBody4375420829503060010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696573651,"filename":"image_24012025_06_27_02_726913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a8529ca4684f778f71ab19aa6442f6c3.jpg","text":"TemporaryFile(/tmp/multipartBody4600441769125830714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696573651,"filename":"image_24012025_06_28_02_268135_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330953947","file1":"1330953930","file0":"1330953917","file3":"1330953952"},"map_files_photo_id_array":[{"photo_id":"1330953947","filename":"file2"},{"photo_id":"1330953930","filename":"file1"},{"photo_id":"1330953917","filename":"file0"},{"photo_id":"1330953952","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330953930":["hashtag1","hashtag2"]},{"1330953947":["hashtag1","hashtag2"]},{"1330953917":["hashtag1","hashtag2"]},{"1330953952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330953930, 1330953947, 1330953917, 1330953952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.8905975818634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:29:22.009277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/28/image_24012025_06_28_02_268135_0003.jpg', '/home/pi/Desktop/images/24012025/06/29/image_24012025_06_29_02_856244_0000.jpg', '/home/pi/Desktop/images/24012025/06/29/image_24012025_06_29_02_856244_0001.jpg', '/home/pi/Desktop/images/24012025/06/29/image_24012025_06_29_02_856244_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/28/image_24012025_06_28_02_268135_0003.jpg
/home/pi/Desktop/images/24012025/06/29/image_24012025_06_29_02_856244_0000.jpg
/home/pi/Desktop/images/24012025/06/29/image_24012025_06_29_02_856244_0001.jpg
/home/pi/Desktop/images/24012025/06/29/image_24012025_06_29_02_856244_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330953995","1330953989","1330953979","1330953984"],"photo_ids_order":["1330953979","1330953984","1330953989","1330953995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1670c7231c7173da2936e1e79ade1893.jpg","text":"TemporaryFile(/tmp/multipartBody7129085077137540010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696633252,"filename":"image_24012025_06_29_02_856244_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ebbbeb173ac1461a19c18fba3929b368.jpg","text":"TemporaryFile(/tmp/multipartBody7433352053978514788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696633252,"filename":"image_24012025_06_29_02_856244_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3bd80a25edf8de6972317e511389fe7c.jpg","text":"TemporaryFile(/tmp/multipartBody1227777128508233018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696633252,"filename":"image_24012025_06_28_02_268135_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cce47d93ab96c1545e15a68f5b88eb14.jpg","text":"TemporaryFile(/tmp/multipartBody2403396703241533372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696633252,"filename":"image_24012025_06_29_02_856244_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330953989","file1":"1330953984","file0":"1330953979","file3":"1330953995"},"map_files_photo_id_array":[{"photo_id":"1330953989","filename":"file2"},{"photo_id":"1330953984","filename":"file1"},{"photo_id":"1330953979","filename":"file0"},{"photo_id":"1330953995","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330953995":["hashtag1","hashtag2"]},{"1330953989":["hashtag1","hashtag2"]},{"1330953979":["hashtag1","hashtag2"]},{"1330953984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330953995, 1330953989, 1330953979, 1330953984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55428409576416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:30:02.954984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/20/40/image_21012025_20_40_03_165464_0000.jpg', '/home/pi/Desktop/images/21012025/20/40/image_21012025_20_40_03_165464_0001.jpg', '/home/pi/Desktop/images/21012025/20/40/image_21012025_20_40_03_165464_0002.jpg', '/home/pi/Desktop/images/21012025/20/40/image_21012025_20_40_03_165464_0003.jpg', '/home/pi/Desktop/images/21012025/20/41/image_21012025_20_41_02_240354_0000.jpg', '/home/pi/Desktop/images/21012025/20/41/image_21012025_20_41_02_240354_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/20/40/image_21012025_20_40_03_165464_0000.jpg
/home/pi/Desktop/images/21012025/20/40/image_21012025_20_40_03_165464_0001.jpg
/home/pi/Desktop/images/21012025/20/40/image_21012025_20_40_03_165464_0002.jpg
/home/pi/Desktop/images/21012025/20/40/image_21012025_20_40_03_165464_0003.jpg
/home/pi/Desktop/images/21012025/20/41/image_21012025_20_41_02_240354_0000.jpg
/home/pi/Desktop/images/21012025/20/41/image_21012025_20_41_02_240354_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330954091","1330954085","1330954070","1330954039","1330954077","1330954062"],"photo_ids_order":["1330954039","1330954062","1330954070","1330954077","1330954085","1330954091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00ad1cb5aa263f96044ebfa72307b256.jpg","text":"TemporaryFile(/tmp/multipartBody1428571912327947499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696681006,"filename":"image_21012025_20_41_02_240354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2856e5aa897bccf4d899cc6100f11284.jpg","text":"TemporaryFile(/tmp/multipartBody6667851479825621636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696681006,"filename":"image_21012025_20_41_02_240354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d436f32d30a5e80cc0d9bfa9df69149.jpg","text":"TemporaryFile(/tmp/multipartBody4272292247833042779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696681006,"filename":"image_21012025_20_40_03_165464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b53ab6f39d49aba647d765f691bb4774.jpg","text":"TemporaryFile(/tmp/multipartBody3153153869593524500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696681006,"filename":"image_21012025_20_40_03_165464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d776a4fe474ac4a6a6feda9f53396686.jpg","text":"TemporaryFile(/tmp/multipartBody6374779494386129603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696681006,"filename":"image_21012025_20_40_03_165464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/05a146e5e173a12befefec31124a0e04.jpg","text":"TemporaryFile(/tmp/multipartBody6820935184788630032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696681006,"filename":"image_21012025_20_40_03_165464_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330954070","file1":"1330954062","file0":"1330954039","file4":"1330954085","file5":"1330954091","file3":"1330954077"},"map_files_photo_id_array":[{"photo_id":"1330954091","filename":"file5"},{"photo_id":"1330954070","filename":"file2"},{"photo_id":"1330954085","filename":"file4"},{"photo_id":"1330954062","filename":"file1"},{"photo_id":"1330954039","filename":"file0"},{"photo_id":"1330954077","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1330954091":["hashtag1","hashtag2"]},{"1330954085":["hashtag1","hashtag2"]},{"1330954070":["hashtag1","hashtag2"]},{"1330954039":["hashtag1","hashtag2"]},{"1330954077":["hashtag1","hashtag2"]},{"1330954062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1330954091, 1330954085, 1330954070, 1330954039, 1330954077, 1330954062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.85734272003174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:31:21.994182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/29/image_24012025_06_29_02_856244_0003.jpg', '/home/pi/Desktop/images/24012025/06/30/image_24012025_06_30_02_415905_0000.jpg', '/home/pi/Desktop/images/24012025/06/30/image_24012025_06_30_02_415905_0001.jpg', '/home/pi/Desktop/images/24012025/06/30/image_24012025_06_30_02_415905_0002.jpg', '/home/pi/Desktop/images/24012025/06/30/image_24012025_06_30_02_415905_0003.jpg', '/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/29/image_24012025_06_29_02_856244_0003.jpg
/home/pi/Desktop/images/24012025/06/30/image_24012025_06_30_02_415905_0000.jpg
/home/pi/Desktop/images/24012025/06/30/image_24012025_06_30_02_415905_0001.jpg
/home/pi/Desktop/images/24012025/06/30/image_24012025_06_30_02_415905_0002.jpg
/home/pi/Desktop/images/24012025/06/30/image_24012025_06_30_02_415905_0003.jpg
/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330954148","1330954142","1330954150","1330954117","1330954137","1330954131"],"photo_ids_order":["1330954117","1330954131","1330954137","1330954142","1330954148","1330954150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/347eeb5afeac97430f6f883b93654397.jpg","text":"TemporaryFile(/tmp/multipartBody679471005736774617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696758598,"filename":"image_24012025_06_30_02_415905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d4e9540c593ae3150e9143322edddde.jpg","text":"TemporaryFile(/tmp/multipartBody6667869183196766061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696758598,"filename":"image_24012025_06_30_02_415905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f21e6212b980dd0e970b71eaa3e08e57.jpg","text":"TemporaryFile(/tmp/multipartBody2499992901093924262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696758598,"filename":"image_24012025_06_31_02_885821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb51e86ff3a76332a49d68aaf5a4464e.jpg","text":"TemporaryFile(/tmp/multipartBody3647679396266977496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696758598,"filename":"image_24012025_06_29_02_856244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b11380040863b51d60274a1dcfa3b0a0.jpg","text":"TemporaryFile(/tmp/multipartBody1986673894590529825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696758598,"filename":"image_24012025_06_30_02_415905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3f48e2b6db78b98aad79fb0909c690de.jpg","text":"TemporaryFile(/tmp/multipartBody2791027685828638534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696758598,"filename":"image_24012025_06_30_02_415905_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330954137","file1":"1330954131","file0":"1330954117","file4":"1330954148","file5":"1330954150","file3":"1330954142"},"map_files_photo_id_array":[{"photo_id":"1330954150","filename":"file5"},{"photo_id":"1330954137","filename":"file2"},{"photo_id":"1330954148","filename":"file4"},{"photo_id":"1330954131","filename":"file1"},{"photo_id":"1330954117","filename":"file0"},{"photo_id":"1330954142","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330954148":["hashtag1","hashtag2"]},{"1330954142":["hashtag1","hashtag2"]},{"1330954150":["hashtag1","hashtag2"]},{"1330954117":["hashtag1","hashtag2"]},{"1330954137":["hashtag1","hashtag2"]},{"1330954131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330954148, 1330954142, 1330954150, 1330954117, 1330954137, 1330954131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.101089000701904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:32:22.608243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0001.jpg', '/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0002.jpg', '/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0003.jpg', '/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0000.jpg', '/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0001.jpg', '/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0001.jpg
/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0002.jpg
/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0003.jpg
/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0000.jpg
/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0001.jpg
/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.599727869033813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:33:02.495878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0001.jpg', '/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0002.jpg', '/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0003.jpg', '/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0000.jpg', '/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0001.jpg', '/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0001.jpg
/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0002.jpg
/home/pi/Desktop/images/24012025/06/31/image_24012025_06_31_02_885821_0003.jpg
/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0000.jpg
/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0001.jpg
/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330954925","1330954760","1330954906","1330954893","1330954740","1330954728"],"photo_ids_order":["1330954728","1330954740","1330954760","1330954893","1330954906","1330954925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/746aefa0f63e29c1a1f2d835734709e8.jpg","text":"TemporaryFile(/tmp/multipartBody1571143950977699687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696858574,"filename":"image_24012025_06_32_02_422621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9076193363edacf40783846d6adc3afb.jpg","text":"TemporaryFile(/tmp/multipartBody2665342743860905451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696858574,"filename":"image_24012025_06_31_02_885821_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4fbafcddaaae4aaca6800789a9967deb.jpg","text":"TemporaryFile(/tmp/multipartBody8192625721308342194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696858574,"filename":"image_24012025_06_32_02_422621_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aa06cd995f31893888dad1ed1f8bf504.jpg","text":"TemporaryFile(/tmp/multipartBody3888644584578351741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696858574,"filename":"image_24012025_06_32_02_422621_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/41d038b8b0adc3e0d355c7fec9f11929.jpg","text":"TemporaryFile(/tmp/multipartBody2529482660159903291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696858574,"filename":"image_24012025_06_31_02_885821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9bcfc2372ddae80525ba37922907f4a7.jpg","text":"TemporaryFile(/tmp/multipartBody7955789646581567876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696858574,"filename":"image_24012025_06_31_02_885821_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330954760","file1":"1330954740","file0":"1330954728","file4":"1330954906","file5":"1330954925","file3":"1330954893"},"map_files_photo_id_array":[{"photo_id":"1330954925","filename":"file5"},{"photo_id":"1330954760","filename":"file2"},{"photo_id":"1330954906","filename":"file4"},{"photo_id":"1330954740","filename":"file1"},{"photo_id":"1330954728","filename":"file0"},{"photo_id":"1330954893","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330954925":["hashtag1","hashtag2"]},{"1330954760":["hashtag1","hashtag2"]},{"1330954906":["hashtag1","hashtag2"]},{"1330954893":["hashtag1","hashtag2"]},{"1330954740":["hashtag1","hashtag2"]},{"1330954728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330954925, 1330954760, 1330954906, 1330954893, 1330954740, 1330954728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.978750467300415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:34:02.296759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0003.jpg', '/home/pi/Desktop/images/24012025/06/33/image_24012025_06_33_02_921829_0000.jpg', '/home/pi/Desktop/images/24012025/06/33/image_24012025_06_33_02_921829_0001.jpg', '/home/pi/Desktop/images/24012025/06/33/image_24012025_06_33_02_921829_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/32/image_24012025_06_32_02_422621_0003.jpg
/home/pi/Desktop/images/24012025/06/33/image_24012025_06_33_02_921829_0000.jpg
/home/pi/Desktop/images/24012025/06/33/image_24012025_06_33_02_921829_0001.jpg
/home/pi/Desktop/images/24012025/06/33/image_24012025_06_33_02_921829_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330955045","1330955071","1330955076","1330955049"],"photo_ids_order":["1330955045","1330955049","1330955071","1330955076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39b16e85d5c7683c52175f0547142944.jpg","text":"TemporaryFile(/tmp/multipartBody2673469554570071437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696913473,"filename":"image_24012025_06_32_02_422621_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/93e1fa64d134afaa93fae850a686eed1.jpg","text":"TemporaryFile(/tmp/multipartBody1194164194976835527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696913473,"filename":"image_24012025_06_33_02_921829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/62ab83e4ad79dcc440045b3de636e889.jpg","text":"TemporaryFile(/tmp/multipartBody984673579169244948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696913473,"filename":"image_24012025_06_33_02_921829_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9314059690a10d58162fae782eff6c1a.jpg","text":"TemporaryFile(/tmp/multipartBody3741474912307263325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696913473,"filename":"image_24012025_06_33_02_921829_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330955071","file1":"1330955049","file0":"1330955045","file3":"1330955076"},"map_files_photo_id_array":[{"photo_id":"1330955071","filename":"file2"},{"photo_id":"1330955049","filename":"file1"},{"photo_id":"1330955045","filename":"file0"},{"photo_id":"1330955076","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330955045":["hashtag1","hashtag2"]},{"1330955071":["hashtag1","hashtag2"]},{"1330955076":["hashtag1","hashtag2"]},{"1330955049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330955045, 1330955071, 1330955076, 1330955049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4552640914917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:35:03.032685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/33/image_24012025_06_33_02_921829_0003.jpg', '/home/pi/Desktop/images/24012025/06/34/image_24012025_06_34_02_453803_0000.jpg', '/home/pi/Desktop/images/24012025/06/34/image_24012025_06_34_02_453803_0001.jpg', '/home/pi/Desktop/images/24012025/06/34/image_24012025_06_34_02_453803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/33/image_24012025_06_33_02_921829_0003.jpg
/home/pi/Desktop/images/24012025/06/34/image_24012025_06_34_02_453803_0000.jpg
/home/pi/Desktop/images/24012025/06/34/image_24012025_06_34_02_453803_0001.jpg
/home/pi/Desktop/images/24012025/06/34/image_24012025_06_34_02_453803_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330955105","1330955098","1330955097","1330955101"],"photo_ids_order":["1330955097","1330955098","1330955101","1330955105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1df2718472b97d9bfc4362aa16370edc.jpg","text":"TemporaryFile(/tmp/multipartBody7650775349287438705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696974356,"filename":"image_24012025_06_34_02_453803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30ba7f330667afd13f21198d18e1a517.jpg","text":"TemporaryFile(/tmp/multipartBody3970141460397419253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696974356,"filename":"image_24012025_06_34_02_453803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6aa08d6594c186495d516ad2b9653337.jpg","text":"TemporaryFile(/tmp/multipartBody4120190031771222846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696974356,"filename":"image_24012025_06_33_02_921829_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/27d588d42499c544cc0103f2240974b0.jpg","text":"TemporaryFile(/tmp/multipartBody6462564906245694113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737696974356,"filename":"image_24012025_06_34_02_453803_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330955101","file1":"1330955098","file0":"1330955097","file3":"1330955105"},"map_files_photo_id_array":[{"photo_id":"1330955101","filename":"file2"},{"photo_id":"1330955098","filename":"file1"},{"photo_id":"1330955097","filename":"file0"},{"photo_id":"1330955105","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330955105":["hashtag1","hashtag2"]},{"1330955098":["hashtag1","hashtag2"]},{"1330955097":["hashtag1","hashtag2"]},{"1330955101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330955105, 1330955098, 1330955097, 1330955101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.99804139137268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:36:02.259251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/34/image_24012025_06_34_02_453803_0003.jpg', '/home/pi/Desktop/images/24012025/06/35/image_24012025_06_35_02_162618_0000.jpg', '/home/pi/Desktop/images/24012025/06/35/image_24012025_06_35_02_162618_0001.jpg', '/home/pi/Desktop/images/24012025/06/35/image_24012025_06_35_02_162618_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/34/image_24012025_06_34_02_453803_0003.jpg
/home/pi/Desktop/images/24012025/06/35/image_24012025_06_35_02_162618_0000.jpg
/home/pi/Desktop/images/24012025/06/35/image_24012025_06_35_02_162618_0001.jpg
/home/pi/Desktop/images/24012025/06/35/image_24012025_06_35_02_162618_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330955167","1330955149","1330955137","1330955163"],"photo_ids_order":["1330955137","1330955149","1330955163","1330955167"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bbac344a795b86c878e0c3658f7a8a77.jpg","text":"TemporaryFile(/tmp/multipartBody4003933155597192841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697033709,"filename":"image_24012025_06_35_02_162618_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b5ee6ab50d7475eb05cba0811f8b869.jpg","text":"TemporaryFile(/tmp/multipartBody8737955409703999271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697033709,"filename":"image_24012025_06_35_02_162618_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b099fad38fd42263fcb1bd51e092451.jpg","text":"TemporaryFile(/tmp/multipartBody4532666791174428253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697033709,"filename":"image_24012025_06_34_02_453803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/870d10720f87ba4af94f85943640370b.jpg","text":"TemporaryFile(/tmp/multipartBody6552577573072440593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697033709,"filename":"image_24012025_06_35_02_162618_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330955163","file1":"1330955149","file0":"1330955137","file3":"1330955167"},"map_files_photo_id_array":[{"photo_id":"1330955163","filename":"file2"},{"photo_id":"1330955149","filename":"file1"},{"photo_id":"1330955137","filename":"file0"},{"photo_id":"1330955167","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330955167":["hashtag1","hashtag2"]},{"1330955149":["hashtag1","hashtag2"]},{"1330955137":["hashtag1","hashtag2"]},{"1330955163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330955167, 1330955149, 1330955137, 1330955163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62375211715698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:37:02.884154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/35/image_24012025_06_35_02_162618_0003.jpg', '/home/pi/Desktop/images/24012025/06/36/image_24012025_06_36_02_667540_0000.jpg', '/home/pi/Desktop/images/24012025/06/36/image_24012025_06_36_02_667540_0001.jpg', '/home/pi/Desktop/images/24012025/06/36/image_24012025_06_36_02_667540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/35/image_24012025_06_35_02_162618_0003.jpg
/home/pi/Desktop/images/24012025/06/36/image_24012025_06_36_02_667540_0000.jpg
/home/pi/Desktop/images/24012025/06/36/image_24012025_06_36_02_667540_0001.jpg
/home/pi/Desktop/images/24012025/06/36/image_24012025_06_36_02_667540_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330955252","1330955242","1330955245","1330955235"],"photo_ids_order":["1330955235","1330955242","1330955245","1330955252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aed3b8aeb505a043ba81090dc436981c.jpg","text":"TemporaryFile(/tmp/multipartBody1028506536247765655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697094298,"filename":"image_24012025_06_36_02_667540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/43615c113c021697806fa5bba1aec1c4.jpg","text":"TemporaryFile(/tmp/multipartBody4970084130481922228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697094298,"filename":"image_24012025_06_36_02_667540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d00775da2dc7e1b20a12205fe4a7829.jpg","text":"TemporaryFile(/tmp/multipartBody302094519806740313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697094298,"filename":"image_24012025_06_36_02_667540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec2b6ccd5fc98a65e05364616f2eaf78.jpg","text":"TemporaryFile(/tmp/multipartBody7895762239942141117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697094298,"filename":"image_24012025_06_35_02_162618_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330955245","file1":"1330955242","file0":"1330955235","file3":"1330955252"},"map_files_photo_id_array":[{"photo_id":"1330955245","filename":"file2"},{"photo_id":"1330955242","filename":"file1"},{"photo_id":"1330955235","filename":"file0"},{"photo_id":"1330955252","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330955252":["hashtag1","hashtag2"]},{"1330955242":["hashtag1","hashtag2"]},{"1330955245":["hashtag1","hashtag2"]},{"1330955235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330955252, 1330955242, 1330955245, 1330955235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.95681929588318 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:38:02.674432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/36/image_24012025_06_36_02_667540_0003.jpg', '/home/pi/Desktop/images/24012025/06/37/image_24012025_06_37_02_241171_0000.jpg', '/home/pi/Desktop/images/24012025/06/37/image_24012025_06_37_02_241171_0001.jpg', '/home/pi/Desktop/images/24012025/06/37/image_24012025_06_37_02_241171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/36/image_24012025_06_36_02_667540_0003.jpg
/home/pi/Desktop/images/24012025/06/37/image_24012025_06_37_02_241171_0000.jpg
/home/pi/Desktop/images/24012025/06/37/image_24012025_06_37_02_241171_0001.jpg
/home/pi/Desktop/images/24012025/06/37/image_24012025_06_37_02_241171_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330955290","1330955295","1330955301","1330955285"],"photo_ids_order":["1330955285","1330955290","1330955295","1330955301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48ac8167a666b4edafdce210c8258247.jpg","text":"TemporaryFile(/tmp/multipartBody776188456267416256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697154117,"filename":"image_24012025_06_37_02_241171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3f3d5f73c77ffc99d78cfa8656fe9d71.jpg","text":"TemporaryFile(/tmp/multipartBody4409365552213150903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697154117,"filename":"image_24012025_06_37_02_241171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e28850ef4e878373e5f57deb248e84d.jpg","text":"TemporaryFile(/tmp/multipartBody2477974213086055375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697154117,"filename":"image_24012025_06_37_02_241171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a90c399c67f1146e117ec6b4ef6e037.jpg","text":"TemporaryFile(/tmp/multipartBody7966490943368959831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697154117,"filename":"image_24012025_06_36_02_667540_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330955295","file1":"1330955290","file0":"1330955285","file3":"1330955301"},"map_files_photo_id_array":[{"photo_id":"1330955295","filename":"file2"},{"photo_id":"1330955290","filename":"file1"},{"photo_id":"1330955285","filename":"file0"},{"photo_id":"1330955301","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330955290":["hashtag1","hashtag2"]},{"1330955295":["hashtag1","hashtag2"]},{"1330955301":["hashtag1","hashtag2"]},{"1330955285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330955290, 1330955295, 1330955301, 1330955285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.29011058807373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:39:02.285819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/37/image_24012025_06_37_02_241171_0003.jpg', '/home/pi/Desktop/images/24012025/06/38/image_24012025_06_38_02_750147_0000.jpg', '/home/pi/Desktop/images/24012025/06/38/image_24012025_06_38_02_750147_0001.jpg', '/home/pi/Desktop/images/24012025/06/38/image_24012025_06_38_02_750147_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/37/image_24012025_06_37_02_241171_0003.jpg
/home/pi/Desktop/images/24012025/06/38/image_24012025_06_38_02_750147_0000.jpg
/home/pi/Desktop/images/24012025/06/38/image_24012025_06_38_02_750147_0001.jpg
/home/pi/Desktop/images/24012025/06/38/image_24012025_06_38_02_750147_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330955431","1330955347","1330955361","1330955447"],"photo_ids_order":["1330955347","1330955361","1330955431","1330955447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/35f8d97de4fac9285a569e8ada01ea25.jpg","text":"TemporaryFile(/tmp/multipartBody6867089665442105466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697213981,"filename":"image_24012025_06_38_02_750147_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21c034f9e32f3028ee12adc684be8139.jpg","text":"TemporaryFile(/tmp/multipartBody1275553535128070570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697213981,"filename":"image_24012025_06_37_02_241171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/25422cc91ce5023a9a9a1a0590599340.jpg","text":"TemporaryFile(/tmp/multipartBody3299497631904196950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697213981,"filename":"image_24012025_06_38_02_750147_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b45712f4693f77353251410ceb7772d.jpg","text":"TemporaryFile(/tmp/multipartBody8268849093992177853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697213981,"filename":"image_24012025_06_38_02_750147_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330955431","file1":"1330955361","file0":"1330955347","file3":"1330955447"},"map_files_photo_id_array":[{"photo_id":"1330955431","filename":"file2"},{"photo_id":"1330955361","filename":"file1"},{"photo_id":"1330955347","filename":"file0"},{"photo_id":"1330955447","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330955431":["hashtag1","hashtag2"]},{"1330955347":["hashtag1","hashtag2"]},{"1330955361":["hashtag1","hashtag2"]},{"1330955447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330955431, 1330955347, 1330955361, 1330955447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.60888624191284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:40:02.790754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/38/image_24012025_06_38_02_750147_0003.jpg', '/home/pi/Desktop/images/24012025/06/39/image_24012025_06_39_02_601154_0000.jpg', '/home/pi/Desktop/images/24012025/06/39/image_24012025_06_39_02_601154_0001.jpg', '/home/pi/Desktop/images/24012025/06/39/image_24012025_06_39_02_601154_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/38/image_24012025_06_38_02_750147_0003.jpg
/home/pi/Desktop/images/24012025/06/39/image_24012025_06_39_02_601154_0000.jpg
/home/pi/Desktop/images/24012025/06/39/image_24012025_06_39_02_601154_0001.jpg
/home/pi/Desktop/images/24012025/06/39/image_24012025_06_39_02_601154_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330955549","1330955545","1330955547","1330955552"],"photo_ids_order":["1330955545","1330955547","1330955549","1330955552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0e33e5e28bad178a3f4bbc1d11d63e5.jpg","text":"TemporaryFile(/tmp/multipartBody130231326286195543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697274462,"filename":"image_24012025_06_39_02_601154_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7eab2e6038566ed3436e95005c30fb6b.jpg","text":"TemporaryFile(/tmp/multipartBody8915475399947809620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697274462,"filename":"image_24012025_06_38_02_750147_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6a9bb32769a8babbb2b4cf76370b2a1b.jpg","text":"TemporaryFile(/tmp/multipartBody8172429779992623774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697274462,"filename":"image_24012025_06_39_02_601154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/552db538ad8361575e540efec8fabeb3.jpg","text":"TemporaryFile(/tmp/multipartBody5082265903603354301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697274462,"filename":"image_24012025_06_39_02_601154_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330955549","file1":"1330955547","file0":"1330955545","file3":"1330955552"},"map_files_photo_id_array":[{"photo_id":"1330955549","filename":"file2"},{"photo_id":"1330955547","filename":"file1"},{"photo_id":"1330955545","filename":"file0"},{"photo_id":"1330955552","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330955549":["hashtag1","hashtag2"]},{"1330955545":["hashtag1","hashtag2"]},{"1330955547":["hashtag1","hashtag2"]},{"1330955552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330955549, 1330955545, 1330955547, 1330955552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.04942274093628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:41:02.509624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/39/image_24012025_06_39_02_601154_0003.jpg', '/home/pi/Desktop/images/24012025/06/40/image_24012025_06_40_02_098269_0000.jpg', '/home/pi/Desktop/images/24012025/06/40/image_24012025_06_40_02_098269_0001.jpg', '/home/pi/Desktop/images/24012025/06/40/image_24012025_06_40_02_098269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/39/image_24012025_06_39_02_601154_0003.jpg
/home/pi/Desktop/images/24012025/06/40/image_24012025_06_40_02_098269_0000.jpg
/home/pi/Desktop/images/24012025/06/40/image_24012025_06_40_02_098269_0001.jpg
/home/pi/Desktop/images/24012025/06/40/image_24012025_06_40_02_098269_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330955627","1330955621","1330955615","1330955617"],"photo_ids_order":["1330955615","1330955617","1330955621","1330955627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c147b431153565eca26f7a3a8624fe3b.jpg","text":"TemporaryFile(/tmp/multipartBody6965650342771504281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697334008,"filename":"image_24012025_06_40_02_098269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/572697d59a7fe7638510c4b2eadf37eb.jpg","text":"TemporaryFile(/tmp/multipartBody1195947438076661794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697334008,"filename":"image_24012025_06_40_02_098269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0ffb664a197a000ca64d2b138f3b218.jpg","text":"TemporaryFile(/tmp/multipartBody717161329991191755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697334008,"filename":"image_24012025_06_39_02_601154_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3786fb2589211d9ac267062bad67e1d5.jpg","text":"TemporaryFile(/tmp/multipartBody5280773478338519370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697334008,"filename":"image_24012025_06_40_02_098269_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330955621","file1":"1330955617","file0":"1330955615","file3":"1330955627"},"map_files_photo_id_array":[{"photo_id":"1330955621","filename":"file2"},{"photo_id":"1330955617","filename":"file1"},{"photo_id":"1330955615","filename":"file0"},{"photo_id":"1330955627","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330955627":["hashtag1","hashtag2"]},{"1330955621":["hashtag1","hashtag2"]},{"1330955615":["hashtag1","hashtag2"]},{"1330955617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330955627, 1330955621, 1330955615, 1330955617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.665112257003784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:42:03.030300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/40/image_24012025_06_40_02_098269_0003.jpg', '/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0000.jpg', '/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0001.jpg', '/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/40/image_24012025_06_40_02_098269_0003.jpg
/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0000.jpg
/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0001.jpg
/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.938597679138184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:42:22.571726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/40/image_24012025_06_40_02_098269_0003.jpg', '/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0000.jpg', '/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0001.jpg', '/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0002.jpg', '/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0003.jpg', '/home/pi/Desktop/images/24012025/06/42/image_24012025_06_42_02_342827_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/40/image_24012025_06_40_02_098269_0003.jpg
/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0000.jpg
/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0001.jpg
/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0002.jpg
/home/pi/Desktop/images/24012025/06/41/image_24012025_06_41_02_799691_0003.jpg
/home/pi/Desktop/images/24012025/06/42/image_24012025_06_42_02_342827_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330955797","1330955782","1330955787","1330955792","1330955795","1330955798"],"photo_ids_order":["1330955782","1330955787","1330955792","1330955795","1330955797","1330955798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72061b1d14f6474175c6a659d1d87a64.jpg","text":"TemporaryFile(/tmp/multipartBody2842043828231021444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697419327,"filename":"image_24012025_06_41_02_799691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b0f5809da816155ddf69c74258c67f8.jpg","text":"TemporaryFile(/tmp/multipartBody6983687149442612287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697419327,"filename":"image_24012025_06_40_02_098269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/755d27387e0563e21344a45b7eb13491.jpg","text":"TemporaryFile(/tmp/multipartBody8223161588279972053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697419327,"filename":"image_24012025_06_41_02_799691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f28071f822ec5c61da16054936666d7f.jpg","text":"TemporaryFile(/tmp/multipartBody4351407213080308720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697419327,"filename":"image_24012025_06_41_02_799691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1b88e73836c4f830a2154c6c839ba4a.jpg","text":"TemporaryFile(/tmp/multipartBody3747982706701910800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697419327,"filename":"image_24012025_06_41_02_799691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/437423652cbb328b2ba15e1d95cb324d.jpg","text":"TemporaryFile(/tmp/multipartBody5012561995780834506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697419327,"filename":"image_24012025_06_42_02_342827_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330955792","file1":"1330955787","file0":"1330955782","file4":"1330955797","file5":"1330955798","file3":"1330955795"},"map_files_photo_id_array":[{"photo_id":"1330955798","filename":"file5"},{"photo_id":"1330955792","filename":"file2"},{"photo_id":"1330955797","filename":"file4"},{"photo_id":"1330955787","filename":"file1"},{"photo_id":"1330955782","filename":"file0"},{"photo_id":"1330955795","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330955797":["hashtag1","hashtag2"]},{"1330955782":["hashtag1","hashtag2"]},{"1330955787":["hashtag1","hashtag2"]},{"1330955792":["hashtag1","hashtag2"]},{"1330955795":["hashtag1","hashtag2"]},{"1330955798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330955797, 1330955782, 1330955787, 1330955792, 1330955795, 1330955798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.63454723358154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:43:22.106714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/42/image_24012025_06_42_02_342827_0001.jpg', '/home/pi/Desktop/images/24012025/06/42/image_24012025_06_42_02_342827_0002.jpg', '/home/pi/Desktop/images/24012025/06/42/image_24012025_06_42_02_342827_0003.jpg', '/home/pi/Desktop/images/24012025/06/43/image_24012025_06_43_02_976267_0000.jpg', '/home/pi/Desktop/images/24012025/06/43/image_24012025_06_43_02_976267_0001.jpg', '/home/pi/Desktop/images/24012025/06/43/image_24012025_06_43_02_976267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/42/image_24012025_06_42_02_342827_0001.jpg
/home/pi/Desktop/images/24012025/06/42/image_24012025_06_42_02_342827_0002.jpg
/home/pi/Desktop/images/24012025/06/42/image_24012025_06_42_02_342827_0003.jpg
/home/pi/Desktop/images/24012025/06/43/image_24012025_06_43_02_976267_0000.jpg
/home/pi/Desktop/images/24012025/06/43/image_24012025_06_43_02_976267_0001.jpg
/home/pi/Desktop/images/24012025/06/43/image_24012025_06_43_02_976267_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330955849","1330955860","1330955844","1330955853","1330955856","1330955837"],"photo_ids_order":["1330955837","1330955844","1330955849","1330955853","1330955856","1330955860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65b83f823aba0e23b8210a73c1fd71e8.jpg","text":"TemporaryFile(/tmp/multipartBody3214801543453594636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697479189,"filename":"image_24012025_06_42_02_342827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a5eb1f6da9fb61275f4e337b70fd5112.jpg","text":"TemporaryFile(/tmp/multipartBody1665541579742954935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697479189,"filename":"image_24012025_06_43_02_976267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f63c0e2240f04546fe9381f63bf943a9.jpg","text":"TemporaryFile(/tmp/multipartBody3017879701543558101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697479189,"filename":"image_24012025_06_42_02_342827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b805f3df4d33326e54ce12dbf533f40.jpg","text":"TemporaryFile(/tmp/multipartBody6343708361176395936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697479189,"filename":"image_24012025_06_43_02_976267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48e0290386a2dfc3ebfc0970f4f44024.jpg","text":"TemporaryFile(/tmp/multipartBody8294628005051844774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697479189,"filename":"image_24012025_06_43_02_976267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0e15b85b566c7c47abb45cddbce58ed.jpg","text":"TemporaryFile(/tmp/multipartBody3886928393681768659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697479189,"filename":"image_24012025_06_42_02_342827_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330955849","file1":"1330955844","file0":"1330955837","file4":"1330955856","file5":"1330955860","file3":"1330955853"},"map_files_photo_id_array":[{"photo_id":"1330955860","filename":"file5"},{"photo_id":"1330955849","filename":"file2"},{"photo_id":"1330955856","filename":"file4"},{"photo_id":"1330955844","filename":"file1"},{"photo_id":"1330955837","filename":"file0"},{"photo_id":"1330955853","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330955849":["hashtag1","hashtag2"]},{"1330955860":["hashtag1","hashtag2"]},{"1330955844":["hashtag1","hashtag2"]},{"1330955853":["hashtag1","hashtag2"]},{"1330955856":["hashtag1","hashtag2"]},{"1330955837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330955849, 1330955860, 1330955844, 1330955853, 1330955856, 1330955837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.41838812828064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:45:02.983998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/43/image_24012025_06_43_02_976267_0003.jpg', '/home/pi/Desktop/images/24012025/06/44/image_24012025_06_44_02_581609_0000.jpg', '/home/pi/Desktop/images/24012025/06/44/image_24012025_06_44_02_581609_0001.jpg', '/home/pi/Desktop/images/24012025/06/44/image_24012025_06_44_02_581609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/43/image_24012025_06_43_02_976267_0003.jpg
/home/pi/Desktop/images/24012025/06/44/image_24012025_06_44_02_581609_0000.jpg
/home/pi/Desktop/images/24012025/06/44/image_24012025_06_44_02_581609_0001.jpg
/home/pi/Desktop/images/24012025/06/44/image_24012025_06_44_02_581609_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330955947","1330955982","1330955975","1330955954"],"photo_ids_order":["1330955947","1330955954","1330955975","1330955982"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f2b2c527d4cf8de0568525033e9809f.jpg","text":"TemporaryFile(/tmp/multipartBody5296581628081323266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697574979,"filename":"image_24012025_06_43_02_976267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45ca314032736ce2fddc14af0488dab4.jpg","text":"TemporaryFile(/tmp/multipartBody2677984469194437824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697574979,"filename":"image_24012025_06_44_02_581609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e352f3cad30a52f1399856f4c1a60603.jpg","text":"TemporaryFile(/tmp/multipartBody1422895021791336480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697574979,"filename":"image_24012025_06_44_02_581609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ca8684f52303db391976165b4e2522fe.jpg","text":"TemporaryFile(/tmp/multipartBody7007480871105964457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697574979,"filename":"image_24012025_06_44_02_581609_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330955975","file1":"1330955954","file0":"1330955947","file3":"1330955982"},"map_files_photo_id_array":[{"photo_id":"1330955975","filename":"file2"},{"photo_id":"1330955954","filename":"file1"},{"photo_id":"1330955947","filename":"file0"},{"photo_id":"1330955982","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330955947":["hashtag1","hashtag2"]},{"1330955982":["hashtag1","hashtag2"]},{"1330955975":["hashtag1","hashtag2"]},{"1330955954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330955947, 1330955982, 1330955975, 1330955954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67870807647705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:46:02.541941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/44/image_24012025_06_44_02_581609_0003.jpg', '/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0000.jpg', '/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0001.jpg', '/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/44/image_24012025_06_44_02_581609_0003.jpg
/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0000.jpg
/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0001.jpg
/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.271759748458862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:46:22.147395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/44/image_24012025_06_44_02_581609_0003.jpg', '/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0000.jpg', '/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0001.jpg', '/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0002.jpg', '/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0003.jpg', '/home/pi/Desktop/images/24012025/06/46/image_24012025_06_46_02_734963_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/44/image_24012025_06_44_02_581609_0003.jpg
/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0000.jpg
/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0001.jpg
/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0002.jpg
/home/pi/Desktop/images/24012025/06/45/image_24012025_06_45_03_160329_0003.jpg
/home/pi/Desktop/images/24012025/06/46/image_24012025_06_46_02_734963_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330956274","1330956291","1330956285","1330956288","1330956281","1330956266"],"photo_ids_order":["1330956266","1330956274","1330956281","1330956285","1330956288","1330956291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6426e59ca43d936695712da9fa93ba96.jpg","text":"TemporaryFile(/tmp/multipartBody6198028033483914576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697659147,"filename":"image_24012025_06_45_03_160329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21f7652d2c6dffad3fe0886b519e7e1a.jpg","text":"TemporaryFile(/tmp/multipartBody3256086415891415702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697659147,"filename":"image_24012025_06_46_02_734963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8c3ad42f371e75ef511ed4ea349323a0.jpg","text":"TemporaryFile(/tmp/multipartBody7110308669361369060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697659147,"filename":"image_24012025_06_45_03_160329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45092cb5c0c6987f47217aee96d5f092.jpg","text":"TemporaryFile(/tmp/multipartBody3397712432645541579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697659147,"filename":"image_24012025_06_45_03_160329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6699007f23fef945c7ab2d2617fd4f3d.jpg","text":"TemporaryFile(/tmp/multipartBody5477069528868415290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697659147,"filename":"image_24012025_06_45_03_160329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/156dd68056ccd3d648e499bf6b83586a.jpg","text":"TemporaryFile(/tmp/multipartBody1425177217947489654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697659147,"filename":"image_24012025_06_44_02_581609_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330956281","file1":"1330956274","file0":"1330956266","file4":"1330956288","file5":"1330956291","file3":"1330956285"},"map_files_photo_id_array":[{"photo_id":"1330956291","filename":"file5"},{"photo_id":"1330956281","filename":"file2"},{"photo_id":"1330956288","filename":"file4"},{"photo_id":"1330956274","filename":"file1"},{"photo_id":"1330956266","filename":"file0"},{"photo_id":"1330956285","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330956274":["hashtag1","hashtag2"]},{"1330956291":["hashtag1","hashtag2"]},{"1330956285":["hashtag1","hashtag2"]},{"1330956288":["hashtag1","hashtag2"]},{"1330956281":["hashtag1","hashtag2"]},{"1330956266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330956274, 1330956291, 1330956285, 1330956288, 1330956281, 1330956266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.48388171195984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:48:02.714220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/46/image_24012025_06_46_02_734963_0001.jpg', '/home/pi/Desktop/images/24012025/06/46/image_24012025_06_46_02_734963_0002.jpg', '/home/pi/Desktop/images/24012025/06/46/image_24012025_06_46_02_734963_0003.jpg', '/home/pi/Desktop/images/24012025/06/47/image_24012025_06_47_02_502662_0000.jpg', '/home/pi/Desktop/images/24012025/06/47/image_24012025_06_47_02_502662_0001.jpg', '/home/pi/Desktop/images/24012025/06/47/image_24012025_06_47_02_502662_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/46/image_24012025_06_46_02_734963_0001.jpg
/home/pi/Desktop/images/24012025/06/46/image_24012025_06_46_02_734963_0002.jpg
/home/pi/Desktop/images/24012025/06/46/image_24012025_06_46_02_734963_0003.jpg
/home/pi/Desktop/images/24012025/06/47/image_24012025_06_47_02_502662_0000.jpg
/home/pi/Desktop/images/24012025/06/47/image_24012025_06_47_02_502662_0001.jpg
/home/pi/Desktop/images/24012025/06/47/image_24012025_06_47_02_502662_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330956388","1330956373","1330956382","1330956354","1330956348","1330956342"],"photo_ids_order":["1330956342","1330956348","1330956354","1330956373","1330956382","1330956388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2b1c5008611d8600093fe1271aedcc75.jpg","text":"TemporaryFile(/tmp/multipartBody99070374296938463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697759598,"filename":"image_24012025_06_47_02_502662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c1ccbb9d57af2e1b00ecd7f7779dbcd8.jpg","text":"TemporaryFile(/tmp/multipartBody5465708674751905752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697759598,"filename":"image_24012025_06_47_02_502662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1b0b2f47bbfeb06172e47716b619ccd9.jpg","text":"TemporaryFile(/tmp/multipartBody52539862773072926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697759598,"filename":"image_24012025_06_47_02_502662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4579ec800986740906ff200cd644a29d.jpg","text":"TemporaryFile(/tmp/multipartBody5032658259494223921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697759598,"filename":"image_24012025_06_46_02_734963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4be981208cfd5da8211fc3b09fc0ee1e.jpg","text":"TemporaryFile(/tmp/multipartBody1238684706619861472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697759598,"filename":"image_24012025_06_46_02_734963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1f990481403c3a64391fc6b421b4afa.jpg","text":"TemporaryFile(/tmp/multipartBody5628803100481018110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697759598,"filename":"image_24012025_06_46_02_734963_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330956354","file1":"1330956348","file0":"1330956342","file4":"1330956382","file5":"1330956388","file3":"1330956373"},"map_files_photo_id_array":[{"photo_id":"1330956388","filename":"file5"},{"photo_id":"1330956354","filename":"file2"},{"photo_id":"1330956382","filename":"file4"},{"photo_id":"1330956348","filename":"file1"},{"photo_id":"1330956342","filename":"file0"},{"photo_id":"1330956373","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330956388":["hashtag1","hashtag2"]},{"1330956373":["hashtag1","hashtag2"]},{"1330956382":["hashtag1","hashtag2"]},{"1330956354":["hashtag1","hashtag2"]},{"1330956348":["hashtag1","hashtag2"]},{"1330956342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330956388, 1330956373, 1330956382, 1330956354, 1330956348, 1330956342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.77538061141968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:49:21.709972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/47/image_24012025_06_47_02_502662_0003.jpg', '/home/pi/Desktop/images/24012025/06/48/image_24012025_06_48_03_071168_0000.jpg', '/home/pi/Desktop/images/24012025/06/48/image_24012025_06_48_03_071168_0001.jpg', '/home/pi/Desktop/images/24012025/06/48/image_24012025_06_48_03_071168_0002.jpg', '/home/pi/Desktop/images/24012025/06/48/image_24012025_06_48_03_071168_0003.jpg', '/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/47/image_24012025_06_47_02_502662_0003.jpg
/home/pi/Desktop/images/24012025/06/48/image_24012025_06_48_03_071168_0000.jpg
/home/pi/Desktop/images/24012025/06/48/image_24012025_06_48_03_071168_0001.jpg
/home/pi/Desktop/images/24012025/06/48/image_24012025_06_48_03_071168_0002.jpg
/home/pi/Desktop/images/24012025/06/48/image_24012025_06_48_03_071168_0003.jpg
/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330956478","1330956439","1330956470","1330956458","1330956443","1330956434"],"photo_ids_order":["1330956434","1330956439","1330956443","1330956458","1330956470","1330956478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7854f672975b608f5888843ee98cd46.jpg","text":"TemporaryFile(/tmp/multipartBody3998718732087889849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697837928,"filename":"image_24012025_06_49_02_639020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00755d8948b47e443df101737ce8d03c.jpg","text":"TemporaryFile(/tmp/multipartBody6269342351911787945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697837928,"filename":"image_24012025_06_48_03_071168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/541282463d89b24aacce3ed677fb2ade.jpg","text":"TemporaryFile(/tmp/multipartBody5764673277185659347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697837928,"filename":"image_24012025_06_48_03_071168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/df2e73f69fc7348f04bd81fce0e84f00.jpg","text":"TemporaryFile(/tmp/multipartBody1322110878556883941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697837928,"filename":"image_24012025_06_48_03_071168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6c59b2a45410959d14346f2e101a6bcb.jpg","text":"TemporaryFile(/tmp/multipartBody8321367777967754434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697837928,"filename":"image_24012025_06_48_03_071168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bcb95cb342cff4cda8be6117aaf17fa7.jpg","text":"TemporaryFile(/tmp/multipartBody764000240481811150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697837928,"filename":"image_24012025_06_47_02_502662_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330956443","file1":"1330956439","file0":"1330956434","file4":"1330956470","file5":"1330956478","file3":"1330956458"},"map_files_photo_id_array":[{"photo_id":"1330956478","filename":"file5"},{"photo_id":"1330956443","filename":"file2"},{"photo_id":"1330956470","filename":"file4"},{"photo_id":"1330956439","filename":"file1"},{"photo_id":"1330956434","filename":"file0"},{"photo_id":"1330956458","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330956478":["hashtag1","hashtag2"]},{"1330956439":["hashtag1","hashtag2"]},{"1330956470":["hashtag1","hashtag2"]},{"1330956458":["hashtag1","hashtag2"]},{"1330956443":["hashtag1","hashtag2"]},{"1330956434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330956478, 1330956439, 1330956470, 1330956458, 1330956443, 1330956434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.87098526954651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:50:22.294668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0001.jpg', '/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0002.jpg', '/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0003.jpg', '/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0000.jpg', '/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0001.jpg', '/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0001.jpg
/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0002.jpg
/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0003.jpg
/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0000.jpg
/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0001.jpg
/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.40429973602295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:51:03.389730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0001.jpg', '/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0002.jpg', '/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0003.jpg', '/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0000.jpg', '/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0001.jpg', '/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0001.jpg
/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0002.jpg
/home/pi/Desktop/images/24012025/06/49/image_24012025_06_49_02_639020_0003.jpg
/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0000.jpg
/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0001.jpg
/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330956778","1330956771","1330956785","1330956788","1330956782","1330956764"],"photo_ids_order":["1330956764","1330956771","1330956778","1330956782","1330956785","1330956788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db3b3ce23fcf60a85c345949cc54c1b0.jpg","text":"TemporaryFile(/tmp/multipartBody1128861921783452837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697940263,"filename":"image_24012025_06_49_02_639020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/166fec9c79373affd08255793744717e.jpg","text":"TemporaryFile(/tmp/multipartBody236247165391121837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697940263,"filename":"image_24012025_06_49_02_639020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/142ae053ec87985adfb8514686c7b8db.jpg","text":"TemporaryFile(/tmp/multipartBody4164233189807439338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697940263,"filename":"image_24012025_06_50_02_127507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c46af31dfbf02bce8bc79e40f7e2bbe1.jpg","text":"TemporaryFile(/tmp/multipartBody8091021006504656203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697940263,"filename":"image_24012025_06_50_02_127507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bbb95730b6f769d0222b2ca1d8ba7d97.jpg","text":"TemporaryFile(/tmp/multipartBody84376237715260578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697940263,"filename":"image_24012025_06_50_02_127507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5140f8fa656b5a3969df62f8d4c49205.jpg","text":"TemporaryFile(/tmp/multipartBody4060837053024011955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737697940263,"filename":"image_24012025_06_49_02_639020_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330956778","file1":"1330956771","file0":"1330956764","file4":"1330956785","file5":"1330956788","file3":"1330956782"},"map_files_photo_id_array":[{"photo_id":"1330956788","filename":"file5"},{"photo_id":"1330956778","filename":"file2"},{"photo_id":"1330956785","filename":"file4"},{"photo_id":"1330956771","filename":"file1"},{"photo_id":"1330956764","filename":"file0"},{"photo_id":"1330956782","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330956778":["hashtag1","hashtag2"]},{"1330956771":["hashtag1","hashtag2"]},{"1330956785":["hashtag1","hashtag2"]},{"1330956788":["hashtag1","hashtag2"]},{"1330956782":["hashtag1","hashtag2"]},{"1330956764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330956778, 1330956771, 1330956785, 1330956788, 1330956782, 1330956764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.468074560165405 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:52:22.402557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0003.jpg', '/home/pi/Desktop/images/24012025/06/51/image_24012025_06_51_02_606507_0000.jpg', '/home/pi/Desktop/images/24012025/06/51/image_24012025_06_51_02_606507_0001.jpg', '/home/pi/Desktop/images/24012025/06/51/image_24012025_06_51_02_606507_0002.jpg', '/home/pi/Desktop/images/24012025/06/51/image_24012025_06_51_02_606507_0003.jpg', '/home/pi/Desktop/images/24012025/06/52/image_24012025_06_52_03_131937_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/50/image_24012025_06_50_02_127507_0003.jpg
/home/pi/Desktop/images/24012025/06/51/image_24012025_06_51_02_606507_0000.jpg
/home/pi/Desktop/images/24012025/06/51/image_24012025_06_51_02_606507_0001.jpg
/home/pi/Desktop/images/24012025/06/51/image_24012025_06_51_02_606507_0002.jpg
/home/pi/Desktop/images/24012025/06/51/image_24012025_06_51_02_606507_0003.jpg
/home/pi/Desktop/images/24012025/06/52/image_24012025_06_52_03_131937_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330956844","1330956853","1330956835","1330956829","1330956849","1330956839"],"photo_ids_order":["1330956829","1330956835","1330956839","1330956844","1330956849","1330956853"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1ea0b82701752450e4c1ff3c466e19f.jpg","text":"TemporaryFile(/tmp/multipartBody2078612622193938693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698019081,"filename":"image_24012025_06_51_02_606507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/219ddace2e019462e8ab2adbae2ecb3b.jpg","text":"TemporaryFile(/tmp/multipartBody4725331144178944557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698019081,"filename":"image_24012025_06_52_03_131937_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c049c9899e5d7f621388b390a0eff541.jpg","text":"TemporaryFile(/tmp/multipartBody7099657754411104427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698019081,"filename":"image_24012025_06_51_02_606507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e58aa93766324ecaccaeb71b128baddf.jpg","text":"TemporaryFile(/tmp/multipartBody7869939772719750546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698019081,"filename":"image_24012025_06_50_02_127507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7bfce234321c189b2e6ca8e002a975ec.jpg","text":"TemporaryFile(/tmp/multipartBody7691190665259200921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698019081,"filename":"image_24012025_06_51_02_606507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1117cce35be28e6d9b22c732595abe99.jpg","text":"TemporaryFile(/tmp/multipartBody1018423712946884977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698019081,"filename":"image_24012025_06_51_02_606507_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330956839","file1":"1330956835","file0":"1330956829","file4":"1330956849","file5":"1330956853","file3":"1330956844"},"map_files_photo_id_array":[{"photo_id":"1330956853","filename":"file5"},{"photo_id":"1330956839","filename":"file2"},{"photo_id":"1330956849","filename":"file4"},{"photo_id":"1330956835","filename":"file1"},{"photo_id":"1330956829","filename":"file0"},{"photo_id":"1330956844","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330956844":["hashtag1","hashtag2"]},{"1330956853":["hashtag1","hashtag2"]},{"1330956835":["hashtag1","hashtag2"]},{"1330956829":["hashtag1","hashtag2"]},{"1330956849":["hashtag1","hashtag2"]},{"1330956839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330956844, 1330956853, 1330956835, 1330956829, 1330956849, 1330956839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.81109261512756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:54:02.735893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/52/image_24012025_06_52_03_131937_0001.jpg', '/home/pi/Desktop/images/24012025/06/52/image_24012025_06_52_03_131937_0002.jpg', '/home/pi/Desktop/images/24012025/06/52/image_24012025_06_52_03_131937_0003.jpg', '/home/pi/Desktop/images/24012025/06/53/image_24012025_06_53_02_745556_0000.jpg', '/home/pi/Desktop/images/24012025/06/53/image_24012025_06_53_02_745556_0001.jpg', '/home/pi/Desktop/images/24012025/06/53/image_24012025_06_53_02_745556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/52/image_24012025_06_52_03_131937_0001.jpg
/home/pi/Desktop/images/24012025/06/52/image_24012025_06_52_03_131937_0002.jpg
/home/pi/Desktop/images/24012025/06/52/image_24012025_06_52_03_131937_0003.jpg
/home/pi/Desktop/images/24012025/06/53/image_24012025_06_53_02_745556_0000.jpg
/home/pi/Desktop/images/24012025/06/53/image_24012025_06_53_02_745556_0001.jpg
/home/pi/Desktop/images/24012025/06/53/image_24012025_06_53_02_745556_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330957006","1330956970","1330956924","1330956921","1330956986","1330957016"],"photo_ids_order":["1330956921","1330956924","1330956970","1330956986","1330957006","1330957016"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/44fac805c6303cd1f9f019673d4dba07.jpg","text":"TemporaryFile(/tmp/multipartBody2032752545184157937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698119339,"filename":"image_24012025_06_53_02_745556_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0e9eff87d648f07614a232d04acf38fd.jpg","text":"TemporaryFile(/tmp/multipartBody2031134494113850452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698119339,"filename":"image_24012025_06_52_03_131937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae336006e52c4e82b7f3a844d14a42e3.jpg","text":"TemporaryFile(/tmp/multipartBody7160586532839344202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698119339,"filename":"image_24012025_06_52_03_131937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb39a42deb8cc18ea8fea8420fc5278f.jpg","text":"TemporaryFile(/tmp/multipartBody5065195358676002460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698119339,"filename":"image_24012025_06_52_03_131937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e2534589cc8464f3c7a6e84fe4806729.jpg","text":"TemporaryFile(/tmp/multipartBody2609367076365162090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698119339,"filename":"image_24012025_06_53_02_745556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fe5d7a978cc55ce0e4961824045248cf.jpg","text":"TemporaryFile(/tmp/multipartBody628436705682221214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698119339,"filename":"image_24012025_06_53_02_745556_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330956970","file1":"1330956924","file0":"1330956921","file4":"1330957006","file5":"1330957016","file3":"1330956986"},"map_files_photo_id_array":[{"photo_id":"1330957016","filename":"file5"},{"photo_id":"1330956970","filename":"file2"},{"photo_id":"1330957006","filename":"file4"},{"photo_id":"1330956924","filename":"file1"},{"photo_id":"1330956921","filename":"file0"},{"photo_id":"1330956986","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330957006":["hashtag1","hashtag2"]},{"1330956970":["hashtag1","hashtag2"]},{"1330956924":["hashtag1","hashtag2"]},{"1330956921":["hashtag1","hashtag2"]},{"1330956986":["hashtag1","hashtag2"]},{"1330957016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330957006, 1330956970, 1330956924, 1330956921, 1330956986, 1330957016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.44237303733826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:55:21.918348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/53/image_24012025_06_53_02_745556_0003.jpg', '/home/pi/Desktop/images/24012025/06/54/image_24012025_06_54_02_229695_0000.jpg', '/home/pi/Desktop/images/24012025/06/54/image_24012025_06_54_02_229695_0001.jpg', '/home/pi/Desktop/images/24012025/06/54/image_24012025_06_54_02_229695_0002.jpg', '/home/pi/Desktop/images/24012025/06/54/image_24012025_06_54_02_229695_0003.jpg', '/home/pi/Desktop/images/24012025/06/55/image_24012025_06_55_02_824802_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/53/image_24012025_06_53_02_745556_0003.jpg
/home/pi/Desktop/images/24012025/06/54/image_24012025_06_54_02_229695_0000.jpg
/home/pi/Desktop/images/24012025/06/54/image_24012025_06_54_02_229695_0001.jpg
/home/pi/Desktop/images/24012025/06/54/image_24012025_06_54_02_229695_0002.jpg
/home/pi/Desktop/images/24012025/06/54/image_24012025_06_54_02_229695_0003.jpg
/home/pi/Desktop/images/24012025/06/55/image_24012025_06_55_02_824802_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330957054","1330957071","1330957074","1330957069","1330957063","1330957057"],"photo_ids_order":["1330957054","1330957057","1330957063","1330957069","1330957071","1330957074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b9a0091a5cc3efc30f02a01b82c11022.jpg","text":"TemporaryFile(/tmp/multipartBody1104673266998144814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698199002,"filename":"image_24012025_06_53_02_745556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4bf1dc91f82a06abe45fac67c766d3c7.jpg","text":"TemporaryFile(/tmp/multipartBody976564386232775876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698199002,"filename":"image_24012025_06_54_02_229695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/000b46226a56c1e1c619f669c8a85c12.jpg","text":"TemporaryFile(/tmp/multipartBody3038477000595223817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698199002,"filename":"image_24012025_06_55_02_824802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9424b47e944781543181ec06e8b25678.jpg","text":"TemporaryFile(/tmp/multipartBody7842320788786814551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698199002,"filename":"image_24012025_06_54_02_229695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d096dbabbaa43d4cc9f79fbf010d5ed1.jpg","text":"TemporaryFile(/tmp/multipartBody2655865106930691274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698199002,"filename":"image_24012025_06_54_02_229695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f03bceb2066fbdf34b08799419fdb57.jpg","text":"TemporaryFile(/tmp/multipartBody3800664173544903554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698199002,"filename":"image_24012025_06_54_02_229695_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330957063","file1":"1330957057","file0":"1330957054","file4":"1330957071","file5":"1330957074","file3":"1330957069"},"map_files_photo_id_array":[{"photo_id":"1330957074","filename":"file5"},{"photo_id":"1330957063","filename":"file2"},{"photo_id":"1330957071","filename":"file4"},{"photo_id":"1330957057","filename":"file1"},{"photo_id":"1330957054","filename":"file0"},{"photo_id":"1330957069","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330957054":["hashtag1","hashtag2"]},{"1330957071":["hashtag1","hashtag2"]},{"1330957074":["hashtag1","hashtag2"]},{"1330957069":["hashtag1","hashtag2"]},{"1330957063":["hashtag1","hashtag2"]},{"1330957057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330957054, 1330957071, 1330957074, 1330957069, 1330957063, 1330957057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.82311534881592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:56:22.540260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/55/image_24012025_06_55_02_824802_0001.jpg', '/home/pi/Desktop/images/24012025/06/55/image_24012025_06_55_02_824802_0002.jpg', '/home/pi/Desktop/images/24012025/06/55/image_24012025_06_55_02_824802_0003.jpg', '/home/pi/Desktop/images/24012025/06/56/image_24012025_06_56_02_350358_0000.jpg', '/home/pi/Desktop/images/24012025/06/56/image_24012025_06_56_02_350358_0001.jpg', '/home/pi/Desktop/images/24012025/06/56/image_24012025_06_56_02_350358_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/55/image_24012025_06_55_02_824802_0001.jpg
/home/pi/Desktop/images/24012025/06/55/image_24012025_06_55_02_824802_0002.jpg
/home/pi/Desktop/images/24012025/06/55/image_24012025_06_55_02_824802_0003.jpg
/home/pi/Desktop/images/24012025/06/56/image_24012025_06_56_02_350358_0000.jpg
/home/pi/Desktop/images/24012025/06/56/image_24012025_06_56_02_350358_0001.jpg
/home/pi/Desktop/images/24012025/06/56/image_24012025_06_56_02_350358_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330957111","1330957114","1330957108","1330957119","1330957100","1330957103"],"photo_ids_order":["1330957100","1330957103","1330957108","1330957111","1330957114","1330957119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48f9c2d5b6b02f1a765a71f7ba015bd5.jpg","text":"TemporaryFile(/tmp/multipartBody6639925295933783914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698259587,"filename":"image_24012025_06_56_02_350358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f30b902af00a40167e7af1d983a6ff8c.jpg","text":"TemporaryFile(/tmp/multipartBody5800465587451148510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698259587,"filename":"image_24012025_06_56_02_350358_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06b912fe69a7dc64bfc15e93f4134b62.jpg","text":"TemporaryFile(/tmp/multipartBody2346985664529539279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698259587,"filename":"image_24012025_06_55_02_824802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/97a09652226e180baf3f154c6ed3faae.jpg","text":"TemporaryFile(/tmp/multipartBody3707699825060929654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698259587,"filename":"image_24012025_06_56_02_350358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9a696becaf8347f4fcef96a278e2de80.jpg","text":"TemporaryFile(/tmp/multipartBody1665640968584176201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698259587,"filename":"image_24012025_06_55_02_824802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/945c6e38d1ca11763c9808f6e1657b48.jpg","text":"TemporaryFile(/tmp/multipartBody3837404558928254492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698259587,"filename":"image_24012025_06_55_02_824802_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330957108","file1":"1330957103","file0":"1330957100","file4":"1330957114","file5":"1330957119","file3":"1330957111"},"map_files_photo_id_array":[{"photo_id":"1330957119","filename":"file5"},{"photo_id":"1330957108","filename":"file2"},{"photo_id":"1330957114","filename":"file4"},{"photo_id":"1330957103","filename":"file1"},{"photo_id":"1330957100","filename":"file0"},{"photo_id":"1330957111","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330957111":["hashtag1","hashtag2"]},{"1330957114":["hashtag1","hashtag2"]},{"1330957108":["hashtag1","hashtag2"]},{"1330957119":["hashtag1","hashtag2"]},{"1330957100":["hashtag1","hashtag2"]},{"1330957103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330957111, 1330957114, 1330957108, 1330957119, 1330957100, 1330957103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.48983287811279 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 06:57:21.906359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/56/image_24012025_06_56_02_350358_0003.jpg', '/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0000.jpg', '/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0001.jpg', '/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/56/image_24012025_06_56_02_350358_0003.jpg
/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0000.jpg
/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0001.jpg
/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0002.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 06:59:02.488297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/56/image_24012025_06_56_02_350358_0003.jpg', '/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0000.jpg', '/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0001.jpg', '/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0002.jpg', '/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0003.jpg', '/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/56/image_24012025_06_56_02_350358_0003.jpg
/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0000.jpg
/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0001.jpg
/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0002.jpg
/home/pi/Desktop/images/24012025/06/57/image_24012025_06_57_02_872392_0003.jpg
/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330957264","1330957275","1330957236","1330957280","1330957277","1330957271"],"photo_ids_order":["1330957236","1330957264","1330957271","1330957275","1330957277","1330957280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c95cfe0478ae9165c463cc15ec373785.jpg","text":"TemporaryFile(/tmp/multipartBody9060384079345631353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698419735,"filename":"image_24012025_06_57_02_872392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/85db798c72fa71ac688dfef768b79874.jpg","text":"TemporaryFile(/tmp/multipartBody5007056906332524802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698419735,"filename":"image_24012025_06_57_02_872392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d77685f4ff9d79676ee4bcbe9069b3a0.jpg","text":"TemporaryFile(/tmp/multipartBody8106931724956688446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698419735,"filename":"image_24012025_06_56_02_350358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3fd8709625ea38762d3c6ff0d4e1997d.jpg","text":"TemporaryFile(/tmp/multipartBody9006506327117378568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698419735,"filename":"image_24012025_06_58_02_395484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab93fdec069bd52573761e3a96e33d55.jpg","text":"TemporaryFile(/tmp/multipartBody5412881219400466473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698419735,"filename":"image_24012025_06_57_02_872392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0659e8b4b61165abbef2bc890934935.jpg","text":"TemporaryFile(/tmp/multipartBody8048488567714152992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698419735,"filename":"image_24012025_06_57_02_872392_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330957271","file1":"1330957264","file0":"1330957236","file4":"1330957277","file5":"1330957280","file3":"1330957275"},"map_files_photo_id_array":[{"photo_id":"1330957280","filename":"file5"},{"photo_id":"1330957271","filename":"file2"},{"photo_id":"1330957277","filename":"file4"},{"photo_id":"1330957264","filename":"file1"},{"photo_id":"1330957236","filename":"file0"},{"photo_id":"1330957275","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330957264":["hashtag1","hashtag2"]},{"1330957275":["hashtag1","hashtag2"]},{"1330957236":["hashtag1","hashtag2"]},{"1330957280":["hashtag1","hashtag2"]},{"1330957277":["hashtag1","hashtag2"]},{"1330957271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330957264, 1330957275, 1330957236, 1330957280, 1330957277, 1330957271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.864701986312866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:00:02.873241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0001.jpg', '/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0002.jpg', '/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0003.jpg', '/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0000.jpg', '/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0001.jpg', '/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0001.jpg
/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0002.jpg
/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0003.jpg
/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0000.jpg
/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0001.jpg
/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.57146430015564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:00:22.436368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0001.jpg', '/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0002.jpg', '/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0003.jpg', '/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0000.jpg', '/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0001.jpg', '/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0001.jpg
/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0002.jpg
/home/pi/Desktop/images/24012025/06/58/image_24012025_06_58_02_395484_0003.jpg
/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0000.jpg
/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0001.jpg
/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330957336","1330957339","1330957332","1330957341","1330957343","1330957348"],"photo_ids_order":["1330957332","1330957336","1330957339","1330957341","1330957343","1330957348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5df88064137ec1eba4d1c920bf1c987c.jpg","text":"TemporaryFile(/tmp/multipartBody6896744145503928304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698499369,"filename":"image_24012025_06_58_02_395484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8e6bbef260901698794ed10387fd456.jpg","text":"TemporaryFile(/tmp/multipartBody5490875640801177678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698499369,"filename":"image_24012025_06_58_02_395484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/35099224612b349a7661b4123e62b34b.jpg","text":"TemporaryFile(/tmp/multipartBody1978549947787632371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698499369,"filename":"image_24012025_06_58_02_395484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec32a34b19242319ff91835d1a4b51d6.jpg","text":"TemporaryFile(/tmp/multipartBody5955997724388524978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698499369,"filename":"image_24012025_06_59_03_014451_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c96c9ccc3515ac1b84e2b755e4ad6062.jpg","text":"TemporaryFile(/tmp/multipartBody3264874978843186634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698499369,"filename":"image_24012025_06_59_03_014451_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/396a7dac9c309adddf212094e2682458.jpg","text":"TemporaryFile(/tmp/multipartBody4467265666728793220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698499369,"filename":"image_24012025_06_59_03_014451_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330957339","file1":"1330957336","file0":"1330957332","file4":"1330957343","file5":"1330957348","file3":"1330957341"},"map_files_photo_id_array":[{"photo_id":"1330957348","filename":"file5"},{"photo_id":"1330957339","filename":"file2"},{"photo_id":"1330957343","filename":"file4"},{"photo_id":"1330957336","filename":"file1"},{"photo_id":"1330957332","filename":"file0"},{"photo_id":"1330957341","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330957336":["hashtag1","hashtag2"]},{"1330957339":["hashtag1","hashtag2"]},{"1330957332":["hashtag1","hashtag2"]},{"1330957341":["hashtag1","hashtag2"]},{"1330957343":["hashtag1","hashtag2"]},{"1330957348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330957336, 1330957339, 1330957332, 1330957341, 1330957343, 1330957348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.44644618034363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:01:21.938215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0003.jpg', '/home/pi/Desktop/images/24012025/07/00/image_24012025_07_00_02_217268_0000.jpg', '/home/pi/Desktop/images/24012025/07/00/image_24012025_07_00_02_217268_0001.jpg', '/home/pi/Desktop/images/24012025/07/00/image_24012025_07_00_02_217268_0002.jpg', '/home/pi/Desktop/images/24012025/07/00/image_24012025_07_00_02_217268_0003.jpg', '/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/06/59/image_24012025_06_59_03_014451_0003.jpg
/home/pi/Desktop/images/24012025/07/00/image_24012025_07_00_02_217268_0000.jpg
/home/pi/Desktop/images/24012025/07/00/image_24012025_07_00_02_217268_0001.jpg
/home/pi/Desktop/images/24012025/07/00/image_24012025_07_00_02_217268_0002.jpg
/home/pi/Desktop/images/24012025/07/00/image_24012025_07_00_02_217268_0003.jpg
/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330957402","1330957416","1330957412","1330957406","1330957409","1330957399"],"photo_ids_order":["1330957399","1330957402","1330957406","1330957409","1330957412","1330957416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dfa99e459de7e5de0b67ea26f555de8f.jpg","text":"TemporaryFile(/tmp/multipartBody6747530040514039971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698558863,"filename":"image_24012025_07_00_02_217268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b8415791924057e0fb0511ed9ab434bc.jpg","text":"TemporaryFile(/tmp/multipartBody4737784094673513462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698558863,"filename":"image_24012025_07_01_02_823752_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ba7c2833d7289c936414d97108663a1.jpg","text":"TemporaryFile(/tmp/multipartBody7501471284674585634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698558863,"filename":"image_24012025_07_00_02_217268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/68c600f30f8133331fe3be617624f0a3.jpg","text":"TemporaryFile(/tmp/multipartBody5154243858021157940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698558863,"filename":"image_24012025_07_00_02_217268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/41016978a9971fd40912634a426a8cf7.jpg","text":"TemporaryFile(/tmp/multipartBody3797671695806863062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698558863,"filename":"image_24012025_07_00_02_217268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b91275a4739d96acd7a7ace8610cdc2.jpg","text":"TemporaryFile(/tmp/multipartBody3035722537438427856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698558863,"filename":"image_24012025_06_59_03_014451_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330957406","file1":"1330957402","file0":"1330957399","file4":"1330957412","file5":"1330957416","file3":"1330957409"},"map_files_photo_id_array":[{"photo_id":"1330957416","filename":"file5"},{"photo_id":"1330957406","filename":"file2"},{"photo_id":"1330957412","filename":"file4"},{"photo_id":"1330957402","filename":"file1"},{"photo_id":"1330957399","filename":"file0"},{"photo_id":"1330957409","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330957402":["hashtag1","hashtag2"]},{"1330957416":["hashtag1","hashtag2"]},{"1330957412":["hashtag1","hashtag2"]},{"1330957406":["hashtag1","hashtag2"]},{"1330957409":["hashtag1","hashtag2"]},{"1330957399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330957402, 1330957416, 1330957412, 1330957406, 1330957409, 1330957399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.98405170440674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:02:22.500407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0001.jpg', '/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0002.jpg', '/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0003.jpg', '/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0000.jpg', '/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0001.jpg', '/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0001.jpg
/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0002.jpg
/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0003.jpg
/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0000.jpg
/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0001.jpg
/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.534037351608276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:03:02.729011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0001.jpg', '/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0002.jpg', '/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0003.jpg', '/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0000.jpg', '/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0001.jpg', '/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0001.jpg
/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0002.jpg
/home/pi/Desktop/images/24012025/07/01/image_24012025_07_01_02_823752_0003.jpg
/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0000.jpg
/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0001.jpg
/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330957462","1330957472","1330957475","1330957465","1330957459","1330957468"],"photo_ids_order":["1330957459","1330957462","1330957465","1330957468","1330957472","1330957475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8373f1f81f6459ae64b98b4f279e3660.jpg","text":"TemporaryFile(/tmp/multipartBody1202943071150666819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698659684,"filename":"image_24012025_07_01_02_823752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ca2209e57cd2d0bed69503a2af026bf5.jpg","text":"TemporaryFile(/tmp/multipartBody2329196077301281021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698659684,"filename":"image_24012025_07_02_02_346476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f363c0c8ce7b0f76e667cd01a6537c30.jpg","text":"TemporaryFile(/tmp/multipartBody4123203303566220438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698659684,"filename":"image_24012025_07_02_02_346476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/67a20bf480ca6ab5906822e159b85679.jpg","text":"TemporaryFile(/tmp/multipartBody966606394698547348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698659684,"filename":"image_24012025_07_01_02_823752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/76730b19466139a54ef2c285552084e1.jpg","text":"TemporaryFile(/tmp/multipartBody965371984861335660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698659684,"filename":"image_24012025_07_01_02_823752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f16df12f0b16ae9e15d8c01ba683ffd.jpg","text":"TemporaryFile(/tmp/multipartBody7320135839787829193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698659684,"filename":"image_24012025_07_02_02_346476_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330957465","file1":"1330957462","file0":"1330957459","file4":"1330957472","file5":"1330957475","file3":"1330957468"},"map_files_photo_id_array":[{"photo_id":"1330957475","filename":"file5"},{"photo_id":"1330957465","filename":"file2"},{"photo_id":"1330957472","filename":"file4"},{"photo_id":"1330957462","filename":"file1"},{"photo_id":"1330957459","filename":"file0"},{"photo_id":"1330957468","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330957462":["hashtag1","hashtag2"]},{"1330957472":["hashtag1","hashtag2"]},{"1330957475":["hashtag1","hashtag2"]},{"1330957465":["hashtag1","hashtag2"]},{"1330957459":["hashtag1","hashtag2"]},{"1330957468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330957462, 1330957472, 1330957475, 1330957465, 1330957459, 1330957468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.93118906021118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:04:02.948496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0003.jpg', '/home/pi/Desktop/images/24012025/07/03/image_24012025_07_03_02_886121_0000.jpg', '/home/pi/Desktop/images/24012025/07/03/image_24012025_07_03_02_886121_0001.jpg', '/home/pi/Desktop/images/24012025/07/03/image_24012025_07_03_02_886121_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/02/image_24012025_07_02_02_346476_0003.jpg
/home/pi/Desktop/images/24012025/07/03/image_24012025_07_03_02_886121_0000.jpg
/home/pi/Desktop/images/24012025/07/03/image_24012025_07_03_02_886121_0001.jpg
/home/pi/Desktop/images/24012025/07/03/image_24012025_07_03_02_886121_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330957504","1330957509","1330957498","1330957492"],"photo_ids_order":["1330957492","1330957498","1330957504","1330957509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1d1b892953443755f25aa512469955a.jpg","text":"TemporaryFile(/tmp/multipartBody6206264541664236783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698714464,"filename":"image_24012025_07_03_02_886121_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bacd8d3aeea57c6d9d92285584a8ee7b.jpg","text":"TemporaryFile(/tmp/multipartBody2744013869911995458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698714464,"filename":"image_24012025_07_03_02_886121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/915fbdc682bcf7937e70d2424946fb84.jpg","text":"TemporaryFile(/tmp/multipartBody2987532521326030519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698714464,"filename":"image_24012025_07_03_02_886121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3140880a8e688cd8a41b333f5bd89943.jpg","text":"TemporaryFile(/tmp/multipartBody2019166998437356694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698714464,"filename":"image_24012025_07_02_02_346476_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330957504","file1":"1330957498","file0":"1330957492","file3":"1330957509"},"map_files_photo_id_array":[{"photo_id":"1330957504","filename":"file2"},{"photo_id":"1330957498","filename":"file1"},{"photo_id":"1330957492","filename":"file0"},{"photo_id":"1330957509","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330957504":["hashtag1","hashtag2"]},{"1330957509":["hashtag1","hashtag2"]},{"1330957498":["hashtag1","hashtag2"]},{"1330957492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330957504, 1330957509, 1330957498, 1330957492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.77615213394165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:05:02.780564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/03/image_24012025_07_03_02_886121_0003.jpg', '/home/pi/Desktop/images/24012025/07/04/image_24012025_07_04_02_450148_0000.jpg', '/home/pi/Desktop/images/24012025/07/04/image_24012025_07_04_02_450148_0001.jpg', '/home/pi/Desktop/images/24012025/07/04/image_24012025_07_04_02_450148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/03/image_24012025_07_03_02_886121_0003.jpg
/home/pi/Desktop/images/24012025/07/04/image_24012025_07_04_02_450148_0000.jpg
/home/pi/Desktop/images/24012025/07/04/image_24012025_07_04_02_450148_0001.jpg
/home/pi/Desktop/images/24012025/07/04/image_24012025_07_04_02_450148_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330957529","1330957559","1330957550","1330957564"],"photo_ids_order":["1330957529","1330957550","1330957559","1330957564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa48bb873ba6451ca136acf7839b6b2a.jpg","text":"TemporaryFile(/tmp/multipartBody1407809678600237779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698774323,"filename":"image_24012025_07_03_02_886121_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f21529021d8e3832f0d857c380266a27.jpg","text":"TemporaryFile(/tmp/multipartBody5264035206750978923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698774323,"filename":"image_24012025_07_04_02_450148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af0dc8f84365852421f9362b9a925edd.jpg","text":"TemporaryFile(/tmp/multipartBody6129687042791377112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698774323,"filename":"image_24012025_07_04_02_450148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/202a399e8c9d38dde38376611c9408d3.jpg","text":"TemporaryFile(/tmp/multipartBody2057004857778710096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698774323,"filename":"image_24012025_07_04_02_450148_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330957559","file1":"1330957550","file0":"1330957529","file3":"1330957564"},"map_files_photo_id_array":[{"photo_id":"1330957559","filename":"file2"},{"photo_id":"1330957550","filename":"file1"},{"photo_id":"1330957529","filename":"file0"},{"photo_id":"1330957564","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330957529":["hashtag1","hashtag2"]},{"1330957559":["hashtag1","hashtag2"]},{"1330957550":["hashtag1","hashtag2"]},{"1330957564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330957529, 1330957559, 1330957550, 1330957564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.114747762680054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:06:02.170137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/04/image_24012025_07_04_02_450148_0003.jpg', '/home/pi/Desktop/images/24012025/07/05/image_24012025_07_05_03_033387_0000.jpg', '/home/pi/Desktop/images/24012025/07/05/image_24012025_07_05_03_033387_0001.jpg', '/home/pi/Desktop/images/24012025/07/05/image_24012025_07_05_03_033387_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/04/image_24012025_07_04_02_450148_0003.jpg
/home/pi/Desktop/images/24012025/07/05/image_24012025_07_05_03_033387_0000.jpg
/home/pi/Desktop/images/24012025/07/05/image_24012025_07_05_03_033387_0001.jpg
/home/pi/Desktop/images/24012025/07/05/image_24012025_07_05_03_033387_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330957593","1330957587","1330957596","1330957590"],"photo_ids_order":["1330957587","1330957590","1330957593","1330957596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/58fc0aa551d97042be621cc301dfe099.jpg","text":"TemporaryFile(/tmp/multipartBody8956077081974933204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698833460,"filename":"image_24012025_07_05_03_033387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ddbc217692cf9d9ebec079d64240e5c.jpg","text":"TemporaryFile(/tmp/multipartBody7830227037656430383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698833460,"filename":"image_24012025_07_04_02_450148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b6dcba699bcdc9817fb77831a84744df.jpg","text":"TemporaryFile(/tmp/multipartBody1559675293794560135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698833460,"filename":"image_24012025_07_05_03_033387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a3def67c19dec182ea9672128be7b4eb.jpg","text":"TemporaryFile(/tmp/multipartBody1807114138208078664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698833460,"filename":"image_24012025_07_05_03_033387_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330957593","file1":"1330957590","file0":"1330957587","file3":"1330957596"},"map_files_photo_id_array":[{"photo_id":"1330957593","filename":"file2"},{"photo_id":"1330957590","filename":"file1"},{"photo_id":"1330957587","filename":"file0"},{"photo_id":"1330957596","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330957593":["hashtag1","hashtag2"]},{"1330957587":["hashtag1","hashtag2"]},{"1330957596":["hashtag1","hashtag2"]},{"1330957590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330957593, 1330957587, 1330957596, 1330957590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.160234689712524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:07:02.937037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/05/image_24012025_07_05_03_033387_0003.jpg', '/home/pi/Desktop/images/24012025/07/06/image_24012025_07_06_02_557791_0000.jpg', '/home/pi/Desktop/images/24012025/07/06/image_24012025_07_06_02_557791_0001.jpg', '/home/pi/Desktop/images/24012025/07/06/image_24012025_07_06_02_557791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/05/image_24012025_07_05_03_033387_0003.jpg
/home/pi/Desktop/images/24012025/07/06/image_24012025_07_06_02_557791_0000.jpg
/home/pi/Desktop/images/24012025/07/06/image_24012025_07_06_02_557791_0001.jpg
/home/pi/Desktop/images/24012025/07/06/image_24012025_07_06_02_557791_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330957860","1330957853","1330957855","1330957864"],"photo_ids_order":["1330957853","1330957855","1330957860","1330957864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/84c3e6f453b35646cfbabedc65b79b00.jpg","text":"TemporaryFile(/tmp/multipartBody6289898757966089079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698894414,"filename":"image_24012025_07_06_02_557791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b3d6ca54c9c5119d209a73762d56e5c6.jpg","text":"TemporaryFile(/tmp/multipartBody1161292263744637048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698894414,"filename":"image_24012025_07_05_03_033387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/194f87304950ba17f4446a4ac062f3d3.jpg","text":"TemporaryFile(/tmp/multipartBody5385413533286092389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698894414,"filename":"image_24012025_07_06_02_557791_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/91e7e05586fcbd28a11f982bee4b81bd.jpg","text":"TemporaryFile(/tmp/multipartBody3201884048675280868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698894414,"filename":"image_24012025_07_06_02_557791_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330957860","file1":"1330957855","file0":"1330957853","file3":"1330957864"},"map_files_photo_id_array":[{"photo_id":"1330957860","filename":"file2"},{"photo_id":"1330957855","filename":"file1"},{"photo_id":"1330957853","filename":"file0"},{"photo_id":"1330957864","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330957860":["hashtag1","hashtag2"]},{"1330957853":["hashtag1","hashtag2"]},{"1330957855":["hashtag1","hashtag2"]},{"1330957864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330957860, 1330957853, 1330957855, 1330957864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55708074569702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:08:02.438369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/06/image_24012025_07_06_02_557791_0003.jpg', '/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0000.jpg', '/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0001.jpg', '/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/06/image_24012025_07_06_02_557791_0003.jpg
/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0000.jpg
/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0001.jpg
/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330957896","1330957899","1330957892","1330957888"],"photo_ids_order":["1330957888","1330957892","1330957896","1330957899"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6a26e0e0b50322a8f82f6cfb83a6a64e.jpg","text":"TemporaryFile(/tmp/multipartBody1673030208589236106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698953879,"filename":"image_24012025_07_07_02_228563_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47afab3cc041b3e8957f871cb7df2612.jpg","text":"TemporaryFile(/tmp/multipartBody4134478861698664037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698953879,"filename":"image_24012025_07_07_02_228563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d3f13b44ddc2b85c29a80914d19c8c1.jpg","text":"TemporaryFile(/tmp/multipartBody2800857209160805407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698953879,"filename":"image_24012025_07_07_02_228563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/68c9ef5123bb5afb7d2b027d8d1df476.jpg","text":"TemporaryFile(/tmp/multipartBody8509705303904928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737698953879,"filename":"image_24012025_07_06_02_557791_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330957896","file1":"1330957892","file0":"1330957888","file3":"1330957899"},"map_files_photo_id_array":[{"photo_id":"1330957896","filename":"file2"},{"photo_id":"1330957892","filename":"file1"},{"photo_id":"1330957888","filename":"file0"},{"photo_id":"1330957899","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330957896":["hashtag1","hashtag2"]},{"1330957899":["hashtag1","hashtag2"]},{"1330957892":["hashtag1","hashtag2"]},{"1330957888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330957896, 1330957899, 1330957892, 1330957888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.18816566467285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:09:03.229114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg
 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>88940floa</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>88940floa</strong>.
uploaded 0 photos
time to upload: 40.77931594848633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:10:02.726680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg', '/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg
/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg
 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>88940jdjf</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>88940jdjf</strong>.
uploaded 0 photos
time to upload: 46.052531242370605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:11:03.147278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg', '/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg
/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg
 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>88940mp48</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>88940mp48</strong>.
uploaded 0 photos
time to upload: 46.07578492164612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:12:02.690746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg', '/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg
/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.000873565673828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:12:22.151094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg', '/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg
/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg
 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>889411bo1</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>889411bo1</strong>.
uploaded 0 photos
time to upload: 46.334468126297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:13:22.760146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg', '/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg
/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg
 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>889414nf3</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>889414nf3</strong>.
uploaded 0 photos
time to upload: 46.001527070999146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:14:22.151975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg', '/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg
/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.999876260757446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:15:03.116753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg', '/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg', '/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/07/image_24012025_07_07_02_228563_0003.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0000.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0001.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0002.jpg
/home/pi/Desktop/images/24012025/07/08/image_24012025_07_08_02_778716_0003.jpg
/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330958052","1330958043","1330958019","1330958024","1330958035","1330958029"],"photo_ids_order":["1330958019","1330958024","1330958029","1330958035","1330958043","1330958052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7feaac13c0e3adf56c1e240e3ad02ada.jpg","text":"TemporaryFile(/tmp/multipartBody6815815781645481678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699379635,"filename":"image_24012025_07_09_02_411630_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f4f1c4b41c576cb761cfdcd64f6cd7d3.jpg","text":"TemporaryFile(/tmp/multipartBody5076760872202606244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699379635,"filename":"image_24012025_07_08_02_778716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32fd89c6dd81cc1351f8017853b0a87a.jpg","text":"TemporaryFile(/tmp/multipartBody5641809698460629880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699379635,"filename":"image_24012025_07_07_02_228563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5f62d6c5886c1201f09fca5b92464954.jpg","text":"TemporaryFile(/tmp/multipartBody4564789536455676904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699379635,"filename":"image_24012025_07_08_02_778716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d5d922dc778615d3d6a9f3ff118ea2ac.jpg","text":"TemporaryFile(/tmp/multipartBody1979566421303605383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699379635,"filename":"image_24012025_07_08_02_778716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e84e04aa42e28b3e5b2154f137465421.jpg","text":"TemporaryFile(/tmp/multipartBody6796481446654832061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699379635,"filename":"image_24012025_07_08_02_778716_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330958029","file1":"1330958024","file0":"1330958019","file4":"1330958043","file5":"1330958052","file3":"1330958035"},"map_files_photo_id_array":[{"photo_id":"1330958052","filename":"file5"},{"photo_id":"1330958029","filename":"file2"},{"photo_id":"1330958043","filename":"file4"},{"photo_id":"1330958024","filename":"file1"},{"photo_id":"1330958019","filename":"file0"},{"photo_id":"1330958035","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330958052":["hashtag1","hashtag2"]},{"1330958043":["hashtag1","hashtag2"]},{"1330958019":["hashtag1","hashtag2"]},{"1330958024":["hashtag1","hashtag2"]},{"1330958035":["hashtag1","hashtag2"]},{"1330958029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330958052, 1330958043, 1330958019, 1330958024, 1330958035, 1330958029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.382309436798096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:16:22.238821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0001.jpg', '/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0002.jpg', '/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0003.jpg', '/home/pi/Desktop/images/24012025/07/10/image_24012025_07_10_02_936904_0000.jpg', '/home/pi/Desktop/images/24012025/07/10/image_24012025_07_10_02_936904_0001.jpg', '/home/pi/Desktop/images/24012025/07/10/image_24012025_07_10_02_936904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0001.jpg
/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0002.jpg
/home/pi/Desktop/images/24012025/07/09/image_24012025_07_09_02_411630_0003.jpg
/home/pi/Desktop/images/24012025/07/10/image_24012025_07_10_02_936904_0000.jpg
/home/pi/Desktop/images/24012025/07/10/image_24012025_07_10_02_936904_0001.jpg
/home/pi/Desktop/images/24012025/07/10/image_24012025_07_10_02_936904_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330958138","1330958123","1330958117","1330958083","1330958134","1330958128"],"photo_ids_order":["1330958083","1330958117","1330958123","1330958128","1330958134","1330958138"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1987b6b8718719e7778bdfdc11614b40.jpg","text":"TemporaryFile(/tmp/multipartBody4002256664488946051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699459182,"filename":"image_24012025_07_10_02_936904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd58dbb1ac54d4d200f04031790f2f80.jpg","text":"TemporaryFile(/tmp/multipartBody6047288073493738026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699459182,"filename":"image_24012025_07_09_02_411630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c575dd082ba6e7a0e917df5326d3dee.jpg","text":"TemporaryFile(/tmp/multipartBody3169410650932440323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699459182,"filename":"image_24012025_07_09_02_411630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cfb79b3ae1799b01a35b71bec2ef7a82.jpg","text":"TemporaryFile(/tmp/multipartBody3947978822928580312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699459182,"filename":"image_24012025_07_09_02_411630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d389fd568d882b2faa73703f2804ad2.jpg","text":"TemporaryFile(/tmp/multipartBody5905522324043854813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699459182,"filename":"image_24012025_07_10_02_936904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4939f58799cdbaed81416e48f8a5b4c1.jpg","text":"TemporaryFile(/tmp/multipartBody2163665663524277097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699459182,"filename":"image_24012025_07_10_02_936904_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330958123","file1":"1330958117","file0":"1330958083","file4":"1330958134","file5":"1330958138","file3":"1330958128"},"map_files_photo_id_array":[{"photo_id":"1330958138","filename":"file5"},{"photo_id":"1330958123","filename":"file2"},{"photo_id":"1330958134","filename":"file4"},{"photo_id":"1330958117","filename":"file1"},{"photo_id":"1330958083","filename":"file0"},{"photo_id":"1330958128","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330958138":["hashtag1","hashtag2"]},{"1330958123":["hashtag1","hashtag2"]},{"1330958117":["hashtag1","hashtag2"]},{"1330958083":["hashtag1","hashtag2"]},{"1330958134":["hashtag1","hashtag2"]},{"1330958128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330958138, 1330958123, 1330958117, 1330958083, 1330958134, 1330958128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.46752333641052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:18:02.697255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/10/image_24012025_07_10_02_936904_0003.jpg', '/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0000.jpg', '/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0001.jpg', '/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0002.jpg', '/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0003.jpg', '/home/pi/Desktop/images/24012025/07/12/image_24012025_07_12_03_051536_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/10/image_24012025_07_10_02_936904_0003.jpg
/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0000.jpg
/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0001.jpg
/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0002.jpg
/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0003.jpg
/home/pi/Desktop/images/24012025/07/12/image_24012025_07_12_03_051536_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.34475874900818 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:18:22.343972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/10/image_24012025_07_10_02_936904_0003.jpg', '/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0000.jpg', '/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0001.jpg', '/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0002.jpg', '/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0003.jpg', '/home/pi/Desktop/images/24012025/07/12/image_24012025_07_12_03_051536_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/10/image_24012025_07_10_02_936904_0003.jpg
/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0000.jpg
/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0001.jpg
/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0002.jpg
/home/pi/Desktop/images/24012025/07/11/image_24012025_07_11_02_588175_0003.jpg
/home/pi/Desktop/images/24012025/07/12/image_24012025_07_12_03_051536_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330958311","1330958325","1330958307","1330958272","1330958245","1330958257"],"photo_ids_order":["1330958245","1330958257","1330958272","1330958307","1330958311","1330958325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f8ef78bd3b965b57baf39c122bf33d39.jpg","text":"TemporaryFile(/tmp/multipartBody261977724460612146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699579040,"filename":"image_24012025_07_11_02_588175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/64645c9983f24045d5945ee5aafe0d4d.jpg","text":"TemporaryFile(/tmp/multipartBody748166519778910038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699579040,"filename":"image_24012025_07_12_03_051536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/de294ce99e8428cc2086d0d59cf9f507.jpg","text":"TemporaryFile(/tmp/multipartBody1698346577657189396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699579040,"filename":"image_24012025_07_11_02_588175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3235f51c6f5d3aedf5beeaf57b6f5f26.jpg","text":"TemporaryFile(/tmp/multipartBody6852085142220866066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699579040,"filename":"image_24012025_07_11_02_588175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/436f8afc44f9b5b04b2e9c972d151f2b.jpg","text":"TemporaryFile(/tmp/multipartBody5725869313465290415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699579040,"filename":"image_24012025_07_10_02_936904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d6845dfa9513a3b8ee290e244d1e48d1.jpg","text":"TemporaryFile(/tmp/multipartBody1397110361187581222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699579040,"filename":"image_24012025_07_11_02_588175_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330958272","file1":"1330958257","file0":"1330958245","file4":"1330958311","file5":"1330958325","file3":"1330958307"},"map_files_photo_id_array":[{"photo_id":"1330958325","filename":"file5"},{"photo_id":"1330958272","filename":"file2"},{"photo_id":"1330958311","filename":"file4"},{"photo_id":"1330958257","filename":"file1"},{"photo_id":"1330958245","filename":"file0"},{"photo_id":"1330958307","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330958311":["hashtag1","hashtag2"]},{"1330958325":["hashtag1","hashtag2"]},{"1330958307":["hashtag1","hashtag2"]},{"1330958272":["hashtag1","hashtag2"]},{"1330958245":["hashtag1","hashtag2"]},{"1330958257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330958311, 1330958325, 1330958307, 1330958272, 1330958245, 1330958257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.54794502258301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:19:21.896009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/12/image_24012025_07_12_03_051536_0001.jpg', '/home/pi/Desktop/images/24012025/07/12/image_24012025_07_12_03_051536_0002.jpg', '/home/pi/Desktop/images/24012025/07/12/image_24012025_07_12_03_051536_0003.jpg', '/home/pi/Desktop/images/24012025/07/13/image_24012025_07_13_02_540471_0000.jpg', '/home/pi/Desktop/images/24012025/07/13/image_24012025_07_13_02_540471_0001.jpg', '/home/pi/Desktop/images/24012025/07/13/image_24012025_07_13_02_540471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/12/image_24012025_07_12_03_051536_0001.jpg
/home/pi/Desktop/images/24012025/07/12/image_24012025_07_12_03_051536_0002.jpg
/home/pi/Desktop/images/24012025/07/12/image_24012025_07_12_03_051536_0003.jpg
/home/pi/Desktop/images/24012025/07/13/image_24012025_07_13_02_540471_0000.jpg
/home/pi/Desktop/images/24012025/07/13/image_24012025_07_13_02_540471_0001.jpg
/home/pi/Desktop/images/24012025/07/13/image_24012025_07_13_02_540471_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330958379","1330958403","1330958393","1330958411","1330958371","1330958385"],"photo_ids_order":["1330958371","1330958379","1330958385","1330958393","1330958403","1330958411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37147747a0093c6ba9cb307b3acb4889.jpg","text":"TemporaryFile(/tmp/multipartBody4400540113953613200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699638632,"filename":"image_24012025_07_12_03_051536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cd0e021fbe73abb5b3445ad9774fbe97.jpg","text":"TemporaryFile(/tmp/multipartBody8340932305113276880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699638632,"filename":"image_24012025_07_13_02_540471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb33e88922aed979595bb606c1a45138.jpg","text":"TemporaryFile(/tmp/multipartBody1318548150291971276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699638632,"filename":"image_24012025_07_13_02_540471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e56b88d991a1346a3347cf33d04f2bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4529487252724711714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699638632,"filename":"image_24012025_07_13_02_540471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d5c5c2ce625804b2e610d01429954d4.jpg","text":"TemporaryFile(/tmp/multipartBody1949186683527996814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699638632,"filename":"image_24012025_07_12_03_051536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f04949caaf5c0b5d6ef4c42843002060.jpg","text":"TemporaryFile(/tmp/multipartBody552340190943916760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699638632,"filename":"image_24012025_07_12_03_051536_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330958385","file1":"1330958379","file0":"1330958371","file4":"1330958403","file5":"1330958411","file3":"1330958393"},"map_files_photo_id_array":[{"photo_id":"1330958411","filename":"file5"},{"photo_id":"1330958385","filename":"file2"},{"photo_id":"1330958403","filename":"file4"},{"photo_id":"1330958379","filename":"file1"},{"photo_id":"1330958371","filename":"file0"},{"photo_id":"1330958393","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330958379":["hashtag1","hashtag2"]},{"1330958403":["hashtag1","hashtag2"]},{"1330958393":["hashtag1","hashtag2"]},{"1330958411":["hashtag1","hashtag2"]},{"1330958371":["hashtag1","hashtag2"]},{"1330958385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330958379, 1330958403, 1330958393, 1330958411, 1330958371, 1330958385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.45522999763489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:21:02.657628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/13/image_24012025_07_13_02_540471_0003.jpg', '/home/pi/Desktop/images/24012025/07/14/image_24012025_07_14_03_023537_0000.jpg', '/home/pi/Desktop/images/24012025/07/14/image_24012025_07_14_03_023537_0001.jpg', '/home/pi/Desktop/images/24012025/07/14/image_24012025_07_14_03_023537_0002.jpg', '/home/pi/Desktop/images/24012025/07/14/image_24012025_07_14_03_023537_0003.jpg', '/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/13/image_24012025_07_13_02_540471_0003.jpg
/home/pi/Desktop/images/24012025/07/14/image_24012025_07_14_03_023537_0000.jpg
/home/pi/Desktop/images/24012025/07/14/image_24012025_07_14_03_023537_0001.jpg
/home/pi/Desktop/images/24012025/07/14/image_24012025_07_14_03_023537_0002.jpg
/home/pi/Desktop/images/24012025/07/14/image_24012025_07_14_03_023537_0003.jpg
/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330958511","1330958505","1330958516","1330958525","1330958519","1330958530"],"photo_ids_order":["1330958505","1330958511","1330958516","1330958519","1330958525","1330958530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/508a740d5a8f7cab191d8b1941686879.jpg","text":"TemporaryFile(/tmp/multipartBody5184223647599014804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699739843,"filename":"image_24012025_07_14_03_023537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c97b5313e9ec0bcd1fd8476c8d46ca3.jpg","text":"TemporaryFile(/tmp/multipartBody4382255099858521945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699739843,"filename":"image_24012025_07_13_02_540471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40433b52e81b01e5716cf78864118434.jpg","text":"TemporaryFile(/tmp/multipartBody8393561389482396337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699739843,"filename":"image_24012025_07_14_03_023537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cab00d83d95aad21bf2217eef8a04c14.jpg","text":"TemporaryFile(/tmp/multipartBody1894071019337319287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699739843,"filename":"image_24012025_07_14_03_023537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/efe3439744b79f4a43477c49a586097c.jpg","text":"TemporaryFile(/tmp/multipartBody766329570276718472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699739843,"filename":"image_24012025_07_14_03_023537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1628334f2f1f165c1154af4f3357e539.jpg","text":"TemporaryFile(/tmp/multipartBody1984138361912546056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699739843,"filename":"image_24012025_07_15_02_490763_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330958516","file1":"1330958511","file0":"1330958505","file4":"1330958525","file5":"1330958530","file3":"1330958519"},"map_files_photo_id_array":[{"photo_id":"1330958530","filename":"file5"},{"photo_id":"1330958516","filename":"file2"},{"photo_id":"1330958525","filename":"file4"},{"photo_id":"1330958511","filename":"file1"},{"photo_id":"1330958505","filename":"file0"},{"photo_id":"1330958519","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330958511":["hashtag1","hashtag2"]},{"1330958505":["hashtag1","hashtag2"]},{"1330958516":["hashtag1","hashtag2"]},{"1330958525":["hashtag1","hashtag2"]},{"1330958519":["hashtag1","hashtag2"]},{"1330958530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330958511, 1330958505, 1330958516, 1330958525, 1330958519, 1330958530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75614809989929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:22:03.155359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0001.jpg', '/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0002.jpg', '/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0003.jpg', '/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0000.jpg', '/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0001.jpg', '/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0001.jpg
/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0002.jpg
/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0003.jpg
/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0000.jpg
/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0001.jpg
/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.675100564956665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:22:22.663235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0001.jpg', '/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0002.jpg', '/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0003.jpg', '/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0000.jpg', '/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0001.jpg', '/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0001.jpg
/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0002.jpg
/home/pi/Desktop/images/24012025/07/15/image_24012025_07_15_02_490763_0003.jpg
/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0000.jpg
/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0001.jpg
/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330958592","1330958610","1330958599","1330958623","1330958617","1330958605"],"photo_ids_order":["1330958592","1330958599","1330958605","1330958610","1330958617","1330958623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c044a803c52fcc110473a1a8fa6fcf01.jpg","text":"TemporaryFile(/tmp/multipartBody8981329431493352240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699819728,"filename":"image_24012025_07_15_02_490763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad025d71a46e275c58d04b402fc3c324.jpg","text":"TemporaryFile(/tmp/multipartBody8276295822791330800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699819728,"filename":"image_24012025_07_16_03_002466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63733e9447d71e3911333539d2c39a32.jpg","text":"TemporaryFile(/tmp/multipartBody88587403327563468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699819728,"filename":"image_24012025_07_15_02_490763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e14638b6032b130605a36df6036631a.jpg","text":"TemporaryFile(/tmp/multipartBody7694895808094164217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699819728,"filename":"image_24012025_07_16_03_002466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8acec2aa9c23e207b38e8d7bc94e918c.jpg","text":"TemporaryFile(/tmp/multipartBody3733399167188427374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699819728,"filename":"image_24012025_07_16_03_002466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/831f0a1158b2aea29985922a6499ba31.jpg","text":"TemporaryFile(/tmp/multipartBody2241834684731720858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699819728,"filename":"image_24012025_07_15_02_490763_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330958605","file1":"1330958599","file0":"1330958592","file4":"1330958617","file5":"1330958623","file3":"1330958610"},"map_files_photo_id_array":[{"photo_id":"1330958623","filename":"file5"},{"photo_id":"1330958605","filename":"file2"},{"photo_id":"1330958617","filename":"file4"},{"photo_id":"1330958599","filename":"file1"},{"photo_id":"1330958592","filename":"file0"},{"photo_id":"1330958610","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330958592":["hashtag1","hashtag2"]},{"1330958610":["hashtag1","hashtag2"]},{"1330958599":["hashtag1","hashtag2"]},{"1330958623":["hashtag1","hashtag2"]},{"1330958617":["hashtag1","hashtag2"]},{"1330958605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330958592, 1330958610, 1330958599, 1330958623, 1330958617, 1330958605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.515631437301636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:24:03.029319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0003.jpg', '/home/pi/Desktop/images/24012025/07/17/image_24012025_07_17_02_653100_0000.jpg', '/home/pi/Desktop/images/24012025/07/17/image_24012025_07_17_02_653100_0001.jpg', '/home/pi/Desktop/images/24012025/07/17/image_24012025_07_17_02_653100_0002.jpg', '/home/pi/Desktop/images/24012025/07/17/image_24012025_07_17_02_653100_0003.jpg', '/home/pi/Desktop/images/24012025/07/18/image_24012025_07_18_02_273402_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/16/image_24012025_07_16_03_002466_0003.jpg
/home/pi/Desktop/images/24012025/07/17/image_24012025_07_17_02_653100_0000.jpg
/home/pi/Desktop/images/24012025/07/17/image_24012025_07_17_02_653100_0001.jpg
/home/pi/Desktop/images/24012025/07/17/image_24012025_07_17_02_653100_0002.jpg
/home/pi/Desktop/images/24012025/07/17/image_24012025_07_17_02_653100_0003.jpg
/home/pi/Desktop/images/24012025/07/18/image_24012025_07_18_02_273402_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330958792","1330958759","1330958801","1330958872","1330958776","1330958781"],"photo_ids_order":["1330958759","1330958776","1330958781","1330958792","1330958801","1330958872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fe1718ca6e2bb60996bd07247202494a.jpg","text":"TemporaryFile(/tmp/multipartBody4213570071817353947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699920082,"filename":"image_24012025_07_17_02_653100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2cfbaf28c379b750b8ffbe1889c7ab2c.jpg","text":"TemporaryFile(/tmp/multipartBody3958729000768661971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699920082,"filename":"image_24012025_07_16_03_002466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ea0668c39b45981478bd720e7653d29.jpg","text":"TemporaryFile(/tmp/multipartBody3071825786586981001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699920082,"filename":"image_24012025_07_17_02_653100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b4d94b76854a8742e7aa1f364b87805.jpg","text":"TemporaryFile(/tmp/multipartBody2885420390066993791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699920082,"filename":"image_24012025_07_18_02_273402_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4a1ac662969b9e6d0f070afb3b440b5c.jpg","text":"TemporaryFile(/tmp/multipartBody741114048694539576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699920082,"filename":"image_24012025_07_17_02_653100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f310014fa972d09317dfb8f793a77694.jpg","text":"TemporaryFile(/tmp/multipartBody4077372454192626169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699920082,"filename":"image_24012025_07_17_02_653100_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330958781","file1":"1330958776","file0":"1330958759","file4":"1330958801","file5":"1330958872","file3":"1330958792"},"map_files_photo_id_array":[{"photo_id":"1330958872","filename":"file5"},{"photo_id":"1330958781","filename":"file2"},{"photo_id":"1330958801","filename":"file4"},{"photo_id":"1330958776","filename":"file1"},{"photo_id":"1330958759","filename":"file0"},{"photo_id":"1330958792","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330958792":["hashtag1","hashtag2"]},{"1330958759":["hashtag1","hashtag2"]},{"1330958801":["hashtag1","hashtag2"]},{"1330958872":["hashtag1","hashtag2"]},{"1330958776":["hashtag1","hashtag2"]},{"1330958781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330958792, 1330958759, 1330958801, 1330958872, 1330958776, 1330958781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.33495879173279 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:25:02.808325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/18/image_24012025_07_18_02_273402_0001.jpg', '/home/pi/Desktop/images/24012025/07/18/image_24012025_07_18_02_273402_0002.jpg', '/home/pi/Desktop/images/24012025/07/18/image_24012025_07_18_02_273402_0003.jpg', '/home/pi/Desktop/images/24012025/07/19/image_24012025_07_19_02_788642_0000.jpg', '/home/pi/Desktop/images/24012025/07/19/image_24012025_07_19_02_788642_0001.jpg', '/home/pi/Desktop/images/24012025/07/19/image_24012025_07_19_02_788642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/18/image_24012025_07_18_02_273402_0001.jpg
/home/pi/Desktop/images/24012025/07/18/image_24012025_07_18_02_273402_0002.jpg
/home/pi/Desktop/images/24012025/07/18/image_24012025_07_18_02_273402_0003.jpg
/home/pi/Desktop/images/24012025/07/19/image_24012025_07_19_02_788642_0000.jpg
/home/pi/Desktop/images/24012025/07/19/image_24012025_07_19_02_788642_0001.jpg
/home/pi/Desktop/images/24012025/07/19/image_24012025_07_19_02_788642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330958952","1330958928","1330958948","1330958936","1330958921","1330958917"],"photo_ids_order":["1330958917","1330958921","1330958928","1330958936","1330958948","1330958952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b2fd3967b1be54fd66c09ddea61bcdfd.jpg","text":"TemporaryFile(/tmp/multipartBody936320080043494208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699979508,"filename":"image_24012025_07_19_02_788642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f71b0c7f4fc83aad5e5744967a9ba8a5.jpg","text":"TemporaryFile(/tmp/multipartBody6319841705600034253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699979508,"filename":"image_24012025_07_18_02_273402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0ac20885d81d1cf4afb31411f2e8fbd4.jpg","text":"TemporaryFile(/tmp/multipartBody575834283913858237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699979508,"filename":"image_24012025_07_19_02_788642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c4f23f292c628486cee5f3d9c488683f.jpg","text":"TemporaryFile(/tmp/multipartBody3662202443762871946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699979508,"filename":"image_24012025_07_19_02_788642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9bac13045a696dd4241249627bb97de7.jpg","text":"TemporaryFile(/tmp/multipartBody3090401676098198264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699979508,"filename":"image_24012025_07_18_02_273402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0694b6c6067414c9ed56f593f28c4cfe.jpg","text":"TemporaryFile(/tmp/multipartBody3766862827864250870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737699979508,"filename":"image_24012025_07_18_02_273402_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330958928","file1":"1330958921","file0":"1330958917","file4":"1330958948","file5":"1330958952","file3":"1330958936"},"map_files_photo_id_array":[{"photo_id":"1330958952","filename":"file5"},{"photo_id":"1330958928","filename":"file2"},{"photo_id":"1330958948","filename":"file4"},{"photo_id":"1330958921","filename":"file1"},{"photo_id":"1330958917","filename":"file0"},{"photo_id":"1330958936","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330958952":["hashtag1","hashtag2"]},{"1330958928":["hashtag1","hashtag2"]},{"1330958948":["hashtag1","hashtag2"]},{"1330958936":["hashtag1","hashtag2"]},{"1330958921":["hashtag1","hashtag2"]},{"1330958917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330958952, 1330958928, 1330958948, 1330958936, 1330958921, 1330958917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.886359214782715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:26:21.858305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/19/image_24012025_07_19_02_788642_0003.jpg', '/home/pi/Desktop/images/24012025/07/20/image_24012025_07_20_02_344997_0000.jpg', '/home/pi/Desktop/images/24012025/07/20/image_24012025_07_20_02_344997_0001.jpg', '/home/pi/Desktop/images/24012025/07/20/image_24012025_07_20_02_344997_0002.jpg', '/home/pi/Desktop/images/24012025/07/20/image_24012025_07_20_02_344997_0003.jpg', '/home/pi/Desktop/images/24012025/07/21/image_24012025_07_21_02_886100_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/19/image_24012025_07_19_02_788642_0003.jpg
/home/pi/Desktop/images/24012025/07/20/image_24012025_07_20_02_344997_0000.jpg
/home/pi/Desktop/images/24012025/07/20/image_24012025_07_20_02_344997_0001.jpg
/home/pi/Desktop/images/24012025/07/20/image_24012025_07_20_02_344997_0002.jpg
/home/pi/Desktop/images/24012025/07/20/image_24012025_07_20_02_344997_0003.jpg
/home/pi/Desktop/images/24012025/07/21/image_24012025_07_21_02_886100_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330959030","1330959018","1330959006","1330959000","1330959014","1330959034"],"photo_ids_order":["1330959000","1330959006","1330959014","1330959018","1330959030","1330959034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7a61509812e0923070d102e24650af0e.jpg","text":"TemporaryFile(/tmp/multipartBody728267090366954373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700058942,"filename":"image_24012025_07_20_02_344997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/49cec93826769d62f6a25ba9559d501a.jpg","text":"TemporaryFile(/tmp/multipartBody1662422930743341748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700058942,"filename":"image_24012025_07_20_02_344997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/388758c2f3c3b1310f56476a4bb1b627.jpg","text":"TemporaryFile(/tmp/multipartBody8938659337754537728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700058942,"filename":"image_24012025_07_20_02_344997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e7bb00395e69a303e92bf505f00cbbcf.jpg","text":"TemporaryFile(/tmp/multipartBody1628428808292466489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700058942,"filename":"image_24012025_07_19_02_788642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b105368b49d10bf288f527c6ac11d48a.jpg","text":"TemporaryFile(/tmp/multipartBody9002138171379181593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700058942,"filename":"image_24012025_07_20_02_344997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/115669a0623581ecd55f10e6dce94834.jpg","text":"TemporaryFile(/tmp/multipartBody9053993127330031372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700058942,"filename":"image_24012025_07_21_02_886100_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330959014","file1":"1330959006","file0":"1330959000","file4":"1330959030","file5":"1330959034","file3":"1330959018"},"map_files_photo_id_array":[{"photo_id":"1330959034","filename":"file5"},{"photo_id":"1330959014","filename":"file2"},{"photo_id":"1330959030","filename":"file4"},{"photo_id":"1330959006","filename":"file1"},{"photo_id":"1330959000","filename":"file0"},{"photo_id":"1330959018","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330959030":["hashtag1","hashtag2"]},{"1330959018":["hashtag1","hashtag2"]},{"1330959006":["hashtag1","hashtag2"]},{"1330959000":["hashtag1","hashtag2"]},{"1330959014":["hashtag1","hashtag2"]},{"1330959034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330959030, 1330959018, 1330959006, 1330959000, 1330959014, 1330959034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.769429206848145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:27:22.411798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/21/image_24012025_07_21_02_886100_0001.jpg', '/home/pi/Desktop/images/24012025/07/21/image_24012025_07_21_02_886100_0002.jpg', '/home/pi/Desktop/images/24012025/07/21/image_24012025_07_21_02_886100_0003.jpg', '/home/pi/Desktop/images/24012025/07/22/image_24012025_07_22_02_422146_0000.jpg', '/home/pi/Desktop/images/24012025/07/22/image_24012025_07_22_02_422146_0001.jpg', '/home/pi/Desktop/images/24012025/07/22/image_24012025_07_22_02_422146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/21/image_24012025_07_21_02_886100_0001.jpg
/home/pi/Desktop/images/24012025/07/21/image_24012025_07_21_02_886100_0002.jpg
/home/pi/Desktop/images/24012025/07/21/image_24012025_07_21_02_886100_0003.jpg
/home/pi/Desktop/images/24012025/07/22/image_24012025_07_22_02_422146_0000.jpg
/home/pi/Desktop/images/24012025/07/22/image_24012025_07_22_02_422146_0001.jpg
/home/pi/Desktop/images/24012025/07/22/image_24012025_07_22_02_422146_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330959097","1330959082","1330959073","1330959067","1330959093","1330959078"],"photo_ids_order":["1330959067","1330959073","1330959078","1330959082","1330959093","1330959097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e280ec6879c6d4ba8a65852d6b175d6c.jpg","text":"TemporaryFile(/tmp/multipartBody3706274483904874652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700119202,"filename":"image_24012025_07_22_02_422146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dcdae9fbeed1ba29dc7a3f12e46ab8c7.jpg","text":"TemporaryFile(/tmp/multipartBody6308161153519459937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700119202,"filename":"image_24012025_07_22_02_422146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5bd9fde66ed82835725d9287466e998f.jpg","text":"TemporaryFile(/tmp/multipartBody3443320688798520354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700119202,"filename":"image_24012025_07_21_02_886100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c9f42e103ca16b2303b1bd0056429a49.jpg","text":"TemporaryFile(/tmp/multipartBody5926551320969717099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700119202,"filename":"image_24012025_07_21_02_886100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/573d6369194717259173246a21f01d68.jpg","text":"TemporaryFile(/tmp/multipartBody1471039600647052600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700119202,"filename":"image_24012025_07_22_02_422146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ea48871e36f2b64b1b5c8869b800d25.jpg","text":"TemporaryFile(/tmp/multipartBody9214932382398516911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700119202,"filename":"image_24012025_07_21_02_886100_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330959078","file1":"1330959073","file0":"1330959067","file4":"1330959093","file5":"1330959097","file3":"1330959082"},"map_files_photo_id_array":[{"photo_id":"1330959097","filename":"file5"},{"photo_id":"1330959078","filename":"file2"},{"photo_id":"1330959093","filename":"file4"},{"photo_id":"1330959073","filename":"file1"},{"photo_id":"1330959067","filename":"file0"},{"photo_id":"1330959082","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330959097":["hashtag1","hashtag2"]},{"1330959082":["hashtag1","hashtag2"]},{"1330959073":["hashtag1","hashtag2"]},{"1330959067":["hashtag1","hashtag2"]},{"1330959093":["hashtag1","hashtag2"]},{"1330959078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330959097, 1330959082, 1330959073, 1330959067, 1330959093, 1330959078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.65949010848999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:28:21.998055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/22/image_24012025_07_22_02_422146_0003.jpg', '/home/pi/Desktop/images/24012025/07/23/image_24012025_07_23_03_038875_0000.jpg', '/home/pi/Desktop/images/24012025/07/23/image_24012025_07_23_03_038875_0001.jpg', '/home/pi/Desktop/images/24012025/07/23/image_24012025_07_23_03_038875_0002.jpg', '/home/pi/Desktop/images/24012025/07/23/image_24012025_07_23_03_038875_0003.jpg', '/home/pi/Desktop/images/24012025/07/24/image_24012025_07_24_02_543336_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/22/image_24012025_07_22_02_422146_0003.jpg
/home/pi/Desktop/images/24012025/07/23/image_24012025_07_23_03_038875_0000.jpg
/home/pi/Desktop/images/24012025/07/23/image_24012025_07_23_03_038875_0001.jpg
/home/pi/Desktop/images/24012025/07/23/image_24012025_07_23_03_038875_0002.jpg
/home/pi/Desktop/images/24012025/07/23/image_24012025_07_23_03_038875_0003.jpg
/home/pi/Desktop/images/24012025/07/24/image_24012025_07_24_02_543336_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330959395","1330959659","1330959710","1330959547","1330959340","1330959270"],"photo_ids_order":["1330959270","1330959340","1330959395","1330959547","1330959659","1330959710"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bc2c9b8f08bda2471d345ffc9ba8dd31.jpg","text":"TemporaryFile(/tmp/multipartBody4523861269589281197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700178755,"filename":"image_24012025_07_23_03_038875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c9aa674e61fd8ddd3459041bda233ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2150980225037772301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700178755,"filename":"image_24012025_07_23_03_038875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/904279e0a60ced028d49e22201e572ea.jpg","text":"TemporaryFile(/tmp/multipartBody3957017617462419330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700178755,"filename":"image_24012025_07_24_02_543336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d160216a33f876d1f7b76c9848a29df.jpg","text":"TemporaryFile(/tmp/multipartBody3684263707905506818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700178755,"filename":"image_24012025_07_23_03_038875_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e1f4facddff1eba8a9072ef64af657b.jpg","text":"TemporaryFile(/tmp/multipartBody8837512964678164401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700178755,"filename":"image_24012025_07_23_03_038875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f2983228284fdbd38c7ae48c45d96d24.jpg","text":"TemporaryFile(/tmp/multipartBody6526393177073516773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700178755,"filename":"image_24012025_07_22_02_422146_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330959395","file1":"1330959340","file0":"1330959270","file4":"1330959659","file5":"1330959710","file3":"1330959547"},"map_files_photo_id_array":[{"photo_id":"1330959710","filename":"file5"},{"photo_id":"1330959395","filename":"file2"},{"photo_id":"1330959659","filename":"file4"},{"photo_id":"1330959340","filename":"file1"},{"photo_id":"1330959270","filename":"file0"},{"photo_id":"1330959547","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330959395":["hashtag1","hashtag2"]},{"1330959659":["hashtag1","hashtag2"]},{"1330959710":["hashtag1","hashtag2"]},{"1330959547":["hashtag1","hashtag2"]},{"1330959340":["hashtag1","hashtag2"]},{"1330959270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330959395, 1330959659, 1330959710, 1330959547, 1330959340, 1330959270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.22615337371826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:30:02.523515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/24/image_24012025_07_24_02_543336_0001.jpg', '/home/pi/Desktop/images/24012025/07/24/image_24012025_07_24_02_543336_0002.jpg', '/home/pi/Desktop/images/24012025/07/24/image_24012025_07_24_02_543336_0003.jpg', '/home/pi/Desktop/images/24012025/07/25/image_24012025_07_25_03_025568_0000.jpg', '/home/pi/Desktop/images/24012025/07/25/image_24012025_07_25_03_025568_0001.jpg', '/home/pi/Desktop/images/24012025/07/25/image_24012025_07_25_03_025568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/24/image_24012025_07_24_02_543336_0001.jpg
/home/pi/Desktop/images/24012025/07/24/image_24012025_07_24_02_543336_0002.jpg
/home/pi/Desktop/images/24012025/07/24/image_24012025_07_24_02_543336_0003.jpg
/home/pi/Desktop/images/24012025/07/25/image_24012025_07_25_03_025568_0000.jpg
/home/pi/Desktop/images/24012025/07/25/image_24012025_07_25_03_025568_0001.jpg
/home/pi/Desktop/images/24012025/07/25/image_24012025_07_25_03_025568_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330960185","1330960170","1330960167","1330960236","1330960261","1330960252"],"photo_ids_order":["1330960167","1330960170","1330960185","1330960236","1330960252","1330960261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1b24234362aafb4065cbc7dc4ce278c1.jpg","text":"TemporaryFile(/tmp/multipartBody2681477684247216481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700279041,"filename":"image_24012025_07_24_02_543336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b32514d7d444d5eb208b18001723e2c.jpg","text":"TemporaryFile(/tmp/multipartBody7691435664321443699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700279041,"filename":"image_24012025_07_24_02_543336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d8187e560f5bcd0e76249b3d4cbbd915.jpg","text":"TemporaryFile(/tmp/multipartBody2650147579945072064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700279041,"filename":"image_24012025_07_24_02_543336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aba0bde2c2087c7c0c4a22f436aa2ecb.jpg","text":"TemporaryFile(/tmp/multipartBody4501240447497207379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700279041,"filename":"image_24012025_07_25_03_025568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d852f8e0325280391591617e46cd90af.jpg","text":"TemporaryFile(/tmp/multipartBody7710170951299324504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700279041,"filename":"image_24012025_07_25_03_025568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec111a2491fad20dd9ed4f17a45d85d4.jpg","text":"TemporaryFile(/tmp/multipartBody7948123983320722362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700279041,"filename":"image_24012025_07_25_03_025568_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330960185","file1":"1330960170","file0":"1330960167","file4":"1330960252","file5":"1330960261","file3":"1330960236"},"map_files_photo_id_array":[{"photo_id":"1330960261","filename":"file5"},{"photo_id":"1330960185","filename":"file2"},{"photo_id":"1330960252","filename":"file4"},{"photo_id":"1330960170","filename":"file1"},{"photo_id":"1330960167","filename":"file0"},{"photo_id":"1330960236","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330960185":["hashtag1","hashtag2"]},{"1330960170":["hashtag1","hashtag2"]},{"1330960167":["hashtag1","hashtag2"]},{"1330960236":["hashtag1","hashtag2"]},{"1330960261":["hashtag1","hashtag2"]},{"1330960252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330960185, 1330960170, 1330960167, 1330960236, 1330960261, 1330960252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.77557182312012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:31:03.410123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/25/image_24012025_07_25_03_025568_0003.jpg', '/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0000.jpg', '/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0001.jpg', '/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0002.jpg', '/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0003.jpg', '/home/pi/Desktop/images/24012025/07/27/image_24012025_07_27_02_307694_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/25/image_24012025_07_25_03_025568_0003.jpg
/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0000.jpg
/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0001.jpg
/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0002.jpg
/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0003.jpg
/home/pi/Desktop/images/24012025/07/27/image_24012025_07_27_02_307694_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.552021980285645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:31:22.665726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/25/image_24012025_07_25_03_025568_0003.jpg', '/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0000.jpg', '/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0001.jpg', '/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0002.jpg', '/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0003.jpg', '/home/pi/Desktop/images/24012025/07/27/image_24012025_07_27_02_307694_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/25/image_24012025_07_25_03_025568_0003.jpg
/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0000.jpg
/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0001.jpg
/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0002.jpg
/home/pi/Desktop/images/24012025/07/26/image_24012025_07_26_02_540910_0003.jpg
/home/pi/Desktop/images/24012025/07/27/image_24012025_07_27_02_307694_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330960359","1330960368","1330960326","1330960317","1330960379","1330960390"],"photo_ids_order":["1330960317","1330960326","1330960359","1330960368","1330960379","1330960390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b2fa58552b0121c2530ab86bd65a447b.jpg","text":"TemporaryFile(/tmp/multipartBody1337553110149893153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700359514,"filename":"image_24012025_07_26_02_540910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8449b1106ba20d545e6adb3ea15ce249.jpg","text":"TemporaryFile(/tmp/multipartBody5330339241873512156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700359514,"filename":"image_24012025_07_26_02_540910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0c834c36e6a835a0a7116be4108385d.jpg","text":"TemporaryFile(/tmp/multipartBody6510398935098861222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700359514,"filename":"image_24012025_07_26_02_540910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f3da58470006d6a2ffa17a7d88438ccf.jpg","text":"TemporaryFile(/tmp/multipartBody8378907240768506463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700359514,"filename":"image_24012025_07_25_03_025568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2203e32446d8f2e132116e43b37a0136.jpg","text":"TemporaryFile(/tmp/multipartBody7291629931341283058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700359514,"filename":"image_24012025_07_26_02_540910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/59f921324c2e0941ef4caada9ed4b9ae.jpg","text":"TemporaryFile(/tmp/multipartBody1988348031860521139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700359514,"filename":"image_24012025_07_27_02_307694_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330960359","file1":"1330960326","file0":"1330960317","file4":"1330960379","file5":"1330960390","file3":"1330960368"},"map_files_photo_id_array":[{"photo_id":"1330960390","filename":"file5"},{"photo_id":"1330960359","filename":"file2"},{"photo_id":"1330960379","filename":"file4"},{"photo_id":"1330960326","filename":"file1"},{"photo_id":"1330960317","filename":"file0"},{"photo_id":"1330960368","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330960359":["hashtag1","hashtag2"]},{"1330960368":["hashtag1","hashtag2"]},{"1330960326":["hashtag1","hashtag2"]},{"1330960317":["hashtag1","hashtag2"]},{"1330960379":["hashtag1","hashtag2"]},{"1330960390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330960359, 1330960368, 1330960326, 1330960317, 1330960379, 1330960390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.72800064086914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:33:02.485003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/27/image_24012025_07_27_02_307694_0001.jpg', '/home/pi/Desktop/images/24012025/07/27/image_24012025_07_27_02_307694_0002.jpg', '/home/pi/Desktop/images/24012025/07/27/image_24012025_07_27_02_307694_0003.jpg', '/home/pi/Desktop/images/24012025/07/28/image_24012025_07_28_02_850664_0000.jpg', '/home/pi/Desktop/images/24012025/07/28/image_24012025_07_28_02_850664_0001.jpg', '/home/pi/Desktop/images/24012025/07/28/image_24012025_07_28_02_850664_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/27/image_24012025_07_27_02_307694_0001.jpg
/home/pi/Desktop/images/24012025/07/27/image_24012025_07_27_02_307694_0002.jpg
/home/pi/Desktop/images/24012025/07/27/image_24012025_07_27_02_307694_0003.jpg
/home/pi/Desktop/images/24012025/07/28/image_24012025_07_28_02_850664_0000.jpg
/home/pi/Desktop/images/24012025/07/28/image_24012025_07_28_02_850664_0001.jpg
/home/pi/Desktop/images/24012025/07/28/image_24012025_07_28_02_850664_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330960479","1330960458","1330960473","1330960467","1330960463","1330960550"],"photo_ids_order":["1330960458","1330960463","1330960467","1330960473","1330960479","1330960550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00aeb9c83797d4362a044278e4ed8ca1.jpg","text":"TemporaryFile(/tmp/multipartBody2396306869078877711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700459622,"filename":"image_24012025_07_28_02_850664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00d65b1ae24c3c26263129afddc9b97c.jpg","text":"TemporaryFile(/tmp/multipartBody1507025681627843749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700459622,"filename":"image_24012025_07_27_02_307694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ab2f3be1bd1d8e486951334072bbbc1.jpg","text":"TemporaryFile(/tmp/multipartBody3819760694306985236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700459622,"filename":"image_24012025_07_28_02_850664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c2b93af0798890396cd6b172327d191f.jpg","text":"TemporaryFile(/tmp/multipartBody4727461648051727125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700459622,"filename":"image_24012025_07_27_02_307694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2469f1b77a5a1f08ea95619ebfb984d9.jpg","text":"TemporaryFile(/tmp/multipartBody6881766515924747513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700459622,"filename":"image_24012025_07_27_02_307694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/933ea74a2e9d58677399e6e022964fc6.jpg","text":"TemporaryFile(/tmp/multipartBody3262256684940823240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700459622,"filename":"image_24012025_07_28_02_850664_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330960467","file1":"1330960463","file0":"1330960458","file4":"1330960479","file5":"1330960550","file3":"1330960473"},"map_files_photo_id_array":[{"photo_id":"1330960550","filename":"file5"},{"photo_id":"1330960467","filename":"file2"},{"photo_id":"1330960479","filename":"file4"},{"photo_id":"1330960463","filename":"file1"},{"photo_id":"1330960458","filename":"file0"},{"photo_id":"1330960473","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330960479":["hashtag1","hashtag2"]},{"1330960458":["hashtag1","hashtag2"]},{"1330960473":["hashtag1","hashtag2"]},{"1330960467":["hashtag1","hashtag2"]},{"1330960463":["hashtag1","hashtag2"]},{"1330960550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330960479, 1330960458, 1330960473, 1330960467, 1330960463, 1330960550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.889222860336304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:34:22.472354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/28/image_24012025_07_28_02_850664_0003.jpg', '/home/pi/Desktop/images/24012025/07/29/image_24012025_07_29_02_356348_0000.jpg', '/home/pi/Desktop/images/24012025/07/29/image_24012025_07_29_02_356348_0001.jpg', '/home/pi/Desktop/images/24012025/07/29/image_24012025_07_29_02_356348_0002.jpg', '/home/pi/Desktop/images/24012025/07/29/image_24012025_07_29_02_356348_0003.jpg', '/home/pi/Desktop/images/24012025/07/30/image_24012025_07_30_02_908306_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/28/image_24012025_07_28_02_850664_0003.jpg
/home/pi/Desktop/images/24012025/07/29/image_24012025_07_29_02_356348_0000.jpg
/home/pi/Desktop/images/24012025/07/29/image_24012025_07_29_02_356348_0001.jpg
/home/pi/Desktop/images/24012025/07/29/image_24012025_07_29_02_356348_0002.jpg
/home/pi/Desktop/images/24012025/07/29/image_24012025_07_29_02_356348_0003.jpg
/home/pi/Desktop/images/24012025/07/30/image_24012025_07_30_02_908306_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330961220","1330961075","1330961066","1330961213","1330961098","1330961250"],"photo_ids_order":["1330961066","1330961075","1330961098","1330961213","1330961220","1330961250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af36e4eaed778f84700f2d1f805b22f7.jpg","text":"TemporaryFile(/tmp/multipartBody6587828380462652295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700538344,"filename":"image_24012025_07_29_02_356348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d381a818199931977f69038031dfef90.jpg","text":"TemporaryFile(/tmp/multipartBody2179333774286955318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700538344,"filename":"image_24012025_07_29_02_356348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee5b8af01737f2ec9cd9c3b6b7ce5a00.jpg","text":"TemporaryFile(/tmp/multipartBody5932918983042975814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700538344,"filename":"image_24012025_07_28_02_850664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2fef29c91fa39679a2945af135c597a4.jpg","text":"TemporaryFile(/tmp/multipartBody6106975997411802029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700538344,"filename":"image_24012025_07_29_02_356348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/20003ba5b87473cf66c2f45e7eb2900a.jpg","text":"TemporaryFile(/tmp/multipartBody8893329545113444743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700538344,"filename":"image_24012025_07_29_02_356348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae74c8fff596b6f873b52b162eccef6a.jpg","text":"TemporaryFile(/tmp/multipartBody7732397438168363555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700538344,"filename":"image_24012025_07_30_02_908306_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330961098","file1":"1330961075","file0":"1330961066","file4":"1330961220","file5":"1330961250","file3":"1330961213"},"map_files_photo_id_array":[{"photo_id":"1330961250","filename":"file5"},{"photo_id":"1330961098","filename":"file2"},{"photo_id":"1330961220","filename":"file4"},{"photo_id":"1330961075","filename":"file1"},{"photo_id":"1330961066","filename":"file0"},{"photo_id":"1330961213","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330961220":["hashtag1","hashtag2"]},{"1330961075":["hashtag1","hashtag2"]},{"1330961066":["hashtag1","hashtag2"]},{"1330961213":["hashtag1","hashtag2"]},{"1330961098":["hashtag1","hashtag2"]},{"1330961250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330961220, 1330961075, 1330961066, 1330961213, 1330961098, 1330961250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.53097915649414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:35:21.924296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/30/image_24012025_07_30_02_908306_0001.jpg', '/home/pi/Desktop/images/24012025/07/30/image_24012025_07_30_02_908306_0002.jpg', '/home/pi/Desktop/images/24012025/07/30/image_24012025_07_30_02_908306_0003.jpg', '/home/pi/Desktop/images/24012025/07/31/image_24012025_07_31_02_464131_0000.jpg', '/home/pi/Desktop/images/24012025/07/31/image_24012025_07_31_02_464131_0001.jpg', '/home/pi/Desktop/images/24012025/07/31/image_24012025_07_31_02_464131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/30/image_24012025_07_30_02_908306_0001.jpg
/home/pi/Desktop/images/24012025/07/30/image_24012025_07_30_02_908306_0002.jpg
/home/pi/Desktop/images/24012025/07/30/image_24012025_07_30_02_908306_0003.jpg
/home/pi/Desktop/images/24012025/07/31/image_24012025_07_31_02_464131_0000.jpg
/home/pi/Desktop/images/24012025/07/31/image_24012025_07_31_02_464131_0001.jpg
/home/pi/Desktop/images/24012025/07/31/image_24012025_07_31_02_464131_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330961502","1330961399","1330961301","1330961479","1330961464","1330961493"],"photo_ids_order":["1330961301","1330961399","1330961464","1330961479","1330961493","1330961502"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f29d5e72a12c076a5cef551b69cebb40.jpg","text":"TemporaryFile(/tmp/multipartBody4171580939202900721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700598512,"filename":"image_24012025_07_31_02_464131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3086ddd832eb560202f16b78f3e0a814.jpg","text":"TemporaryFile(/tmp/multipartBody8793117856332335459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700598512,"filename":"image_24012025_07_30_02_908306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/df7160ea79f7a28ff9f4ac9e86a7abc8.jpg","text":"TemporaryFile(/tmp/multipartBody2655586128928354539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700598512,"filename":"image_24012025_07_30_02_908306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/981745fc99b2068461d6071cb9bad5fb.jpg","text":"TemporaryFile(/tmp/multipartBody4126167342809110768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700598512,"filename":"image_24012025_07_31_02_464131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5172bef3663201beaa8364f81613e03b.jpg","text":"TemporaryFile(/tmp/multipartBody7059818024553765172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700598512,"filename":"image_24012025_07_30_02_908306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a37579fa12d1a5267af1e35b9546cff.jpg","text":"TemporaryFile(/tmp/multipartBody6640033094647453539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700598512,"filename":"image_24012025_07_31_02_464131_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330961464","file1":"1330961399","file0":"1330961301","file4":"1330961493","file5":"1330961502","file3":"1330961479"},"map_files_photo_id_array":[{"photo_id":"1330961502","filename":"file5"},{"photo_id":"1330961464","filename":"file2"},{"photo_id":"1330961493","filename":"file4"},{"photo_id":"1330961399","filename":"file1"},{"photo_id":"1330961301","filename":"file0"},{"photo_id":"1330961479","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330961502":["hashtag1","hashtag2"]},{"1330961399":["hashtag1","hashtag2"]},{"1330961301":["hashtag1","hashtag2"]},{"1330961479":["hashtag1","hashtag2"]},{"1330961464":["hashtag1","hashtag2"]},{"1330961493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330961502, 1330961399, 1330961301, 1330961479, 1330961464, 1330961493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.28614401817322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:36:22.445054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/31/image_24012025_07_31_02_464131_0003.jpg', '/home/pi/Desktop/images/24012025/07/32/image_24012025_07_32_03_072743_0000.jpg', '/home/pi/Desktop/images/24012025/07/32/image_24012025_07_32_03_072743_0001.jpg', '/home/pi/Desktop/images/24012025/07/32/image_24012025_07_32_03_072743_0002.jpg', '/home/pi/Desktop/images/24012025/07/32/image_24012025_07_32_03_072743_0003.jpg', '/home/pi/Desktop/images/24012025/07/33/image_24012025_07_33_02_705970_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/31/image_24012025_07_31_02_464131_0003.jpg
/home/pi/Desktop/images/24012025/07/32/image_24012025_07_32_03_072743_0000.jpg
/home/pi/Desktop/images/24012025/07/32/image_24012025_07_32_03_072743_0001.jpg
/home/pi/Desktop/images/24012025/07/32/image_24012025_07_32_03_072743_0002.jpg
/home/pi/Desktop/images/24012025/07/32/image_24012025_07_32_03_072743_0003.jpg
/home/pi/Desktop/images/24012025/07/33/image_24012025_07_33_02_705970_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330961609","1330961599","1330961572","1330961623","1330961632","1330961565"],"photo_ids_order":["1330961565","1330961572","1330961599","1330961609","1330961623","1330961632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/abea789af2ff70fd6b802166a138e6b1.jpg","text":"TemporaryFile(/tmp/multipartBody4412981846899604573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700658632,"filename":"image_24012025_07_32_03_072743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/553090b43eda39e91ad17a0f47eb716b.jpg","text":"TemporaryFile(/tmp/multipartBody1993636677396481377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700658632,"filename":"image_24012025_07_32_03_072743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b10cde82459ed7807d612ba08afa1847.jpg","text":"TemporaryFile(/tmp/multipartBody4061139370232556364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700658632,"filename":"image_24012025_07_32_03_072743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/09833cf033fa35431bc6298d174e5385.jpg","text":"TemporaryFile(/tmp/multipartBody186827902662696567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700658632,"filename":"image_24012025_07_32_03_072743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec521d2ba9a2621000dc8aeacdcdb473.jpg","text":"TemporaryFile(/tmp/multipartBody9219308687658556523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700658632,"filename":"image_24012025_07_33_02_705970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0c2d94bee539a8b942706d5a40f4758c.jpg","text":"TemporaryFile(/tmp/multipartBody6782131868510279573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700658632,"filename":"image_24012025_07_31_02_464131_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330961599","file1":"1330961572","file0":"1330961565","file4":"1330961623","file5":"1330961632","file3":"1330961609"},"map_files_photo_id_array":[{"photo_id":"1330961632","filename":"file5"},{"photo_id":"1330961599","filename":"file2"},{"photo_id":"1330961623","filename":"file4"},{"photo_id":"1330961572","filename":"file1"},{"photo_id":"1330961565","filename":"file0"},{"photo_id":"1330961609","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330961609":["hashtag1","hashtag2"]},{"1330961599":["hashtag1","hashtag2"]},{"1330961572":["hashtag1","hashtag2"]},{"1330961623":["hashtag1","hashtag2"]},{"1330961632":["hashtag1","hashtag2"]},{"1330961565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330961609, 1330961599, 1330961572, 1330961623, 1330961632, 1330961565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.86719584465027 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:38:02.863054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/33/image_24012025_07_33_02_705970_0001.jpg', '/home/pi/Desktop/images/24012025/07/33/image_24012025_07_33_02_705970_0002.jpg', '/home/pi/Desktop/images/24012025/07/33/image_24012025_07_33_02_705970_0003.jpg', '/home/pi/Desktop/images/24012025/07/34/image_24012025_07_34_02_198487_0000.jpg', '/home/pi/Desktop/images/24012025/07/34/image_24012025_07_34_02_198487_0001.jpg', '/home/pi/Desktop/images/24012025/07/34/image_24012025_07_34_02_198487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/33/image_24012025_07_33_02_705970_0001.jpg
/home/pi/Desktop/images/24012025/07/33/image_24012025_07_33_02_705970_0002.jpg
/home/pi/Desktop/images/24012025/07/33/image_24012025_07_33_02_705970_0003.jpg
/home/pi/Desktop/images/24012025/07/34/image_24012025_07_34_02_198487_0000.jpg
/home/pi/Desktop/images/24012025/07/34/image_24012025_07_34_02_198487_0001.jpg
/home/pi/Desktop/images/24012025/07/34/image_24012025_07_34_02_198487_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330962200","1330962113","1330962088","1330962067","1330962334","1330962240"],"photo_ids_order":["1330962067","1330962088","1330962113","1330962200","1330962240","1330962334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/52d0348af5a0f5d5b5531b2da442d5c3.jpg","text":"TemporaryFile(/tmp/multipartBody6758694485081538200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700758883,"filename":"image_24012025_07_34_02_198487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab64ba174c9e02ebdb57c78a678a4935.jpg","text":"TemporaryFile(/tmp/multipartBody2652689135403800177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700758883,"filename":"image_24012025_07_33_02_705970_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eaa488920e4b6675c23390a3059b949b.jpg","text":"TemporaryFile(/tmp/multipartBody2153825773473515254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700758883,"filename":"image_24012025_07_33_02_705970_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a945575506bb49872cb660f9c68bae8.jpg","text":"TemporaryFile(/tmp/multipartBody3961707166917601058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700758883,"filename":"image_24012025_07_33_02_705970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4a906521c194e08a2e57aa13e5ea1003.jpg","text":"TemporaryFile(/tmp/multipartBody1441188869377575676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700758883,"filename":"image_24012025_07_34_02_198487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab643d6949b49797aabfbb59182807f4.jpg","text":"TemporaryFile(/tmp/multipartBody8824277530323688832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700758883,"filename":"image_24012025_07_34_02_198487_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330962113","file1":"1330962088","file0":"1330962067","file4":"1330962240","file5":"1330962334","file3":"1330962200"},"map_files_photo_id_array":[{"photo_id":"1330962334","filename":"file5"},{"photo_id":"1330962113","filename":"file2"},{"photo_id":"1330962240","filename":"file4"},{"photo_id":"1330962088","filename":"file1"},{"photo_id":"1330962067","filename":"file0"},{"photo_id":"1330962200","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330962200":["hashtag1","hashtag2"]},{"1330962113":["hashtag1","hashtag2"]},{"1330962088":["hashtag1","hashtag2"]},{"1330962067":["hashtag1","hashtag2"]},{"1330962334":["hashtag1","hashtag2"]},{"1330962240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330962200, 1330962113, 1330962088, 1330962067, 1330962334, 1330962240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.38360619544983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:39:02.634158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/34/image_24012025_07_34_02_198487_0003.jpg', '/home/pi/Desktop/images/24012025/07/35/image_24012025_07_35_02_828899_0000.jpg', '/home/pi/Desktop/images/24012025/07/35/image_24012025_07_35_02_828899_0001.jpg', '/home/pi/Desktop/images/24012025/07/35/image_24012025_07_35_02_828899_0002.jpg', '/home/pi/Desktop/images/24012025/07/35/image_24012025_07_35_02_828899_0003.jpg', '/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/34/image_24012025_07_34_02_198487_0003.jpg
/home/pi/Desktop/images/24012025/07/35/image_24012025_07_35_02_828899_0000.jpg
/home/pi/Desktop/images/24012025/07/35/image_24012025_07_35_02_828899_0001.jpg
/home/pi/Desktop/images/24012025/07/35/image_24012025_07_35_02_828899_0002.jpg
/home/pi/Desktop/images/24012025/07/35/image_24012025_07_35_02_828899_0003.jpg
/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330963325","1330963028","1330963171","1330962910","1330963263","1330962855"],"photo_ids_order":["1330962855","1330962910","1330963028","1330963171","1330963263","1330963325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f3de99b11efdce58704d0356af6211e.jpg","text":"TemporaryFile(/tmp/multipartBody9136747771354577319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700819225,"filename":"image_24012025_07_36_02_335589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad7f6f359edea1b03861fa4f00cc93fa.jpg","text":"TemporaryFile(/tmp/multipartBody2310242324473643912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700819225,"filename":"image_24012025_07_35_02_828899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aa7e3c09ed5b490e616d44800eef9cee.jpg","text":"TemporaryFile(/tmp/multipartBody3104978752704404562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700819225,"filename":"image_24012025_07_35_02_828899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec2383cb31eb4827f2728a22a0247b33.jpg","text":"TemporaryFile(/tmp/multipartBody5080016105403454605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700819225,"filename":"image_24012025_07_35_02_828899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/922b28084ce80829ff68032cd953149a.jpg","text":"TemporaryFile(/tmp/multipartBody4688822486688648103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700819225,"filename":"image_24012025_07_35_02_828899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c87ee5289d2b5b31dc368362cac47ec1.jpg","text":"TemporaryFile(/tmp/multipartBody9093153196076822968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700819225,"filename":"image_24012025_07_34_02_198487_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330963028","file1":"1330962910","file0":"1330962855","file4":"1330963263","file5":"1330963325","file3":"1330963171"},"map_files_photo_id_array":[{"photo_id":"1330963325","filename":"file5"},{"photo_id":"1330963028","filename":"file2"},{"photo_id":"1330963263","filename":"file4"},{"photo_id":"1330962910","filename":"file1"},{"photo_id":"1330962855","filename":"file0"},{"photo_id":"1330963171","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330963325":["hashtag1","hashtag2"]},{"1330963028":["hashtag1","hashtag2"]},{"1330963171":["hashtag1","hashtag2"]},{"1330962910":["hashtag1","hashtag2"]},{"1330963263":["hashtag1","hashtag2"]},{"1330962855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330963325, 1330963028, 1330963171, 1330962910, 1330963263, 1330962855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.5751576423645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:40:22.679777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0001.jpg', '/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0002.jpg', '/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0003.jpg', '/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0000.jpg', '/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0001.jpg', '/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0001.jpg
/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0002.jpg
/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0003.jpg
/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0000.jpg
/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0001.jpg
/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.155133724212646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:41:02.796626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0001.jpg', '/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0002.jpg', '/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0003.jpg', '/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0000.jpg', '/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0001.jpg', '/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0001.jpg
/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0002.jpg
/home/pi/Desktop/images/24012025/07/36/image_24012025_07_36_02_335589_0003.jpg
/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0000.jpg
/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0001.jpg
/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330964089","1330964116","1330964101","1330964121","1330964109","1330964095"],"photo_ids_order":["1330964089","1330964095","1330964101","1330964109","1330964116","1330964121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/82cf9676d8c9138bcf4cd338172fccb2.jpg","text":"TemporaryFile(/tmp/multipartBody1284942542147269771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700939435,"filename":"image_24012025_07_36_02_335589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dad1f771f0c343c17be7eb3d4f6fa925.jpg","text":"TemporaryFile(/tmp/multipartBody5006795283142859146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700939435,"filename":"image_24012025_07_37_02_850611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/73dd2c6799bc79bda75e7f423c3f925f.jpg","text":"TemporaryFile(/tmp/multipartBody9136293769990179876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700939435,"filename":"image_24012025_07_36_02_335589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c218b546734d0181410b0fd87567702.jpg","text":"TemporaryFile(/tmp/multipartBody969653098323292656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700939435,"filename":"image_24012025_07_37_02_850611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dddd90266842ee24a4a9c8883c509da2.jpg","text":"TemporaryFile(/tmp/multipartBody7297425696904249684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700939435,"filename":"image_24012025_07_37_02_850611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/54821a5f7bd10448d4fd0e97d6bd0d39.jpg","text":"TemporaryFile(/tmp/multipartBody1985142913693146791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737700939435,"filename":"image_24012025_07_36_02_335589_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330964101","file1":"1330964095","file0":"1330964089","file4":"1330964116","file5":"1330964121","file3":"1330964109"},"map_files_photo_id_array":[{"photo_id":"1330964121","filename":"file5"},{"photo_id":"1330964101","filename":"file2"},{"photo_id":"1330964116","filename":"file4"},{"photo_id":"1330964095","filename":"file1"},{"photo_id":"1330964089","filename":"file0"},{"photo_id":"1330964109","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330964089":["hashtag1","hashtag2"]},{"1330964116":["hashtag1","hashtag2"]},{"1330964101":["hashtag1","hashtag2"]},{"1330964121":["hashtag1","hashtag2"]},{"1330964109":["hashtag1","hashtag2"]},{"1330964095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330964089, 1330964116, 1330964101, 1330964121, 1330964109, 1330964095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.06776142120361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:42:02.233856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0003.jpg', '/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0000.jpg', '/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0001.jpg', '/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0002.jpg', '/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0003.jpg', '/home/pi/Desktop/images/24012025/07/39/image_24012025_07_39_02_865471_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0003.jpg
/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0000.jpg
/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0001.jpg
/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0002.jpg
/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0003.jpg
/home/pi/Desktop/images/24012025/07/39/image_24012025_07_39_02_865471_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.918464422225952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:42:21.811800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0003.jpg', '/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0000.jpg', '/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0001.jpg', '/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0002.jpg', '/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0003.jpg', '/home/pi/Desktop/images/24012025/07/39/image_24012025_07_39_02_865471_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/37/image_24012025_07_37_02_850611_0003.jpg
/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0000.jpg
/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0001.jpg
/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0002.jpg
/home/pi/Desktop/images/24012025/07/38/image_24012025_07_38_02_326901_0003.jpg
/home/pi/Desktop/images/24012025/07/39/image_24012025_07_39_02_865471_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330964569","1330964578","1330964583","1330964499","1330964519","1330964504"],"photo_ids_order":["1330964499","1330964504","1330964519","1330964569","1330964578","1330964583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9fcd40813cbd0cf2f551339ad7dcac9a.jpg","text":"TemporaryFile(/tmp/multipartBody688072146458765517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701018095,"filename":"image_24012025_07_38_02_326901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/932b6f4808c133864b4b22982d336089.jpg","text":"TemporaryFile(/tmp/multipartBody751547912984192083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701018095,"filename":"image_24012025_07_38_02_326901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2bc29cc95e56d2526a0cf69d036bc32e.jpg","text":"TemporaryFile(/tmp/multipartBody4477495197790978096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701018095,"filename":"image_24012025_07_39_02_865471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b86db26dd53647e0d7147ad8c7e76e33.jpg","text":"TemporaryFile(/tmp/multipartBody5175635649889819041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701018095,"filename":"image_24012025_07_37_02_850611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3035a943bc937e50590499b56ebf80bc.jpg","text":"TemporaryFile(/tmp/multipartBody7514909919609447056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701018095,"filename":"image_24012025_07_38_02_326901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9742aab7cc4fad11cdafeb376a806bf7.jpg","text":"TemporaryFile(/tmp/multipartBody5810882882618395295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701018095,"filename":"image_24012025_07_38_02_326901_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330964519","file1":"1330964504","file0":"1330964499","file4":"1330964578","file5":"1330964583","file3":"1330964569"},"map_files_photo_id_array":[{"photo_id":"1330964583","filename":"file5"},{"photo_id":"1330964519","filename":"file2"},{"photo_id":"1330964578","filename":"file4"},{"photo_id":"1330964504","filename":"file1"},{"photo_id":"1330964499","filename":"file0"},{"photo_id":"1330964569","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330964569":["hashtag1","hashtag2"]},{"1330964578":["hashtag1","hashtag2"]},{"1330964583":["hashtag1","hashtag2"]},{"1330964499":["hashtag1","hashtag2"]},{"1330964519":["hashtag1","hashtag2"]},{"1330964504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330964569, 1330964578, 1330964583, 1330964499, 1330964519, 1330964504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.84796905517578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:43:22.404517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/39/image_24012025_07_39_02_865471_0001.jpg', '/home/pi/Desktop/images/24012025/07/39/image_24012025_07_39_02_865471_0002.jpg', '/home/pi/Desktop/images/24012025/07/39/image_24012025_07_39_02_865471_0003.jpg', '/home/pi/Desktop/images/24012025/07/40/image_24012025_07_40_02_376551_0000.jpg', '/home/pi/Desktop/images/24012025/07/40/image_24012025_07_40_02_376551_0001.jpg', '/home/pi/Desktop/images/24012025/07/40/image_24012025_07_40_02_376551_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/39/image_24012025_07_39_02_865471_0001.jpg
/home/pi/Desktop/images/24012025/07/39/image_24012025_07_39_02_865471_0002.jpg
/home/pi/Desktop/images/24012025/07/39/image_24012025_07_39_02_865471_0003.jpg
/home/pi/Desktop/images/24012025/07/40/image_24012025_07_40_02_376551_0000.jpg
/home/pi/Desktop/images/24012025/07/40/image_24012025_07_40_02_376551_0001.jpg
/home/pi/Desktop/images/24012025/07/40/image_24012025_07_40_02_376551_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330964635","1330964763","1330964670","1330964649","1330964630","1330964654"],"photo_ids_order":["1330964630","1330964635","1330964649","1330964654","1330964670","1330964763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c7d440bc71de9e3df1478fb507e79cb.jpg","text":"TemporaryFile(/tmp/multipartBody5929876871322286741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701078849,"filename":"image_24012025_07_39_02_865471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d9c044447821163f5f7dfb95351a32a5.jpg","text":"TemporaryFile(/tmp/multipartBody7467494963189995711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701078849,"filename":"image_24012025_07_40_02_376551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/38fccaa6f7904b2b15307c06f19e7381.jpg","text":"TemporaryFile(/tmp/multipartBody6854123659799405760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701078849,"filename":"image_24012025_07_40_02_376551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/78587f62cc01a49d08c712c2a6222af8.jpg","text":"TemporaryFile(/tmp/multipartBody863115232647138468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701078849,"filename":"image_24012025_07_39_02_865471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c0cd20de37cebf799c18256182a313e9.jpg","text":"TemporaryFile(/tmp/multipartBody6953821147557462380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701078849,"filename":"image_24012025_07_39_02_865471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/79bed329b81c114272e93a72bd009926.jpg","text":"TemporaryFile(/tmp/multipartBody2423535239691188108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701078849,"filename":"image_24012025_07_40_02_376551_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330964649","file1":"1330964635","file0":"1330964630","file4":"1330964670","file5":"1330964763","file3":"1330964654"},"map_files_photo_id_array":[{"photo_id":"1330964763","filename":"file5"},{"photo_id":"1330964649","filename":"file2"},{"photo_id":"1330964670","filename":"file4"},{"photo_id":"1330964635","filename":"file1"},{"photo_id":"1330964630","filename":"file0"},{"photo_id":"1330964654","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330964635":["hashtag1","hashtag2"]},{"1330964763":["hashtag1","hashtag2"]},{"1330964670":["hashtag1","hashtag2"]},{"1330964649":["hashtag1","hashtag2"]},{"1330964630":["hashtag1","hashtag2"]},{"1330964654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330964635, 1330964763, 1330964670, 1330964649, 1330964630, 1330964654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.54354667663574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:45:03.252452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/40/image_24012025_07_40_02_376551_0003.jpg', '/home/pi/Desktop/images/24012025/07/41/image_24012025_07_41_03_076225_0000.jpg', '/home/pi/Desktop/images/24012025/07/41/image_24012025_07_41_03_076225_0001.jpg', '/home/pi/Desktop/images/24012025/07/41/image_24012025_07_41_03_076225_0002.jpg', '/home/pi/Desktop/images/24012025/07/41/image_24012025_07_41_03_076225_0003.jpg', '/home/pi/Desktop/images/24012025/07/42/image_24012025_07_42_02_611385_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/40/image_24012025_07_40_02_376551_0003.jpg
/home/pi/Desktop/images/24012025/07/41/image_24012025_07_41_03_076225_0000.jpg
/home/pi/Desktop/images/24012025/07/41/image_24012025_07_41_03_076225_0001.jpg
/home/pi/Desktop/images/24012025/07/41/image_24012025_07_41_03_076225_0002.jpg
/home/pi/Desktop/images/24012025/07/41/image_24012025_07_41_03_076225_0003.jpg
/home/pi/Desktop/images/24012025/07/42/image_24012025_07_42_02_611385_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330965526","1330965495","1330965534","1330965595","1330965547","1330965541"],"photo_ids_order":["1330965495","1330965526","1330965534","1330965541","1330965547","1330965595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32a976d3bc47eb24c8ec81fa0b65377b.jpg","text":"TemporaryFile(/tmp/multipartBody3325838673509772303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701179366,"filename":"image_24012025_07_41_03_076225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cb68332fca5a4c65c27b8376b5b9a447.jpg","text":"TemporaryFile(/tmp/multipartBody3191419374434964540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701179366,"filename":"image_24012025_07_40_02_376551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d1134c83fb63a26c3f47f88423fcb8a.jpg","text":"TemporaryFile(/tmp/multipartBody456310222803714574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701179366,"filename":"image_24012025_07_41_03_076225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e917143514a34c1d221bcb136cc34bbc.jpg","text":"TemporaryFile(/tmp/multipartBody7733262417696798033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701179366,"filename":"image_24012025_07_42_02_611385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/97282af943ef69bd704eb12feab527f9.jpg","text":"TemporaryFile(/tmp/multipartBody670989692640667130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701179366,"filename":"image_24012025_07_41_03_076225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2941dddeca780950103370bb1bd6ff96.jpg","text":"TemporaryFile(/tmp/multipartBody2319430181504848299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701179366,"filename":"image_24012025_07_41_03_076225_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330965534","file1":"1330965526","file0":"1330965495","file4":"1330965547","file5":"1330965595","file3":"1330965541"},"map_files_photo_id_array":[{"photo_id":"1330965595","filename":"file5"},{"photo_id":"1330965534","filename":"file2"},{"photo_id":"1330965547","filename":"file4"},{"photo_id":"1330965526","filename":"file1"},{"photo_id":"1330965495","filename":"file0"},{"photo_id":"1330965541","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330965526":["hashtag1","hashtag2"]},{"1330965495":["hashtag1","hashtag2"]},{"1330965534":["hashtag1","hashtag2"]},{"1330965595":["hashtag1","hashtag2"]},{"1330965547":["hashtag1","hashtag2"]},{"1330965541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330965526, 1330965495, 1330965534, 1330965595, 1330965547, 1330965541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.541566610336304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:46:22.186613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/42/image_24012025_07_42_02_611385_0001.jpg', '/home/pi/Desktop/images/24012025/07/42/image_24012025_07_42_02_611385_0002.jpg', '/home/pi/Desktop/images/24012025/07/42/image_24012025_07_42_02_611385_0003.jpg', '/home/pi/Desktop/images/24012025/07/43/image_24012025_07_43_02_280448_0000.jpg', '/home/pi/Desktop/images/24012025/07/43/image_24012025_07_43_02_280448_0001.jpg', '/home/pi/Desktop/images/24012025/07/43/image_24012025_07_43_02_280448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/42/image_24012025_07_42_02_611385_0001.jpg
/home/pi/Desktop/images/24012025/07/42/image_24012025_07_42_02_611385_0002.jpg
/home/pi/Desktop/images/24012025/07/42/image_24012025_07_42_02_611385_0003.jpg
/home/pi/Desktop/images/24012025/07/43/image_24012025_07_43_02_280448_0000.jpg
/home/pi/Desktop/images/24012025/07/43/image_24012025_07_43_02_280448_0001.jpg
/home/pi/Desktop/images/24012025/07/43/image_24012025_07_43_02_280448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330965904","1330965894","1330965882","1330965887","1330965908","1330965898"],"photo_ids_order":["1330965882","1330965887","1330965894","1330965898","1330965904","1330965908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc89f3ef062625f2d1f5e7a650342558.jpg","text":"TemporaryFile(/tmp/multipartBody7612726606943576526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701258304,"filename":"image_24012025_07_43_02_280448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/88b3f850e59e1909ff3fb77c1e7e85ed.jpg","text":"TemporaryFile(/tmp/multipartBody1268503641711289697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701258304,"filename":"image_24012025_07_42_02_611385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab96f51fcbe53571fc0278d79f141d98.jpg","text":"TemporaryFile(/tmp/multipartBody5400329630296913508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701258304,"filename":"image_24012025_07_42_02_611385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d6d79847c654c10db4ef14c9cb332ae8.jpg","text":"TemporaryFile(/tmp/multipartBody764647382891457899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701258304,"filename":"image_24012025_07_42_02_611385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0888d27f7baeb50a97bfbb803fec99b4.jpg","text":"TemporaryFile(/tmp/multipartBody4564283531837429159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701258304,"filename":"image_24012025_07_43_02_280448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6788a43a3495dfa4c3d95aac03ce9472.jpg","text":"TemporaryFile(/tmp/multipartBody4073451306243574791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701258304,"filename":"image_24012025_07_43_02_280448_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330965894","file1":"1330965887","file0":"1330965882","file4":"1330965904","file5":"1330965908","file3":"1330965898"},"map_files_photo_id_array":[{"photo_id":"1330965908","filename":"file5"},{"photo_id":"1330965894","filename":"file2"},{"photo_id":"1330965904","filename":"file4"},{"photo_id":"1330965887","filename":"file1"},{"photo_id":"1330965882","filename":"file0"},{"photo_id":"1330965898","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330965904":["hashtag1","hashtag2"]},{"1330965894":["hashtag1","hashtag2"]},{"1330965882":["hashtag1","hashtag2"]},{"1330965887":["hashtag1","hashtag2"]},{"1330965908":["hashtag1","hashtag2"]},{"1330965898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330965904, 1330965894, 1330965882, 1330965887, 1330965908, 1330965898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.16980576515198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:48:02.657975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/43/image_24012025_07_43_02_280448_0003.jpg', '/home/pi/Desktop/images/24012025/07/44/image_24012025_07_44_02_831519_0000.jpg', '/home/pi/Desktop/images/24012025/07/44/image_24012025_07_44_02_831519_0001.jpg', '/home/pi/Desktop/images/24012025/07/44/image_24012025_07_44_02_831519_0002.jpg', '/home/pi/Desktop/images/24012025/07/44/image_24012025_07_44_02_831519_0003.jpg', '/home/pi/Desktop/images/24012025/07/45/image_24012025_07_45_02_351602_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/43/image_24012025_07_43_02_280448_0003.jpg
/home/pi/Desktop/images/24012025/07/44/image_24012025_07_44_02_831519_0000.jpg
/home/pi/Desktop/images/24012025/07/44/image_24012025_07_44_02_831519_0001.jpg
/home/pi/Desktop/images/24012025/07/44/image_24012025_07_44_02_831519_0002.jpg
/home/pi/Desktop/images/24012025/07/44/image_24012025_07_44_02_831519_0003.jpg
/home/pi/Desktop/images/24012025/07/45/image_24012025_07_45_02_351602_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330965972","1330965960","1330965962","1330965967","1330965955","1330965979"],"photo_ids_order":["1330965955","1330965960","1330965962","1330965967","1330965972","1330965979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37115627802b3add2a95f2630470909e.jpg","text":"TemporaryFile(/tmp/multipartBody1463792816051501796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701359000,"filename":"image_24012025_07_44_02_831519_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/300664eab4aa017f68720e425aac3279.jpg","text":"TemporaryFile(/tmp/multipartBody5210010925099047664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701359000,"filename":"image_24012025_07_44_02_831519_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7a93aea960639b302b1029a0f6e3a91.jpg","text":"TemporaryFile(/tmp/multipartBody7681889257195046532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701359000,"filename":"image_24012025_07_44_02_831519_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8ccaa37e742fd921a14c51da868de36e.jpg","text":"TemporaryFile(/tmp/multipartBody2974732254755094749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701359000,"filename":"image_24012025_07_44_02_831519_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5cafa8ba1ae4f73116977cd157bc6a5.jpg","text":"TemporaryFile(/tmp/multipartBody6195730249910561309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701359000,"filename":"image_24012025_07_43_02_280448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/996b5d751f58df293cdf4a9804e9e1d6.jpg","text":"TemporaryFile(/tmp/multipartBody1844905351764427800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701359000,"filename":"image_24012025_07_45_02_351602_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330965962","file1":"1330965960","file0":"1330965955","file4":"1330965972","file5":"1330965979","file3":"1330965967"},"map_files_photo_id_array":[{"photo_id":"1330965979","filename":"file5"},{"photo_id":"1330965962","filename":"file2"},{"photo_id":"1330965972","filename":"file4"},{"photo_id":"1330965960","filename":"file1"},{"photo_id":"1330965955","filename":"file0"},{"photo_id":"1330965967","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330965972":["hashtag1","hashtag2"]},{"1330965960":["hashtag1","hashtag2"]},{"1330965962":["hashtag1","hashtag2"]},{"1330965967":["hashtag1","hashtag2"]},{"1330965955":["hashtag1","hashtag2"]},{"1330965979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330965972, 1330965960, 1330965962, 1330965967, 1330965955, 1330965979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.5193145275116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:49:02.435406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/45/image_24012025_07_45_02_351602_0001.jpg', '/home/pi/Desktop/images/24012025/07/45/image_24012025_07_45_02_351602_0002.jpg', '/home/pi/Desktop/images/24012025/07/45/image_24012025_07_45_02_351602_0003.jpg', '/home/pi/Desktop/images/24012025/07/46/image_24012025_07_46_02_862367_0000.jpg', '/home/pi/Desktop/images/24012025/07/46/image_24012025_07_46_02_862367_0001.jpg', '/home/pi/Desktop/images/24012025/07/46/image_24012025_07_46_02_862367_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/45/image_24012025_07_45_02_351602_0001.jpg
/home/pi/Desktop/images/24012025/07/45/image_24012025_07_45_02_351602_0002.jpg
/home/pi/Desktop/images/24012025/07/45/image_24012025_07_45_02_351602_0003.jpg
/home/pi/Desktop/images/24012025/07/46/image_24012025_07_46_02_862367_0000.jpg
/home/pi/Desktop/images/24012025/07/46/image_24012025_07_46_02_862367_0001.jpg
/home/pi/Desktop/images/24012025/07/46/image_24012025_07_46_02_862367_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330966023","1330966017","1330966028","1330966033","1330966012","1330966006"],"photo_ids_order":["1330966006","1330966012","1330966017","1330966023","1330966028","1330966033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f17106fd289eec1adba1d54ffb682b3.jpg","text":"TemporaryFile(/tmp/multipartBody8011665257238278906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701419372,"filename":"image_24012025_07_46_02_862367_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d2b54a3b7de66333d269ad4dcac93af.jpg","text":"TemporaryFile(/tmp/multipartBody4287321802667268945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701419372,"filename":"image_24012025_07_45_02_351602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ca09d26f82783fc37ad830ab30a70928.jpg","text":"TemporaryFile(/tmp/multipartBody4047541171892734663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701419372,"filename":"image_24012025_07_46_02_862367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9096d3e5fff629eabdc53cbe9c72df90.jpg","text":"TemporaryFile(/tmp/multipartBody8422189973325779459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701419372,"filename":"image_24012025_07_46_02_862367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63e8beb60d65702e726623048467b187.jpg","text":"TemporaryFile(/tmp/multipartBody8396398837170349409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701419372,"filename":"image_24012025_07_45_02_351602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e78dd6bb113f84975c6acd96e9b6bb5d.jpg","text":"TemporaryFile(/tmp/multipartBody4171690816462570784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701419372,"filename":"image_24012025_07_45_02_351602_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330966017","file1":"1330966012","file0":"1330966006","file4":"1330966028","file5":"1330966033","file3":"1330966023"},"map_files_photo_id_array":[{"photo_id":"1330966033","filename":"file5"},{"photo_id":"1330966017","filename":"file2"},{"photo_id":"1330966028","filename":"file4"},{"photo_id":"1330966012","filename":"file1"},{"photo_id":"1330966006","filename":"file0"},{"photo_id":"1330966023","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330966023":["hashtag1","hashtag2"]},{"1330966017":["hashtag1","hashtag2"]},{"1330966028":["hashtag1","hashtag2"]},{"1330966033":["hashtag1","hashtag2"]},{"1330966012":["hashtag1","hashtag2"]},{"1330966006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330966023, 1330966017, 1330966028, 1330966033, 1330966012, 1330966006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.32880187034607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:50:22.373142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/46/image_24012025_07_46_02_862367_0003.jpg', '/home/pi/Desktop/images/24012025/07/47/image_24012025_07_47_02_611824_0000.jpg', '/home/pi/Desktop/images/24012025/07/47/image_24012025_07_47_02_611824_0001.jpg', '/home/pi/Desktop/images/24012025/07/47/image_24012025_07_47_02_611824_0002.jpg', '/home/pi/Desktop/images/24012025/07/47/image_24012025_07_47_02_611824_0003.jpg', '/home/pi/Desktop/images/24012025/07/48/image_24012025_07_48_02_130170_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/46/image_24012025_07_46_02_862367_0003.jpg
/home/pi/Desktop/images/24012025/07/47/image_24012025_07_47_02_611824_0000.jpg
/home/pi/Desktop/images/24012025/07/47/image_24012025_07_47_02_611824_0001.jpg
/home/pi/Desktop/images/24012025/07/47/image_24012025_07_47_02_611824_0002.jpg
/home/pi/Desktop/images/24012025/07/47/image_24012025_07_47_02_611824_0003.jpg
/home/pi/Desktop/images/24012025/07/48/image_24012025_07_48_02_130170_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330966092","1330966079","1330966064","1330966072","1330966057","1330966083"],"photo_ids_order":["1330966057","1330966064","1330966072","1330966079","1330966083","1330966092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/195ab0deea8a5ca45684d906e4d1d222.jpg","text":"TemporaryFile(/tmp/multipartBody890010952157144840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701498213,"filename":"image_24012025_07_48_02_130170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee2f5f8c7731b27962b7dc277ba87a90.jpg","text":"TemporaryFile(/tmp/multipartBody8229800555792704003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701498213,"filename":"image_24012025_07_47_02_611824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf21c5c5c4723f31a0bf1b42fa7f82e9.jpg","text":"TemporaryFile(/tmp/multipartBody8318248684721565635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701498213,"filename":"image_24012025_07_47_02_611824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b200a0ae19a62962c417f88e3f77883f.jpg","text":"TemporaryFile(/tmp/multipartBody2453307529988098133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701498213,"filename":"image_24012025_07_47_02_611824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4343fc28ba23047d669a66520e99a51e.jpg","text":"TemporaryFile(/tmp/multipartBody6833187188470237549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701498213,"filename":"image_24012025_07_46_02_862367_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ee2dd4ca79c8e7c9e6bb4494c0d07f1.jpg","text":"TemporaryFile(/tmp/multipartBody5832158736240868429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701498213,"filename":"image_24012025_07_47_02_611824_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330966072","file1":"1330966064","file0":"1330966057","file4":"1330966083","file5":"1330966092","file3":"1330966079"},"map_files_photo_id_array":[{"photo_id":"1330966092","filename":"file5"},{"photo_id":"1330966072","filename":"file2"},{"photo_id":"1330966083","filename":"file4"},{"photo_id":"1330966064","filename":"file1"},{"photo_id":"1330966057","filename":"file0"},{"photo_id":"1330966079","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330966092":["hashtag1","hashtag2"]},{"1330966079":["hashtag1","hashtag2"]},{"1330966064":["hashtag1","hashtag2"]},{"1330966072":["hashtag1","hashtag2"]},{"1330966057":["hashtag1","hashtag2"]},{"1330966083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330966092, 1330966079, 1330966064, 1330966072, 1330966057, 1330966083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.11710047721863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:51:21.863470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/48/image_24012025_07_48_02_130170_0001.jpg', '/home/pi/Desktop/images/24012025/07/48/image_24012025_07_48_02_130170_0002.jpg', '/home/pi/Desktop/images/24012025/07/48/image_24012025_07_48_02_130170_0003.jpg', '/home/pi/Desktop/images/24012025/07/49/image_24012025_07_49_02_661102_0000.jpg', '/home/pi/Desktop/images/24012025/07/49/image_24012025_07_49_02_661102_0001.jpg', '/home/pi/Desktop/images/24012025/07/49/image_24012025_07_49_02_661102_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/48/image_24012025_07_48_02_130170_0001.jpg
/home/pi/Desktop/images/24012025/07/48/image_24012025_07_48_02_130170_0002.jpg
/home/pi/Desktop/images/24012025/07/48/image_24012025_07_48_02_130170_0003.jpg
/home/pi/Desktop/images/24012025/07/49/image_24012025_07_49_02_661102_0000.jpg
/home/pi/Desktop/images/24012025/07/49/image_24012025_07_49_02_661102_0001.jpg
/home/pi/Desktop/images/24012025/07/49/image_24012025_07_49_02_661102_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330966461","1330966230","1330966335","1330966280","1330966253","1330966564"],"photo_ids_order":["1330966230","1330966253","1330966280","1330966335","1330966461","1330966564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/31840fb8aa10b5b3c13122a3f8921b68.jpg","text":"TemporaryFile(/tmp/multipartBody8957896899930664646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701557506,"filename":"image_24012025_07_49_02_661102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b5a5834518db1070985d4230f0d3246.jpg","text":"TemporaryFile(/tmp/multipartBody8262411245659948655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701557506,"filename":"image_24012025_07_48_02_130170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/29322ee365f6cb81000bceb9e1ca3fcd.jpg","text":"TemporaryFile(/tmp/multipartBody6087525973860615949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701557506,"filename":"image_24012025_07_49_02_661102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a7d6984d1376854805e0bcd767207e8.jpg","text":"TemporaryFile(/tmp/multipartBody6035970042298231231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701557506,"filename":"image_24012025_07_48_02_130170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/de474e289dd16aae35442ff30db0b9e2.jpg","text":"TemporaryFile(/tmp/multipartBody5234820964749578458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701557506,"filename":"image_24012025_07_48_02_130170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b1bff6267f498d525f312640f61920e0.jpg","text":"TemporaryFile(/tmp/multipartBody6426972194914382478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701557506,"filename":"image_24012025_07_49_02_661102_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330966280","file1":"1330966253","file0":"1330966230","file4":"1330966461","file5":"1330966564","file3":"1330966335"},"map_files_photo_id_array":[{"photo_id":"1330966564","filename":"file5"},{"photo_id":"1330966280","filename":"file2"},{"photo_id":"1330966461","filename":"file4"},{"photo_id":"1330966253","filename":"file1"},{"photo_id":"1330966230","filename":"file0"},{"photo_id":"1330966335","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330966461":["hashtag1","hashtag2"]},{"1330966230":["hashtag1","hashtag2"]},{"1330966335":["hashtag1","hashtag2"]},{"1330966280":["hashtag1","hashtag2"]},{"1330966253":["hashtag1","hashtag2"]},{"1330966564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330966461, 1330966230, 1330966335, 1330966280, 1330966253, 1330966564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.82750201225281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:52:22.477075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/49/image_24012025_07_49_02_661102_0003.jpg', '/home/pi/Desktop/images/24012025/07/50/image_24012025_07_50_02_178049_0000.jpg', '/home/pi/Desktop/images/24012025/07/50/image_24012025_07_50_02_178049_0001.jpg', '/home/pi/Desktop/images/24012025/07/50/image_24012025_07_50_02_178049_0003.jpg', '/home/pi/Desktop/images/24012025/07/51/image_24012025_07_51_02_789667_0000.jpg', '/home/pi/Desktop/images/24012025/07/51/image_24012025_07_51_02_789667_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/49/image_24012025_07_49_02_661102_0003.jpg
/home/pi/Desktop/images/24012025/07/50/image_24012025_07_50_02_178049_0000.jpg
/home/pi/Desktop/images/24012025/07/50/image_24012025_07_50_02_178049_0001.jpg
/home/pi/Desktop/images/24012025/07/50/image_24012025_07_50_02_178049_0003.jpg
/home/pi/Desktop/images/24012025/07/51/image_24012025_07_51_02_789667_0000.jpg
/home/pi/Desktop/images/24012025/07/51/image_24012025_07_51_02_789667_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.957584857940674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:53:02.554487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/49/image_24012025_07_49_02_661102_0003.jpg', '/home/pi/Desktop/images/24012025/07/50/image_24012025_07_50_02_178049_0000.jpg', '/home/pi/Desktop/images/24012025/07/50/image_24012025_07_50_02_178049_0001.jpg', '/home/pi/Desktop/images/24012025/07/50/image_24012025_07_50_02_178049_0003.jpg', '/home/pi/Desktop/images/24012025/07/51/image_24012025_07_51_02_789667_0000.jpg', '/home/pi/Desktop/images/24012025/07/51/image_24012025_07_51_02_789667_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/49/image_24012025_07_49_02_661102_0003.jpg
/home/pi/Desktop/images/24012025/07/50/image_24012025_07_50_02_178049_0000.jpg
/home/pi/Desktop/images/24012025/07/50/image_24012025_07_50_02_178049_0001.jpg
/home/pi/Desktop/images/24012025/07/50/image_24012025_07_50_02_178049_0003.jpg
/home/pi/Desktop/images/24012025/07/51/image_24012025_07_51_02_789667_0000.jpg
/home/pi/Desktop/images/24012025/07/51/image_24012025_07_51_02_789667_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330967456","1330967351","1330967309","1330967306","1330967512","1330967302"],"photo_ids_order":["1330967302","1330967306","1330967309","1330967351","1330967456","1330967512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/11f5282641e1d3570af98ed495731402.jpg","text":"TemporaryFile(/tmp/multipartBody273779487787649520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701658990,"filename":"image_24012025_07_51_02_789667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8ebb7d7e99657bd7cefdbc0eb47f9334.jpg","text":"TemporaryFile(/tmp/multipartBody5049436072718188575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701658990,"filename":"image_24012025_07_50_02_178049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c6a99f188d7692c7e7b23fdce56daead.jpg","text":"TemporaryFile(/tmp/multipartBody3533086311103393247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701658990,"filename":"image_24012025_07_50_02_178049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/752fe55511e248980772f89088720505.jpg","text":"TemporaryFile(/tmp/multipartBody8438094560284180359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701658990,"filename":"image_24012025_07_50_02_178049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a9d30b2a2daebcaf39e53bdaa4fbe635.jpg","text":"TemporaryFile(/tmp/multipartBody2782420552706568807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701658990,"filename":"image_24012025_07_51_02_789667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2e7b5c2de653127b6a4dd0a60684a54d.jpg","text":"TemporaryFile(/tmp/multipartBody2474397112494260686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701658990,"filename":"image_24012025_07_49_02_661102_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330967309","file1":"1330967306","file0":"1330967302","file4":"1330967456","file5":"1330967512","file3":"1330967351"},"map_files_photo_id_array":[{"photo_id":"1330967512","filename":"file5"},{"photo_id":"1330967309","filename":"file2"},{"photo_id":"1330967456","filename":"file4"},{"photo_id":"1330967306","filename":"file1"},{"photo_id":"1330967302","filename":"file0"},{"photo_id":"1330967351","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330967456":["hashtag1","hashtag2"]},{"1330967351":["hashtag1","hashtag2"]},{"1330967309":["hashtag1","hashtag2"]},{"1330967306":["hashtag1","hashtag2"]},{"1330967512":["hashtag1","hashtag2"]},{"1330967302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330967456, 1330967351, 1330967309, 1330967306, 1330967512, 1330967302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.070961236953735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:54:02.934825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/51/image_24012025_07_51_02_789667_0002.jpg', '/home/pi/Desktop/images/24012025/07/51/image_24012025_07_51_02_789667_0003.jpg', '/home/pi/Desktop/images/24012025/07/52/image_24012025_07_52_02_322517_0000.jpg', '/home/pi/Desktop/images/24012025/07/52/image_24012025_07_52_02_322517_0001.jpg', '/home/pi/Desktop/images/24012025/07/52/image_24012025_07_52_02_322517_0002.jpg', '/home/pi/Desktop/images/24012025/07/52/image_24012025_07_52_02_322517_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/51/image_24012025_07_51_02_789667_0002.jpg
/home/pi/Desktop/images/24012025/07/51/image_24012025_07_51_02_789667_0003.jpg
/home/pi/Desktop/images/24012025/07/52/image_24012025_07_52_02_322517_0000.jpg
/home/pi/Desktop/images/24012025/07/52/image_24012025_07_52_02_322517_0001.jpg
/home/pi/Desktop/images/24012025/07/52/image_24012025_07_52_02_322517_0002.jpg
/home/pi/Desktop/images/24012025/07/52/image_24012025_07_52_02_322517_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330967698","1330967683","1330967674","1330967691","1330967646","1330967661"],"photo_ids_order":["1330967646","1330967661","1330967674","1330967683","1330967691","1330967698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21d07a49c6cd8596e3f9f7dff01e88aa.jpg","text":"TemporaryFile(/tmp/multipartBody3322334322804313652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701719837,"filename":"image_24012025_07_52_02_322517_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2b449e1554bb181fce8ac45d0d1b9eb3.jpg","text":"TemporaryFile(/tmp/multipartBody729858255444520994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701719837,"filename":"image_24012025_07_52_02_322517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/174406f891ce83bbd598bdbc5140aebb.jpg","text":"TemporaryFile(/tmp/multipartBody8109441207686253036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701719837,"filename":"image_24012025_07_52_02_322517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/295094370e3dceea0b1cf463ecc21798.jpg","text":"TemporaryFile(/tmp/multipartBody7639989462382320142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701719837,"filename":"image_24012025_07_52_02_322517_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/336f87bbaf23df3e3adddd5809c61df9.jpg","text":"TemporaryFile(/tmp/multipartBody2590587788594056580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701719837,"filename":"image_24012025_07_51_02_789667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5098b1ffb9bd53e343e4d3654bcefe53.jpg","text":"TemporaryFile(/tmp/multipartBody2586029448031414553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701719837,"filename":"image_24012025_07_51_02_789667_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330967674","file1":"1330967661","file0":"1330967646","file4":"1330967691","file5":"1330967698","file3":"1330967683"},"map_files_photo_id_array":[{"photo_id":"1330967698","filename":"file5"},{"photo_id":"1330967674","filename":"file2"},{"photo_id":"1330967691","filename":"file4"},{"photo_id":"1330967661","filename":"file1"},{"photo_id":"1330967646","filename":"file0"},{"photo_id":"1330967683","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330967698":["hashtag1","hashtag2"]},{"1330967683":["hashtag1","hashtag2"]},{"1330967674":["hashtag1","hashtag2"]},{"1330967691":["hashtag1","hashtag2"]},{"1330967646":["hashtag1","hashtag2"]},{"1330967661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330967698, 1330967683, 1330967674, 1330967691, 1330967646, 1330967661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.26969909667969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:55:21.944764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/53/image_24012025_07_53_02_819404_0000.jpg', '/home/pi/Desktop/images/24012025/07/53/image_24012025_07_53_02_819404_0001.jpg', '/home/pi/Desktop/images/24012025/07/53/image_24012025_07_53_02_819404_0002.jpg', '/home/pi/Desktop/images/24012025/07/53/image_24012025_07_53_02_819404_0003.jpg', '/home/pi/Desktop/images/24012025/07/54/image_24012025_07_54_02_287734_0000.jpg', '/home/pi/Desktop/images/24012025/07/54/image_24012025_07_54_02_287734_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/53/image_24012025_07_53_02_819404_0000.jpg
/home/pi/Desktop/images/24012025/07/53/image_24012025_07_53_02_819404_0001.jpg
/home/pi/Desktop/images/24012025/07/53/image_24012025_07_53_02_819404_0002.jpg
/home/pi/Desktop/images/24012025/07/53/image_24012025_07_53_02_819404_0003.jpg
/home/pi/Desktop/images/24012025/07/54/image_24012025_07_54_02_287734_0000.jpg
/home/pi/Desktop/images/24012025/07/54/image_24012025_07_54_02_287734_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330967762","1330967749","1330967740","1330967725","1330967757","1330967733"],"photo_ids_order":["1330967725","1330967733","1330967740","1330967749","1330967757","1330967762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72142e3d4b360a6a9701b630f58d6875.jpg","text":"TemporaryFile(/tmp/multipartBody3214123932748628838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701798155,"filename":"image_24012025_07_54_02_287734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e443245e660c02eb7c4d478b4b055d0a.jpg","text":"TemporaryFile(/tmp/multipartBody8153921675276717881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701798155,"filename":"image_24012025_07_53_02_819404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bdfe8c4e06411a53a0d22c4fdb9f2882.jpg","text":"TemporaryFile(/tmp/multipartBody6118345527700468876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701798155,"filename":"image_24012025_07_53_02_819404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6bf5cee498f0b042dc19ce2791d2773f.jpg","text":"TemporaryFile(/tmp/multipartBody5237674329571598139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701798155,"filename":"image_24012025_07_53_02_819404_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc93ed4e7178aa5672cf9c83c4df8af0.jpg","text":"TemporaryFile(/tmp/multipartBody3581974159646738999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701798155,"filename":"image_24012025_07_54_02_287734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0239db5259ca2d0767dfa0131f12d8b.jpg","text":"TemporaryFile(/tmp/multipartBody89291902656648778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701798155,"filename":"image_24012025_07_53_02_819404_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330967740","file1":"1330967733","file0":"1330967725","file4":"1330967757","file5":"1330967762","file3":"1330967749"},"map_files_photo_id_array":[{"photo_id":"1330967762","filename":"file5"},{"photo_id":"1330967740","filename":"file2"},{"photo_id":"1330967757","filename":"file4"},{"photo_id":"1330967733","filename":"file1"},{"photo_id":"1330967725","filename":"file0"},{"photo_id":"1330967749","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330967762":["hashtag1","hashtag2"]},{"1330967749":["hashtag1","hashtag2"]},{"1330967740":["hashtag1","hashtag2"]},{"1330967725":["hashtag1","hashtag2"]},{"1330967757":["hashtag1","hashtag2"]},{"1330967733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330967762, 1330967749, 1330967740, 1330967725, 1330967757, 1330967733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.11066937446594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:56:22.491839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/54/image_24012025_07_54_02_287734_0003.jpg', '/home/pi/Desktop/images/24012025/07/55/image_24012025_07_55_02_865868_0000.jpg', '/home/pi/Desktop/images/24012025/07/55/image_24012025_07_55_02_865868_0001.jpg', '/home/pi/Desktop/images/24012025/07/55/image_24012025_07_55_02_865868_0002.jpg', '/home/pi/Desktop/images/24012025/07/55/image_24012025_07_55_02_865868_0003.jpg', '/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/54/image_24012025_07_54_02_287734_0003.jpg
/home/pi/Desktop/images/24012025/07/55/image_24012025_07_55_02_865868_0000.jpg
/home/pi/Desktop/images/24012025/07/55/image_24012025_07_55_02_865868_0001.jpg
/home/pi/Desktop/images/24012025/07/55/image_24012025_07_55_02_865868_0002.jpg
/home/pi/Desktop/images/24012025/07/55/image_24012025_07_55_02_865868_0003.jpg
/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330967792","1330967786","1330967797","1330967801","1330967806","1330967781"],"photo_ids_order":["1330967781","1330967786","1330967792","1330967797","1330967801","1330967806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/638697cde209a9456b62e1535ea66629.jpg","text":"TemporaryFile(/tmp/multipartBody6728020356421962471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701859036,"filename":"image_24012025_07_55_02_865868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5fc9181c38b2c781b78bafc13e41aa6f.jpg","text":"TemporaryFile(/tmp/multipartBody7548820708384338547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701859036,"filename":"image_24012025_07_55_02_865868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7bbe1ad46d11fba8ab70ad322508c566.jpg","text":"TemporaryFile(/tmp/multipartBody9162099136590438074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701859036,"filename":"image_24012025_07_55_02_865868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9835796ddd34ab314080e6870a66eac4.jpg","text":"TemporaryFile(/tmp/multipartBody3006997611399393302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701859036,"filename":"image_24012025_07_55_02_865868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6afe20c949b470d3f1891944a053af80.jpg","text":"TemporaryFile(/tmp/multipartBody2527607483273111532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701859036,"filename":"image_24012025_07_56_02_318025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8fc6855362f6da5742b895809e830e30.jpg","text":"TemporaryFile(/tmp/multipartBody1252517972748981664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737701859036,"filename":"image_24012025_07_54_02_287734_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330967792","file1":"1330967786","file0":"1330967781","file4":"1330967801","file5":"1330967806","file3":"1330967797"},"map_files_photo_id_array":[{"photo_id":"1330967806","filename":"file5"},{"photo_id":"1330967792","filename":"file2"},{"photo_id":"1330967801","filename":"file4"},{"photo_id":"1330967786","filename":"file1"},{"photo_id":"1330967781","filename":"file0"},{"photo_id":"1330967797","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330967792":["hashtag1","hashtag2"]},{"1330967786":["hashtag1","hashtag2"]},{"1330967797":["hashtag1","hashtag2"]},{"1330967801":["hashtag1","hashtag2"]},{"1330967806":["hashtag1","hashtag2"]},{"1330967781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330967792, 1330967786, 1330967797, 1330967801, 1330967806, 1330967781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.182528257369995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:57:21.917906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0001.jpg', '/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0002.jpg', '/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0003.jpg', '/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0000.jpg', '/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0001.jpg', '/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0001.jpg
/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0002.jpg
/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0003.jpg
/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0000.jpg
/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0001.jpg
/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0002.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 07:59:03.380128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 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 626, 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 refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 07:59:22.704036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0001.jpg', '/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0002.jpg', '/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0003.jpg', '/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0000.jpg', '/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0001.jpg', '/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0001.jpg
/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0002.jpg
/home/pi/Desktop/images/24012025/07/56/image_24012025_07_56_02_318025_0003.jpg
/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0000.jpg
/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0001.jpg
/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330969211","1330969205","1330969208","1330969198","1330969191","1330969215"],"photo_ids_order":["1330969191","1330969198","1330969205","1330969208","1330969211","1330969215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/084356536a206b34d1bbefbb5d400cae.jpg","text":"TemporaryFile(/tmp/multipartBody4317522918263128230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702038259,"filename":"image_24012025_07_57_02_816249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/515c26c6f6a2e1e901e64f846d0985f7.jpg","text":"TemporaryFile(/tmp/multipartBody4398535747758743910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702038259,"filename":"image_24012025_07_56_02_318025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0d4cc671599a18ff8360546cfb711a8.jpg","text":"TemporaryFile(/tmp/multipartBody2060081302417227826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702038259,"filename":"image_24012025_07_57_02_816249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/61280438ff3f7fce824f2f7a56110f68.jpg","text":"TemporaryFile(/tmp/multipartBody1773199285789036751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702038259,"filename":"image_24012025_07_56_02_318025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3910330a00f57c3c390d41532fcb1c23.jpg","text":"TemporaryFile(/tmp/multipartBody873487980687147007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702038259,"filename":"image_24012025_07_56_02_318025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a72a75550fb8c3c17b875c66582fdafa.jpg","text":"TemporaryFile(/tmp/multipartBody6447577145351755476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702038259,"filename":"image_24012025_07_57_02_816249_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330969205","file1":"1330969198","file0":"1330969191","file4":"1330969211","file5":"1330969215","file3":"1330969208"},"map_files_photo_id_array":[{"photo_id":"1330969215","filename":"file5"},{"photo_id":"1330969205","filename":"file2"},{"photo_id":"1330969211","filename":"file4"},{"photo_id":"1330969198","filename":"file1"},{"photo_id":"1330969191","filename":"file0"},{"photo_id":"1330969208","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330969211":["hashtag1","hashtag2"]},{"1330969205":["hashtag1","hashtag2"]},{"1330969208":["hashtag1","hashtag2"]},{"1330969198":["hashtag1","hashtag2"]},{"1330969191":["hashtag1","hashtag2"]},{"1330969215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330969211, 1330969205, 1330969208, 1330969198, 1330969191, 1330969215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.84506583213806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:00:22.230862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0003.jpg', '/home/pi/Desktop/images/24012025/07/58/image_24012025_07_58_02_408921_0000.jpg', '/home/pi/Desktop/images/24012025/07/58/image_24012025_07_58_02_408921_0001.jpg', '/home/pi/Desktop/images/24012025/07/58/image_24012025_07_58_02_408921_0002.jpg', '/home/pi/Desktop/images/24012025/07/58/image_24012025_07_58_02_408921_0003.jpg', '/home/pi/Desktop/images/24012025/07/59/image_24012025_07_59_02_882486_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/57/image_24012025_07_57_02_816249_0003.jpg
/home/pi/Desktop/images/24012025/07/58/image_24012025_07_58_02_408921_0000.jpg
/home/pi/Desktop/images/24012025/07/58/image_24012025_07_58_02_408921_0001.jpg
/home/pi/Desktop/images/24012025/07/58/image_24012025_07_58_02_408921_0002.jpg
/home/pi/Desktop/images/24012025/07/58/image_24012025_07_58_02_408921_0003.jpg
/home/pi/Desktop/images/24012025/07/59/image_24012025_07_59_02_882486_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330969486","1330969408","1330969479","1330969482","1330969472","1330969433"],"photo_ids_order":["1330969408","1330969433","1330969472","1330969479","1330969482","1330969486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/670c0054484aec271328039e5f76f133.jpg","text":"TemporaryFile(/tmp/multipartBody6313938732461014188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702099185,"filename":"image_24012025_07_59_02_882486_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5655d171f0cdb4cb6c534d9b9760743.jpg","text":"TemporaryFile(/tmp/multipartBody1016616994382850583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702099185,"filename":"image_24012025_07_57_02_816249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/692ee065f6b337f5dcec1688635e9ab5.jpg","text":"TemporaryFile(/tmp/multipartBody8825640518410457632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702099185,"filename":"image_24012025_07_58_02_408921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/02aea3a4b28d7786615626f4566b3241.jpg","text":"TemporaryFile(/tmp/multipartBody8231125254163507243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702099185,"filename":"image_24012025_07_58_02_408921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5f99b744c40035c906010cf2d0c21e8.jpg","text":"TemporaryFile(/tmp/multipartBody6501719040195864032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702099185,"filename":"image_24012025_07_58_02_408921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb75ccff4160d442e8d207887293739f.jpg","text":"TemporaryFile(/tmp/multipartBody8632618136265969490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702099185,"filename":"image_24012025_07_58_02_408921_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330969472","file1":"1330969433","file0":"1330969408","file4":"1330969482","file5":"1330969486","file3":"1330969479"},"map_files_photo_id_array":[{"photo_id":"1330969486","filename":"file5"},{"photo_id":"1330969472","filename":"file2"},{"photo_id":"1330969482","filename":"file4"},{"photo_id":"1330969433","filename":"file1"},{"photo_id":"1330969408","filename":"file0"},{"photo_id":"1330969479","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330969486":["hashtag1","hashtag2"]},{"1330969408":["hashtag1","hashtag2"]},{"1330969479":["hashtag1","hashtag2"]},{"1330969482":["hashtag1","hashtag2"]},{"1330969472":["hashtag1","hashtag2"]},{"1330969433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330969486, 1330969408, 1330969479, 1330969482, 1330969472, 1330969433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.62773156166077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:02:02.740658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/07/59/image_24012025_07_59_02_882486_0001.jpg', '/home/pi/Desktop/images/24012025/07/59/image_24012025_07_59_02_882486_0002.jpg', '/home/pi/Desktop/images/24012025/07/59/image_24012025_07_59_02_882486_0003.jpg', '/home/pi/Desktop/images/24012025/08/00/image_24012025_08_00_03_052568_0000.jpg', '/home/pi/Desktop/images/24012025/08/00/image_24012025_08_00_03_052568_0001.jpg', '/home/pi/Desktop/images/24012025/08/00/image_24012025_08_00_03_052568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/07/59/image_24012025_07_59_02_882486_0001.jpg
/home/pi/Desktop/images/24012025/07/59/image_24012025_07_59_02_882486_0002.jpg
/home/pi/Desktop/images/24012025/07/59/image_24012025_07_59_02_882486_0003.jpg
/home/pi/Desktop/images/24012025/08/00/image_24012025_08_00_03_052568_0000.jpg
/home/pi/Desktop/images/24012025/08/00/image_24012025_08_00_03_052568_0001.jpg
/home/pi/Desktop/images/24012025/08/00/image_24012025_08_00_03_052568_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330969637","1330969619","1330969624","1330969633","1330969612","1330969641"],"photo_ids_order":["1330969612","1330969619","1330969624","1330969633","1330969637","1330969641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f7a3513719e65d94cbdac54698d763df.jpg","text":"TemporaryFile(/tmp/multipartBody3504370496856346540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702199560,"filename":"image_24012025_08_00_03_052568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ea723abe24e5f94238d32740835b7906.jpg","text":"TemporaryFile(/tmp/multipartBody1720679839729536071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702199560,"filename":"image_24012025_07_59_02_882486_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5eb366bb8093e491837e15e4178794a.jpg","text":"TemporaryFile(/tmp/multipartBody465560291574305654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702199560,"filename":"image_24012025_07_59_02_882486_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/97f1da8b1b2111554feb35fe4123ca51.jpg","text":"TemporaryFile(/tmp/multipartBody5293104374207302487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702199560,"filename":"image_24012025_08_00_03_052568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af4a2e00a592ecf65ab3108abbf0eeb0.jpg","text":"TemporaryFile(/tmp/multipartBody1349870683049858470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702199560,"filename":"image_24012025_07_59_02_882486_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/252ef55cbf4d8f983cdf31f738b99245.jpg","text":"TemporaryFile(/tmp/multipartBody2015710295727074234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702199560,"filename":"image_24012025_08_00_03_052568_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330969624","file1":"1330969619","file0":"1330969612","file4":"1330969637","file5":"1330969641","file3":"1330969633"},"map_files_photo_id_array":[{"photo_id":"1330969641","filename":"file5"},{"photo_id":"1330969624","filename":"file2"},{"photo_id":"1330969637","filename":"file4"},{"photo_id":"1330969619","filename":"file1"},{"photo_id":"1330969612","filename":"file0"},{"photo_id":"1330969633","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330969637":["hashtag1","hashtag2"]},{"1330969619":["hashtag1","hashtag2"]},{"1330969624":["hashtag1","hashtag2"]},{"1330969633":["hashtag1","hashtag2"]},{"1330969612":["hashtag1","hashtag2"]},{"1330969641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330969637, 1330969619, 1330969624, 1330969633, 1330969612, 1330969641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.99764800071716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:03:02.328333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/00/image_24012025_08_00_03_052568_0003.jpg', '/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0000.jpg', '/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0001.jpg', '/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0002.jpg', '/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0003.jpg', '/home/pi/Desktop/images/24012025/08/02/image_24012025_08_02_02_134142_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/00/image_24012025_08_00_03_052568_0003.jpg
/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0000.jpg
/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0001.jpg
/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0002.jpg
/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0003.jpg
/home/pi/Desktop/images/24012025/08/02/image_24012025_08_02_02_134142_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.761428356170654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:03:21.709498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/00/image_24012025_08_00_03_052568_0003.jpg', '/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0000.jpg', '/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0001.jpg', '/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0002.jpg', '/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0003.jpg', '/home/pi/Desktop/images/24012025/08/02/image_24012025_08_02_02_134142_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/00/image_24012025_08_00_03_052568_0003.jpg
/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0000.jpg
/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0001.jpg
/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0002.jpg
/home/pi/Desktop/images/24012025/08/01/image_24012025_08_01_02_602290_0003.jpg
/home/pi/Desktop/images/24012025/08/02/image_24012025_08_02_02_134142_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330970420","1330969960","1330970335","1330969968","1330970196","1330970115"],"photo_ids_order":["1330969960","1330969968","1330970115","1330970196","1330970335","1330970420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/defa96fe2388140e79825c5895b128f8.jpg","text":"TemporaryFile(/tmp/multipartBody7769345479654065774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702277755,"filename":"image_24012025_08_02_02_134142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fdff3fea597638d3f9b469eb79f19175.jpg","text":"TemporaryFile(/tmp/multipartBody7286188453535576561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702277755,"filename":"image_24012025_08_00_03_052568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab82fa0280d651cacb624f3ca397e66d.jpg","text":"TemporaryFile(/tmp/multipartBody2419840689398655067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702277755,"filename":"image_24012025_08_01_02_602290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8bd118f4b229f671da479548dcc5d1e9.jpg","text":"TemporaryFile(/tmp/multipartBody9112333688788603841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702277755,"filename":"image_24012025_08_01_02_602290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2f212162dd5876916d52d286031aa6f8.jpg","text":"TemporaryFile(/tmp/multipartBody2416872620706103900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702277755,"filename":"image_24012025_08_01_02_602290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/69432d3af1f0559c428d3e68827948f3.jpg","text":"TemporaryFile(/tmp/multipartBody1884508431515495617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702277755,"filename":"image_24012025_08_01_02_602290_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330970115","file1":"1330969968","file0":"1330969960","file4":"1330970335","file5":"1330970420","file3":"1330970196"},"map_files_photo_id_array":[{"photo_id":"1330970420","filename":"file5"},{"photo_id":"1330970115","filename":"file2"},{"photo_id":"1330970335","filename":"file4"},{"photo_id":"1330969968","filename":"file1"},{"photo_id":"1330969960","filename":"file0"},{"photo_id":"1330970196","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330970420":["hashtag1","hashtag2"]},{"1330969960":["hashtag1","hashtag2"]},{"1330970335":["hashtag1","hashtag2"]},{"1330969968":["hashtag1","hashtag2"]},{"1330970196":["hashtag1","hashtag2"]},{"1330970115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330970420, 1330969960, 1330970335, 1330969968, 1330970196, 1330970115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.74384617805481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:04:22.422450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/02/image_24012025_08_02_02_134142_0001.jpg', '/home/pi/Desktop/images/24012025/08/02/image_24012025_08_02_02_134142_0002.jpg', '/home/pi/Desktop/images/24012025/08/02/image_24012025_08_02_02_134142_0003.jpg', '/home/pi/Desktop/images/24012025/08/03/image_24012025_08_03_02_621406_0000.jpg', '/home/pi/Desktop/images/24012025/08/03/image_24012025_08_03_02_621406_0001.jpg', '/home/pi/Desktop/images/24012025/08/03/image_24012025_08_03_02_621406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/02/image_24012025_08_02_02_134142_0001.jpg
/home/pi/Desktop/images/24012025/08/02/image_24012025_08_02_02_134142_0002.jpg
/home/pi/Desktop/images/24012025/08/02/image_24012025_08_02_02_134142_0003.jpg
/home/pi/Desktop/images/24012025/08/03/image_24012025_08_03_02_621406_0000.jpg
/home/pi/Desktop/images/24012025/08/03/image_24012025_08_03_02_621406_0001.jpg
/home/pi/Desktop/images/24012025/08/03/image_24012025_08_03_02_621406_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330971317","1330971588","1330971777","1330971465","1330971156","1330971956"],"photo_ids_order":["1330971156","1330971317","1330971465","1330971588","1330971777","1330971956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6bc19c77b0758f6294e4a2d99b06e698.jpg","text":"TemporaryFile(/tmp/multipartBody8744707138962387245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702339802,"filename":"image_24012025_08_02_02_134142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a15243aba529cef94a6a0d2e7f84bce0.jpg","text":"TemporaryFile(/tmp/multipartBody3340651993496133938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702339802,"filename":"image_24012025_08_03_02_621406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a28bf9b65ced296330465098e7b6fb2.jpg","text":"TemporaryFile(/tmp/multipartBody1565183531028569823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702339802,"filename":"image_24012025_08_03_02_621406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6a7af1faa2d0b74cc5b5d4f8aa23763a.jpg","text":"TemporaryFile(/tmp/multipartBody7807962078711415658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702339802,"filename":"image_24012025_08_02_02_134142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6544dce2a613ab55d43fe15428d30c6d.jpg","text":"TemporaryFile(/tmp/multipartBody8725642484272041151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702339802,"filename":"image_24012025_08_02_02_134142_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30c092b1621664e06e96afadd4f63c90.jpg","text":"TemporaryFile(/tmp/multipartBody2660629681140612895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702339802,"filename":"image_24012025_08_03_02_621406_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330971465","file1":"1330971317","file0":"1330971156","file4":"1330971777","file5":"1330971956","file3":"1330971588"},"map_files_photo_id_array":[{"photo_id":"1330971956","filename":"file5"},{"photo_id":"1330971465","filename":"file2"},{"photo_id":"1330971777","filename":"file4"},{"photo_id":"1330971317","filename":"file1"},{"photo_id":"1330971156","filename":"file0"},{"photo_id":"1330971588","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330971317":["hashtag1","hashtag2"]},{"1330971588":["hashtag1","hashtag2"]},{"1330971777":["hashtag1","hashtag2"]},{"1330971465":["hashtag1","hashtag2"]},{"1330971156":["hashtag1","hashtag2"]},{"1330971956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330971317, 1330971588, 1330971777, 1330971465, 1330971156, 1330971956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.536456823349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:05:21.894760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/03/image_24012025_08_03_02_621406_0003.jpg', '/home/pi/Desktop/images/24012025/08/04/image_24012025_08_04_02_140657_0000.jpg', '/home/pi/Desktop/images/24012025/08/04/image_24012025_08_04_02_140657_0001.jpg', '/home/pi/Desktop/images/24012025/08/04/image_24012025_08_04_02_140657_0002.jpg', '/home/pi/Desktop/images/24012025/08/04/image_24012025_08_04_02_140657_0003.jpg', '/home/pi/Desktop/images/24012025/08/05/image_24012025_08_05_02_712941_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/03/image_24012025_08_03_02_621406_0003.jpg
/home/pi/Desktop/images/24012025/08/04/image_24012025_08_04_02_140657_0000.jpg
/home/pi/Desktop/images/24012025/08/04/image_24012025_08_04_02_140657_0001.jpg
/home/pi/Desktop/images/24012025/08/04/image_24012025_08_04_02_140657_0002.jpg
/home/pi/Desktop/images/24012025/08/04/image_24012025_08_04_02_140657_0003.jpg
/home/pi/Desktop/images/24012025/08/05/image_24012025_08_05_02_712941_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330972695","1330972609","1330972770","1330972680","1330972688","1330972691"],"photo_ids_order":["1330972609","1330972680","1330972688","1330972691","1330972695","1330972770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/096d5c0b3e1819b7027420a89c0f8bf0.jpg","text":"TemporaryFile(/tmp/multipartBody25667040293842871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702399008,"filename":"image_24012025_08_04_02_140657_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a825a4e96ae4d90291d0099318f65f97.jpg","text":"TemporaryFile(/tmp/multipartBody1601736547402041873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702399008,"filename":"image_24012025_08_03_02_621406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1bab3bd5fe4f97f5b4a2ce13f5f50495.jpg","text":"TemporaryFile(/tmp/multipartBody6863413479558158228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702399008,"filename":"image_24012025_08_05_02_712941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e3359f930c5bf625592aa2e5fbe839e.jpg","text":"TemporaryFile(/tmp/multipartBody4232137498280300122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702399008,"filename":"image_24012025_08_04_02_140657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7e69219d67322e84e1ac4593922d513.jpg","text":"TemporaryFile(/tmp/multipartBody2069637807854323837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702399008,"filename":"image_24012025_08_04_02_140657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed9ea48eeec6374f7e2b06c4c4cec82d.jpg","text":"TemporaryFile(/tmp/multipartBody613435456852538781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702399008,"filename":"image_24012025_08_04_02_140657_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330972688","file1":"1330972680","file0":"1330972609","file4":"1330972695","file5":"1330972770","file3":"1330972691"},"map_files_photo_id_array":[{"photo_id":"1330972770","filename":"file5"},{"photo_id":"1330972688","filename":"file2"},{"photo_id":"1330972695","filename":"file4"},{"photo_id":"1330972680","filename":"file1"},{"photo_id":"1330972609","filename":"file0"},{"photo_id":"1330972691","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330972695":["hashtag1","hashtag2"]},{"1330972609":["hashtag1","hashtag2"]},{"1330972770":["hashtag1","hashtag2"]},{"1330972680":["hashtag1","hashtag2"]},{"1330972688":["hashtag1","hashtag2"]},{"1330972691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330972695, 1330972609, 1330972770, 1330972680, 1330972688, 1330972691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.97380042076111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:06:22.358856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/05/image_24012025_08_05_02_712941_0001.jpg', '/home/pi/Desktop/images/24012025/08/05/image_24012025_08_05_02_712941_0002.jpg', '/home/pi/Desktop/images/24012025/08/05/image_24012025_08_05_02_712941_0003.jpg', '/home/pi/Desktop/images/24012025/08/06/image_24012025_08_06_02_253001_0000.jpg', '/home/pi/Desktop/images/24012025/08/06/image_24012025_08_06_02_253001_0001.jpg', '/home/pi/Desktop/images/24012025/08/06/image_24012025_08_06_02_253001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/05/image_24012025_08_05_02_712941_0001.jpg
/home/pi/Desktop/images/24012025/08/05/image_24012025_08_05_02_712941_0002.jpg
/home/pi/Desktop/images/24012025/08/05/image_24012025_08_05_02_712941_0003.jpg
/home/pi/Desktop/images/24012025/08/06/image_24012025_08_06_02_253001_0000.jpg
/home/pi/Desktop/images/24012025/08/06/image_24012025_08_06_02_253001_0001.jpg
/home/pi/Desktop/images/24012025/08/06/image_24012025_08_06_02_253001_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330973079","1330973316","1330973067","1330973127","1330973300","1330973287"],"photo_ids_order":["1330973067","1330973079","1330973127","1330973287","1330973300","1330973316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2cb9d86a1e1104c745edbb0879059610.jpg","text":"TemporaryFile(/tmp/multipartBody1000987435561378237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702459394,"filename":"image_24012025_08_05_02_712941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37501e02e237b944f4264b724f626ba5.jpg","text":"TemporaryFile(/tmp/multipartBody6166218489579148118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702459394,"filename":"image_24012025_08_06_02_253001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/504210f579b8526d3dfce3629579a284.jpg","text":"TemporaryFile(/tmp/multipartBody2181080850086841349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702459394,"filename":"image_24012025_08_05_02_712941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e0f34d9cf5d541cf328328f5fb22887.jpg","text":"TemporaryFile(/tmp/multipartBody3606975476753886100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702459394,"filename":"image_24012025_08_05_02_712941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a3c160263807ad99239536b4bec8f15c.jpg","text":"TemporaryFile(/tmp/multipartBody3118857696336677371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702459394,"filename":"image_24012025_08_06_02_253001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c69377b5fbf71c0aeb58560d2f5a8dd6.jpg","text":"TemporaryFile(/tmp/multipartBody6298738725961386662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702459394,"filename":"image_24012025_08_06_02_253001_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330973127","file1":"1330973079","file0":"1330973067","file4":"1330973300","file5":"1330973316","file3":"1330973287"},"map_files_photo_id_array":[{"photo_id":"1330973316","filename":"file5"},{"photo_id":"1330973127","filename":"file2"},{"photo_id":"1330973300","filename":"file4"},{"photo_id":"1330973079","filename":"file1"},{"photo_id":"1330973067","filename":"file0"},{"photo_id":"1330973287","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330973079":["hashtag1","hashtag2"]},{"1330973316":["hashtag1","hashtag2"]},{"1330973067":["hashtag1","hashtag2"]},{"1330973127":["hashtag1","hashtag2"]},{"1330973300":["hashtag1","hashtag2"]},{"1330973287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330973079, 1330973316, 1330973067, 1330973127, 1330973300, 1330973287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.682721853256226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:08:02.962268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/06/image_24012025_08_06_02_253001_0003.jpg', '/home/pi/Desktop/images/24012025/08/07/image_24012025_08_07_02_761301_0000.jpg', '/home/pi/Desktop/images/24012025/08/07/image_24012025_08_07_02_761301_0001.jpg', '/home/pi/Desktop/images/24012025/08/07/image_24012025_08_07_02_761301_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/06/image_24012025_08_06_02_253001_0003.jpg
/home/pi/Desktop/images/24012025/08/07/image_24012025_08_07_02_761301_0000.jpg
/home/pi/Desktop/images/24012025/08/07/image_24012025_08_07_02_761301_0001.jpg
/home/pi/Desktop/images/24012025/08/07/image_24012025_08_07_02_761301_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330973901","1330973936","1330973911","1330973908"],"photo_ids_order":["1330973901","1330973908","1330973911","1330973936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b56c0ac60b1ffdabe9f8b3ef45d76f7.jpg","text":"TemporaryFile(/tmp/multipartBody7811891800244056180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702554611,"filename":"image_24012025_08_06_02_253001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8aec1bf233b6349d724078a3d64c9861.jpg","text":"TemporaryFile(/tmp/multipartBody7754262937860840701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702554611,"filename":"image_24012025_08_07_02_761301_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e7f2fd564a90da98aff9260c7e6be0d.jpg","text":"TemporaryFile(/tmp/multipartBody3216008230541655777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702554611,"filename":"image_24012025_08_07_02_761301_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40f94b2ff87ed2d101a5cf7deacce80d.jpg","text":"TemporaryFile(/tmp/multipartBody7212796568445050238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702554611,"filename":"image_24012025_08_07_02_761301_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330973911","file1":"1330973908","file0":"1330973901","file3":"1330973936"},"map_files_photo_id_array":[{"photo_id":"1330973911","filename":"file2"},{"photo_id":"1330973908","filename":"file1"},{"photo_id":"1330973901","filename":"file0"},{"photo_id":"1330973936","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330973901":["hashtag1","hashtag2"]},{"1330973936":["hashtag1","hashtag2"]},{"1330973911":["hashtag1","hashtag2"]},{"1330973908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330973901, 1330973936, 1330973911, 1330973908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.354135274887085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:09:02.487831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/07/image_24012025_08_07_02_761301_0003.jpg', '/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0000.jpg', '/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0001.jpg', '/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/07/image_24012025_08_07_02_761301_0003.jpg
/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0000.jpg
/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0001.jpg
/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.217705011367798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:09:21.914593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/07/image_24012025_08_07_02_761301_0003.jpg', '/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0000.jpg', '/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0001.jpg', '/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0002.jpg', '/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0003.jpg', '/home/pi/Desktop/images/24012025/08/09/image_24012025_08_09_02_782475_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/07/image_24012025_08_07_02_761301_0003.jpg
/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0000.jpg
/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0001.jpg
/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0002.jpg
/home/pi/Desktop/images/24012025/08/08/image_24012025_08_08_02_305343_0003.jpg
/home/pi/Desktop/images/24012025/08/09/image_24012025_08_09_02_782475_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330974077","1330974086","1330974101","1330974070","1330974096","1330974099"],"photo_ids_order":["1330974070","1330974077","1330974086","1330974096","1330974099","1330974101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3d0bfb53557e1ba0e44dd2dc7309b792.jpg","text":"TemporaryFile(/tmp/multipartBody8339264812855965853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702638691,"filename":"image_24012025_08_08_02_305343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/50caae729e47328a4ee9d7c925c0c2da.jpg","text":"TemporaryFile(/tmp/multipartBody803943161199175894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702638691,"filename":"image_24012025_08_08_02_305343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac395facbf353f9c2aa497380f15c4c4.jpg","text":"TemporaryFile(/tmp/multipartBody4098143655191732871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702638691,"filename":"image_24012025_08_09_02_782475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/923169b1be8b41e491dc2de3d2f8171a.jpg","text":"TemporaryFile(/tmp/multipartBody2807923476920338711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702638691,"filename":"image_24012025_08_07_02_761301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a3fa1b40cf5ff8d694cbcdafdff605f.jpg","text":"TemporaryFile(/tmp/multipartBody8542919385314546528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702638691,"filename":"image_24012025_08_08_02_305343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1b7e5212760e656edf843bd143c124c.jpg","text":"TemporaryFile(/tmp/multipartBody6500089904310021658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702638691,"filename":"image_24012025_08_08_02_305343_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330974086","file1":"1330974077","file0":"1330974070","file4":"1330974099","file5":"1330974101","file3":"1330974096"},"map_files_photo_id_array":[{"photo_id":"1330974101","filename":"file5"},{"photo_id":"1330974086","filename":"file2"},{"photo_id":"1330974099","filename":"file4"},{"photo_id":"1330974077","filename":"file1"},{"photo_id":"1330974070","filename":"file0"},{"photo_id":"1330974096","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330974077":["hashtag1","hashtag2"]},{"1330974086":["hashtag1","hashtag2"]},{"1330974101":["hashtag1","hashtag2"]},{"1330974070":["hashtag1","hashtag2"]},{"1330974096":["hashtag1","hashtag2"]},{"1330974099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330974077, 1330974086, 1330974101, 1330974070, 1330974096, 1330974099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.73261284828186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:10:22.536630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/09/image_24012025_08_09_02_782475_0001.jpg', '/home/pi/Desktop/images/24012025/08/09/image_24012025_08_09_02_782475_0002.jpg', '/home/pi/Desktop/images/24012025/08/09/image_24012025_08_09_02_782475_0003.jpg', '/home/pi/Desktop/images/24012025/08/10/image_24012025_08_10_02_350472_0000.jpg', '/home/pi/Desktop/images/24012025/08/10/image_24012025_08_10_02_350472_0001.jpg', '/home/pi/Desktop/images/24012025/08/10/image_24012025_08_10_02_350472_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/09/image_24012025_08_09_02_782475_0001.jpg
/home/pi/Desktop/images/24012025/08/09/image_24012025_08_09_02_782475_0002.jpg
/home/pi/Desktop/images/24012025/08/09/image_24012025_08_09_02_782475_0003.jpg
/home/pi/Desktop/images/24012025/08/10/image_24012025_08_10_02_350472_0000.jpg
/home/pi/Desktop/images/24012025/08/10/image_24012025_08_10_02_350472_0001.jpg
/home/pi/Desktop/images/24012025/08/10/image_24012025_08_10_02_350472_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330974132","1330974141","1330974135","1330974129","1330974138","1330974124"],"photo_ids_order":["1330974124","1330974129","1330974132","1330974135","1330974138","1330974141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6229ef801fc73337710883b11ce37574.jpg","text":"TemporaryFile(/tmp/multipartBody7766110796964217650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702699572,"filename":"image_24012025_08_09_02_782475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c46ef651f3a331093f0715dfc63ec34b.jpg","text":"TemporaryFile(/tmp/multipartBody4338586692672174688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702699572,"filename":"image_24012025_08_10_02_350472_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/160f23319d97013d91b4a9a02e8c25ca.jpg","text":"TemporaryFile(/tmp/multipartBody2028806573647811365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702699572,"filename":"image_24012025_08_10_02_350472_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/78434913133b60f394439b12e5a7c948.jpg","text":"TemporaryFile(/tmp/multipartBody6150341846743292335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702699572,"filename":"image_24012025_08_09_02_782475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/068f0cda040130759e6b57aeb4bd9994.jpg","text":"TemporaryFile(/tmp/multipartBody8134161328689938021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702699572,"filename":"image_24012025_08_10_02_350472_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98691672159f0f4c42c44fb2f1748252.jpg","text":"TemporaryFile(/tmp/multipartBody8889959383902489169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702699572,"filename":"image_24012025_08_09_02_782475_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330974132","file1":"1330974129","file0":"1330974124","file4":"1330974138","file5":"1330974141","file3":"1330974135"},"map_files_photo_id_array":[{"photo_id":"1330974141","filename":"file5"},{"photo_id":"1330974132","filename":"file2"},{"photo_id":"1330974138","filename":"file4"},{"photo_id":"1330974129","filename":"file1"},{"photo_id":"1330974124","filename":"file0"},{"photo_id":"1330974135","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330974132":["hashtag1","hashtag2"]},{"1330974141":["hashtag1","hashtag2"]},{"1330974135":["hashtag1","hashtag2"]},{"1330974129":["hashtag1","hashtag2"]},{"1330974138":["hashtag1","hashtag2"]},{"1330974124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330974132, 1330974141, 1330974135, 1330974129, 1330974138, 1330974124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.88986611366272 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:12:03.056970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/10/image_24012025_08_10_02_350472_0003.jpg', '/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0000.jpg', '/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0001.jpg', '/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/10/image_24012025_08_10_02_350472_0003.jpg
/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0000.jpg
/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0001.jpg
/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.674758195877075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:12:22.633836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/10/image_24012025_08_10_02_350472_0003.jpg', '/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0000.jpg', '/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0001.jpg', '/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0002.jpg', '/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0003.jpg', '/home/pi/Desktop/images/24012025/08/12/image_24012025_08_12_02_451696_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/10/image_24012025_08_10_02_350472_0003.jpg
/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0000.jpg
/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0001.jpg
/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0002.jpg
/home/pi/Desktop/images/24012025/08/11/image_24012025_08_11_02_870034_0003.jpg
/home/pi/Desktop/images/24012025/08/12/image_24012025_08_12_02_451696_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330974303","1330974210","1330974224","1330974206","1330974295","1330974214"],"photo_ids_order":["1330974206","1330974210","1330974214","1330974224","1330974295","1330974303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/292a2c87b2f5f113819231a2bb46bc59.jpg","text":"TemporaryFile(/tmp/multipartBody3040234712449807278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702818998,"filename":"image_24012025_08_12_02_451696_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fceb2b3e49057f7bb2357816183193c7.jpg","text":"TemporaryFile(/tmp/multipartBody3073180362015430903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702818998,"filename":"image_24012025_08_11_02_870034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d8d40760e44f643243853af4649dc435.jpg","text":"TemporaryFile(/tmp/multipartBody8868674581399858679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702818998,"filename":"image_24012025_08_11_02_870034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7cf68e81331e0a35db16f5d59c5ae69.jpg","text":"TemporaryFile(/tmp/multipartBody7255615039852178187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702818998,"filename":"image_24012025_08_10_02_350472_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd329ac4cde96f3adcefa55cf4890bb5.jpg","text":"TemporaryFile(/tmp/multipartBody2690414878238598983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702818998,"filename":"image_24012025_08_11_02_870034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/afcea6b1bef0f3a3db985a9fba24bf3f.jpg","text":"TemporaryFile(/tmp/multipartBody7993502888512269586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702818998,"filename":"image_24012025_08_11_02_870034_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330974214","file1":"1330974210","file0":"1330974206","file4":"1330974295","file5":"1330974303","file3":"1330974224"},"map_files_photo_id_array":[{"photo_id":"1330974303","filename":"file5"},{"photo_id":"1330974214","filename":"file2"},{"photo_id":"1330974295","filename":"file4"},{"photo_id":"1330974210","filename":"file1"},{"photo_id":"1330974206","filename":"file0"},{"photo_id":"1330974224","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330974303":["hashtag1","hashtag2"]},{"1330974210":["hashtag1","hashtag2"]},{"1330974224":["hashtag1","hashtag2"]},{"1330974206":["hashtag1","hashtag2"]},{"1330974295":["hashtag1","hashtag2"]},{"1330974214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330974303, 1330974210, 1330974224, 1330974206, 1330974295, 1330974214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.71190547943115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:14:03.146192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/12/image_24012025_08_12_02_451696_0001.jpg', '/home/pi/Desktop/images/24012025/08/12/image_24012025_08_12_02_451696_0002.jpg', '/home/pi/Desktop/images/24012025/08/12/image_24012025_08_12_02_451696_0003.jpg', '/home/pi/Desktop/images/24012025/08/13/image_24012025_08_13_02_979445_0000.jpg', '/home/pi/Desktop/images/24012025/08/13/image_24012025_08_13_02_979445_0001.jpg', '/home/pi/Desktop/images/24012025/08/13/image_24012025_08_13_02_979445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/12/image_24012025_08_12_02_451696_0001.jpg
/home/pi/Desktop/images/24012025/08/12/image_24012025_08_12_02_451696_0002.jpg
/home/pi/Desktop/images/24012025/08/12/image_24012025_08_12_02_451696_0003.jpg
/home/pi/Desktop/images/24012025/08/13/image_24012025_08_13_02_979445_0000.jpg
/home/pi/Desktop/images/24012025/08/13/image_24012025_08_13_02_979445_0001.jpg
/home/pi/Desktop/images/24012025/08/13/image_24012025_08_13_02_979445_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330974362","1330974359","1330974388","1330974367","1330974352","1330974393"],"photo_ids_order":["1330974352","1330974359","1330974362","1330974367","1330974388","1330974393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/403d463fe0da8c30a3c22837b443b339.jpg","text":"TemporaryFile(/tmp/multipartBody4703232761378485332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702919735,"filename":"image_24012025_08_12_02_451696_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c6aa9e2512b06452646de335d146dd0e.jpg","text":"TemporaryFile(/tmp/multipartBody3340295786642307907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702919735,"filename":"image_24012025_08_12_02_451696_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/64e7cea4ba796a53a95ba6fa0e2c3eb1.jpg","text":"TemporaryFile(/tmp/multipartBody6256254471761940697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702919735,"filename":"image_24012025_08_13_02_979445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/81e1a753498dc185ba321407049b1dfe.jpg","text":"TemporaryFile(/tmp/multipartBody5218233945719905438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702919735,"filename":"image_24012025_08_13_02_979445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ebf930838339715cb3d9df4cc222b36.jpg","text":"TemporaryFile(/tmp/multipartBody6288232009152114943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702919735,"filename":"image_24012025_08_12_02_451696_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3cfdb7097c1b16856d416fcae760b084.jpg","text":"TemporaryFile(/tmp/multipartBody5932915425534649589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702919735,"filename":"image_24012025_08_13_02_979445_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330974362","file1":"1330974359","file0":"1330974352","file4":"1330974388","file5":"1330974393","file3":"1330974367"},"map_files_photo_id_array":[{"photo_id":"1330974393","filename":"file5"},{"photo_id":"1330974362","filename":"file2"},{"photo_id":"1330974388","filename":"file4"},{"photo_id":"1330974359","filename":"file1"},{"photo_id":"1330974352","filename":"file0"},{"photo_id":"1330974367","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330974362":["hashtag1","hashtag2"]},{"1330974359":["hashtag1","hashtag2"]},{"1330974388":["hashtag1","hashtag2"]},{"1330974367":["hashtag1","hashtag2"]},{"1330974352":["hashtag1","hashtag2"]},{"1330974393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330974362, 1330974359, 1330974388, 1330974367, 1330974352, 1330974393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.76263737678528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:15:02.741733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/13/image_24012025_08_13_02_979445_0003.jpg', '/home/pi/Desktop/images/24012025/08/14/image_24012025_08_14_02_537184_0000.jpg', '/home/pi/Desktop/images/24012025/08/14/image_24012025_08_14_02_537184_0001.jpg', '/home/pi/Desktop/images/24012025/08/14/image_24012025_08_14_02_537184_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/13/image_24012025_08_13_02_979445_0003.jpg
/home/pi/Desktop/images/24012025/08/14/image_24012025_08_14_02_537184_0000.jpg
/home/pi/Desktop/images/24012025/08/14/image_24012025_08_14_02_537184_0001.jpg
/home/pi/Desktop/images/24012025/08/14/image_24012025_08_14_02_537184_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330974432","1330974429","1330974423","1330974418"],"photo_ids_order":["1330974418","1330974423","1330974429","1330974432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ef542e8f10f86a912b891a66ab9701f.jpg","text":"TemporaryFile(/tmp/multipartBody1590570472764256023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702974078,"filename":"image_24012025_08_14_02_537184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ceedc9b00d0449a081d68630ecd21e3e.jpg","text":"TemporaryFile(/tmp/multipartBody7918134670138887104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702974078,"filename":"image_24012025_08_14_02_537184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4509623c09ebb1a83c723b13c49e8170.jpg","text":"TemporaryFile(/tmp/multipartBody7439015347053972006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702974078,"filename":"image_24012025_08_14_02_537184_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1cc6752785aa8102fd482ec5fdff4692.jpg","text":"TemporaryFile(/tmp/multipartBody4220856516216987030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737702974078,"filename":"image_24012025_08_13_02_979445_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330974429","file1":"1330974423","file0":"1330974418","file3":"1330974432"},"map_files_photo_id_array":[{"photo_id":"1330974429","filename":"file2"},{"photo_id":"1330974423","filename":"file1"},{"photo_id":"1330974418","filename":"file0"},{"photo_id":"1330974432","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330974432":["hashtag1","hashtag2"]},{"1330974429":["hashtag1","hashtag2"]},{"1330974423":["hashtag1","hashtag2"]},{"1330974418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330974432, 1330974429, 1330974423, 1330974418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.1222665309906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:16:02.283691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/14/image_24012025_08_14_02_537184_0003.jpg', '/home/pi/Desktop/images/24012025/08/15/image_24012025_08_15_03_012219_0000.jpg', '/home/pi/Desktop/images/24012025/08/15/image_24012025_08_15_03_012219_0001.jpg', '/home/pi/Desktop/images/24012025/08/15/image_24012025_08_15_03_012219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/14/image_24012025_08_14_02_537184_0003.jpg
/home/pi/Desktop/images/24012025/08/15/image_24012025_08_15_03_012219_0000.jpg
/home/pi/Desktop/images/24012025/08/15/image_24012025_08_15_03_012219_0001.jpg
/home/pi/Desktop/images/24012025/08/15/image_24012025_08_15_03_012219_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330974471","1330974490","1330974484","1330974477"],"photo_ids_order":["1330974471","1330974477","1330974484","1330974490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f14b9f71a2540f5c6eeb4d906fe1ed8a.jpg","text":"TemporaryFile(/tmp/multipartBody364099173086789986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703033572,"filename":"image_24012025_08_14_02_537184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ea26a8929bb4c879c97dbed8b2c730d6.jpg","text":"TemporaryFile(/tmp/multipartBody2135375663293957776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703033572,"filename":"image_24012025_08_15_03_012219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0d4421961ca8bc32f5c1d3cb9574873.jpg","text":"TemporaryFile(/tmp/multipartBody8378679358981861057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703033572,"filename":"image_24012025_08_15_03_012219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ada96416bfc1d009ae18be61948f835.jpg","text":"TemporaryFile(/tmp/multipartBody1800064584570638766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703033572,"filename":"image_24012025_08_15_03_012219_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330974484","file1":"1330974477","file0":"1330974471","file3":"1330974490"},"map_files_photo_id_array":[{"photo_id":"1330974484","filename":"file2"},{"photo_id":"1330974477","filename":"file1"},{"photo_id":"1330974471","filename":"file0"},{"photo_id":"1330974490","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330974471":["hashtag1","hashtag2"]},{"1330974490":["hashtag1","hashtag2"]},{"1330974484":["hashtag1","hashtag2"]},{"1330974477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330974471, 1330974490, 1330974484, 1330974477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.60845184326172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:17:02.951045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/15/image_24012025_08_15_03_012219_0003.jpg', '/home/pi/Desktop/images/24012025/08/16/image_24012025_08_16_02_495345_0000.jpg', '/home/pi/Desktop/images/24012025/08/16/image_24012025_08_16_02_495345_0001.jpg', '/home/pi/Desktop/images/24012025/08/16/image_24012025_08_16_02_495345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/15/image_24012025_08_15_03_012219_0003.jpg
/home/pi/Desktop/images/24012025/08/16/image_24012025_08_16_02_495345_0000.jpg
/home/pi/Desktop/images/24012025/08/16/image_24012025_08_16_02_495345_0001.jpg
/home/pi/Desktop/images/24012025/08/16/image_24012025_08_16_02_495345_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330974578","1330974563","1330974571","1330974556"],"photo_ids_order":["1330974556","1330974563","1330974571","1330974578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a28654a45092a01b5bda1ce09079b3e3.jpg","text":"TemporaryFile(/tmp/multipartBody638103761719265269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703093879,"filename":"image_24012025_08_16_02_495345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db14faf5eb2f786df1f1170ba60e65e7.jpg","text":"TemporaryFile(/tmp/multipartBody698615914470189282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703093879,"filename":"image_24012025_08_16_02_495345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2b6c93b30d0d5266cef8901ee88ff42f.jpg","text":"TemporaryFile(/tmp/multipartBody323689063271984944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703093879,"filename":"image_24012025_08_16_02_495345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc6ea288dafb9b0926dd7c5158ffc677.jpg","text":"TemporaryFile(/tmp/multipartBody5579548996216786764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703093879,"filename":"image_24012025_08_15_03_012219_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330974571","file1":"1330974563","file0":"1330974556","file3":"1330974578"},"map_files_photo_id_array":[{"photo_id":"1330974571","filename":"file2"},{"photo_id":"1330974563","filename":"file1"},{"photo_id":"1330974556","filename":"file0"},{"photo_id":"1330974578","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330974578":["hashtag1","hashtag2"]},{"1330974563":["hashtag1","hashtag2"]},{"1330974571":["hashtag1","hashtag2"]},{"1330974556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330974578, 1330974563, 1330974571, 1330974556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.15552306175232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:18:02.475600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/16/image_24012025_08_16_02_495345_0003.jpg', '/home/pi/Desktop/images/24012025/08/17/image_24012025_08_17_02_150384_0000.jpg', '/home/pi/Desktop/images/24012025/08/17/image_24012025_08_17_02_150384_0001.jpg', '/home/pi/Desktop/images/24012025/08/17/image_24012025_08_17_02_150384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/16/image_24012025_08_16_02_495345_0003.jpg
/home/pi/Desktop/images/24012025/08/17/image_24012025_08_17_02_150384_0000.jpg
/home/pi/Desktop/images/24012025/08/17/image_24012025_08_17_02_150384_0001.jpg
/home/pi/Desktop/images/24012025/08/17/image_24012025_08_17_02_150384_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330974767","1330974790","1330974806","1330974765"],"photo_ids_order":["1330974765","1330974767","1330974790","1330974806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f88c3e437c7884f66c6cc59b2f6149ae.jpg","text":"TemporaryFile(/tmp/multipartBody2178979996656866391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703153952,"filename":"image_24012025_08_17_02_150384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f996b96bcb1a10714351cbd7f6d59a78.jpg","text":"TemporaryFile(/tmp/multipartBody4317747857111662769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703153952,"filename":"image_24012025_08_17_02_150384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d6f507c962b94e08de5d0f6eb62ebee.jpg","text":"TemporaryFile(/tmp/multipartBody5930369404934312454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703153952,"filename":"image_24012025_08_17_02_150384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e1b0ebf850392b24b63aeafc470919f.jpg","text":"TemporaryFile(/tmp/multipartBody5293020846240716381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703153952,"filename":"image_24012025_08_16_02_495345_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330974790","file1":"1330974767","file0":"1330974765","file3":"1330974806"},"map_files_photo_id_array":[{"photo_id":"1330974790","filename":"file2"},{"photo_id":"1330974767","filename":"file1"},{"photo_id":"1330974765","filename":"file0"},{"photo_id":"1330974806","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330974767":["hashtag1","hashtag2"]},{"1330974790":["hashtag1","hashtag2"]},{"1330974806":["hashtag1","hashtag2"]},{"1330974765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330974767, 1330974790, 1330974806, 1330974765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.437917709350586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:19:03.115455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/17/image_24012025_08_17_02_150384_0003.jpg', '/home/pi/Desktop/images/24012025/08/18/image_24012025_08_18_02_688111_0000.jpg', '/home/pi/Desktop/images/24012025/08/18/image_24012025_08_18_02_688111_0001.jpg', '/home/pi/Desktop/images/24012025/08/18/image_24012025_08_18_02_688111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/17/image_24012025_08_17_02_150384_0003.jpg
/home/pi/Desktop/images/24012025/08/18/image_24012025_08_18_02_688111_0000.jpg
/home/pi/Desktop/images/24012025/08/18/image_24012025_08_18_02_688111_0001.jpg
/home/pi/Desktop/images/24012025/08/18/image_24012025_08_18_02_688111_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330975195","1330975399","1330975290","1330975461"],"photo_ids_order":["1330975195","1330975290","1330975399","1330975461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/03198bb63a9d1cbebe8cf65597f04ebc.jpg","text":"TemporaryFile(/tmp/multipartBody5314223610075488107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703214527,"filename":"image_24012025_08_17_02_150384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/97925ed783485f6c9d5ae103084fc0af.jpg","text":"TemporaryFile(/tmp/multipartBody5431934735762396843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703214527,"filename":"image_24012025_08_18_02_688111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/683431d405128059a88eddaa0a327a17.jpg","text":"TemporaryFile(/tmp/multipartBody2179180549306244734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703214527,"filename":"image_24012025_08_18_02_688111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0ad28ad73743657a120bc425896a2157.jpg","text":"TemporaryFile(/tmp/multipartBody5086702262398057927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703214527,"filename":"image_24012025_08_18_02_688111_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330975399","file1":"1330975290","file0":"1330975195","file3":"1330975461"},"map_files_photo_id_array":[{"photo_id":"1330975399","filename":"file2"},{"photo_id":"1330975290","filename":"file1"},{"photo_id":"1330975195","filename":"file0"},{"photo_id":"1330975461","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330975195":["hashtag1","hashtag2"]},{"1330975399":["hashtag1","hashtag2"]},{"1330975290":["hashtag1","hashtag2"]},{"1330975461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330975195, 1330975399, 1330975290, 1330975461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.2735538482666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:20:02.626719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/18/image_24012025_08_18_02_688111_0003.jpg', '/home/pi/Desktop/images/24012025/08/19/image_24012025_08_19_02_355826_0000.jpg', '/home/pi/Desktop/images/24012025/08/19/image_24012025_08_19_02_355826_0001.jpg', '/home/pi/Desktop/images/24012025/08/19/image_24012025_08_19_02_355826_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/18/image_24012025_08_18_02_688111_0003.jpg
/home/pi/Desktop/images/24012025/08/19/image_24012025_08_19_02_355826_0000.jpg
/home/pi/Desktop/images/24012025/08/19/image_24012025_08_19_02_355826_0001.jpg
/home/pi/Desktop/images/24012025/08/19/image_24012025_08_19_02_355826_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330976411","1330976336","1330976155","1330976244"],"photo_ids_order":["1330976155","1330976244","1330976336","1330976411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7c8e2ee59029c8834a933946d159a66.jpg","text":"TemporaryFile(/tmp/multipartBody9030005333177192405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703274234,"filename":"image_24012025_08_19_02_355826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e18263fb15833d968c841d010ebac7c.jpg","text":"TemporaryFile(/tmp/multipartBody3617763106641113733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703274234,"filename":"image_24012025_08_19_02_355826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/44736af8513887a5b0fafbd724ac6ac9.jpg","text":"TemporaryFile(/tmp/multipartBody7630452313748542806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703274234,"filename":"image_24012025_08_18_02_688111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f822d3705c7cbcb792c27d9222ac6c93.jpg","text":"TemporaryFile(/tmp/multipartBody2440182744061666685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703274234,"filename":"image_24012025_08_19_02_355826_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330976336","file1":"1330976244","file0":"1330976155","file3":"1330976411"},"map_files_photo_id_array":[{"photo_id":"1330976336","filename":"file2"},{"photo_id":"1330976244","filename":"file1"},{"photo_id":"1330976155","filename":"file0"},{"photo_id":"1330976411","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330976411":["hashtag1","hashtag2"]},{"1330976336":["hashtag1","hashtag2"]},{"1330976155":["hashtag1","hashtag2"]},{"1330976244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330976411, 1330976336, 1330976155, 1330976244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85646724700928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:21:03.174506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/19/image_24012025_08_19_02_355826_0003.jpg', '/home/pi/Desktop/images/24012025/08/20/image_24012025_08_20_02_891133_0000.jpg', '/home/pi/Desktop/images/24012025/08/20/image_24012025_08_20_02_891133_0001.jpg', '/home/pi/Desktop/images/24012025/08/20/image_24012025_08_20_02_891133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/19/image_24012025_08_19_02_355826_0003.jpg
/home/pi/Desktop/images/24012025/08/20/image_24012025_08_20_02_891133_0000.jpg
/home/pi/Desktop/images/24012025/08/20/image_24012025_08_20_02_891133_0001.jpg
/home/pi/Desktop/images/24012025/08/20/image_24012025_08_20_02_891133_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330976612","1330976602","1330976605","1330976608"],"photo_ids_order":["1330976602","1330976605","1330976608","1330976612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47be3cdacac168aeedc220fb66c57f63.jpg","text":"TemporaryFile(/tmp/multipartBody4869316512836533810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703334675,"filename":"image_24012025_08_20_02_891133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3404d626bd12dee50a805e6b6db7713a.jpg","text":"TemporaryFile(/tmp/multipartBody7571897576813872755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703334675,"filename":"image_24012025_08_19_02_355826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8100fca80d8d1959e15d26f10dc70b40.jpg","text":"TemporaryFile(/tmp/multipartBody3157401826536768058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703334675,"filename":"image_24012025_08_20_02_891133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3978230deed09315079a2d56363ab75c.jpg","text":"TemporaryFile(/tmp/multipartBody746479626748669123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703334675,"filename":"image_24012025_08_20_02_891133_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330976608","file1":"1330976605","file0":"1330976602","file3":"1330976612"},"map_files_photo_id_array":[{"photo_id":"1330976608","filename":"file2"},{"photo_id":"1330976605","filename":"file1"},{"photo_id":"1330976602","filename":"file0"},{"photo_id":"1330976612","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330976612":["hashtag1","hashtag2"]},{"1330976602":["hashtag1","hashtag2"]},{"1330976605":["hashtag1","hashtag2"]},{"1330976608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330976612, 1330976602, 1330976605, 1330976608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.27534508705139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:22:02.643640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/20/image_24012025_08_20_02_891133_0003.jpg', '/home/pi/Desktop/images/24012025/08/21/image_24012025_08_21_02_455910_0000.jpg', '/home/pi/Desktop/images/24012025/08/21/image_24012025_08_21_02_455910_0001.jpg', '/home/pi/Desktop/images/24012025/08/21/image_24012025_08_21_02_455910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/20/image_24012025_08_20_02_891133_0003.jpg
/home/pi/Desktop/images/24012025/08/21/image_24012025_08_21_02_455910_0000.jpg
/home/pi/Desktop/images/24012025/08/21/image_24012025_08_21_02_455910_0001.jpg
/home/pi/Desktop/images/24012025/08/21/image_24012025_08_21_02_455910_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330977588","1330977540","1330977542","1330977539"],"photo_ids_order":["1330977539","1330977540","1330977542","1330977588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2893c3be17f572657f612f2258fad71b.jpg","text":"TemporaryFile(/tmp/multipartBody8461971011004332947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703393911,"filename":"image_24012025_08_21_02_455910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/57ef4c9ce0a8cdf35ed74696c6eea1bb.jpg","text":"TemporaryFile(/tmp/multipartBody2180101527714282908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703393911,"filename":"image_24012025_08_21_02_455910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a110584fd971f856b9c2a27b4ea84088.jpg","text":"TemporaryFile(/tmp/multipartBody5854012461890242348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703393911,"filename":"image_24012025_08_21_02_455910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/90807e680dde49a4a4ec0ba2b02b5fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4659124855575493237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703393911,"filename":"image_24012025_08_20_02_891133_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330977542","file1":"1330977540","file0":"1330977539","file3":"1330977588"},"map_files_photo_id_array":[{"photo_id":"1330977542","filename":"file2"},{"photo_id":"1330977540","filename":"file1"},{"photo_id":"1330977539","filename":"file0"},{"photo_id":"1330977588","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330977588":["hashtag1","hashtag2"]},{"1330977540":["hashtag1","hashtag2"]},{"1330977542":["hashtag1","hashtag2"]},{"1330977539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330977588, 1330977540, 1330977542, 1330977539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.951992988586426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:23:03.431540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/21/image_24012025_08_21_02_455910_0003.jpg', '/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0000.jpg', '/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0001.jpg', '/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/21/image_24012025_08_21_02_455910_0003.jpg
/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0000.jpg
/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0001.jpg
/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.215076684951782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:23:22.716445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/21/image_24012025_08_21_02_455910_0003.jpg', '/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0000.jpg', '/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0001.jpg', '/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0002.jpg', '/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0003.jpg', '/home/pi/Desktop/images/24012025/08/23/image_24012025_08_23_02_576465_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/21/image_24012025_08_21_02_455910_0003.jpg
/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0000.jpg
/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0001.jpg
/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0002.jpg
/home/pi/Desktop/images/24012025/08/22/image_24012025_08_22_02_922140_0003.jpg
/home/pi/Desktop/images/24012025/08/23/image_24012025_08_23_02_576465_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330979673","1330979712","1330979666","1330979761","1330979521","1330979602"],"photo_ids_order":["1330979521","1330979602","1330979666","1330979673","1330979712","1330979761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c7adbef33d0a08f62ef204e6c6e056b7.jpg","text":"TemporaryFile(/tmp/multipartBody2673873674925465570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703479649,"filename":"image_24012025_08_22_02_922140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b12aaaf28517265bee45ab877ca916ed.jpg","text":"TemporaryFile(/tmp/multipartBody8263224969391901401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703479649,"filename":"image_24012025_08_22_02_922140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0caa590cc479eeb5700c631cfefe77ba.jpg","text":"TemporaryFile(/tmp/multipartBody5557145744958032439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703479649,"filename":"image_24012025_08_22_02_922140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6fcba6c57380ade0b9707a9f94219daa.jpg","text":"TemporaryFile(/tmp/multipartBody2999515228939691332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703479649,"filename":"image_24012025_08_23_02_576465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fadb50ef14beb4acba0901c7761ed228.jpg","text":"TemporaryFile(/tmp/multipartBody7489554220299165048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703479649,"filename":"image_24012025_08_21_02_455910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc6c85107b2d168739e3bb701831618d.jpg","text":"TemporaryFile(/tmp/multipartBody5173701561922479266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703479649,"filename":"image_24012025_08_22_02_922140_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330979666","file1":"1330979602","file0":"1330979521","file4":"1330979712","file5":"1330979761","file3":"1330979673"},"map_files_photo_id_array":[{"photo_id":"1330979761","filename":"file5"},{"photo_id":"1330979666","filename":"file2"},{"photo_id":"1330979712","filename":"file4"},{"photo_id":"1330979602","filename":"file1"},{"photo_id":"1330979521","filename":"file0"},{"photo_id":"1330979673","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330979673":["hashtag1","hashtag2"]},{"1330979712":["hashtag1","hashtag2"]},{"1330979666":["hashtag1","hashtag2"]},{"1330979761":["hashtag1","hashtag2"]},{"1330979521":["hashtag1","hashtag2"]},{"1330979602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330979673, 1330979712, 1330979666, 1330979761, 1330979521, 1330979602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.74622821807861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:25:02.580613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/23/image_24012025_08_23_02_576465_0001.jpg', '/home/pi/Desktop/images/24012025/08/23/image_24012025_08_23_02_576465_0002.jpg', '/home/pi/Desktop/images/24012025/08/23/image_24012025_08_23_02_576465_0003.jpg', '/home/pi/Desktop/images/24012025/08/24/image_24012025_08_24_03_088657_0000.jpg', '/home/pi/Desktop/images/24012025/08/24/image_24012025_08_24_03_088657_0001.jpg', '/home/pi/Desktop/images/24012025/08/24/image_24012025_08_24_03_088657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/23/image_24012025_08_23_02_576465_0001.jpg
/home/pi/Desktop/images/24012025/08/23/image_24012025_08_23_02_576465_0002.jpg
/home/pi/Desktop/images/24012025/08/23/image_24012025_08_23_02_576465_0003.jpg
/home/pi/Desktop/images/24012025/08/24/image_24012025_08_24_03_088657_0000.jpg
/home/pi/Desktop/images/24012025/08/24/image_24012025_08_24_03_088657_0001.jpg
/home/pi/Desktop/images/24012025/08/24/image_24012025_08_24_03_088657_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330980220","1330980151","1330980147","1330980213","1330980278","1330980227"],"photo_ids_order":["1330980147","1330980151","1330980213","1330980220","1330980227","1330980278"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cd3f9b2956af434745e25a4a7449bac3.jpg","text":"TemporaryFile(/tmp/multipartBody8686767831712962582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703579688,"filename":"image_24012025_08_24_03_088657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f845f543a1dac383e245aeb6fd953d7e.jpg","text":"TemporaryFile(/tmp/multipartBody5252669350392667551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703579688,"filename":"image_24012025_08_23_02_576465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7e96f2952956974f16fcaa8f3d358636.jpg","text":"TemporaryFile(/tmp/multipartBody892131875076764978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703579688,"filename":"image_24012025_08_23_02_576465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/70e625cfb06eab90c06bf012dfc0b29c.jpg","text":"TemporaryFile(/tmp/multipartBody6462924467537818073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703579688,"filename":"image_24012025_08_23_02_576465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1033e9b55f632930cfcff8f225a6896e.jpg","text":"TemporaryFile(/tmp/multipartBody4404559660472638958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703579688,"filename":"image_24012025_08_24_03_088657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e286d83cc6cdc8155d50cf9828f6867a.jpg","text":"TemporaryFile(/tmp/multipartBody6934804054402161951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703579688,"filename":"image_24012025_08_24_03_088657_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330980213","file1":"1330980151","file0":"1330980147","file4":"1330980227","file5":"1330980278","file3":"1330980220"},"map_files_photo_id_array":[{"photo_id":"1330980278","filename":"file5"},{"photo_id":"1330980213","filename":"file2"},{"photo_id":"1330980227","filename":"file4"},{"photo_id":"1330980151","filename":"file1"},{"photo_id":"1330980147","filename":"file0"},{"photo_id":"1330980220","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330980220":["hashtag1","hashtag2"]},{"1330980151":["hashtag1","hashtag2"]},{"1330980147":["hashtag1","hashtag2"]},{"1330980213":["hashtag1","hashtag2"]},{"1330980278":["hashtag1","hashtag2"]},{"1330980227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330980220, 1330980151, 1330980147, 1330980213, 1330980278, 1330980227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.001758337020874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:26:02.880763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/24/image_24012025_08_24_03_088657_0003.jpg', '/home/pi/Desktop/images/24012025/08/25/image_24012025_08_25_02_729359_0000.jpg', '/home/pi/Desktop/images/24012025/08/25/image_24012025_08_25_02_729359_0001.jpg', '/home/pi/Desktop/images/24012025/08/25/image_24012025_08_25_02_729359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/24/image_24012025_08_24_03_088657_0003.jpg
/home/pi/Desktop/images/24012025/08/25/image_24012025_08_25_02_729359_0000.jpg
/home/pi/Desktop/images/24012025/08/25/image_24012025_08_25_02_729359_0001.jpg
/home/pi/Desktop/images/24012025/08/25/image_24012025_08_25_02_729359_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330980315","1330980318","1330980311","1330980308"],"photo_ids_order":["1330980308","1330980311","1330980315","1330980318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1eb9be66f3867c72bd47f3e9c76c73f9.jpg","text":"TemporaryFile(/tmp/multipartBody1849524717755155616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703634176,"filename":"image_24012025_08_25_02_729359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/653f95cb9a7236d3efa469fb494aa591.jpg","text":"TemporaryFile(/tmp/multipartBody6191271940220080354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703634176,"filename":"image_24012025_08_25_02_729359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5d1f051824a4e81e18449440d66b7cb0.jpg","text":"TemporaryFile(/tmp/multipartBody3584064338606617508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703634176,"filename":"image_24012025_08_25_02_729359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1dd0607ac2a761fdec249072c84525b.jpg","text":"TemporaryFile(/tmp/multipartBody6841214546767059794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703634176,"filename":"image_24012025_08_24_03_088657_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330980315","file1":"1330980311","file0":"1330980308","file3":"1330980318"},"map_files_photo_id_array":[{"photo_id":"1330980315","filename":"file2"},{"photo_id":"1330980311","filename":"file1"},{"photo_id":"1330980308","filename":"file0"},{"photo_id":"1330980318","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330980315":["hashtag1","hashtag2"]},{"1330980318":["hashtag1","hashtag2"]},{"1330980311":["hashtag1","hashtag2"]},{"1330980308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330980315, 1330980318, 1330980311, 1330980308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.9946813583374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:27:02.757606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/25/image_24012025_08_25_02_729359_0003.jpg', '/home/pi/Desktop/images/24012025/08/26/image_24012025_08_26_02_221269_0000.jpg', '/home/pi/Desktop/images/24012025/08/26/image_24012025_08_26_02_221269_0001.jpg', '/home/pi/Desktop/images/24012025/08/26/image_24012025_08_26_02_221269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/25/image_24012025_08_25_02_729359_0003.jpg
/home/pi/Desktop/images/24012025/08/26/image_24012025_08_26_02_221269_0000.jpg
/home/pi/Desktop/images/24012025/08/26/image_24012025_08_26_02_221269_0001.jpg
/home/pi/Desktop/images/24012025/08/26/image_24012025_08_26_02_221269_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330980349","1330980356","1330980344","1330980358"],"photo_ids_order":["1330980344","1330980349","1330980356","1330980358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72f3ee8a01bd2ae16cd489530790b1ac.jpg","text":"TemporaryFile(/tmp/multipartBody7521450452456755005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703694196,"filename":"image_24012025_08_26_02_221269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51a9de6df359d26b5e7c9c09b81d0165.jpg","text":"TemporaryFile(/tmp/multipartBody5977975711619620760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703694196,"filename":"image_24012025_08_26_02_221269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/17557da1a27d858af10508fd1b73e647.jpg","text":"TemporaryFile(/tmp/multipartBody5378088966633501954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703694196,"filename":"image_24012025_08_25_02_729359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/96276e2d1cdf74c7141f2335bc434f80.jpg","text":"TemporaryFile(/tmp/multipartBody7908147605824986013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703694196,"filename":"image_24012025_08_26_02_221269_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330980356","file1":"1330980349","file0":"1330980344","file3":"1330980358"},"map_files_photo_id_array":[{"photo_id":"1330980356","filename":"file2"},{"photo_id":"1330980349","filename":"file1"},{"photo_id":"1330980344","filename":"file0"},{"photo_id":"1330980358","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330980349":["hashtag1","hashtag2"]},{"1330980356":["hashtag1","hashtag2"]},{"1330980344":["hashtag1","hashtag2"]},{"1330980358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330980349, 1330980356, 1330980344, 1330980358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.575115442276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:28:02.273898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/26/image_24012025_08_26_02_221269_0003.jpg', '/home/pi/Desktop/images/24012025/08/27/image_24012025_08_27_02_950046_0000.jpg', '/home/pi/Desktop/images/24012025/08/27/image_24012025_08_27_02_950046_0001.jpg', '/home/pi/Desktop/images/24012025/08/27/image_24012025_08_27_02_950046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/26/image_24012025_08_26_02_221269_0003.jpg
/home/pi/Desktop/images/24012025/08/27/image_24012025_08_27_02_950046_0000.jpg
/home/pi/Desktop/images/24012025/08/27/image_24012025_08_27_02_950046_0001.jpg
/home/pi/Desktop/images/24012025/08/27/image_24012025_08_27_02_950046_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330980399","1330980410","1330980394","1330980388"],"photo_ids_order":["1330980388","1330980394","1330980399","1330980410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db14923f5853b138df2672923e035779.jpg","text":"TemporaryFile(/tmp/multipartBody1256845578939892794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703753858,"filename":"image_24012025_08_27_02_950046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6c226c8237ec21ac79c7afc71b6348a5.jpg","text":"TemporaryFile(/tmp/multipartBody6645145447199948182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703753858,"filename":"image_24012025_08_27_02_950046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f4b20b09c58a1759bb0cf0a00c1c77b.jpg","text":"TemporaryFile(/tmp/multipartBody1440963348690937501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703753858,"filename":"image_24012025_08_27_02_950046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eec564a5c2021a1b612cd256fbc05f04.jpg","text":"TemporaryFile(/tmp/multipartBody7926410691447982390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703753858,"filename":"image_24012025_08_26_02_221269_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330980399","file1":"1330980394","file0":"1330980388","file3":"1330980410"},"map_files_photo_id_array":[{"photo_id":"1330980399","filename":"file2"},{"photo_id":"1330980394","filename":"file1"},{"photo_id":"1330980388","filename":"file0"},{"photo_id":"1330980410","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330980399":["hashtag1","hashtag2"]},{"1330980410":["hashtag1","hashtag2"]},{"1330980394":["hashtag1","hashtag2"]},{"1330980388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330980399, 1330980410, 1330980394, 1330980388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.13624119758606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:29:03.061316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/27/image_24012025_08_27_02_950046_0003.jpg', '/home/pi/Desktop/images/24012025/08/28/image_24012025_08_28_02_531773_0000.jpg', '/home/pi/Desktop/images/24012025/08/28/image_24012025_08_28_02_531773_0001.jpg', '/home/pi/Desktop/images/24012025/08/28/image_24012025_08_28_02_531773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/27/image_24012025_08_27_02_950046_0003.jpg
/home/pi/Desktop/images/24012025/08/28/image_24012025_08_28_02_531773_0000.jpg
/home/pi/Desktop/images/24012025/08/28/image_24012025_08_28_02_531773_0001.jpg
/home/pi/Desktop/images/24012025/08/28/image_24012025_08_28_02_531773_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330980639","1330980743","1330980755","1330980749"],"photo_ids_order":["1330980639","1330980743","1330980749","1330980755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4cac5c3e5473a2fe2248eeda59732b71.jpg","text":"TemporaryFile(/tmp/multipartBody4334365738850749085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703814508,"filename":"image_24012025_08_27_02_950046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c0098abbe845356891ef291a28dc646.jpg","text":"TemporaryFile(/tmp/multipartBody1935598944940950552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703814508,"filename":"image_24012025_08_28_02_531773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4bf0562b0717111b3f0151f7c9d63163.jpg","text":"TemporaryFile(/tmp/multipartBody8546004762943456196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703814508,"filename":"image_24012025_08_28_02_531773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/449f4fb9064b7392d4aca593f787886c.jpg","text":"TemporaryFile(/tmp/multipartBody7546833222454354658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703814508,"filename":"image_24012025_08_28_02_531773_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330980749","file1":"1330980743","file0":"1330980639","file3":"1330980755"},"map_files_photo_id_array":[{"photo_id":"1330980749","filename":"file2"},{"photo_id":"1330980743","filename":"file1"},{"photo_id":"1330980639","filename":"file0"},{"photo_id":"1330980755","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330980639":["hashtag1","hashtag2"]},{"1330980743":["hashtag1","hashtag2"]},{"1330980755":["hashtag1","hashtag2"]},{"1330980749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330980639, 1330980743, 1330980755, 1330980749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.02573323249817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:30:02.464162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/28/image_24012025_08_28_02_531773_0003.jpg', '/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0000.jpg', '/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0001.jpg', '/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/28/image_24012025_08_28_02_531773_0003.jpg
/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0000.jpg
/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0001.jpg
/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.047933578491211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:30:22.028274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/28/image_24012025_08_28_02_531773_0003.jpg', '/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0000.jpg', '/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0001.jpg', '/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0002.jpg', '/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0003.jpg', '/home/pi/Desktop/images/24012025/08/30/image_24012025_08_30_02_730033_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/28/image_24012025_08_28_02_531773_0003.jpg
/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0000.jpg
/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0001.jpg
/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0002.jpg
/home/pi/Desktop/images/24012025/08/29/image_24012025_08_29_02_218558_0003.jpg
/home/pi/Desktop/images/24012025/08/30/image_24012025_08_30_02_730033_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330981587","1330981737","1330981493","1330981916","1330981675","1330981843"],"photo_ids_order":["1330981493","1330981587","1330981675","1330981737","1330981843","1330981916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f9405fc64bd759f7932448e1294bafa3.jpg","text":"TemporaryFile(/tmp/multipartBody3102785314026108495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703898584,"filename":"image_24012025_08_29_02_218558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d4ba17da8bbb5125f675c8a4f0d7e311.jpg","text":"TemporaryFile(/tmp/multipartBody8156406809322161675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703898584,"filename":"image_24012025_08_29_02_218558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dbef80386f5571e83c9eb3b13829815f.jpg","text":"TemporaryFile(/tmp/multipartBody2642456235612637162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703898584,"filename":"image_24012025_08_28_02_531773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ef9ed6f652bef9c5c05847fc8f1b426e.jpg","text":"TemporaryFile(/tmp/multipartBody3643971654898073971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703898584,"filename":"image_24012025_08_30_02_730033_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4617618a6ce52612a3eccf04236fbb01.jpg","text":"TemporaryFile(/tmp/multipartBody8005803758566397145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703898584,"filename":"image_24012025_08_29_02_218558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/38be232cc5d7944b4be70c94ef827375.jpg","text":"TemporaryFile(/tmp/multipartBody2912559379887491678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703898584,"filename":"image_24012025_08_29_02_218558_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330981675","file1":"1330981587","file0":"1330981493","file4":"1330981843","file5":"1330981916","file3":"1330981737"},"map_files_photo_id_array":[{"photo_id":"1330981916","filename":"file5"},{"photo_id":"1330981675","filename":"file2"},{"photo_id":"1330981843","filename":"file4"},{"photo_id":"1330981587","filename":"file1"},{"photo_id":"1330981493","filename":"file0"},{"photo_id":"1330981737","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330981587":["hashtag1","hashtag2"]},{"1330981737":["hashtag1","hashtag2"]},{"1330981493":["hashtag1","hashtag2"]},{"1330981916":["hashtag1","hashtag2"]},{"1330981675":["hashtag1","hashtag2"]},{"1330981843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330981587, 1330981737, 1330981493, 1330981916, 1330981675, 1330981843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.93597888946533 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:32:02.565302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/30/image_24012025_08_30_02_730033_0001.jpg', '/home/pi/Desktop/images/24012025/08/30/image_24012025_08_30_02_730033_0002.jpg', '/home/pi/Desktop/images/24012025/08/30/image_24012025_08_30_02_730033_0003.jpg', '/home/pi/Desktop/images/24012025/08/31/image_24012025_08_31_02_435728_0000.jpg', '/home/pi/Desktop/images/24012025/08/31/image_24012025_08_31_02_435728_0001.jpg', '/home/pi/Desktop/images/24012025/08/31/image_24012025_08_31_02_435728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/30/image_24012025_08_30_02_730033_0001.jpg
/home/pi/Desktop/images/24012025/08/30/image_24012025_08_30_02_730033_0002.jpg
/home/pi/Desktop/images/24012025/08/30/image_24012025_08_30_02_730033_0003.jpg
/home/pi/Desktop/images/24012025/08/31/image_24012025_08_31_02_435728_0000.jpg
/home/pi/Desktop/images/24012025/08/31/image_24012025_08_31_02_435728_0001.jpg
/home/pi/Desktop/images/24012025/08/31/image_24012025_08_31_02_435728_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330982121","1330982180","1330982111","1330982113","1330982382","1330982277"],"photo_ids_order":["1330982111","1330982113","1330982121","1330982180","1330982277","1330982382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/685cd63eb57f10892806dd8288bbfe06.jpg","text":"TemporaryFile(/tmp/multipartBody1701804877185895717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703999090,"filename":"image_24012025_08_30_02_730033_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1bc74d2be4a785e9b57b535ee31a9671.jpg","text":"TemporaryFile(/tmp/multipartBody304319256828901396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703999090,"filename":"image_24012025_08_31_02_435728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d25320404cd80cc9adbcea1c176b743.jpg","text":"TemporaryFile(/tmp/multipartBody792617732381861297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703999090,"filename":"image_24012025_08_30_02_730033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8903c88dbc3a9d873c33f375ceec059f.jpg","text":"TemporaryFile(/tmp/multipartBody1755286834012304949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703999090,"filename":"image_24012025_08_30_02_730033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b268e9be332770f144a08926fb139bec.jpg","text":"TemporaryFile(/tmp/multipartBody1985496595669985348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703999090,"filename":"image_24012025_08_31_02_435728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63df3a029c909b8a34727cf063747cd8.jpg","text":"TemporaryFile(/tmp/multipartBody3150912887151389667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737703999090,"filename":"image_24012025_08_31_02_435728_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330982121","file1":"1330982113","file0":"1330982111","file4":"1330982277","file5":"1330982382","file3":"1330982180"},"map_files_photo_id_array":[{"photo_id":"1330982382","filename":"file5"},{"photo_id":"1330982121","filename":"file2"},{"photo_id":"1330982277","filename":"file4"},{"photo_id":"1330982113","filename":"file1"},{"photo_id":"1330982111","filename":"file0"},{"photo_id":"1330982180","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330982121":["hashtag1","hashtag2"]},{"1330982180":["hashtag1","hashtag2"]},{"1330982111":["hashtag1","hashtag2"]},{"1330982113":["hashtag1","hashtag2"]},{"1330982382":["hashtag1","hashtag2"]},{"1330982277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330982121, 1330982180, 1330982111, 1330982113, 1330982382, 1330982277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.371694564819336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:33:03.272670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/31/image_24012025_08_31_02_435728_0003.jpg', '/home/pi/Desktop/images/24012025/08/32/image_24012025_08_32_02_938100_0000.jpg', '/home/pi/Desktop/images/24012025/08/32/image_24012025_08_32_02_938100_0001.jpg', '/home/pi/Desktop/images/24012025/08/32/image_24012025_08_32_02_938100_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/31/image_24012025_08_31_02_435728_0003.jpg
/home/pi/Desktop/images/24012025/08/32/image_24012025_08_32_02_938100_0000.jpg
/home/pi/Desktop/images/24012025/08/32/image_24012025_08_32_02_938100_0001.jpg
/home/pi/Desktop/images/24012025/08/32/image_24012025_08_32_02_938100_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330982619","1330982634","1330982681","1330982614"],"photo_ids_order":["1330982614","1330982619","1330982634","1330982681"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dfee333857b109b5634f16ed1da6e9ff.jpg","text":"TemporaryFile(/tmp/multipartBody3130064248408377424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704055035,"filename":"image_24012025_08_32_02_938100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b6555aa27a6abe8d21ca216d4c417a8.jpg","text":"TemporaryFile(/tmp/multipartBody929692690299066708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704055035,"filename":"image_24012025_08_32_02_938100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f1c76409492118218c6ad3ccd8dcb32.jpg","text":"TemporaryFile(/tmp/multipartBody1318921307146042068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704055035,"filename":"image_24012025_08_32_02_938100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c61f9440bc5bf2321c306da81c3601f5.jpg","text":"TemporaryFile(/tmp/multipartBody7101060985659634694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704055035,"filename":"image_24012025_08_31_02_435728_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330982634","file1":"1330982619","file0":"1330982614","file3":"1330982681"},"map_files_photo_id_array":[{"photo_id":"1330982634","filename":"file2"},{"photo_id":"1330982619","filename":"file1"},{"photo_id":"1330982614","filename":"file0"},{"photo_id":"1330982681","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330982619":["hashtag1","hashtag2"]},{"1330982634":["hashtag1","hashtag2"]},{"1330982681":["hashtag1","hashtag2"]},{"1330982614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330982619, 1330982634, 1330982681, 1330982614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.40170240402222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:34:02.850997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/32/image_24012025_08_32_02_938100_0003.jpg', '/home/pi/Desktop/images/24012025/08/33/image_24012025_08_33_02_508670_0000.jpg', '/home/pi/Desktop/images/24012025/08/33/image_24012025_08_33_02_508670_0001.jpg', '/home/pi/Desktop/images/24012025/08/33/image_24012025_08_33_02_508670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/32/image_24012025_08_32_02_938100_0003.jpg
/home/pi/Desktop/images/24012025/08/33/image_24012025_08_33_02_508670_0000.jpg
/home/pi/Desktop/images/24012025/08/33/image_24012025_08_33_02_508670_0001.jpg
/home/pi/Desktop/images/24012025/08/33/image_24012025_08_33_02_508670_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330982724","1330982732","1330982729","1330982719"],"photo_ids_order":["1330982719","1330982724","1330982729","1330982732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28e52b9727ae75224c3483b77ed09b64.jpg","text":"TemporaryFile(/tmp/multipartBody4953973084176020879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704114283,"filename":"image_24012025_08_33_02_508670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/633db76d4a1ad316e8aa3a60d7fe0d22.jpg","text":"TemporaryFile(/tmp/multipartBody7818009491027651054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704114283,"filename":"image_24012025_08_33_02_508670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f63e4a45a96888cf229be2613f23f15.jpg","text":"TemporaryFile(/tmp/multipartBody4784520828422138520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704114283,"filename":"image_24012025_08_33_02_508670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f93cb9d7c741f66ff4a6313015d53607.jpg","text":"TemporaryFile(/tmp/multipartBody3605064873851441986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704114283,"filename":"image_24012025_08_32_02_938100_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330982729","file1":"1330982724","file0":"1330982719","file3":"1330982732"},"map_files_photo_id_array":[{"photo_id":"1330982729","filename":"file2"},{"photo_id":"1330982724","filename":"file1"},{"photo_id":"1330982719","filename":"file0"},{"photo_id":"1330982732","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330982724":["hashtag1","hashtag2"]},{"1330982732":["hashtag1","hashtag2"]},{"1330982729":["hashtag1","hashtag2"]},{"1330982719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330982724, 1330982732, 1330982729, 1330982719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.07911133766174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:35:02.321119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/33/image_24012025_08_33_02_508670_0003.jpg', '/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0000.jpg', '/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0001.jpg', '/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/33/image_24012025_08_33_02_508670_0003.jpg
/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0000.jpg
/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0001.jpg
/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.936837911605835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:35:21.861678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/33/image_24012025_08_33_02_508670_0003.jpg', '/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0000.jpg', '/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0001.jpg', '/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0002.jpg', '/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0003.jpg', '/home/pi/Desktop/images/24012025/08/35/image_24012025_08_35_02_711660_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/33/image_24012025_08_33_02_508670_0003.jpg
/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0000.jpg
/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0001.jpg
/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0002.jpg
/home/pi/Desktop/images/24012025/08/34/image_24012025_08_34_03_054868_0003.jpg
/home/pi/Desktop/images/24012025/08/35/image_24012025_08_35_02_711660_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330982958","1330982966","1330982962","1330982941","1330982944","1330982973"],"photo_ids_order":["1330982941","1330982944","1330982958","1330982962","1330982966","1330982973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee353f0c0e839e457d28f65e588f464d.jpg","text":"TemporaryFile(/tmp/multipartBody5703422033386535598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704198513,"filename":"image_24012025_08_34_03_054868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e1e25bf5f7bfeb9f98432155400c8506.jpg","text":"TemporaryFile(/tmp/multipartBody4752845428646344913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704198513,"filename":"image_24012025_08_34_03_054868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c8e0a2dc3357f624b82740525750731.jpg","text":"TemporaryFile(/tmp/multipartBody1480577474805207829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704198513,"filename":"image_24012025_08_34_03_054868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/527779df86feafb9ef47cfc6398eb65d.jpg","text":"TemporaryFile(/tmp/multipartBody4676006320551152304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704198513,"filename":"image_24012025_08_33_02_508670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ca3065ab6b9a69023927700afc263e99.jpg","text":"TemporaryFile(/tmp/multipartBody4168244400225547467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704198513,"filename":"image_24012025_08_34_03_054868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b429d979814d9c20813510bf49f5fccf.jpg","text":"TemporaryFile(/tmp/multipartBody8763049490969571703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704198513,"filename":"image_24012025_08_35_02_711660_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330982958","file1":"1330982944","file0":"1330982941","file4":"1330982966","file5":"1330982973","file3":"1330982962"},"map_files_photo_id_array":[{"photo_id":"1330982973","filename":"file5"},{"photo_id":"1330982958","filename":"file2"},{"photo_id":"1330982966","filename":"file4"},{"photo_id":"1330982944","filename":"file1"},{"photo_id":"1330982941","filename":"file0"},{"photo_id":"1330982962","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330982958":["hashtag1","hashtag2"]},{"1330982966":["hashtag1","hashtag2"]},{"1330982962":["hashtag1","hashtag2"]},{"1330982941":["hashtag1","hashtag2"]},{"1330982944":["hashtag1","hashtag2"]},{"1330982973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330982958, 1330982966, 1330982962, 1330982941, 1330982944, 1330982973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.82670617103577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:36:22.520408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/35/image_24012025_08_35_02_711660_0001.jpg', '/home/pi/Desktop/images/24012025/08/35/image_24012025_08_35_02_711660_0002.jpg', '/home/pi/Desktop/images/24012025/08/35/image_24012025_08_35_02_711660_0003.jpg', '/home/pi/Desktop/images/24012025/08/36/image_24012025_08_36_02_236295_0000.jpg', '/home/pi/Desktop/images/24012025/08/36/image_24012025_08_36_02_236295_0001.jpg', '/home/pi/Desktop/images/24012025/08/36/image_24012025_08_36_02_236295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/35/image_24012025_08_35_02_711660_0001.jpg
/home/pi/Desktop/images/24012025/08/35/image_24012025_08_35_02_711660_0002.jpg
/home/pi/Desktop/images/24012025/08/35/image_24012025_08_35_02_711660_0003.jpg
/home/pi/Desktop/images/24012025/08/36/image_24012025_08_36_02_236295_0000.jpg
/home/pi/Desktop/images/24012025/08/36/image_24012025_08_36_02_236295_0001.jpg
/home/pi/Desktop/images/24012025/08/36/image_24012025_08_36_02_236295_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330983032","1330983016","1330983046","1330983027","1330983021","1330983039"],"photo_ids_order":["1330983016","1330983021","1330983027","1330983032","1330983039","1330983046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/859f3d255954d77883a841fb7e2977b1.jpg","text":"TemporaryFile(/tmp/multipartBody7355284162338326814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704259479,"filename":"image_24012025_08_36_02_236295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d3cd9b7713db794ce488d988c499553.jpg","text":"TemporaryFile(/tmp/multipartBody844398598649203522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704259479,"filename":"image_24012025_08_35_02_711660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cbfbdecf7c18795084db56f2b26eca62.jpg","text":"TemporaryFile(/tmp/multipartBody237423506528770373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704259479,"filename":"image_24012025_08_36_02_236295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5ba717e36d6bed8118c82fed0393f5f.jpg","text":"TemporaryFile(/tmp/multipartBody8193821582995175607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704259479,"filename":"image_24012025_08_35_02_711660_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2167fb1f2735453f48a1eeb4dcccc1f8.jpg","text":"TemporaryFile(/tmp/multipartBody4017479270247348894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704259479,"filename":"image_24012025_08_35_02_711660_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/38c6145bd31f6ebaf166f3453af5736c.jpg","text":"TemporaryFile(/tmp/multipartBody1525762102637092267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704259479,"filename":"image_24012025_08_36_02_236295_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330983027","file1":"1330983021","file0":"1330983016","file4":"1330983039","file5":"1330983046","file3":"1330983032"},"map_files_photo_id_array":[{"photo_id":"1330983046","filename":"file5"},{"photo_id":"1330983027","filename":"file2"},{"photo_id":"1330983039","filename":"file4"},{"photo_id":"1330983021","filename":"file1"},{"photo_id":"1330983016","filename":"file0"},{"photo_id":"1330983032","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330983032":["hashtag1","hashtag2"]},{"1330983016":["hashtag1","hashtag2"]},{"1330983046":["hashtag1","hashtag2"]},{"1330983027":["hashtag1","hashtag2"]},{"1330983021":["hashtag1","hashtag2"]},{"1330983039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330983032, 1330983016, 1330983046, 1330983027, 1330983021, 1330983039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.22998070716858 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:37:21.907094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/36/image_24012025_08_36_02_236295_0003.jpg', '/home/pi/Desktop/images/24012025/08/37/image_24012025_08_37_02_843481_0000.jpg', '/home/pi/Desktop/images/24012025/08/37/image_24012025_08_37_02_843481_0001.jpg', '/home/pi/Desktop/images/24012025/08/37/image_24012025_08_37_02_843481_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/36/image_24012025_08_36_02_236295_0003.jpg
/home/pi/Desktop/images/24012025/08/37/image_24012025_08_37_02_843481_0000.jpg
/home/pi/Desktop/images/24012025/08/37/image_24012025_08_37_02_843481_0001.jpg
/home/pi/Desktop/images/24012025/08/37/image_24012025_08_37_02_843481_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330983542","1330983623","1330983712","1330983444"],"photo_ids_order":["1330983444","1330983542","1330983623","1330983712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5fe564b4102122dd260d57f8c73bf94e.jpg","text":"TemporaryFile(/tmp/multipartBody8494804152071083460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704313278,"filename":"image_24012025_08_37_02_843481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5340b246a7e23c4cc3cb272ba6045b85.jpg","text":"TemporaryFile(/tmp/multipartBody8613784538060657123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704313278,"filename":"image_24012025_08_37_02_843481_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1857b61cc2958fcb4c1aea9cc240c1d1.jpg","text":"TemporaryFile(/tmp/multipartBody8097125820388164712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704313278,"filename":"image_24012025_08_37_02_843481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98cdb8ac7bc33d626b6aa01aa9daf769.jpg","text":"TemporaryFile(/tmp/multipartBody5860728915175046235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704313278,"filename":"image_24012025_08_36_02_236295_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330983623","file1":"1330983542","file0":"1330983444","file3":"1330983712"},"map_files_photo_id_array":[{"photo_id":"1330983623","filename":"file2"},{"photo_id":"1330983542","filename":"file1"},{"photo_id":"1330983444","filename":"file0"},{"photo_id":"1330983712","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330983542":["hashtag1","hashtag2"]},{"1330983623":["hashtag1","hashtag2"]},{"1330983712":["hashtag1","hashtag2"]},{"1330983444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330983542, 1330983623, 1330983712, 1330983444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.92743802070618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:38:22.516114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/37/image_24012025_08_37_02_843481_0003.jpg', '/home/pi/Desktop/images/24012025/08/38/image_24012025_08_38_02_334870_0000.jpg', '/home/pi/Desktop/images/24012025/08/38/image_24012025_08_38_02_334870_0001.jpg', '/home/pi/Desktop/images/24012025/08/38/image_24012025_08_38_02_334870_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/37/image_24012025_08_37_02_843481_0003.jpg
/home/pi/Desktop/images/24012025/08/38/image_24012025_08_38_02_334870_0000.jpg
/home/pi/Desktop/images/24012025/08/38/image_24012025_08_38_02_334870_0001.jpg
/home/pi/Desktop/images/24012025/08/38/image_24012025_08_38_02_334870_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330984733","1330984709","1330984681","1330984691"],"photo_ids_order":["1330984681","1330984691","1330984709","1330984733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8ee47f427965d3d767438c1b01739a25.jpg","text":"TemporaryFile(/tmp/multipartBody4617872864710810077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704373785,"filename":"image_24012025_08_38_02_334870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ee5c298753e3e204d99ab09f04f95fe.jpg","text":"TemporaryFile(/tmp/multipartBody1511518349517641510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704373785,"filename":"image_24012025_08_38_02_334870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fce0f816c9cce4d36a842894dac3d416.jpg","text":"TemporaryFile(/tmp/multipartBody9016222489775639525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704373785,"filename":"image_24012025_08_37_02_843481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c07fa01f240662709ce85a90e2e3d02c.jpg","text":"TemporaryFile(/tmp/multipartBody5340570723794336368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704373785,"filename":"image_24012025_08_38_02_334870_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330984709","file1":"1330984691","file0":"1330984681","file3":"1330984733"},"map_files_photo_id_array":[{"photo_id":"1330984709","filename":"file2"},{"photo_id":"1330984691","filename":"file1"},{"photo_id":"1330984681","filename":"file0"},{"photo_id":"1330984733","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330984733":["hashtag1","hashtag2"]},{"1330984709":["hashtag1","hashtag2"]},{"1330984681":["hashtag1","hashtag2"]},{"1330984691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330984733, 1330984709, 1330984681, 1330984691)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.06687355041504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:39:22.073342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/38/image_24012025_08_38_02_334870_0003.jpg', '/home/pi/Desktop/images/24012025/08/39/image_24012025_08_39_02_892623_0000.jpg', '/home/pi/Desktop/images/24012025/08/39/image_24012025_08_39_02_892623_0001.jpg', '/home/pi/Desktop/images/24012025/08/39/image_24012025_08_39_02_892623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/38/image_24012025_08_38_02_334870_0003.jpg
/home/pi/Desktop/images/24012025/08/39/image_24012025_08_39_02_892623_0000.jpg
/home/pi/Desktop/images/24012025/08/39/image_24012025_08_39_02_892623_0001.jpg
/home/pi/Desktop/images/24012025/08/39/image_24012025_08_39_02_892623_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330986037","1330986028","1330986061","1330985971"],"photo_ids_order":["1330985971","1330986028","1330986037","1330986061"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c8495a9dd7a417c5146b220428e20a02.jpg","text":"TemporaryFile(/tmp/multipartBody418081527862931330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704433564,"filename":"image_24012025_08_39_02_892623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06f1c5af4f518de0d63494b2e3dca32f.jpg","text":"TemporaryFile(/tmp/multipartBody1123623607824433052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704433564,"filename":"image_24012025_08_39_02_892623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/53a913da34ed3da4bb762a897b7488ad.jpg","text":"TemporaryFile(/tmp/multipartBody5710428380899235411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704433564,"filename":"image_24012025_08_39_02_892623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4014ee69e717ead140f3028493cc3113.jpg","text":"TemporaryFile(/tmp/multipartBody708711709048694665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704433564,"filename":"image_24012025_08_38_02_334870_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330986037","file1":"1330986028","file0":"1330985971","file3":"1330986061"},"map_files_photo_id_array":[{"photo_id":"1330986037","filename":"file2"},{"photo_id":"1330986028","filename":"file1"},{"photo_id":"1330985971","filename":"file0"},{"photo_id":"1330986061","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330986037":["hashtag1","hashtag2"]},{"1330986028":["hashtag1","hashtag2"]},{"1330986061":["hashtag1","hashtag2"]},{"1330985971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330986037, 1330986028, 1330986061, 1330985971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.36562967300415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:40:22.646976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/39/image_24012025_08_39_02_892623_0003.jpg', '/home/pi/Desktop/images/24012025/08/40/image_24012025_08_40_02_420925_0000.jpg', '/home/pi/Desktop/images/24012025/08/40/image_24012025_08_40_02_420925_0001.jpg', '/home/pi/Desktop/images/24012025/08/40/image_24012025_08_40_02_420925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/39/image_24012025_08_39_02_892623_0003.jpg
/home/pi/Desktop/images/24012025/08/40/image_24012025_08_40_02_420925_0000.jpg
/home/pi/Desktop/images/24012025/08/40/image_24012025_08_40_02_420925_0001.jpg
/home/pi/Desktop/images/24012025/08/40/image_24012025_08_40_02_420925_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330986174","1330986161","1330986170","1330986166"],"photo_ids_order":["1330986161","1330986166","1330986170","1330986174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ab2fa07fa74999ab9b09a05c27d30f1.jpg","text":"TemporaryFile(/tmp/multipartBody5911019884739431073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704493844,"filename":"image_24012025_08_40_02_420925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e9acbf8d81f58430cfc5d9eb6f0678a1.jpg","text":"TemporaryFile(/tmp/multipartBody7878732564361838502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704493844,"filename":"image_24012025_08_39_02_892623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6a37c2cb481c3d05c0489133c4055741.jpg","text":"TemporaryFile(/tmp/multipartBody859098468186487428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704493844,"filename":"image_24012025_08_40_02_420925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/89c5892cff14abe131accf86be0ca465.jpg","text":"TemporaryFile(/tmp/multipartBody7625784270539855943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704493844,"filename":"image_24012025_08_40_02_420925_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330986170","file1":"1330986166","file0":"1330986161","file3":"1330986174"},"map_files_photo_id_array":[{"photo_id":"1330986170","filename":"file2"},{"photo_id":"1330986166","filename":"file1"},{"photo_id":"1330986161","filename":"file0"},{"photo_id":"1330986174","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330986174":["hashtag1","hashtag2"]},{"1330986161":["hashtag1","hashtag2"]},{"1330986170":["hashtag1","hashtag2"]},{"1330986166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330986174, 1330986161, 1330986170, 1330986166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.55905866622925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:41:22.057450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/40/image_24012025_08_40_02_420925_0003.jpg', '/home/pi/Desktop/images/24012025/08/41/image_24012025_08_41_02_931569_0000.jpg', '/home/pi/Desktop/images/24012025/08/41/image_24012025_08_41_02_931569_0001.jpg', '/home/pi/Desktop/images/24012025/08/41/image_24012025_08_41_02_931569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/40/image_24012025_08_40_02_420925_0003.jpg
/home/pi/Desktop/images/24012025/08/41/image_24012025_08_41_02_931569_0000.jpg
/home/pi/Desktop/images/24012025/08/41/image_24012025_08_41_02_931569_0001.jpg
/home/pi/Desktop/images/24012025/08/41/image_24012025_08_41_02_931569_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330986677","1330986671","1330986667","1330986605"],"photo_ids_order":["1330986605","1330986667","1330986671","1330986677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/faa735eef6d6695665d0f5709af485d8.jpg","text":"TemporaryFile(/tmp/multipartBody6145100768229479676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704553816,"filename":"image_24012025_08_41_02_931569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fcc4e1bcd94d6c690edcf61769368343.jpg","text":"TemporaryFile(/tmp/multipartBody1289843309767636852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704553816,"filename":"image_24012025_08_41_02_931569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc57eeefceb9bf378a01de447eebc5e9.jpg","text":"TemporaryFile(/tmp/multipartBody3848011979949549923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704553816,"filename":"image_24012025_08_41_02_931569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8bf31a1bd558e1dd5e8663dcc8b11c51.jpg","text":"TemporaryFile(/tmp/multipartBody3002992197316639111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704553816,"filename":"image_24012025_08_40_02_420925_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330986671","file1":"1330986667","file0":"1330986605","file3":"1330986677"},"map_files_photo_id_array":[{"photo_id":"1330986671","filename":"file2"},{"photo_id":"1330986667","filename":"file1"},{"photo_id":"1330986605","filename":"file0"},{"photo_id":"1330986677","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330986677":["hashtag1","hashtag2"]},{"1330986671":["hashtag1","hashtag2"]},{"1330986667":["hashtag1","hashtag2"]},{"1330986605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330986677, 1330986671, 1330986667, 1330986605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.55188202857971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:42:22.555710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/41/image_24012025_08_41_02_931569_0003.jpg', '/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0000.jpg', '/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0001.jpg', '/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/41/image_24012025_08_41_02_931569_0003.jpg
/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0000.jpg
/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0001.jpg
/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.819604396820068 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:43:02.786381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/41/image_24012025_08_41_02_931569_0003.jpg', '/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0000.jpg', '/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0001.jpg', '/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/41/image_24012025_08_41_02_931569_0003.jpg
/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0000.jpg
/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0001.jpg
/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330986922","1330986919","1330986935","1330986949"],"photo_ids_order":["1330986919","1330986922","1330986935","1330986949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/565ea571dd9d08bf05f963471519d6eb.jpg","text":"TemporaryFile(/tmp/multipartBody3365683745772520776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704654101,"filename":"image_24012025_08_42_02_411291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/293871f444bd1e37d80deea2edda625b.jpg","text":"TemporaryFile(/tmp/multipartBody8795738722398250409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704654101,"filename":"image_24012025_08_41_02_931569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ada21a2471fd5651b15fe6aaa63acdf1.jpg","text":"TemporaryFile(/tmp/multipartBody4834958175399606993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704654101,"filename":"image_24012025_08_42_02_411291_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f42b8237d65c75f1de72034ebbd3e03.jpg","text":"TemporaryFile(/tmp/multipartBody5650693696924651444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704654101,"filename":"image_24012025_08_42_02_411291_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330986935","file1":"1330986922","file0":"1330986919","file3":"1330986949"},"map_files_photo_id_array":[{"photo_id":"1330986935","filename":"file2"},{"photo_id":"1330986922","filename":"file1"},{"photo_id":"1330986919","filename":"file0"},{"photo_id":"1330986949","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330986922":["hashtag1","hashtag2"]},{"1330986919":["hashtag1","hashtag2"]},{"1330986935":["hashtag1","hashtag2"]},{"1330986949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330986922, 1330986919, 1330986935, 1330986949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.04959583282471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:44:02.029374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0003.jpg', '/home/pi/Desktop/images/24012025/08/43/image_24012025_08_43_02_966017_0000.jpg', '/home/pi/Desktop/images/24012025/08/43/image_24012025_08_43_02_966017_0001.jpg', '/home/pi/Desktop/images/24012025/08/43/image_24012025_08_43_02_966017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/42/image_24012025_08_42_02_411291_0003.jpg
/home/pi/Desktop/images/24012025/08/43/image_24012025_08_43_02_966017_0000.jpg
/home/pi/Desktop/images/24012025/08/43/image_24012025_08_43_02_966017_0001.jpg
/home/pi/Desktop/images/24012025/08/43/image_24012025_08_43_02_966017_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330987095","1330987079","1330987057","1330987086"],"photo_ids_order":["1330987057","1330987079","1330987086","1330987095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8c916a9123d1265a88729dc7333b04ac.jpg","text":"TemporaryFile(/tmp/multipartBody2828188245070314187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704713187,"filename":"image_24012025_08_43_02_966017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a86d839e066224b11a175a5efb986818.jpg","text":"TemporaryFile(/tmp/multipartBody5340689848818329242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704713187,"filename":"image_24012025_08_43_02_966017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/36db218e43c74e81f0296a5fd9e40f89.jpg","text":"TemporaryFile(/tmp/multipartBody5599843239451221799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704713187,"filename":"image_24012025_08_42_02_411291_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/de07a7c184bf59c51097e8723dd9954a.jpg","text":"TemporaryFile(/tmp/multipartBody424803312451445545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704713187,"filename":"image_24012025_08_43_02_966017_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330987086","file1":"1330987079","file0":"1330987057","file3":"1330987095"},"map_files_photo_id_array":[{"photo_id":"1330987086","filename":"file2"},{"photo_id":"1330987079","filename":"file1"},{"photo_id":"1330987057","filename":"file0"},{"photo_id":"1330987095","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330987095":["hashtag1","hashtag2"]},{"1330987079":["hashtag1","hashtag2"]},{"1330987057":["hashtag1","hashtag2"]},{"1330987086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330987095, 1330987079, 1330987057, 1330987086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57824993133545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:45:02.876196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/43/image_24012025_08_43_02_966017_0003.jpg', '/home/pi/Desktop/images/24012025/08/44/image_24012025_08_44_02_509010_0000.jpg', '/home/pi/Desktop/images/24012025/08/44/image_24012025_08_44_02_509010_0001.jpg', '/home/pi/Desktop/images/24012025/08/44/image_24012025_08_44_02_509010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/43/image_24012025_08_43_02_966017_0003.jpg
/home/pi/Desktop/images/24012025/08/44/image_24012025_08_44_02_509010_0000.jpg
/home/pi/Desktop/images/24012025/08/44/image_24012025_08_44_02_509010_0001.jpg
/home/pi/Desktop/images/24012025/08/44/image_24012025_08_44_02_509010_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330987119","1330987148","1330987136","1330987132"],"photo_ids_order":["1330987119","1330987132","1330987136","1330987148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b569261e01468fbc326dd94d01dbc4ed.jpg","text":"TemporaryFile(/tmp/multipartBody4200532418465495659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704774279,"filename":"image_24012025_08_43_02_966017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/324d402a2970ebf9250805dd13977359.jpg","text":"TemporaryFile(/tmp/multipartBody5102718611407787381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704774279,"filename":"image_24012025_08_44_02_509010_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f4d45085ee53487477c9d5c2f1871a9.jpg","text":"TemporaryFile(/tmp/multipartBody192833046938050811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704774279,"filename":"image_24012025_08_44_02_509010_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8303593ad2c14f4f4fa9eb5297fa6f8f.jpg","text":"TemporaryFile(/tmp/multipartBody1911511853035777596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704774279,"filename":"image_24012025_08_44_02_509010_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330987136","file1":"1330987132","file0":"1330987119","file3":"1330987148"},"map_files_photo_id_array":[{"photo_id":"1330987136","filename":"file2"},{"photo_id":"1330987132","filename":"file1"},{"photo_id":"1330987119","filename":"file0"},{"photo_id":"1330987148","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330987119":["hashtag1","hashtag2"]},{"1330987148":["hashtag1","hashtag2"]},{"1330987136":["hashtag1","hashtag2"]},{"1330987132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330987119, 1330987148, 1330987136, 1330987132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.257078647613525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:46:02.153751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/44/image_24012025_08_44_02_509010_0003.jpg', '/home/pi/Desktop/images/24012025/08/45/image_24012025_08_45_02_130447_0000.jpg', '/home/pi/Desktop/images/24012025/08/45/image_24012025_08_45_02_130447_0001.jpg', '/home/pi/Desktop/images/24012025/08/45/image_24012025_08_45_02_130447_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/44/image_24012025_08_44_02_509010_0003.jpg
/home/pi/Desktop/images/24012025/08/45/image_24012025_08_45_02_130447_0000.jpg
/home/pi/Desktop/images/24012025/08/45/image_24012025_08_45_02_130447_0001.jpg
/home/pi/Desktop/images/24012025/08/45/image_24012025_08_45_02_130447_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330987236","1330987233","1330987244","1330987240"],"photo_ids_order":["1330987233","1330987236","1330987240","1330987244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74e8ff83ae8af155715112850b39d38e.jpg","text":"TemporaryFile(/tmp/multipartBody9110135683498347174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704833708,"filename":"image_24012025_08_45_02_130447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1d9d08ebf8dab9adfcf30a186005b7a7.jpg","text":"TemporaryFile(/tmp/multipartBody6275798562772537015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704833708,"filename":"image_24012025_08_44_02_509010_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/87fa31e0b951fe07c03f1de07e6e8648.jpg","text":"TemporaryFile(/tmp/multipartBody4231637189485521923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704833708,"filename":"image_24012025_08_45_02_130447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b2a7bc7172114363c77ffd772a65b506.jpg","text":"TemporaryFile(/tmp/multipartBody1484798674430738621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704833708,"filename":"image_24012025_08_45_02_130447_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330987240","file1":"1330987236","file0":"1330987233","file3":"1330987244"},"map_files_photo_id_array":[{"photo_id":"1330987240","filename":"file2"},{"photo_id":"1330987236","filename":"file1"},{"photo_id":"1330987233","filename":"file0"},{"photo_id":"1330987244","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330987236":["hashtag1","hashtag2"]},{"1330987233":["hashtag1","hashtag2"]},{"1330987244":["hashtag1","hashtag2"]},{"1330987240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330987236, 1330987233, 1330987244, 1330987240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.89870834350586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:47:02.986293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/45/image_24012025_08_45_02_130447_0003.jpg', '/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0000.jpg', '/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0001.jpg', '/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/45/image_24012025_08_45_02_130447_0003.jpg
/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0000.jpg
/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0001.jpg
/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.982902765274048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:47:22.409242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/45/image_24012025_08_45_02_130447_0003.jpg', '/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0000.jpg', '/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0001.jpg', '/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0002.jpg', '/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0003.jpg', '/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/45/image_24012025_08_45_02_130447_0003.jpg
/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0000.jpg
/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0001.jpg
/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0002.jpg
/home/pi/Desktop/images/24012025/08/46/image_24012025_08_46_02_597815_0003.jpg
/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330987293","1330987295","1330987310","1330987304","1330987297","1330987282"],"photo_ids_order":["1330987282","1330987293","1330987295","1330987297","1330987304","1330987310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d779da3b99c98e7bea521d94e123d5c5.jpg","text":"TemporaryFile(/tmp/multipartBody8490715833680414818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704918840,"filename":"image_24012025_08_46_02_597815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8bd0f1919964220aea22605ec9e9efb9.jpg","text":"TemporaryFile(/tmp/multipartBody4299907763153712627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704918840,"filename":"image_24012025_08_46_02_597815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ccd491806520974a91dc1fd9f383f793.jpg","text":"TemporaryFile(/tmp/multipartBody2053946841839072997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704918840,"filename":"image_24012025_08_47_02_218165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4bd458b40d82763a69797359f39d019a.jpg","text":"TemporaryFile(/tmp/multipartBody670238023322195498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704918840,"filename":"image_24012025_08_46_02_597815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0f9432d581e7906dc931e773bce94b6e.jpg","text":"TemporaryFile(/tmp/multipartBody1736428973080792706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704918840,"filename":"image_24012025_08_46_02_597815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc6351698742d5949a58352272a20ee4.jpg","text":"TemporaryFile(/tmp/multipartBody107787982873431055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737704918840,"filename":"image_24012025_08_45_02_130447_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330987295","file1":"1330987293","file0":"1330987282","file4":"1330987304","file5":"1330987310","file3":"1330987297"},"map_files_photo_id_array":[{"photo_id":"1330987310","filename":"file5"},{"photo_id":"1330987295","filename":"file2"},{"photo_id":"1330987304","filename":"file4"},{"photo_id":"1330987293","filename":"file1"},{"photo_id":"1330987282","filename":"file0"},{"photo_id":"1330987297","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330987293":["hashtag1","hashtag2"]},{"1330987295":["hashtag1","hashtag2"]},{"1330987310":["hashtag1","hashtag2"]},{"1330987304":["hashtag1","hashtag2"]},{"1330987297":["hashtag1","hashtag2"]},{"1330987282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330987293, 1330987295, 1330987310, 1330987304, 1330987297, 1330987282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.67876958847046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:49:03.300564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0001.jpg', '/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0002.jpg', '/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0003.jpg', '/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0000.jpg', '/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0001.jpg', '/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0001.jpg
/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0002.jpg
/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0003.jpg
/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0000.jpg
/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0001.jpg
/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.007309198379517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:49:22.542402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0001.jpg', '/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0002.jpg', '/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0003.jpg', '/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0000.jpg', '/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0001.jpg', '/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0001.jpg
/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0002.jpg
/home/pi/Desktop/images/24012025/08/47/image_24012025_08_47_02_218165_0003.jpg
/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0000.jpg
/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0001.jpg
/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330987881","1330988033","1330987970","1330988134","1330988056","1330988250"],"photo_ids_order":["1330987881","1330987970","1330988033","1330988056","1330988134","1330988250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/80b95960350cb431a91f747c66dbf1c7.jpg","text":"TemporaryFile(/tmp/multipartBody2400546392046863239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705038889,"filename":"image_24012025_08_47_02_218165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/57bef43dd4698c4212ef2055b0acc74b.jpg","text":"TemporaryFile(/tmp/multipartBody4340729848924367806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705038889,"filename":"image_24012025_08_47_02_218165_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5f9e4ff040d1b0a1d6368e03b2ab974a.jpg","text":"TemporaryFile(/tmp/multipartBody2551515524966344640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705038889,"filename":"image_24012025_08_47_02_218165_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28bc768f2730e9b31a4507095087d187.jpg","text":"TemporaryFile(/tmp/multipartBody6332050557036392835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705038889,"filename":"image_24012025_08_48_02_747035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/20247540fdbba776c48f4aa5ed7469e9.jpg","text":"TemporaryFile(/tmp/multipartBody7220339442855259944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705038889,"filename":"image_24012025_08_48_02_747035_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e157bf0a0d5b9541b3d0190a7ff1add2.jpg","text":"TemporaryFile(/tmp/multipartBody6454241860342497963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705038889,"filename":"image_24012025_08_48_02_747035_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330988033","file1":"1330987970","file0":"1330987881","file4":"1330988134","file5":"1330988250","file3":"1330988056"},"map_files_photo_id_array":[{"photo_id":"1330988250","filename":"file5"},{"photo_id":"1330988033","filename":"file2"},{"photo_id":"1330988134","filename":"file4"},{"photo_id":"1330987970","filename":"file1"},{"photo_id":"1330987881","filename":"file0"},{"photo_id":"1330988056","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330987881":["hashtag1","hashtag2"]},{"1330988033":["hashtag1","hashtag2"]},{"1330987970":["hashtag1","hashtag2"]},{"1330988134":["hashtag1","hashtag2"]},{"1330988056":["hashtag1","hashtag2"]},{"1330988250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330987881, 1330988033, 1330987970, 1330988134, 1330988056, 1330988250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.33013105392456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:51:03.459851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0003.jpg', '/home/pi/Desktop/images/24012025/08/49/image_24012025_08_49_02_339271_0000.jpg', '/home/pi/Desktop/images/24012025/08/49/image_24012025_08_49_02_339271_0001.jpg', '/home/pi/Desktop/images/24012025/08/49/image_24012025_08_49_02_339271_0002.jpg', '/home/pi/Desktop/images/24012025/08/49/image_24012025_08_49_02_339271_0003.jpg', '/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/48/image_24012025_08_48_02_747035_0003.jpg
/home/pi/Desktop/images/24012025/08/49/image_24012025_08_49_02_339271_0000.jpg
/home/pi/Desktop/images/24012025/08/49/image_24012025_08_49_02_339271_0001.jpg
/home/pi/Desktop/images/24012025/08/49/image_24012025_08_49_02_339271_0002.jpg
/home/pi/Desktop/images/24012025/08/49/image_24012025_08_49_02_339271_0003.jpg
/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330988681","1330988699","1330988720","1330988800","1330988716","1330988616"],"photo_ids_order":["1330988616","1330988681","1330988699","1330988716","1330988720","1330988800"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/648d581958391d01d33c5af9631e623f.jpg","text":"TemporaryFile(/tmp/multipartBody6288142923557062166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705140232,"filename":"image_24012025_08_49_02_339271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8cc04bc40ab6746d928cd80131605d7a.jpg","text":"TemporaryFile(/tmp/multipartBody2733749906352147392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705140232,"filename":"image_24012025_08_49_02_339271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d0e27d58269eb8ec7561b58b4e31979.jpg","text":"TemporaryFile(/tmp/multipartBody5070763365224658499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705140232,"filename":"image_24012025_08_49_02_339271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4518240b7644dd9fe27790c141b18c54.jpg","text":"TemporaryFile(/tmp/multipartBody8652092656318694621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705140232,"filename":"image_24012025_08_50_02_879978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/acf35b3f10c5a899c6861a6e6782fe7e.jpg","text":"TemporaryFile(/tmp/multipartBody458023219254481021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705140232,"filename":"image_24012025_08_49_02_339271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/413647036c8085f4134926e404514ae3.jpg","text":"TemporaryFile(/tmp/multipartBody4870504407353091581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705140232,"filename":"image_24012025_08_48_02_747035_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330988699","file1":"1330988681","file0":"1330988616","file4":"1330988720","file5":"1330988800","file3":"1330988716"},"map_files_photo_id_array":[{"photo_id":"1330988800","filename":"file5"},{"photo_id":"1330988699","filename":"file2"},{"photo_id":"1330988720","filename":"file4"},{"photo_id":"1330988681","filename":"file1"},{"photo_id":"1330988616","filename":"file0"},{"photo_id":"1330988716","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330988681":["hashtag1","hashtag2"]},{"1330988699":["hashtag1","hashtag2"]},{"1330988720":["hashtag1","hashtag2"]},{"1330988800":["hashtag1","hashtag2"]},{"1330988716":["hashtag1","hashtag2"]},{"1330988616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330988681, 1330988699, 1330988720, 1330988800, 1330988716, 1330988616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.259708642959595 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:52:22.274938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0001.jpg', '/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0002.jpg', '/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0003.jpg', '/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0000.jpg', '/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0001.jpg', '/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0001.jpg
/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0002.jpg
/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0003.jpg
/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0000.jpg
/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0001.jpg
/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.10190439224243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:53:02.398474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0001.jpg', '/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0002.jpg', '/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0003.jpg', '/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0000.jpg', '/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0001.jpg', '/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0001.jpg
/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0002.jpg
/home/pi/Desktop/images/24012025/08/50/image_24012025_08_50_02_879978_0003.jpg
/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0000.jpg
/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0001.jpg
/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330989974","1330989966","1330990204","1330989977","1330990023","1330989971"],"photo_ids_order":["1330989966","1330989971","1330989974","1330989977","1330990023","1330990204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0dc37a25a8e324ee16ee10b32151fe8.jpg","text":"TemporaryFile(/tmp/multipartBody4382452309058196198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705258976,"filename":"image_24012025_08_50_02_879978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ef8ec3302a34a0cd66bbbfbc293501a0.jpg","text":"TemporaryFile(/tmp/multipartBody1361093444805530405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705258976,"filename":"image_24012025_08_50_02_879978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74f30ae4f5e72ec518871eae0db8eec3.jpg","text":"TemporaryFile(/tmp/multipartBody5041783329234234459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705258976,"filename":"image_24012025_08_51_02_546411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cff289948b52e4f1660005b9414c35e6.jpg","text":"TemporaryFile(/tmp/multipartBody716754148081923891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705258976,"filename":"image_24012025_08_51_02_546411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fe347e7dc5ae22ba3da6c79af025a097.jpg","text":"TemporaryFile(/tmp/multipartBody6857873071959541326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705258976,"filename":"image_24012025_08_51_02_546411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0ea0b003dcbe146a7cec2e5adeedcbb.jpg","text":"TemporaryFile(/tmp/multipartBody4063518235358066691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705258976,"filename":"image_24012025_08_50_02_879978_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330989974","file1":"1330989971","file0":"1330989966","file4":"1330990023","file5":"1330990204","file3":"1330989977"},"map_files_photo_id_array":[{"photo_id":"1330990204","filename":"file5"},{"photo_id":"1330989974","filename":"file2"},{"photo_id":"1330990023","filename":"file4"},{"photo_id":"1330989971","filename":"file1"},{"photo_id":"1330989966","filename":"file0"},{"photo_id":"1330989977","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330989974":["hashtag1","hashtag2"]},{"1330989966":["hashtag1","hashtag2"]},{"1330990204":["hashtag1","hashtag2"]},{"1330989977":["hashtag1","hashtag2"]},{"1330990023":["hashtag1","hashtag2"]},{"1330989971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330989974, 1330989966, 1330990204, 1330989977, 1330990023, 1330989971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.30090069770813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:54:02.988378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0003.jpg', '/home/pi/Desktop/images/24012025/08/52/image_24012025_08_52_03_023251_0000.jpg', '/home/pi/Desktop/images/24012025/08/52/image_24012025_08_52_03_023251_0001.jpg', '/home/pi/Desktop/images/24012025/08/52/image_24012025_08_52_03_023251_0002.jpg', '/home/pi/Desktop/images/24012025/08/52/image_24012025_08_52_03_023251_0003.jpg', '/home/pi/Desktop/images/24012025/08/53/image_24012025_08_53_02_650359_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/51/image_24012025_08_51_02_546411_0003.jpg
/home/pi/Desktop/images/24012025/08/52/image_24012025_08_52_03_023251_0000.jpg
/home/pi/Desktop/images/24012025/08/52/image_24012025_08_52_03_023251_0001.jpg
/home/pi/Desktop/images/24012025/08/52/image_24012025_08_52_03_023251_0002.jpg
/home/pi/Desktop/images/24012025/08/52/image_24012025_08_52_03_023251_0003.jpg
/home/pi/Desktop/images/24012025/08/53/image_24012025_08_53_02_650359_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330990629","1330990763","1330990601","1330990517","1330990867","1330990927"],"photo_ids_order":["1330990517","1330990601","1330990629","1330990763","1330990867","1330990927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/90893ea12e53c55c9cf009668e058247.jpg","text":"TemporaryFile(/tmp/multipartBody9221243777963054529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705319163,"filename":"image_24012025_08_52_03_023251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/87f0f491af4efd7660366ad355d54ff6.jpg","text":"TemporaryFile(/tmp/multipartBody3083482869257033447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705319163,"filename":"image_24012025_08_52_03_023251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f45a04a4bc776556bedc2bbb80ae5b1.jpg","text":"TemporaryFile(/tmp/multipartBody9117375834572531522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705319163,"filename":"image_24012025_08_52_03_023251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/43630f0a8a2294ad07ae415442d87847.jpg","text":"TemporaryFile(/tmp/multipartBody1336032867818450088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705319163,"filename":"image_24012025_08_51_02_546411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e70b49332296489085ab797766cb9093.jpg","text":"TemporaryFile(/tmp/multipartBody6499752409932697330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705319163,"filename":"image_24012025_08_52_03_023251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/15ee65654143549db6de393519629c31.jpg","text":"TemporaryFile(/tmp/multipartBody1560514776329625199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705319163,"filename":"image_24012025_08_53_02_650359_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330990629","file1":"1330990601","file0":"1330990517","file4":"1330990867","file5":"1330990927","file3":"1330990763"},"map_files_photo_id_array":[{"photo_id":"1330990927","filename":"file5"},{"photo_id":"1330990629","filename":"file2"},{"photo_id":"1330990867","filename":"file4"},{"photo_id":"1330990601","filename":"file1"},{"photo_id":"1330990517","filename":"file0"},{"photo_id":"1330990763","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330990629":["hashtag1","hashtag2"]},{"1330990763":["hashtag1","hashtag2"]},{"1330990601":["hashtag1","hashtag2"]},{"1330990517":["hashtag1","hashtag2"]},{"1330990867":["hashtag1","hashtag2"]},{"1330990927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330990629, 1330990763, 1330990601, 1330990517, 1330990867, 1330990927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.26360201835632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:55:22.065367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/53/image_24012025_08_53_02_650359_0001.jpg', '/home/pi/Desktop/images/24012025/08/53/image_24012025_08_53_02_650359_0002.jpg', '/home/pi/Desktop/images/24012025/08/53/image_24012025_08_53_02_650359_0003.jpg', '/home/pi/Desktop/images/24012025/08/54/image_24012025_08_54_02_177405_0000.jpg', '/home/pi/Desktop/images/24012025/08/54/image_24012025_08_54_02_177405_0001.jpg', '/home/pi/Desktop/images/24012025/08/54/image_24012025_08_54_02_177405_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/53/image_24012025_08_53_02_650359_0001.jpg
/home/pi/Desktop/images/24012025/08/53/image_24012025_08_53_02_650359_0002.jpg
/home/pi/Desktop/images/24012025/08/53/image_24012025_08_53_02_650359_0003.jpg
/home/pi/Desktop/images/24012025/08/54/image_24012025_08_54_02_177405_0000.jpg
/home/pi/Desktop/images/24012025/08/54/image_24012025_08_54_02_177405_0001.jpg
/home/pi/Desktop/images/24012025/08/54/image_24012025_08_54_02_177405_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330991347","1330991104","1330991172","1330991115","1330991100","1330991112"],"photo_ids_order":["1330991100","1330991104","1330991112","1330991115","1330991172","1330991347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae1906f3a52dd9e046a2535d1a4b7889.jpg","text":"TemporaryFile(/tmp/multipartBody2586330415875751418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705398273,"filename":"image_24012025_08_54_02_177405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e998579d3b78d6c437ce89e4ba9ede2.jpg","text":"TemporaryFile(/tmp/multipartBody3998689284512261093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705398273,"filename":"image_24012025_08_53_02_650359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/82d7cb211124eef1a22ebb91dc7a7def.jpg","text":"TemporaryFile(/tmp/multipartBody6793076283921071620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705398273,"filename":"image_24012025_08_54_02_177405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74841a6247cd4049e2be4c280b230d98.jpg","text":"TemporaryFile(/tmp/multipartBody2128472978939311896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705398273,"filename":"image_24012025_08_54_02_177405_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/99c65a7462ec0be3d32094fcbddf0e44.jpg","text":"TemporaryFile(/tmp/multipartBody2573896981341243617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705398273,"filename":"image_24012025_08_53_02_650359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/baeebb74decfd7d51c4d460346d99943.jpg","text":"TemporaryFile(/tmp/multipartBody3173174301257054974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705398273,"filename":"image_24012025_08_53_02_650359_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330991112","file1":"1330991104","file0":"1330991100","file4":"1330991172","file5":"1330991347","file3":"1330991115"},"map_files_photo_id_array":[{"photo_id":"1330991347","filename":"file5"},{"photo_id":"1330991112","filename":"file2"},{"photo_id":"1330991172","filename":"file4"},{"photo_id":"1330991104","filename":"file1"},{"photo_id":"1330991100","filename":"file0"},{"photo_id":"1330991115","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330991347":["hashtag1","hashtag2"]},{"1330991104":["hashtag1","hashtag2"]},{"1330991172":["hashtag1","hashtag2"]},{"1330991115":["hashtag1","hashtag2"]},{"1330991100":["hashtag1","hashtag2"]},{"1330991112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330991347, 1330991104, 1330991172, 1330991115, 1330991100, 1330991112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.944788217544556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 08:56:22.574519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/54/image_24012025_08_54_02_177405_0003.jpg', '/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0000.jpg', '/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0001.jpg', '/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0002.jpg', '/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0003.jpg', '/home/pi/Desktop/images/24012025/08/56/image_24012025_08_56_02_402359_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/54/image_24012025_08_54_02_177405_0003.jpg
/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0000.jpg
/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0001.jpg
/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0002.jpg
/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0003.jpg
/home/pi/Desktop/images/24012025/08/56/image_24012025_08_56_02_402359_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.168561697006226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:57:02.747763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/54/image_24012025_08_54_02_177405_0003.jpg', '/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0000.jpg', '/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0001.jpg', '/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0002.jpg', '/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0003.jpg', '/home/pi/Desktop/images/24012025/08/56/image_24012025_08_56_02_402359_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/54/image_24012025_08_54_02_177405_0003.jpg
/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0000.jpg
/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0001.jpg
/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0002.jpg
/home/pi/Desktop/images/24012025/08/55/image_24012025_08_55_02_898336_0003.jpg
/home/pi/Desktop/images/24012025/08/56/image_24012025_08_56_02_402359_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330991576","1330991571","1330991580","1330991574","1330991591","1330991585"],"photo_ids_order":["1330991571","1330991574","1330991576","1330991580","1330991585","1330991591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e49726b058884b9713edb09896516917.jpg","text":"TemporaryFile(/tmp/multipartBody7071605163874759524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705498349,"filename":"image_24012025_08_55_02_898336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9872c337915b5d1d619a5e1c948b6f86.jpg","text":"TemporaryFile(/tmp/multipartBody5404276306212003519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705498349,"filename":"image_24012025_08_54_02_177405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/edd070a72fb8e78ee8675c8789cc71a9.jpg","text":"TemporaryFile(/tmp/multipartBody3332488855820262132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705498349,"filename":"image_24012025_08_55_02_898336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9037d1a011425eb1eacdf7e1b64784b2.jpg","text":"TemporaryFile(/tmp/multipartBody246774453166223187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705498349,"filename":"image_24012025_08_55_02_898336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/92a64b595db954302ae4d97680575683.jpg","text":"TemporaryFile(/tmp/multipartBody7665957663279180263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705498349,"filename":"image_24012025_08_56_02_402359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/96c75b45ef779f6266cade7bd4ed8d9d.jpg","text":"TemporaryFile(/tmp/multipartBody7162776628019307518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705498349,"filename":"image_24012025_08_55_02_898336_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330991576","file1":"1330991574","file0":"1330991571","file4":"1330991585","file5":"1330991591","file3":"1330991580"},"map_files_photo_id_array":[{"photo_id":"1330991591","filename":"file5"},{"photo_id":"1330991576","filename":"file2"},{"photo_id":"1330991585","filename":"file4"},{"photo_id":"1330991574","filename":"file1"},{"photo_id":"1330991571","filename":"file0"},{"photo_id":"1330991580","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330991576":["hashtag1","hashtag2"]},{"1330991571":["hashtag1","hashtag2"]},{"1330991580":["hashtag1","hashtag2"]},{"1330991574":["hashtag1","hashtag2"]},{"1330991591":["hashtag1","hashtag2"]},{"1330991585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330991576, 1330991571, 1330991580, 1330991574, 1330991591, 1330991585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.582050800323486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 08:59:02.526844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/56/image_24012025_08_56_02_402359_0001.jpg', '/home/pi/Desktop/images/24012025/08/56/image_24012025_08_56_02_402359_0002.jpg', '/home/pi/Desktop/images/24012025/08/56/image_24012025_08_56_02_402359_0003.jpg', '/home/pi/Desktop/images/24012025/08/57/image_24012025_08_57_02_965900_0000.jpg', '/home/pi/Desktop/images/24012025/08/57/image_24012025_08_57_02_965900_0001.jpg', '/home/pi/Desktop/images/24012025/08/57/image_24012025_08_57_02_965900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/56/image_24012025_08_56_02_402359_0001.jpg
/home/pi/Desktop/images/24012025/08/56/image_24012025_08_56_02_402359_0002.jpg
/home/pi/Desktop/images/24012025/08/56/image_24012025_08_56_02_402359_0003.jpg
/home/pi/Desktop/images/24012025/08/57/image_24012025_08_57_02_965900_0000.jpg
/home/pi/Desktop/images/24012025/08/57/image_24012025_08_57_02_965900_0001.jpg
/home/pi/Desktop/images/24012025/08/57/image_24012025_08_57_02_965900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330991735","1330991729","1330991708","1330991695","1330991719","1330991713"],"photo_ids_order":["1330991695","1330991708","1330991713","1330991719","1330991729","1330991735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/be24a3f2c2f9722159d282fb14e251bd.jpg","text":"TemporaryFile(/tmp/multipartBody8383660271283860769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705617816,"filename":"image_24012025_08_57_02_965900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/768b8bf7d6b701e86bf545af4e51aae6.jpg","text":"TemporaryFile(/tmp/multipartBody7236247281704312744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705617816,"filename":"image_24012025_08_57_02_965900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce72b2721f360ac1af7467e52bbdb0a1.jpg","text":"TemporaryFile(/tmp/multipartBody1729063344556957763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705617816,"filename":"image_24012025_08_56_02_402359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b471f237fd0733b7036bc736cf3b66e2.jpg","text":"TemporaryFile(/tmp/multipartBody2985195976571533060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705617816,"filename":"image_24012025_08_56_02_402359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d9424c3fcf6f79ca7ddb1a7fa64ac8ff.jpg","text":"TemporaryFile(/tmp/multipartBody3321347015148340393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705617816,"filename":"image_24012025_08_57_02_965900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7473751455b0aca48d517d20d664118f.jpg","text":"TemporaryFile(/tmp/multipartBody2709069032358985360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705617816,"filename":"image_24012025_08_56_02_402359_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330991713","file1":"1330991708","file0":"1330991695","file4":"1330991729","file5":"1330991735","file3":"1330991719"},"map_files_photo_id_array":[{"photo_id":"1330991735","filename":"file5"},{"photo_id":"1330991713","filename":"file2"},{"photo_id":"1330991729","filename":"file4"},{"photo_id":"1330991708","filename":"file1"},{"photo_id":"1330991695","filename":"file0"},{"photo_id":"1330991719","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330991735":["hashtag1","hashtag2"]},{"1330991729":["hashtag1","hashtag2"]},{"1330991708":["hashtag1","hashtag2"]},{"1330991695":["hashtag1","hashtag2"]},{"1330991719":["hashtag1","hashtag2"]},{"1330991713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330991735, 1330991729, 1330991708, 1330991695, 1330991719, 1330991713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.35149955749512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 09:00:22.512798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/57/image_24012025_08_57_02_965900_0003.jpg', '/home/pi/Desktop/images/24012025/08/58/image_24012025_08_58_02_578389_0000.jpg', '/home/pi/Desktop/images/24012025/08/58/image_24012025_08_58_02_578389_0001.jpg', '/home/pi/Desktop/images/24012025/08/58/image_24012025_08_58_02_578389_0002.jpg', '/home/pi/Desktop/images/24012025/08/58/image_24012025_08_58_02_578389_0003.jpg', '/home/pi/Desktop/images/24012025/08/59/image_24012025_08_59_03_115262_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/57/image_24012025_08_57_02_965900_0003.jpg
/home/pi/Desktop/images/24012025/08/58/image_24012025_08_58_02_578389_0000.jpg
/home/pi/Desktop/images/24012025/08/58/image_24012025_08_58_02_578389_0001.jpg
/home/pi/Desktop/images/24012025/08/58/image_24012025_08_58_02_578389_0002.jpg
/home/pi/Desktop/images/24012025/08/58/image_24012025_08_58_02_578389_0003.jpg
/home/pi/Desktop/images/24012025/08/59/image_24012025_08_59_03_115262_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330991891","1330991873","1330991840","1330991860","1330991836","1330991817"],"photo_ids_order":["1330991817","1330991836","1330991840","1330991860","1330991873","1330991891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3aa4a6fba95a38b0bf29c31cc86aed41.jpg","text":"TemporaryFile(/tmp/multipartBody5981583658168810912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705723836,"filename":"image_24012025_08_59_03_115262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10161f32442389e997806a81f7f17f35.jpg","text":"TemporaryFile(/tmp/multipartBody5172961804190560395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705723836,"filename":"image_24012025_08_58_02_578389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f1360b359977e40d817324d83e7586d3.jpg","text":"TemporaryFile(/tmp/multipartBody816152808901066946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705723836,"filename":"image_24012025_08_58_02_578389_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/563224d0daee2c92152af13268d19e72.jpg","text":"TemporaryFile(/tmp/multipartBody6215880311609313732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705723836,"filename":"image_24012025_08_58_02_578389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/452c938520279ed9bc9a902b4d0d3974.jpg","text":"TemporaryFile(/tmp/multipartBody3317605578924202651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705723836,"filename":"image_24012025_08_58_02_578389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dae455fc089b71592bbad85543a8b616.jpg","text":"TemporaryFile(/tmp/multipartBody4028454441847957000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705723836,"filename":"image_24012025_08_57_02_965900_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330991840","file1":"1330991836","file0":"1330991817","file4":"1330991873","file5":"1330991891","file3":"1330991860"},"map_files_photo_id_array":[{"photo_id":"1330991891","filename":"file5"},{"photo_id":"1330991840","filename":"file2"},{"photo_id":"1330991873","filename":"file4"},{"photo_id":"1330991836","filename":"file1"},{"photo_id":"1330991817","filename":"file0"},{"photo_id":"1330991860","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330991891":["hashtag1","hashtag2"]},{"1330991873":["hashtag1","hashtag2"]},{"1330991840":["hashtag1","hashtag2"]},{"1330991860":["hashtag1","hashtag2"]},{"1330991836":["hashtag1","hashtag2"]},{"1330991817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330991891, 1330991873, 1330991840, 1330991860, 1330991836, 1330991817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 109.57097005844116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 09:02:22.514965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/08/59/image_24012025_08_59_03_115262_0002.jpg', '/home/pi/Desktop/images/24012025/08/59/image_24012025_08_59_03_115262_0003.jpg', '/home/pi/Desktop/images/24012025/09/00/image_24012025_09_00_02_254813_0001.jpg', '/home/pi/Desktop/images/24012025/09/00/image_24012025_09_00_02_254813_0002.jpg', '/home/pi/Desktop/images/24012025/09/00/image_24012025_09_00_02_254813_0003.jpg', '/home/pi/Desktop/images/24012025/09/01/image_24012025_09_01_02_880659_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/08/59/image_24012025_08_59_03_115262_0002.jpg
/home/pi/Desktop/images/24012025/08/59/image_24012025_08_59_03_115262_0003.jpg
/home/pi/Desktop/images/24012025/09/00/image_24012025_09_00_02_254813_0001.jpg
/home/pi/Desktop/images/24012025/09/00/image_24012025_09_00_02_254813_0002.jpg
/home/pi/Desktop/images/24012025/09/00/image_24012025_09_00_02_254813_0003.jpg
/home/pi/Desktop/images/24012025/09/01/image_24012025_09_01_02_880659_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330991957","1330991971","1330991965","1330991956","1330991976","1330991960"],"photo_ids_order":["1330991956","1330991957","1330991960","1330991965","1330991971","1330991976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db1523fa5262acbea583f720b61715f5.jpg","text":"TemporaryFile(/tmp/multipartBody1450288446233400423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705850570,"filename":"image_24012025_08_59_03_115262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5beb779c7cab61467a85d5f072310a3a.jpg","text":"TemporaryFile(/tmp/multipartBody8808600294477131812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705850570,"filename":"image_24012025_09_00_02_254813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0ebea23acd8b5e87cf7e609505d1cb3e.jpg","text":"TemporaryFile(/tmp/multipartBody4199837023111382608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705850570,"filename":"image_24012025_09_00_02_254813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ce63a64af48d1023a840da2175ba046.jpg","text":"TemporaryFile(/tmp/multipartBody453571315442872587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705850570,"filename":"image_24012025_08_59_03_115262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dedfc28f6284c34e1b8a2d077c6a84f0.jpg","text":"TemporaryFile(/tmp/multipartBody5834698358173634330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705850570,"filename":"image_24012025_09_01_02_880659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb9e69b513b106d26b91f49132ffda04.jpg","text":"TemporaryFile(/tmp/multipartBody1107592874357884885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705850570,"filename":"image_24012025_09_00_02_254813_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330991960","file1":"1330991957","file0":"1330991956","file4":"1330991971","file5":"1330991976","file3":"1330991965"},"map_files_photo_id_array":[{"photo_id":"1330991976","filename":"file5"},{"photo_id":"1330991960","filename":"file2"},{"photo_id":"1330991971","filename":"file4"},{"photo_id":"1330991957","filename":"file1"},{"photo_id":"1330991956","filename":"file0"},{"photo_id":"1330991965","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330991957":["hashtag1","hashtag2"]},{"1330991971":["hashtag1","hashtag2"]},{"1330991965":["hashtag1","hashtag2"]},{"1330991956":["hashtag1","hashtag2"]},{"1330991976":["hashtag1","hashtag2"]},{"1330991960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330991957, 1330991971, 1330991965, 1330991956, 1330991976, 1330991960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.68487858772278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 09:04:22.696003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/01/image_24012025_09_01_02_880659_0001.jpg', '/home/pi/Desktop/images/24012025/09/01/image_24012025_09_01_02_880659_0002.jpg', '/home/pi/Desktop/images/24012025/09/02/image_24012025_09_02_02_386634_0000.jpg', '/home/pi/Desktop/images/24012025/09/02/image_24012025_09_02_02_386634_0002.jpg', '/home/pi/Desktop/images/24012025/09/02/image_24012025_09_02_02_386634_0003.jpg', '/home/pi/Desktop/images/24012025/09/03/image_24012025_09_03_02_965185_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/01/image_24012025_09_01_02_880659_0001.jpg
/home/pi/Desktop/images/24012025/09/01/image_24012025_09_01_02_880659_0002.jpg
/home/pi/Desktop/images/24012025/09/02/image_24012025_09_02_02_386634_0000.jpg
/home/pi/Desktop/images/24012025/09/02/image_24012025_09_02_02_386634_0002.jpg
/home/pi/Desktop/images/24012025/09/02/image_24012025_09_02_02_386634_0003.jpg
/home/pi/Desktop/images/24012025/09/03/image_24012025_09_03_02_965185_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330992104","1330992072","1330992098","1330992036","1330992092","1330992041"],"photo_ids_order":["1330992036","1330992041","1330992072","1330992092","1330992098","1330992104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a0994139a325b828eb7d2b55840e4f5.jpg","text":"TemporaryFile(/tmp/multipartBody6549526640527395483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705960353,"filename":"image_24012025_09_03_02_965185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0445acc754988aaeca379369654dad48.jpg","text":"TemporaryFile(/tmp/multipartBody6282686544660673451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705960353,"filename":"image_24012025_09_02_02_386634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b69ca736d13bd37d45027f40774b3b16.jpg","text":"TemporaryFile(/tmp/multipartBody5380776806065371914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705960353,"filename":"image_24012025_09_02_02_386634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/751fce718fc9bdc92b0370a397d756fc.jpg","text":"TemporaryFile(/tmp/multipartBody2647662418279830322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705960353,"filename":"image_24012025_09_01_02_880659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a61a93fdf3deaae7a33ea604d35fa0c5.jpg","text":"TemporaryFile(/tmp/multipartBody7234598771099166325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705960353,"filename":"image_24012025_09_02_02_386634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1818fa4da380a6507810793c1432b90a.jpg","text":"TemporaryFile(/tmp/multipartBody3492640986684341060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737705960353,"filename":"image_24012025_09_01_02_880659_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330992072","file1":"1330992041","file0":"1330992036","file4":"1330992098","file5":"1330992104","file3":"1330992092"},"map_files_photo_id_array":[{"photo_id":"1330992104","filename":"file5"},{"photo_id":"1330992072","filename":"file2"},{"photo_id":"1330992098","filename":"file4"},{"photo_id":"1330992041","filename":"file1"},{"photo_id":"1330992036","filename":"file0"},{"photo_id":"1330992092","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330992104":["hashtag1","hashtag2"]},{"1330992072":["hashtag1","hashtag2"]},{"1330992098":["hashtag1","hashtag2"]},{"1330992036":["hashtag1","hashtag2"]},{"1330992092":["hashtag1","hashtag2"]},{"1330992041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330992104, 1330992072, 1330992098, 1330992036, 1330992092, 1330992041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.2761664390564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:06:03.084637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/03/image_24012025_09_03_02_965185_0001.jpg', '/home/pi/Desktop/images/24012025/09/03/image_24012025_09_03_02_965185_0002.jpg', '/home/pi/Desktop/images/24012025/09/04/image_24012025_09_04_02_476584_0000.jpg', '/home/pi/Desktop/images/24012025/09/04/image_24012025_09_04_02_476584_0002.jpg', '/home/pi/Desktop/images/24012025/09/04/image_24012025_09_04_02_476584_0003.jpg', '/home/pi/Desktop/images/24012025/09/05/image_24012025_09_05_02_997888_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/03/image_24012025_09_03_02_965185_0001.jpg
/home/pi/Desktop/images/24012025/09/03/image_24012025_09_03_02_965185_0002.jpg
/home/pi/Desktop/images/24012025/09/04/image_24012025_09_04_02_476584_0000.jpg
/home/pi/Desktop/images/24012025/09/04/image_24012025_09_04_02_476584_0002.jpg
/home/pi/Desktop/images/24012025/09/04/image_24012025_09_04_02_476584_0003.jpg
/home/pi/Desktop/images/24012025/09/05/image_24012025_09_05_02_997888_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 42.80819821357727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:07:02.627402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/03/image_24012025_09_03_02_965185_0001.jpg', '/home/pi/Desktop/images/24012025/09/03/image_24012025_09_03_02_965185_0002.jpg', '/home/pi/Desktop/images/24012025/09/04/image_24012025_09_04_02_476584_0000.jpg', '/home/pi/Desktop/images/24012025/09/04/image_24012025_09_04_02_476584_0002.jpg', '/home/pi/Desktop/images/24012025/09/04/image_24012025_09_04_02_476584_0003.jpg', '/home/pi/Desktop/images/24012025/09/05/image_24012025_09_05_02_997888_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/03/image_24012025_09_03_02_965185_0001.jpg
/home/pi/Desktop/images/24012025/09/03/image_24012025_09_03_02_965185_0002.jpg
/home/pi/Desktop/images/24012025/09/04/image_24012025_09_04_02_476584_0000.jpg
/home/pi/Desktop/images/24012025/09/04/image_24012025_09_04_02_476584_0002.jpg
/home/pi/Desktop/images/24012025/09/04/image_24012025_09_04_02_476584_0003.jpg
/home/pi/Desktop/images/24012025/09/05/image_24012025_09_05_02_997888_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330992643","1330993323","1330992945","1330993200","1330993073","1330992767"],"photo_ids_order":["1330992643","1330992767","1330992945","1330993073","1330993200","1330993323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0179989e48c879847c9c27487e5aa8a6.jpg","text":"TemporaryFile(/tmp/multipartBody3317794655554946479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706125241,"filename":"image_24012025_09_03_02_965185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fbd38aa2e2186c59b9d022a1f9cd545d.jpg","text":"TemporaryFile(/tmp/multipartBody5123547031896682818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706125241,"filename":"image_24012025_09_05_02_997888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b65c2776f06e1679da0c364795d7fd2.jpg","text":"TemporaryFile(/tmp/multipartBody1744067637061107223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706125241,"filename":"image_24012025_09_04_02_476584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4bf1b76ef500b626fe6bcdabea9f39a5.jpg","text":"TemporaryFile(/tmp/multipartBody2994994013834856872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706125241,"filename":"image_24012025_09_04_02_476584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dccc9635aa2a904234df0cb1bff9664a.jpg","text":"TemporaryFile(/tmp/multipartBody1778205826905878575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706125241,"filename":"image_24012025_09_04_02_476584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e6103c8e538178640def768af71728d3.jpg","text":"TemporaryFile(/tmp/multipartBody4010109172955602748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706125241,"filename":"image_24012025_09_03_02_965185_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330992945","file1":"1330992767","file0":"1330992643","file4":"1330993200","file5":"1330993323","file3":"1330993073"},"map_files_photo_id_array":[{"photo_id":"1330993323","filename":"file5"},{"photo_id":"1330992945","filename":"file2"},{"photo_id":"1330993200","filename":"file4"},{"photo_id":"1330992767","filename":"file1"},{"photo_id":"1330992643","filename":"file0"},{"photo_id":"1330993073","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330992643":["hashtag1","hashtag2"]},{"1330993323":["hashtag1","hashtag2"]},{"1330992945":["hashtag1","hashtag2"]},{"1330993200":["hashtag1","hashtag2"]},{"1330993073":["hashtag1","hashtag2"]},{"1330992767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330992643, 1330993323, 1330992945, 1330993200, 1330993073, 1330992767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.83218789100647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:09:02.935560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/05/image_24012025_09_05_02_997888_0002.jpg', '/home/pi/Desktop/images/24012025/09/05/image_24012025_09_05_02_997888_0003.jpg', '/home/pi/Desktop/images/24012025/09/06/image_24012025_09_06_02_498373_0000.jpg', '/home/pi/Desktop/images/24012025/09/06/image_24012025_09_06_02_498373_0001.jpg', '/home/pi/Desktop/images/24012025/09/06/image_24012025_09_06_02_498373_0002.jpg', '/home/pi/Desktop/images/24012025/09/07/image_24012025_09_07_02_989793_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/05/image_24012025_09_05_02_997888_0002.jpg
/home/pi/Desktop/images/24012025/09/05/image_24012025_09_05_02_997888_0003.jpg
/home/pi/Desktop/images/24012025/09/06/image_24012025_09_06_02_498373_0000.jpg
/home/pi/Desktop/images/24012025/09/06/image_24012025_09_06_02_498373_0001.jpg
/home/pi/Desktop/images/24012025/09/06/image_24012025_09_06_02_498373_0002.jpg
/home/pi/Desktop/images/24012025/09/07/image_24012025_09_07_02_989793_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 23.55349326133728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:10:02.414815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/05/image_24012025_09_05_02_997888_0002.jpg', '/home/pi/Desktop/images/24012025/09/05/image_24012025_09_05_02_997888_0003.jpg', '/home/pi/Desktop/images/24012025/09/06/image_24012025_09_06_02_498373_0000.jpg', '/home/pi/Desktop/images/24012025/09/06/image_24012025_09_06_02_498373_0001.jpg', '/home/pi/Desktop/images/24012025/09/06/image_24012025_09_06_02_498373_0002.jpg', '/home/pi/Desktop/images/24012025/09/07/image_24012025_09_07_02_989793_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/05/image_24012025_09_05_02_997888_0002.jpg
/home/pi/Desktop/images/24012025/09/05/image_24012025_09_05_02_997888_0003.jpg
/home/pi/Desktop/images/24012025/09/06/image_24012025_09_06_02_498373_0000.jpg
/home/pi/Desktop/images/24012025/09/06/image_24012025_09_06_02_498373_0001.jpg
/home/pi/Desktop/images/24012025/09/06/image_24012025_09_06_02_498373_0002.jpg
/home/pi/Desktop/images/24012025/09/07/image_24012025_09_07_02_989793_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330994796","1330994780","1330994785","1330994788","1330994782","1330994776"],"photo_ids_order":["1330994776","1330994780","1330994782","1330994785","1330994788","1330994796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8e28b590c9b187c24f687e43c46580d6.jpg","text":"TemporaryFile(/tmp/multipartBody8801265195100560182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706311401,"filename":"image_24012025_09_07_02_989793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ded3c389023cf2d1f2ac85ad988b7622.jpg","text":"TemporaryFile(/tmp/multipartBody4472156417129252561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706311401,"filename":"image_24012025_09_05_02_997888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/77adaee951693de772561fee87af64bc.jpg","text":"TemporaryFile(/tmp/multipartBody6684585140669122711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706311401,"filename":"image_24012025_09_06_02_498373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c02f30a6b9399c16202ea7409b5776fc.jpg","text":"TemporaryFile(/tmp/multipartBody8327695552950581669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706311401,"filename":"image_24012025_09_06_02_498373_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f07e407648673ff46b77f0b1de78e0c.jpg","text":"TemporaryFile(/tmp/multipartBody351556454183088319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706311401,"filename":"image_24012025_09_06_02_498373_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f55001152589fc3cec9d320ea01d391a.jpg","text":"TemporaryFile(/tmp/multipartBody4572111403176201476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706311401,"filename":"image_24012025_09_05_02_997888_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330994782","file1":"1330994780","file0":"1330994776","file4":"1330994788","file5":"1330994796","file3":"1330994785"},"map_files_photo_id_array":[{"photo_id":"1330994796","filename":"file5"},{"photo_id":"1330994782","filename":"file2"},{"photo_id":"1330994788","filename":"file4"},{"photo_id":"1330994780","filename":"file1"},{"photo_id":"1330994776","filename":"file0"},{"photo_id":"1330994785","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330994796":["hashtag1","hashtag2"]},{"1330994780":["hashtag1","hashtag2"]},{"1330994785":["hashtag1","hashtag2"]},{"1330994788":["hashtag1","hashtag2"]},{"1330994782":["hashtag1","hashtag2"]},{"1330994776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330994796, 1330994780, 1330994785, 1330994788, 1330994782, 1330994776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.64561653137207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:12:02.393999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/07/image_24012025_09_07_02_989793_0001.jpg', '/home/pi/Desktop/images/24012025/09/07/image_24012025_09_07_02_989793_0002.jpg', '/home/pi/Desktop/images/24012025/09/07/image_24012025_09_07_02_989793_0003.jpg', '/home/pi/Desktop/images/24012025/09/08/image_24012025_09_08_02_511190_0000.jpg', '/home/pi/Desktop/images/24012025/09/08/image_24012025_09_08_02_511190_0001.jpg', '/home/pi/Desktop/images/24012025/09/08/image_24012025_09_08_02_511190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/07/image_24012025_09_07_02_989793_0001.jpg
/home/pi/Desktop/images/24012025/09/07/image_24012025_09_07_02_989793_0002.jpg
/home/pi/Desktop/images/24012025/09/07/image_24012025_09_07_02_989793_0003.jpg
/home/pi/Desktop/images/24012025/09/08/image_24012025_09_08_02_511190_0000.jpg
/home/pi/Desktop/images/24012025/09/08/image_24012025_09_08_02_511190_0001.jpg
/home/pi/Desktop/images/24012025/09/08/image_24012025_09_08_02_511190_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330995588","1330995555","1330995431","1330995547","1330995436","1330995466"],"photo_ids_order":["1330995431","1330995436","1330995466","1330995547","1330995555","1330995588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f030bf8e1887129e9da31834f7a6dd9f.jpg","text":"TemporaryFile(/tmp/multipartBody8378969020546059725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706428367,"filename":"image_24012025_09_08_02_511190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/20001bc6396665680c5de25b27cfed45.jpg","text":"TemporaryFile(/tmp/multipartBody7521488846985713156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706428367,"filename":"image_24012025_09_08_02_511190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aacd13ef11c91cfa7839bec1bb09cabe.jpg","text":"TemporaryFile(/tmp/multipartBody6979608903394899360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706428367,"filename":"image_24012025_09_07_02_989793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dada0df082408d0f7fc49714d2dd6c20.jpg","text":"TemporaryFile(/tmp/multipartBody4269654685248326285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706428367,"filename":"image_24012025_09_08_02_511190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a9f0a84bbbf5127c0ec9598114e77b9.jpg","text":"TemporaryFile(/tmp/multipartBody4681961630732026552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706428367,"filename":"image_24012025_09_07_02_989793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98ae17f46f173fda8d110bc745b16dfc.jpg","text":"TemporaryFile(/tmp/multipartBody3045633171647203484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706428367,"filename":"image_24012025_09_07_02_989793_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330995466","file1":"1330995436","file0":"1330995431","file4":"1330995555","file5":"1330995588","file3":"1330995547"},"map_files_photo_id_array":[{"photo_id":"1330995588","filename":"file5"},{"photo_id":"1330995466","filename":"file2"},{"photo_id":"1330995555","filename":"file4"},{"photo_id":"1330995436","filename":"file1"},{"photo_id":"1330995431","filename":"file0"},{"photo_id":"1330995547","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330995588":["hashtag1","hashtag2"]},{"1330995555":["hashtag1","hashtag2"]},{"1330995431":["hashtag1","hashtag2"]},{"1330995547":["hashtag1","hashtag2"]},{"1330995436":["hashtag1","hashtag2"]},{"1330995466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330995588, 1330995555, 1330995431, 1330995547, 1330995436, 1330995466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.89016604423523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:14:02.645007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/08/image_24012025_09_08_02_511190_0003.jpg', '/home/pi/Desktop/images/24012025/09/09/image_24012025_09_09_03_110317_0001.jpg', '/home/pi/Desktop/images/24012025/09/09/image_24012025_09_09_03_110317_0003.jpg', '/home/pi/Desktop/images/24012025/09/10/image_24012025_09_10_02_642894_0000.jpg', '/home/pi/Desktop/images/24012025/09/10/image_24012025_09_10_02_642894_0001.jpg', '/home/pi/Desktop/images/24012025/09/10/image_24012025_09_10_02_642894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/08/image_24012025_09_08_02_511190_0003.jpg
/home/pi/Desktop/images/24012025/09/09/image_24012025_09_09_03_110317_0001.jpg
/home/pi/Desktop/images/24012025/09/09/image_24012025_09_09_03_110317_0003.jpg
/home/pi/Desktop/images/24012025/09/10/image_24012025_09_10_02_642894_0000.jpg
/home/pi/Desktop/images/24012025/09/10/image_24012025_09_10_02_642894_0001.jpg
/home/pi/Desktop/images/24012025/09/10/image_24012025_09_10_02_642894_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 40.43793606758118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:15:03.273005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/08/image_24012025_09_08_02_511190_0003.jpg', '/home/pi/Desktop/images/24012025/09/09/image_24012025_09_09_03_110317_0001.jpg', '/home/pi/Desktop/images/24012025/09/09/image_24012025_09_09_03_110317_0003.jpg', '/home/pi/Desktop/images/24012025/09/10/image_24012025_09_10_02_642894_0000.jpg', '/home/pi/Desktop/images/24012025/09/10/image_24012025_09_10_02_642894_0001.jpg', '/home/pi/Desktop/images/24012025/09/10/image_24012025_09_10_02_642894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/08/image_24012025_09_08_02_511190_0003.jpg
/home/pi/Desktop/images/24012025/09/09/image_24012025_09_09_03_110317_0001.jpg
/home/pi/Desktop/images/24012025/09/09/image_24012025_09_09_03_110317_0003.jpg
/home/pi/Desktop/images/24012025/09/10/image_24012025_09_10_02_642894_0000.jpg
/home/pi/Desktop/images/24012025/09/10/image_24012025_09_10_02_642894_0001.jpg
/home/pi/Desktop/images/24012025/09/10/image_24012025_09_10_02_642894_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330995785","1330995926","1330995862","1330996015","1330996146","1330995762"],"photo_ids_order":["1330995762","1330995785","1330995862","1330995926","1330996015","1330996146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40f74c41b2a707a0576e52243d4087b6.jpg","text":"TemporaryFile(/tmp/multipartBody2710032441676726127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706611292,"filename":"image_24012025_09_09_03_110317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/86d1ae3e7f5bf7620cc4f58324770321.jpg","text":"TemporaryFile(/tmp/multipartBody4186917015039401392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706611292,"filename":"image_24012025_09_10_02_642894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0d9d2883d9451b0486c0be59afdca2c.jpg","text":"TemporaryFile(/tmp/multipartBody3124032138895368013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706611292,"filename":"image_24012025_09_09_03_110317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/740b1652b57d328295d2b47359ed808a.jpg","text":"TemporaryFile(/tmp/multipartBody7459674875145002764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706611292,"filename":"image_24012025_09_10_02_642894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30815f653da4adb17cbb8ffe37e18101.jpg","text":"TemporaryFile(/tmp/multipartBody5491893315950738006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706611292,"filename":"image_24012025_09_10_02_642894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a49144fe149171084b40cdc16f402d2.jpg","text":"TemporaryFile(/tmp/multipartBody4952887879702349428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706611292,"filename":"image_24012025_09_08_02_511190_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330995862","file1":"1330995785","file0":"1330995762","file4":"1330996015","file5":"1330996146","file3":"1330995926"},"map_files_photo_id_array":[{"photo_id":"1330996146","filename":"file5"},{"photo_id":"1330995862","filename":"file2"},{"photo_id":"1330996015","filename":"file4"},{"photo_id":"1330995785","filename":"file1"},{"photo_id":"1330995762","filename":"file0"},{"photo_id":"1330995926","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330995785":["hashtag1","hashtag2"]},{"1330995926":["hashtag1","hashtag2"]},{"1330995862":["hashtag1","hashtag2"]},{"1330996015":["hashtag1","hashtag2"]},{"1330996146":["hashtag1","hashtag2"]},{"1330995762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330995785, 1330995926, 1330995862, 1330996015, 1330996146, 1330995762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.16229963302612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:17:02.476217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0000.jpg', '/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0001.jpg', '/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0002.jpg', '/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0003.jpg', '/home/pi/Desktop/images/24012025/09/12/image_24012025_09_12_02_846399_0000.jpg', '/home/pi/Desktop/images/24012025/09/12/image_24012025_09_12_02_846399_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0000.jpg
/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0001.jpg
/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0002.jpg
/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0003.jpg
/home/pi/Desktop/images/24012025/09/12/image_24012025_09_12_02_846399_0000.jpg
/home/pi/Desktop/images/24012025/09/12/image_24012025_09_12_02_846399_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 39.82951092720032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:18:02.958108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0000.jpg', '/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0001.jpg', '/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0002.jpg', '/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0003.jpg', '/home/pi/Desktop/images/24012025/09/12/image_24012025_09_12_02_846399_0000.jpg', '/home/pi/Desktop/images/24012025/09/12/image_24012025_09_12_02_846399_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0000.jpg
/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0001.jpg
/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0002.jpg
/home/pi/Desktop/images/24012025/09/11/image_24012025_09_11_02_318676_0003.jpg
/home/pi/Desktop/images/24012025/09/12/image_24012025_09_12_02_846399_0000.jpg
/home/pi/Desktop/images/24012025/09/12/image_24012025_09_12_02_846399_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330997182","1330997638","1330997484","1330997322","1330997291","1330997118"],"photo_ids_order":["1330997118","1330997182","1330997291","1330997322","1330997484","1330997638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b29e51b5c3e31ed91e9a795217fbbbb6.jpg","text":"TemporaryFile(/tmp/multipartBody6225748708714624979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706790235,"filename":"image_24012025_09_11_02_318676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9aeaab7d6e164ff77fec2045d6b5964c.jpg","text":"TemporaryFile(/tmp/multipartBody3476263297389154591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706790235,"filename":"image_24012025_09_12_02_846399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e4ef7c5854795d6afa0f5c17c8866a68.jpg","text":"TemporaryFile(/tmp/multipartBody7346930595274658673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706790235,"filename":"image_24012025_09_12_02_846399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cd17790608e7f45916381aec787ca33c.jpg","text":"TemporaryFile(/tmp/multipartBody6614399553585229444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706790235,"filename":"image_24012025_09_11_02_318676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/378bca7dd3f2ea3ba122fb7006f1edea.jpg","text":"TemporaryFile(/tmp/multipartBody3906923234934713884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706790235,"filename":"image_24012025_09_11_02_318676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d17de42fb901a9bee9d73b376e5369a5.jpg","text":"TemporaryFile(/tmp/multipartBody4725680754029476023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706790235,"filename":"image_24012025_09_11_02_318676_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330997291","file1":"1330997182","file0":"1330997118","file4":"1330997484","file5":"1330997638","file3":"1330997322"},"map_files_photo_id_array":[{"photo_id":"1330997638","filename":"file5"},{"photo_id":"1330997291","filename":"file2"},{"photo_id":"1330997484","filename":"file4"},{"photo_id":"1330997182","filename":"file1"},{"photo_id":"1330997118","filename":"file0"},{"photo_id":"1330997322","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330997182":["hashtag1","hashtag2"]},{"1330997638":["hashtag1","hashtag2"]},{"1330997484":["hashtag1","hashtag2"]},{"1330997322":["hashtag1","hashtag2"]},{"1330997291":["hashtag1","hashtag2"]},{"1330997118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330997182, 1330997638, 1330997484, 1330997322, 1330997291, 1330997118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.85743045806885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:20:03.080323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/12/image_24012025_09_12_02_846399_0002.jpg', '/home/pi/Desktop/images/24012025/09/12/image_24012025_09_12_02_846399_0003.jpg', '/home/pi/Desktop/images/24012025/09/13/image_24012025_09_13_02_447892_0000.jpg', '/home/pi/Desktop/images/24012025/09/13/image_24012025_09_13_02_447892_0002.jpg', '/home/pi/Desktop/images/24012025/09/13/image_24012025_09_13_02_447892_0003.jpg', '/home/pi/Desktop/images/24012025/09/14/image_24012025_09_14_03_040044_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/12/image_24012025_09_12_02_846399_0002.jpg
/home/pi/Desktop/images/24012025/09/12/image_24012025_09_12_02_846399_0003.jpg
/home/pi/Desktop/images/24012025/09/13/image_24012025_09_13_02_447892_0000.jpg
/home/pi/Desktop/images/24012025/09/13/image_24012025_09_13_02_447892_0002.jpg
/home/pi/Desktop/images/24012025/09/13/image_24012025_09_13_02_447892_0003.jpg
/home/pi/Desktop/images/24012025/09/14/image_24012025_09_14_03_040044_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330997963","1330998049","1330997788","1330997782","1330997832","1330998191"],"photo_ids_order":["1330997782","1330997788","1330997832","1330997963","1330998049","1330998191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98038c26a27f68a69c0a1fbb49683c82.jpg","text":"TemporaryFile(/tmp/multipartBody7434094381310500830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706910206,"filename":"image_24012025_09_13_02_447892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45362f4ba909dbc725297b11be7333bc.jpg","text":"TemporaryFile(/tmp/multipartBody2984092991216731890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706910206,"filename":"image_24012025_09_13_02_447892_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e9bf580b892c2b947d390c33af3d99cc.jpg","text":"TemporaryFile(/tmp/multipartBody598834452029974777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706910206,"filename":"image_24012025_09_12_02_846399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3eab9290892b2ea38a9123528b81f5a7.jpg","text":"TemporaryFile(/tmp/multipartBody614381139809859604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706910206,"filename":"image_24012025_09_12_02_846399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e787b55612fd4e5a6a31aeb2adb517db.jpg","text":"TemporaryFile(/tmp/multipartBody7380702260761198445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706910206,"filename":"image_24012025_09_13_02_447892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e2c0ddaecbd34d090192ea44e53505a.jpg","text":"TemporaryFile(/tmp/multipartBody2788126094712868516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737706910206,"filename":"image_24012025_09_14_03_040044_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330997832","file1":"1330997788","file0":"1330997782","file4":"1330998049","file5":"1330998191","file3":"1330997963"},"map_files_photo_id_array":[{"photo_id":"1330998191","filename":"file5"},{"photo_id":"1330997832","filename":"file2"},{"photo_id":"1330998049","filename":"file4"},{"photo_id":"1330997788","filename":"file1"},{"photo_id":"1330997782","filename":"file0"},{"photo_id":"1330997963","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330997963":["hashtag1","hashtag2"]},{"1330998049":["hashtag1","hashtag2"]},{"1330997788":["hashtag1","hashtag2"]},{"1330997782":["hashtag1","hashtag2"]},{"1330997832":["hashtag1","hashtag2"]},{"1330998191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330997963, 1330998049, 1330997788, 1330997782, 1330997832, 1330998191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.78479146957397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:22:02.133783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/14/image_24012025_09_14_03_040044_0003.jpg', '/home/pi/Desktop/images/24012025/09/15/image_24012025_09_15_02_606006_0000.jpg', '/home/pi/Desktop/images/24012025/09/15/image_24012025_09_15_02_606006_0002.jpg', '/home/pi/Desktop/images/24012025/09/15/image_24012025_09_15_02_606006_0003.jpg', '/home/pi/Desktop/images/24012025/09/16/image_24012025_09_16_03_090859_0000.jpg', '/home/pi/Desktop/images/24012025/09/16/image_24012025_09_16_03_090859_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/14/image_24012025_09_14_03_040044_0003.jpg
/home/pi/Desktop/images/24012025/09/15/image_24012025_09_15_02_606006_0000.jpg
/home/pi/Desktop/images/24012025/09/15/image_24012025_09_15_02_606006_0002.jpg
/home/pi/Desktop/images/24012025/09/15/image_24012025_09_15_02_606006_0003.jpg
/home/pi/Desktop/images/24012025/09/16/image_24012025_09_16_03_090859_0000.jpg
/home/pi/Desktop/images/24012025/09/16/image_24012025_09_16_03_090859_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330998521","1330998472","1330998466","1330998480","1330998476","1330998434"],"photo_ids_order":["1330998434","1330998466","1330998472","1330998476","1330998480","1330998521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d7c2e14867232ae5f70f9397605e136c.jpg","text":"TemporaryFile(/tmp/multipartBody2177913005157192798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707002102,"filename":"image_24012025_09_16_03_090859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8c2362344a130ef54eb0a338b2136947.jpg","text":"TemporaryFile(/tmp/multipartBody7138680547326026247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707002102,"filename":"image_24012025_09_15_02_606006_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2db386aa66fc429325604314e61b42ce.jpg","text":"TemporaryFile(/tmp/multipartBody228618107990522738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707002102,"filename":"image_24012025_09_15_02_606006_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/90cbdd6720fbdcee9951f144fe8ad705.jpg","text":"TemporaryFile(/tmp/multipartBody100925656684574459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707002102,"filename":"image_24012025_09_16_03_090859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f28dbba503bcbb5a96ad594a55a80cbf.jpg","text":"TemporaryFile(/tmp/multipartBody8982685862045917866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707002102,"filename":"image_24012025_09_15_02_606006_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c470bf8140e170535049520a309bd00f.jpg","text":"TemporaryFile(/tmp/multipartBody4395330747671741692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707002102,"filename":"image_24012025_09_14_03_040044_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330998472","file1":"1330998466","file0":"1330998434","file4":"1330998480","file5":"1330998521","file3":"1330998476"},"map_files_photo_id_array":[{"photo_id":"1330998521","filename":"file5"},{"photo_id":"1330998472","filename":"file2"},{"photo_id":"1330998480","filename":"file4"},{"photo_id":"1330998466","filename":"file1"},{"photo_id":"1330998434","filename":"file0"},{"photo_id":"1330998476","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330998521":["hashtag1","hashtag2"]},{"1330998472":["hashtag1","hashtag2"]},{"1330998466":["hashtag1","hashtag2"]},{"1330998480":["hashtag1","hashtag2"]},{"1330998476":["hashtag1","hashtag2"]},{"1330998434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330998521, 1330998472, 1330998466, 1330998480, 1330998476, 1330998434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.64018321037292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 09:23:22.375160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/16/image_24012025_09_16_03_090859_0002.jpg', '/home/pi/Desktop/images/24012025/09/16/image_24012025_09_16_03_090859_0003.jpg', '/home/pi/Desktop/images/24012025/09/17/image_24012025_09_17_02_834606_0000.jpg', '/home/pi/Desktop/images/24012025/09/17/image_24012025_09_17_02_834606_0001.jpg', '/home/pi/Desktop/images/24012025/09/17/image_24012025_09_17_02_834606_0002.jpg', '/home/pi/Desktop/images/24012025/09/17/image_24012025_09_17_02_834606_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/16/image_24012025_09_16_03_090859_0002.jpg
/home/pi/Desktop/images/24012025/09/16/image_24012025_09_16_03_090859_0003.jpg
/home/pi/Desktop/images/24012025/09/17/image_24012025_09_17_02_834606_0000.jpg
/home/pi/Desktop/images/24012025/09/17/image_24012025_09_17_02_834606_0001.jpg
/home/pi/Desktop/images/24012025/09/17/image_24012025_09_17_02_834606_0002.jpg
/home/pi/Desktop/images/24012025/09/17/image_24012025_09_17_02_834606_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330998592","1330998582","1330998579","1330998606","1330998600","1330998575"],"photo_ids_order":["1330998575","1330998579","1330998582","1330998592","1330998600","1330998606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f995b324d7e734c067ce3127956d8ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1350991807573038331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707104030,"filename":"image_24012025_09_17_02_834606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c2b88c9c2060035dc54899f0853b03e7.jpg","text":"TemporaryFile(/tmp/multipartBody4284323285869765004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707104030,"filename":"image_24012025_09_17_02_834606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0be01987721242d129a8ffec9cf802eb.jpg","text":"TemporaryFile(/tmp/multipartBody2819579774127671921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707104030,"filename":"image_24012025_09_16_03_090859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2089b0e14777051365d304461b8e6564.jpg","text":"TemporaryFile(/tmp/multipartBody3180383210243856472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707104030,"filename":"image_24012025_09_17_02_834606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f51cb360460c953a7cb4066178e8ef5d.jpg","text":"TemporaryFile(/tmp/multipartBody7121402427506522245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707104030,"filename":"image_24012025_09_17_02_834606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/04a0c98c8fcfb836c1f785aa9280e454.jpg","text":"TemporaryFile(/tmp/multipartBody5181007463665036602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707104030,"filename":"image_24012025_09_16_03_090859_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330998582","file1":"1330998579","file0":"1330998575","file4":"1330998600","file5":"1330998606","file3":"1330998592"},"map_files_photo_id_array":[{"photo_id":"1330998606","filename":"file5"},{"photo_id":"1330998582","filename":"file2"},{"photo_id":"1330998600","filename":"file4"},{"photo_id":"1330998579","filename":"file1"},{"photo_id":"1330998575","filename":"file0"},{"photo_id":"1330998592","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330998592":["hashtag1","hashtag2"]},{"1330998582":["hashtag1","hashtag2"]},{"1330998579":["hashtag1","hashtag2"]},{"1330998606":["hashtag1","hashtag2"]},{"1330998600":["hashtag1","hashtag2"]},{"1330998575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330998592, 1330998582, 1330998579, 1330998606, 1330998600, 1330998575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.00860548019409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:25:02.910246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/18/image_24012025_09_18_02_442180_0000.jpg', '/home/pi/Desktop/images/24012025/09/18/image_24012025_09_18_02_442180_0001.jpg', '/home/pi/Desktop/images/24012025/09/18/image_24012025_09_18_02_442180_0002.jpg', '/home/pi/Desktop/images/24012025/09/18/image_24012025_09_18_02_442180_0003.jpg', '/home/pi/Desktop/images/24012025/09/19/image_24012025_09_19_03_017290_0000.jpg', '/home/pi/Desktop/images/24012025/09/19/image_24012025_09_19_03_017290_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/18/image_24012025_09_18_02_442180_0000.jpg
/home/pi/Desktop/images/24012025/09/18/image_24012025_09_18_02_442180_0001.jpg
/home/pi/Desktop/images/24012025/09/18/image_24012025_09_18_02_442180_0002.jpg
/home/pi/Desktop/images/24012025/09/18/image_24012025_09_18_02_442180_0003.jpg
/home/pi/Desktop/images/24012025/09/19/image_24012025_09_19_03_017290_0000.jpg
/home/pi/Desktop/images/24012025/09/19/image_24012025_09_19_03_017290_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330998668","1330998653","1330998656","1330998638","1330998719","1330998647"],"photo_ids_order":["1330998638","1330998647","1330998653","1330998656","1330998668","1330998719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/299a5940cf7d5969b374e5052311a4c8.jpg","text":"TemporaryFile(/tmp/multipartBody7671888254127592434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707189456,"filename":"image_24012025_09_19_03_017290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00f8eab509d58c534708121648810190.jpg","text":"TemporaryFile(/tmp/multipartBody2317459023263949830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707189456,"filename":"image_24012025_09_18_02_442180_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a39c1c0b0030614c1b6b4b6b3c02062c.jpg","text":"TemporaryFile(/tmp/multipartBody6327987922961525487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707189456,"filename":"image_24012025_09_18_02_442180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d7d06e2832dae6c3645e92e974de9d8.jpg","text":"TemporaryFile(/tmp/multipartBody4173025121349318348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707189456,"filename":"image_24012025_09_18_02_442180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cee9f220b39275e6bc2b50ee30838f73.jpg","text":"TemporaryFile(/tmp/multipartBody4730191844798015253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707189456,"filename":"image_24012025_09_19_03_017290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e9fdbdc5148073e10c43af67c3f37ab1.jpg","text":"TemporaryFile(/tmp/multipartBody932920750567771498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707189456,"filename":"image_24012025_09_18_02_442180_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1330998653","file1":"1330998647","file0":"1330998638","file4":"1330998668","file5":"1330998719","file3":"1330998656"},"map_files_photo_id_array":[{"photo_id":"1330998719","filename":"file5"},{"photo_id":"1330998653","filename":"file2"},{"photo_id":"1330998668","filename":"file4"},{"photo_id":"1330998647","filename":"file1"},{"photo_id":"1330998638","filename":"file0"},{"photo_id":"1330998656","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1330998668":["hashtag1","hashtag2"]},{"1330998653":["hashtag1","hashtag2"]},{"1330998656":["hashtag1","hashtag2"]},{"1330998638":["hashtag1","hashtag2"]},{"1330998719":["hashtag1","hashtag2"]},{"1330998647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1330998668, 1330998653, 1330998656, 1330998638, 1330998719, 1330998647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.6500449180603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:27:03.059774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/19/image_24012025_09_19_03_017290_0002.jpg', '/home/pi/Desktop/images/24012025/09/20/image_24012025_09_20_02_511085_0002.jpg', '/home/pi/Desktop/images/24012025/09/20/image_24012025_09_20_02_511085_0003.jpg', '/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0000.jpg', '/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0001.jpg', '/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/19/image_24012025_09_19_03_017290_0002.jpg
/home/pi/Desktop/images/24012025/09/20/image_24012025_09_20_02_511085_0002.jpg
/home/pi/Desktop/images/24012025/09/20/image_24012025_09_20_02_511085_0003.jpg
/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0000.jpg
/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0001.jpg
/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 45.287532806396484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:28:02.547823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/19/image_24012025_09_19_03_017290_0002.jpg', '/home/pi/Desktop/images/24012025/09/20/image_24012025_09_20_02_511085_0002.jpg', '/home/pi/Desktop/images/24012025/09/20/image_24012025_09_20_02_511085_0003.jpg', '/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0000.jpg', '/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0001.jpg', '/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/19/image_24012025_09_19_03_017290_0002.jpg
/home/pi/Desktop/images/24012025/09/20/image_24012025_09_20_02_511085_0002.jpg
/home/pi/Desktop/images/24012025/09/20/image_24012025_09_20_02_511085_0003.jpg
/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0000.jpg
/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0001.jpg
/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331000121","1331000090","1331000071","1331000077","1331000113","1330999948"],"photo_ids_order":["1330999948","1331000071","1331000077","1331000090","1331000113","1331000121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/92da76e32c1ed33cbd31864803bb84da.jpg","text":"TemporaryFile(/tmp/multipartBody7601730346565739606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707388761,"filename":"image_24012025_09_21_03_101151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32fa9da9d55a83e59c221b1c1b45518a.jpg","text":"TemporaryFile(/tmp/multipartBody1143106565154897028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707388761,"filename":"image_24012025_09_21_03_101151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f35e8e791790f83b1af4859744acce1.jpg","text":"TemporaryFile(/tmp/multipartBody1548614011614069665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707388761,"filename":"image_24012025_09_20_02_511085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b82b046818816d51aea22081a2bd657.jpg","text":"TemporaryFile(/tmp/multipartBody1557287467918755988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707388761,"filename":"image_24012025_09_20_02_511085_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/034dd75504dd13ac058e9c93bcf54d87.jpg","text":"TemporaryFile(/tmp/multipartBody600550377060454522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707388761,"filename":"image_24012025_09_21_03_101151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d4d462b54ec09653a7d2b889c6d298e2.jpg","text":"TemporaryFile(/tmp/multipartBody8311906308584184719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707388761,"filename":"image_24012025_09_19_03_017290_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331000077","file1":"1331000071","file0":"1330999948","file4":"1331000113","file5":"1331000121","file3":"1331000090"},"map_files_photo_id_array":[{"photo_id":"1331000121","filename":"file5"},{"photo_id":"1331000077","filename":"file2"},{"photo_id":"1331000113","filename":"file4"},{"photo_id":"1331000071","filename":"file1"},{"photo_id":"1330999948","filename":"file0"},{"photo_id":"1331000090","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331000121":["hashtag1","hashtag2"]},{"1331000090":["hashtag1","hashtag2"]},{"1331000071":["hashtag1","hashtag2"]},{"1331000077":["hashtag1","hashtag2"]},{"1331000113":["hashtag1","hashtag2"]},{"1330999948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331000121, 1331000090, 1331000071, 1331000077, 1331000113, 1330999948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.98041105270386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:30:02.529164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0003.jpg', '/home/pi/Desktop/images/24012025/09/22/image_24012025_09_22_02_627478_0000.jpg', '/home/pi/Desktop/images/24012025/09/22/image_24012025_09_22_02_627478_0001.jpg', '/home/pi/Desktop/images/24012025/09/22/image_24012025_09_22_02_627478_0002.jpg', '/home/pi/Desktop/images/24012025/09/22/image_24012025_09_22_02_627478_0003.jpg', '/home/pi/Desktop/images/24012025/09/23/image_24012025_09_23_02_207975_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/21/image_24012025_09_21_03_101151_0003.jpg
/home/pi/Desktop/images/24012025/09/22/image_24012025_09_22_02_627478_0000.jpg
/home/pi/Desktop/images/24012025/09/22/image_24012025_09_22_02_627478_0001.jpg
/home/pi/Desktop/images/24012025/09/22/image_24012025_09_22_02_627478_0002.jpg
/home/pi/Desktop/images/24012025/09/22/image_24012025_09_22_02_627478_0003.jpg
/home/pi/Desktop/images/24012025/09/23/image_24012025_09_23_02_207975_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331000678","1331000573","1331000686","1331000659","1331000623","1331000565"],"photo_ids_order":["1331000565","1331000573","1331000623","1331000659","1331000678","1331000686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5733434adc219c74b520734fc716dba8.jpg","text":"TemporaryFile(/tmp/multipartBody463056273628613875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707502305,"filename":"image_24012025_09_22_02_627478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/76cdf11bab0974dc7508176e63367a96.jpg","text":"TemporaryFile(/tmp/multipartBody910776703887828944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707502305,"filename":"image_24012025_09_22_02_627478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ad595c0820d3ff3645652e6df403129.jpg","text":"TemporaryFile(/tmp/multipartBody1217328311111546330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707502305,"filename":"image_24012025_09_23_02_207975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/78f5ebef9a16de7d5235d346cc943b85.jpg","text":"TemporaryFile(/tmp/multipartBody5392424743438727353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707502305,"filename":"image_24012025_09_22_02_627478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad4d50812b90fa660d4cc6b2d5a48949.jpg","text":"TemporaryFile(/tmp/multipartBody4052478453468451255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707502305,"filename":"image_24012025_09_22_02_627478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cbc9d54bf3bf8027c7fa9d0243e58f7c.jpg","text":"TemporaryFile(/tmp/multipartBody1237641736667733140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707502305,"filename":"image_24012025_09_21_03_101151_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331000623","file1":"1331000573","file0":"1331000565","file4":"1331000678","file5":"1331000686","file3":"1331000659"},"map_files_photo_id_array":[{"photo_id":"1331000686","filename":"file5"},{"photo_id":"1331000623","filename":"file2"},{"photo_id":"1331000678","filename":"file4"},{"photo_id":"1331000573","filename":"file1"},{"photo_id":"1331000565","filename":"file0"},{"photo_id":"1331000659","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331000678":["hashtag1","hashtag2"]},{"1331000573":["hashtag1","hashtag2"]},{"1331000686":["hashtag1","hashtag2"]},{"1331000659":["hashtag1","hashtag2"]},{"1331000623":["hashtag1","hashtag2"]},{"1331000565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331000678, 1331000573, 1331000686, 1331000659, 1331000623, 1331000565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.89473009109497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:32:02.619831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/23/image_24012025_09_23_02_207975_0001.jpg', '/home/pi/Desktop/images/24012025/09/23/image_24012025_09_23_02_207975_0003.jpg', '/home/pi/Desktop/images/24012025/09/24/image_24012025_09_24_02_699236_0000.jpg', '/home/pi/Desktop/images/24012025/09/24/image_24012025_09_24_02_699236_0001.jpg', '/home/pi/Desktop/images/24012025/09/24/image_24012025_09_24_02_699236_0003.jpg', '/home/pi/Desktop/images/24012025/09/25/image_24012025_09_25_02_181621_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/23/image_24012025_09_23_02_207975_0001.jpg
/home/pi/Desktop/images/24012025/09/23/image_24012025_09_23_02_207975_0003.jpg
/home/pi/Desktop/images/24012025/09/24/image_24012025_09_24_02_699236_0000.jpg
/home/pi/Desktop/images/24012025/09/24/image_24012025_09_24_02_699236_0001.jpg
/home/pi/Desktop/images/24012025/09/24/image_24012025_09_24_02_699236_0003.jpg
/home/pi/Desktop/images/24012025/09/25/image_24012025_09_25_02_181621_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331001371","1331001254","1331001110","1331000885","1331001381","1331001033"],"photo_ids_order":["1331000885","1331001033","1331001110","1331001254","1331001371","1331001381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5fa20c8b4611562cac2bc1af0a800d4c.jpg","text":"TemporaryFile(/tmp/multipartBody4685984870607232873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707620130,"filename":"image_24012025_09_24_02_699236_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7bd6f8125386c7dc857be4b08f5badb8.jpg","text":"TemporaryFile(/tmp/multipartBody5395629224484253208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707620130,"filename":"image_24012025_09_24_02_699236_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5e79d4c513d7cb49395300410e8f6d05.jpg","text":"TemporaryFile(/tmp/multipartBody7987364157327481924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707620130,"filename":"image_24012025_09_24_02_699236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/71d7f3888eeeb147914a6229752bfe58.jpg","text":"TemporaryFile(/tmp/multipartBody3176420387941152947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707620130,"filename":"image_24012025_09_23_02_207975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e5c782eb5fbff7cf0ed6e9c829f8d40b.jpg","text":"TemporaryFile(/tmp/multipartBody4964877985742295409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707620130,"filename":"image_24012025_09_25_02_181621_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c95281844e6c4fae9361daf123fdc69.jpg","text":"TemporaryFile(/tmp/multipartBody4893146508810046296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707620130,"filename":"image_24012025_09_23_02_207975_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331001110","file1":"1331001033","file0":"1331000885","file4":"1331001371","file5":"1331001381","file3":"1331001254"},"map_files_photo_id_array":[{"photo_id":"1331001381","filename":"file5"},{"photo_id":"1331001110","filename":"file2"},{"photo_id":"1331001371","filename":"file4"},{"photo_id":"1331001033","filename":"file1"},{"photo_id":"1331000885","filename":"file0"},{"photo_id":"1331001254","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331001371":["hashtag1","hashtag2"]},{"1331001254":["hashtag1","hashtag2"]},{"1331001110":["hashtag1","hashtag2"]},{"1331000885":["hashtag1","hashtag2"]},{"1331001381":["hashtag1","hashtag2"]},{"1331001033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331001371, 1331001254, 1331001110, 1331000885, 1331001381, 1331001033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.97497129440308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:34:02.521843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/25/image_24012025_09_25_02_181621_0002.jpg', '/home/pi/Desktop/images/24012025/09/25/image_24012025_09_25_02_181621_0003.jpg', '/home/pi/Desktop/images/24012025/09/26/image_24012025_09_26_02_735024_0000.jpg', '/home/pi/Desktop/images/24012025/09/26/image_24012025_09_26_02_735024_0001.jpg', '/home/pi/Desktop/images/24012025/09/26/image_24012025_09_26_02_735024_0003.jpg', '/home/pi/Desktop/images/24012025/09/27/image_24012025_09_27_02_263244_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/25/image_24012025_09_25_02_181621_0002.jpg
/home/pi/Desktop/images/24012025/09/25/image_24012025_09_25_02_181621_0003.jpg
/home/pi/Desktop/images/24012025/09/26/image_24012025_09_26_02_735024_0000.jpg
/home/pi/Desktop/images/24012025/09/26/image_24012025_09_26_02_735024_0001.jpg
/home/pi/Desktop/images/24012025/09/26/image_24012025_09_26_02_735024_0003.jpg
/home/pi/Desktop/images/24012025/09/27/image_24012025_09_27_02_263244_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331001824","1331001731","1331001833","1331001814","1331001742","1331001736"],"photo_ids_order":["1331001731","1331001736","1331001742","1331001814","1331001824","1331001833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb7eeaea6feb5115ab6ae0f93cef7f93.jpg","text":"TemporaryFile(/tmp/multipartBody7159014536779157838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707746995,"filename":"image_24012025_09_26_02_735024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5bbd564a51369c1b801cd8f31a957d2d.jpg","text":"TemporaryFile(/tmp/multipartBody4485965893754582472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707746995,"filename":"image_24012025_09_25_02_181621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d7af3bd3d7398fed98c857cc87034b76.jpg","text":"TemporaryFile(/tmp/multipartBody518022158344321959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707746995,"filename":"image_24012025_09_27_02_263244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/27ba4de0e041590850d847db81329ba6.jpg","text":"TemporaryFile(/tmp/multipartBody1345379608832480376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707746995,"filename":"image_24012025_09_26_02_735024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4a3c74bd8459ef510c2e3efae82ec47c.jpg","text":"TemporaryFile(/tmp/multipartBody5142769259428929972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707746995,"filename":"image_24012025_09_26_02_735024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a5e932c41a767d7a5364334ae9bfc8d.jpg","text":"TemporaryFile(/tmp/multipartBody2691581122856717198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707746995,"filename":"image_24012025_09_25_02_181621_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331001742","file1":"1331001736","file0":"1331001731","file4":"1331001824","file5":"1331001833","file3":"1331001814"},"map_files_photo_id_array":[{"photo_id":"1331001833","filename":"file5"},{"photo_id":"1331001742","filename":"file2"},{"photo_id":"1331001824","filename":"file4"},{"photo_id":"1331001736","filename":"file1"},{"photo_id":"1331001731","filename":"file0"},{"photo_id":"1331001814","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331001824":["hashtag1","hashtag2"]},{"1331001731":["hashtag1","hashtag2"]},{"1331001833":["hashtag1","hashtag2"]},{"1331001814":["hashtag1","hashtag2"]},{"1331001742":["hashtag1","hashtag2"]},{"1331001736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331001824, 1331001731, 1331001833, 1331001814, 1331001742, 1331001736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 111.52155828475952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:36:02.651329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/27/image_24012025_09_27_02_263244_0001.jpg', '/home/pi/Desktop/images/24012025/09/27/image_24012025_09_27_02_263244_0002.jpg', '/home/pi/Desktop/images/24012025/09/27/image_24012025_09_27_02_263244_0003.jpg', '/home/pi/Desktop/images/24012025/09/28/image_24012025_09_28_02_770247_0000.jpg', '/home/pi/Desktop/images/24012025/09/28/image_24012025_09_28_02_770247_0001.jpg', '/home/pi/Desktop/images/24012025/09/28/image_24012025_09_28_02_770247_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/27/image_24012025_09_27_02_263244_0001.jpg
/home/pi/Desktop/images/24012025/09/27/image_24012025_09_27_02_263244_0002.jpg
/home/pi/Desktop/images/24012025/09/27/image_24012025_09_27_02_263244_0003.jpg
/home/pi/Desktop/images/24012025/09/28/image_24012025_09_28_02_770247_0000.jpg
/home/pi/Desktop/images/24012025/09/28/image_24012025_09_28_02_770247_0001.jpg
/home/pi/Desktop/images/24012025/09/28/image_24012025_09_28_02_770247_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331001880","1331001873","1331001885","1331001870","1331001864","1331001858"],"photo_ids_order":["1331001858","1331001864","1331001870","1331001873","1331001880","1331001885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a960b1e718900fcffd90951bac7cbeb.jpg","text":"TemporaryFile(/tmp/multipartBody677481312112867863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707853385,"filename":"image_24012025_09_28_02_770247_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c6a9a8a809bb9dcfc4d207b191bc05a1.jpg","text":"TemporaryFile(/tmp/multipartBody2278024621173261676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707853385,"filename":"image_24012025_09_28_02_770247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/33a84da9c8349d4585f9ca90a0611e60.jpg","text":"TemporaryFile(/tmp/multipartBody2087085415917826235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707853385,"filename":"image_24012025_09_28_02_770247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7a6b186048e5d9ee9d40ad7d86602ea1.jpg","text":"TemporaryFile(/tmp/multipartBody977366968865420243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707853385,"filename":"image_24012025_09_27_02_263244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dff0ba333d905f59f68269591782916a.jpg","text":"TemporaryFile(/tmp/multipartBody9145963552983602927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707853385,"filename":"image_24012025_09_27_02_263244_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e3c6f2ad959ead035d57a5232adc38f.jpg","text":"TemporaryFile(/tmp/multipartBody8109525603079991944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707853385,"filename":"image_24012025_09_27_02_263244_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331001870","file1":"1331001864","file0":"1331001858","file4":"1331001880","file5":"1331001885","file3":"1331001873"},"map_files_photo_id_array":[{"photo_id":"1331001885","filename":"file5"},{"photo_id":"1331001870","filename":"file2"},{"photo_id":"1331001880","filename":"file4"},{"photo_id":"1331001864","filename":"file1"},{"photo_id":"1331001858","filename":"file0"},{"photo_id":"1331001873","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331001880":["hashtag1","hashtag2"]},{"1331001873":["hashtag1","hashtag2"]},{"1331001885":["hashtag1","hashtag2"]},{"1331001870":["hashtag1","hashtag2"]},{"1331001864":["hashtag1","hashtag2"]},{"1331001858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331001880, 1331001873, 1331001885, 1331001870, 1331001864, 1331001858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.51608920097351 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:38:02.818993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/28/image_24012025_09_28_02_770247_0003.jpg', '/home/pi/Desktop/images/24012025/09/29/image_24012025_09_29_02_418679_0000.jpg', '/home/pi/Desktop/images/24012025/09/29/image_24012025_09_29_02_418679_0001.jpg', '/home/pi/Desktop/images/24012025/09/29/image_24012025_09_29_02_418679_0002.jpg', '/home/pi/Desktop/images/24012025/09/29/image_24012025_09_29_02_418679_0003.jpg', '/home/pi/Desktop/images/24012025/09/30/image_24012025_09_30_02_966375_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/28/image_24012025_09_28_02_770247_0003.jpg
/home/pi/Desktop/images/24012025/09/29/image_24012025_09_29_02_418679_0000.jpg
/home/pi/Desktop/images/24012025/09/29/image_24012025_09_29_02_418679_0001.jpg
/home/pi/Desktop/images/24012025/09/29/image_24012025_09_29_02_418679_0002.jpg
/home/pi/Desktop/images/24012025/09/29/image_24012025_09_29_02_418679_0003.jpg
/home/pi/Desktop/images/24012025/09/30/image_24012025_09_30_02_966375_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331002468","1331002612","1331002347","1331001960","1331002218","1331002076"],"photo_ids_order":["1331001960","1331002076","1331002218","1331002347","1331002468","1331002612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c8df213b81bb6f3cb4a6ea22efc621e4.jpg","text":"TemporaryFile(/tmp/multipartBody1725787800230739861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707987534,"filename":"image_24012025_09_29_02_418679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7baaaf4ed30d9776c98d63c1da3966c.jpg","text":"TemporaryFile(/tmp/multipartBody6158957519963382031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707987534,"filename":"image_24012025_09_30_02_966375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4206e9b5c48a9f2a7be92260283f2cc8.jpg","text":"TemporaryFile(/tmp/multipartBody736613981427802823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707987534,"filename":"image_24012025_09_29_02_418679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e9e9f99c9231c3cd6bac07adf6f7cd1.jpg","text":"TemporaryFile(/tmp/multipartBody5301222949388477346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707987534,"filename":"image_24012025_09_28_02_770247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39d71e5ae7437739dbe765fb5072d2b4.jpg","text":"TemporaryFile(/tmp/multipartBody4623694196748935308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707987534,"filename":"image_24012025_09_29_02_418679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d125c13dd682dd63fc85081d7d94e5a0.jpg","text":"TemporaryFile(/tmp/multipartBody4541218818355459683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737707987534,"filename":"image_24012025_09_29_02_418679_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331002218","file1":"1331002076","file0":"1331001960","file4":"1331002468","file5":"1331002612","file3":"1331002347"},"map_files_photo_id_array":[{"photo_id":"1331002612","filename":"file5"},{"photo_id":"1331002218","filename":"file2"},{"photo_id":"1331002468","filename":"file4"},{"photo_id":"1331002076","filename":"file1"},{"photo_id":"1331001960","filename":"file0"},{"photo_id":"1331002347","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331002468":["hashtag1","hashtag2"]},{"1331002612":["hashtag1","hashtag2"]},{"1331002347":["hashtag1","hashtag2"]},{"1331001960":["hashtag1","hashtag2"]},{"1331002218":["hashtag1","hashtag2"]},{"1331002076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331002468, 1331002612, 1331002347, 1331001960, 1331002218, 1331002076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.10243391990662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:40:02.902529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/30/image_24012025_09_30_02_966375_0001.jpg', '/home/pi/Desktop/images/24012025/09/30/image_24012025_09_30_02_966375_0002.jpg', '/home/pi/Desktop/images/24012025/09/30/image_24012025_09_30_02_966375_0003.jpg', '/home/pi/Desktop/images/24012025/09/31/image_24012025_09_31_02_473433_0000.jpg', '/home/pi/Desktop/images/24012025/09/31/image_24012025_09_31_02_473433_0001.jpg', '/home/pi/Desktop/images/24012025/09/31/image_24012025_09_31_02_473433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/30/image_24012025_09_30_02_966375_0001.jpg
/home/pi/Desktop/images/24012025/09/30/image_24012025_09_30_02_966375_0002.jpg
/home/pi/Desktop/images/24012025/09/30/image_24012025_09_30_02_966375_0003.jpg
/home/pi/Desktop/images/24012025/09/31/image_24012025_09_31_02_473433_0000.jpg
/home/pi/Desktop/images/24012025/09/31/image_24012025_09_31_02_473433_0001.jpg
/home/pi/Desktop/images/24012025/09/31/image_24012025_09_31_02_473433_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331003001","1331003007","1331003024","1331002997","1331003012","1331003018"],"photo_ids_order":["1331002997","1331003001","1331003007","1331003012","1331003018","1331003024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d119c648da6e3a282cb70e95cd1be97b.jpg","text":"TemporaryFile(/tmp/multipartBody3588388360614505658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708106203,"filename":"image_24012025_09_30_02_966375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e4c54635d90be70b1522e242bca60cc7.jpg","text":"TemporaryFile(/tmp/multipartBody4497984516189793109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708106203,"filename":"image_24012025_09_30_02_966375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/04968440b67be2192afe88c694993745.jpg","text":"TemporaryFile(/tmp/multipartBody2739490452484060974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708106203,"filename":"image_24012025_09_31_02_473433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dda1d7853b69409bd355088e5b1eb288.jpg","text":"TemporaryFile(/tmp/multipartBody7032510388002624536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708106203,"filename":"image_24012025_09_30_02_966375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/53fa0b831e3ba1937970ba8d6854778a.jpg","text":"TemporaryFile(/tmp/multipartBody520020406199101180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708106203,"filename":"image_24012025_09_31_02_473433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/09e9e1657aa6784330d342cc7932633d.jpg","text":"TemporaryFile(/tmp/multipartBody2870715523750761131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708106203,"filename":"image_24012025_09_31_02_473433_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331003007","file1":"1331003001","file0":"1331002997","file4":"1331003018","file5":"1331003024","file3":"1331003012"},"map_files_photo_id_array":[{"photo_id":"1331003024","filename":"file5"},{"photo_id":"1331003007","filename":"file2"},{"photo_id":"1331003018","filename":"file4"},{"photo_id":"1331003001","filename":"file1"},{"photo_id":"1331002997","filename":"file0"},{"photo_id":"1331003012","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331003001":["hashtag1","hashtag2"]},{"1331003007":["hashtag1","hashtag2"]},{"1331003024":["hashtag1","hashtag2"]},{"1331002997":["hashtag1","hashtag2"]},{"1331003012":["hashtag1","hashtag2"]},{"1331003018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331003001, 1331003007, 1331003024, 1331002997, 1331003012, 1331003018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.59758448600769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:42:02.936226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/31/image_24012025_09_31_02_473433_0003.jpg', '/home/pi/Desktop/images/24012025/09/32/image_24012025_09_32_03_022522_0000.jpg', '/home/pi/Desktop/images/24012025/09/32/image_24012025_09_32_03_022522_0001.jpg', '/home/pi/Desktop/images/24012025/09/32/image_24012025_09_32_03_022522_0002.jpg', '/home/pi/Desktop/images/24012025/09/32/image_24012025_09_32_03_022522_0003.jpg', '/home/pi/Desktop/images/24012025/09/33/image_24012025_09_33_02_546684_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/31/image_24012025_09_31_02_473433_0003.jpg
/home/pi/Desktop/images/24012025/09/32/image_24012025_09_32_03_022522_0000.jpg
/home/pi/Desktop/images/24012025/09/32/image_24012025_09_32_03_022522_0001.jpg
/home/pi/Desktop/images/24012025/09/32/image_24012025_09_32_03_022522_0002.jpg
/home/pi/Desktop/images/24012025/09/32/image_24012025_09_32_03_022522_0003.jpg
/home/pi/Desktop/images/24012025/09/33/image_24012025_09_33_02_546684_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331003089","1331003110","1331003115","1331003124","1331003105","1331003098"],"photo_ids_order":["1331003089","1331003098","1331003105","1331003110","1331003115","1331003124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/36575e35fde0869b6b11a3e684d85db5.jpg","text":"TemporaryFile(/tmp/multipartBody1203345711110811646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708217007,"filename":"image_24012025_09_31_02_473433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/20c45e483002686b0cabef0e1e6ef172.jpg","text":"TemporaryFile(/tmp/multipartBody3973404571605154696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708217007,"filename":"image_24012025_09_32_03_022522_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1834a0f9436f67d10047454c7f8ecb65.jpg","text":"TemporaryFile(/tmp/multipartBody6957513015447089401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708217007,"filename":"image_24012025_09_32_03_022522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/19d93192bb47b7d86f2ffd3172208d78.jpg","text":"TemporaryFile(/tmp/multipartBody1255672307461086112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708217007,"filename":"image_24012025_09_33_02_546684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f634335c00a152d3e28c9c5ef373a6e4.jpg","text":"TemporaryFile(/tmp/multipartBody2900975778640485800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708217007,"filename":"image_24012025_09_32_03_022522_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5971803b09ef70d2b30ca46c798920b4.jpg","text":"TemporaryFile(/tmp/multipartBody1951802000237718507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708217007,"filename":"image_24012025_09_32_03_022522_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331003105","file1":"1331003098","file0":"1331003089","file4":"1331003115","file5":"1331003124","file3":"1331003110"},"map_files_photo_id_array":[{"photo_id":"1331003124","filename":"file5"},{"photo_id":"1331003105","filename":"file2"},{"photo_id":"1331003115","filename":"file4"},{"photo_id":"1331003098","filename":"file1"},{"photo_id":"1331003089","filename":"file0"},{"photo_id":"1331003110","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331003089":["hashtag1","hashtag2"]},{"1331003110":["hashtag1","hashtag2"]},{"1331003115":["hashtag1","hashtag2"]},{"1331003124":["hashtag1","hashtag2"]},{"1331003105":["hashtag1","hashtag2"]},{"1331003098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331003089, 1331003110, 1331003115, 1331003124, 1331003105, 1331003098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.5210120677948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:44:02.818512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/33/image_24012025_09_33_02_546684_0001.jpg', '/home/pi/Desktop/images/24012025/09/33/image_24012025_09_33_02_546684_0002.jpg', '/home/pi/Desktop/images/24012025/09/33/image_24012025_09_33_02_546684_0003.jpg', '/home/pi/Desktop/images/24012025/09/34/image_24012025_09_34_03_069142_0000.jpg', '/home/pi/Desktop/images/24012025/09/34/image_24012025_09_34_03_069142_0001.jpg', '/home/pi/Desktop/images/24012025/09/34/image_24012025_09_34_03_069142_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/33/image_24012025_09_33_02_546684_0001.jpg
/home/pi/Desktop/images/24012025/09/33/image_24012025_09_33_02_546684_0002.jpg
/home/pi/Desktop/images/24012025/09/33/image_24012025_09_33_02_546684_0003.jpg
/home/pi/Desktop/images/24012025/09/34/image_24012025_09_34_03_069142_0000.jpg
/home/pi/Desktop/images/24012025/09/34/image_24012025_09_34_03_069142_0001.jpg
/home/pi/Desktop/images/24012025/09/34/image_24012025_09_34_03_069142_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331003173","1331003233","1331003196","1331003181","1331003166","1331003228"],"photo_ids_order":["1331003166","1331003173","1331003181","1331003196","1331003228","1331003233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d676abcc99b9f046907495f37805433b.jpg","text":"TemporaryFile(/tmp/multipartBody8898070336006045173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708331780,"filename":"image_24012025_09_33_02_546684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72d7a964fa668fd8598c662885c13378.jpg","text":"TemporaryFile(/tmp/multipartBody8161949296723089744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708331780,"filename":"image_24012025_09_34_03_069142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f777fb60929806c466e242ece5456dde.jpg","text":"TemporaryFile(/tmp/multipartBody2436335322936642168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708331780,"filename":"image_24012025_09_34_03_069142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fcb061036e428852eb64eec39b3d1270.jpg","text":"TemporaryFile(/tmp/multipartBody5226090699532027388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708331780,"filename":"image_24012025_09_33_02_546684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4602adb5237a17381a0c324f0fba90bf.jpg","text":"TemporaryFile(/tmp/multipartBody8156495442011831721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708331780,"filename":"image_24012025_09_33_02_546684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e6d74e15f9bbb7c0fc13bf840e84fbe7.jpg","text":"TemporaryFile(/tmp/multipartBody4900726665423278159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708331780,"filename":"image_24012025_09_34_03_069142_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331003181","file1":"1331003173","file0":"1331003166","file4":"1331003228","file5":"1331003233","file3":"1331003196"},"map_files_photo_id_array":[{"photo_id":"1331003233","filename":"file5"},{"photo_id":"1331003181","filename":"file2"},{"photo_id":"1331003228","filename":"file4"},{"photo_id":"1331003173","filename":"file1"},{"photo_id":"1331003166","filename":"file0"},{"photo_id":"1331003196","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331003173":["hashtag1","hashtag2"]},{"1331003233":["hashtag1","hashtag2"]},{"1331003196":["hashtag1","hashtag2"]},{"1331003181":["hashtag1","hashtag2"]},{"1331003166":["hashtag1","hashtag2"]},{"1331003228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331003173, 1331003233, 1331003196, 1331003181, 1331003166, 1331003228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.188405752182 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:46:03.020086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/34/image_24012025_09_34_03_069142_0003.jpg', '/home/pi/Desktop/images/24012025/09/35/image_24012025_09_35_02_603208_0000.jpg', '/home/pi/Desktop/images/24012025/09/35/image_24012025_09_35_02_603208_0001.jpg', '/home/pi/Desktop/images/24012025/09/35/image_24012025_09_35_02_603208_0002.jpg', '/home/pi/Desktop/images/24012025/09/35/image_24012025_09_35_02_603208_0003.jpg', '/home/pi/Desktop/images/24012025/09/36/image_24012025_09_36_03_095060_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/34/image_24012025_09_34_03_069142_0003.jpg
/home/pi/Desktop/images/24012025/09/35/image_24012025_09_35_02_603208_0000.jpg
/home/pi/Desktop/images/24012025/09/35/image_24012025_09_35_02_603208_0001.jpg
/home/pi/Desktop/images/24012025/09/35/image_24012025_09_35_02_603208_0002.jpg
/home/pi/Desktop/images/24012025/09/35/image_24012025_09_35_02_603208_0003.jpg
/home/pi/Desktop/images/24012025/09/36/image_24012025_09_36_03_095060_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331003440","1331003434","1331003410","1331003418","1331003423","1331003426"],"photo_ids_order":["1331003410","1331003418","1331003423","1331003426","1331003434","1331003440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/825e64a8ead40ff95183315b0859c860.jpg","text":"TemporaryFile(/tmp/multipartBody4390118306342469269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708457964,"filename":"image_24012025_09_36_03_095060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bfea07ce0d349ddfd87dccf3fe55d4d9.jpg","text":"TemporaryFile(/tmp/multipartBody4245435396039454810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708457964,"filename":"image_24012025_09_35_02_603208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/13c3b2b1fd63e37501eee11f7aaf8283.jpg","text":"TemporaryFile(/tmp/multipartBody3485800808035574202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708457964,"filename":"image_24012025_09_34_03_069142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/694734735e7e496f233677a781ee9bb9.jpg","text":"TemporaryFile(/tmp/multipartBody8462056397494343672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708457964,"filename":"image_24012025_09_35_02_603208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cf2f107b7df439c489026906d9cfd5a1.jpg","text":"TemporaryFile(/tmp/multipartBody2864024717205139331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708457964,"filename":"image_24012025_09_35_02_603208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0eae7ab1029c057ade06ea803e1e16df.jpg","text":"TemporaryFile(/tmp/multipartBody7687335107892567239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708457964,"filename":"image_24012025_09_35_02_603208_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331003423","file1":"1331003418","file0":"1331003410","file4":"1331003434","file5":"1331003440","file3":"1331003426"},"map_files_photo_id_array":[{"photo_id":"1331003440","filename":"file5"},{"photo_id":"1331003423","filename":"file2"},{"photo_id":"1331003434","filename":"file4"},{"photo_id":"1331003418","filename":"file1"},{"photo_id":"1331003410","filename":"file0"},{"photo_id":"1331003426","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331003440":["hashtag1","hashtag2"]},{"1331003434":["hashtag1","hashtag2"]},{"1331003410":["hashtag1","hashtag2"]},{"1331003418":["hashtag1","hashtag2"]},{"1331003423":["hashtag1","hashtag2"]},{"1331003426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331003440, 1331003434, 1331003410, 1331003418, 1331003423, 1331003426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.35589504241943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:48:03.086141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/36/image_24012025_09_36_03_095060_0001.jpg', '/home/pi/Desktop/images/24012025/09/36/image_24012025_09_36_03_095060_0002.jpg', '/home/pi/Desktop/images/24012025/09/36/image_24012025_09_36_03_095060_0003.jpg', '/home/pi/Desktop/images/24012025/09/37/image_24012025_09_37_02_607449_0000.jpg', '/home/pi/Desktop/images/24012025/09/37/image_24012025_09_37_02_607449_0001.jpg', '/home/pi/Desktop/images/24012025/09/37/image_24012025_09_37_02_607449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/36/image_24012025_09_36_03_095060_0001.jpg
/home/pi/Desktop/images/24012025/09/36/image_24012025_09_36_03_095060_0002.jpg
/home/pi/Desktop/images/24012025/09/36/image_24012025_09_36_03_095060_0003.jpg
/home/pi/Desktop/images/24012025/09/37/image_24012025_09_37_02_607449_0000.jpg
/home/pi/Desktop/images/24012025/09/37/image_24012025_09_37_02_607449_0001.jpg
/home/pi/Desktop/images/24012025/09/37/image_24012025_09_37_02_607449_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331003515","1331003518","1331003526","1331003531","1331003648","1331003522"],"photo_ids_order":["1331003515","1331003518","1331003522","1331003526","1331003531","1331003648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/236fd7ec519eb40679e83d8731ded925.jpg","text":"TemporaryFile(/tmp/multipartBody2127537628149747033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708591385,"filename":"image_24012025_09_36_03_095060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0007e54bc54d63d8b623281db4758ec.jpg","text":"TemporaryFile(/tmp/multipartBody4130445258314179390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708591385,"filename":"image_24012025_09_36_03_095060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ca074b33dd0be85826178441423f21f.jpg","text":"TemporaryFile(/tmp/multipartBody8618320522974763908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708591385,"filename":"image_24012025_09_37_02_607449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40d5b931c35f1aba388c3b0ee319b9d4.jpg","text":"TemporaryFile(/tmp/multipartBody9061437377513294016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708591385,"filename":"image_24012025_09_37_02_607449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cfeca703f877fffdba9929f5ecf2e636.jpg","text":"TemporaryFile(/tmp/multipartBody2495508595267922066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708591385,"filename":"image_24012025_09_37_02_607449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c58c4eaff092dc5bffef762a9676e367.jpg","text":"TemporaryFile(/tmp/multipartBody8203195022039710764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708591385,"filename":"image_24012025_09_36_03_095060_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331003522","file1":"1331003518","file0":"1331003515","file4":"1331003531","file5":"1331003648","file3":"1331003526"},"map_files_photo_id_array":[{"photo_id":"1331003648","filename":"file5"},{"photo_id":"1331003522","filename":"file2"},{"photo_id":"1331003531","filename":"file4"},{"photo_id":"1331003518","filename":"file1"},{"photo_id":"1331003515","filename":"file0"},{"photo_id":"1331003526","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331003515":["hashtag1","hashtag2"]},{"1331003518":["hashtag1","hashtag2"]},{"1331003526":["hashtag1","hashtag2"]},{"1331003531":["hashtag1","hashtag2"]},{"1331003648":["hashtag1","hashtag2"]},{"1331003522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331003515, 1331003518, 1331003526, 1331003531, 1331003648, 1331003522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.58626365661621 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:50:03.002646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/37/image_24012025_09_37_02_607449_0003.jpg', '/home/pi/Desktop/images/24012025/09/38/image_24012025_09_38_02_212317_0000.jpg', '/home/pi/Desktop/images/24012025/09/38/image_24012025_09_38_02_212317_0001.jpg', '/home/pi/Desktop/images/24012025/09/38/image_24012025_09_38_02_212317_0002.jpg', '/home/pi/Desktop/images/24012025/09/38/image_24012025_09_38_02_212317_0003.jpg', '/home/pi/Desktop/images/24012025/09/39/image_24012025_09_39_02_732027_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/37/image_24012025_09_37_02_607449_0003.jpg
/home/pi/Desktop/images/24012025/09/38/image_24012025_09_38_02_212317_0000.jpg
/home/pi/Desktop/images/24012025/09/38/image_24012025_09_38_02_212317_0001.jpg
/home/pi/Desktop/images/24012025/09/38/image_24012025_09_38_02_212317_0002.jpg
/home/pi/Desktop/images/24012025/09/38/image_24012025_09_38_02_212317_0003.jpg
/home/pi/Desktop/images/24012025/09/39/image_24012025_09_39_02_732027_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331004668","1331004408","1331004863","1331004796","1331004521","1331004871"],"photo_ids_order":["1331004408","1331004521","1331004668","1331004796","1331004863","1331004871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/916c5640965b81af4743de5a2a08c255.jpg","text":"TemporaryFile(/tmp/multipartBody7275741988887171025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708700729,"filename":"image_24012025_09_38_02_212317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/41bbf88a9461ea33c3769446d179f09a.jpg","text":"TemporaryFile(/tmp/multipartBody1855110878978229761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708700729,"filename":"image_24012025_09_37_02_607449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e661eace16a98dc7f006c99fc451dbbb.jpg","text":"TemporaryFile(/tmp/multipartBody8753583631053791350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708700729,"filename":"image_24012025_09_38_02_212317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/68fb026941a8b6be20743cefde718872.jpg","text":"TemporaryFile(/tmp/multipartBody9076811092068483257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708700729,"filename":"image_24012025_09_38_02_212317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da423d1a06ae5314ee1e28a47cca3c99.jpg","text":"TemporaryFile(/tmp/multipartBody8222851405548337889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708700729,"filename":"image_24012025_09_38_02_212317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/459d86d79bf0a0d05f9143cfb2d3556e.jpg","text":"TemporaryFile(/tmp/multipartBody5427958879676871155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708700729,"filename":"image_24012025_09_39_02_732027_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331004668","file1":"1331004521","file0":"1331004408","file4":"1331004863","file5":"1331004871","file3":"1331004796"},"map_files_photo_id_array":[{"photo_id":"1331004871","filename":"file5"},{"photo_id":"1331004668","filename":"file2"},{"photo_id":"1331004863","filename":"file4"},{"photo_id":"1331004521","filename":"file1"},{"photo_id":"1331004408","filename":"file0"},{"photo_id":"1331004796","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331004668":["hashtag1","hashtag2"]},{"1331004408":["hashtag1","hashtag2"]},{"1331004863":["hashtag1","hashtag2"]},{"1331004796":["hashtag1","hashtag2"]},{"1331004521":["hashtag1","hashtag2"]},{"1331004871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331004668, 1331004408, 1331004863, 1331004796, 1331004521, 1331004871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.06520175933838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:52:03.091800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/39/image_24012025_09_39_02_732027_0001.jpg', '/home/pi/Desktop/images/24012025/09/39/image_24012025_09_39_02_732027_0002.jpg', '/home/pi/Desktop/images/24012025/09/39/image_24012025_09_39_02_732027_0003.jpg', '/home/pi/Desktop/images/24012025/09/40/image_24012025_09_40_02_236488_0000.jpg', '/home/pi/Desktop/images/24012025/09/40/image_24012025_09_40_02_236488_0001.jpg', '/home/pi/Desktop/images/24012025/09/40/image_24012025_09_40_02_236488_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/39/image_24012025_09_39_02_732027_0001.jpg
/home/pi/Desktop/images/24012025/09/39/image_24012025_09_39_02_732027_0002.jpg
/home/pi/Desktop/images/24012025/09/39/image_24012025_09_39_02_732027_0003.jpg
/home/pi/Desktop/images/24012025/09/40/image_24012025_09_40_02_236488_0000.jpg
/home/pi/Desktop/images/24012025/09/40/image_24012025_09_40_02_236488_0001.jpg
/home/pi/Desktop/images/24012025/09/40/image_24012025_09_40_02_236488_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331005917","1331006042","1331005973","1331005979","1331005921","1331006049"],"photo_ids_order":["1331005917","1331005921","1331005973","1331005979","1331006042","1331006049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e80302974b335df3fd2a70d10a084503.jpg","text":"TemporaryFile(/tmp/multipartBody3535070753555844851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708825862,"filename":"image_24012025_09_39_02_732027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/61de34a4d6fa84076a2c8a4294cbf1f2.jpg","text":"TemporaryFile(/tmp/multipartBody526906370054961540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708825862,"filename":"image_24012025_09_40_02_236488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da6686167bdcc9a04f3ba4669974eaf1.jpg","text":"TemporaryFile(/tmp/multipartBody2596370426435982534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708825862,"filename":"image_24012025_09_39_02_732027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/78fdcba69764bede10c407d2a5149ee2.jpg","text":"TemporaryFile(/tmp/multipartBody6889197006323305754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708825862,"filename":"image_24012025_09_40_02_236488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a3b813fa6e246d7731a6007c2004e814.jpg","text":"TemporaryFile(/tmp/multipartBody1056443260335895384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708825862,"filename":"image_24012025_09_39_02_732027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/29615e5730edf7a01b492eb3f2ad6bc0.jpg","text":"TemporaryFile(/tmp/multipartBody4160258252942470799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708825862,"filename":"image_24012025_09_40_02_236488_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331005973","file1":"1331005921","file0":"1331005917","file4":"1331006042","file5":"1331006049","file3":"1331005979"},"map_files_photo_id_array":[{"photo_id":"1331006049","filename":"file5"},{"photo_id":"1331005973","filename":"file2"},{"photo_id":"1331006042","filename":"file4"},{"photo_id":"1331005921","filename":"file1"},{"photo_id":"1331005917","filename":"file0"},{"photo_id":"1331005979","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331005917":["hashtag1","hashtag2"]},{"1331006042":["hashtag1","hashtag2"]},{"1331005973":["hashtag1","hashtag2"]},{"1331005979":["hashtag1","hashtag2"]},{"1331005921":["hashtag1","hashtag2"]},{"1331006049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331005917, 1331006042, 1331005973, 1331005979, 1331005921, 1331006049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.85195255279541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:54:02.991934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/40/image_24012025_09_40_02_236488_0003.jpg', '/home/pi/Desktop/images/24012025/09/41/image_24012025_09_41_02_797529_0000.jpg', '/home/pi/Desktop/images/24012025/09/41/image_24012025_09_41_02_797529_0001.jpg', '/home/pi/Desktop/images/24012025/09/41/image_24012025_09_41_02_797529_0002.jpg', '/home/pi/Desktop/images/24012025/09/41/image_24012025_09_41_02_797529_0003.jpg', '/home/pi/Desktop/images/24012025/09/42/image_24012025_09_42_02_318373_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/40/image_24012025_09_40_02_236488_0003.jpg
/home/pi/Desktop/images/24012025/09/41/image_24012025_09_41_02_797529_0000.jpg
/home/pi/Desktop/images/24012025/09/41/image_24012025_09_41_02_797529_0001.jpg
/home/pi/Desktop/images/24012025/09/41/image_24012025_09_41_02_797529_0002.jpg
/home/pi/Desktop/images/24012025/09/41/image_24012025_09_41_02_797529_0003.jpg
/home/pi/Desktop/images/24012025/09/42/image_24012025_09_42_02_318373_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331007134","1331007139","1331007202","1331007141","1331007147","1331007299"],"photo_ids_order":["1331007134","1331007139","1331007141","1331007147","1331007202","1331007299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d83fa43c5fe8475b968c7ba7a198b4bb.jpg","text":"TemporaryFile(/tmp/multipartBody6790702798175335475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708943197,"filename":"image_24012025_09_40_02_236488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/88905d5b01a58d5363b147945dc522b2.jpg","text":"TemporaryFile(/tmp/multipartBody1823035583586837191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708943197,"filename":"image_24012025_09_41_02_797529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9ae09483fa0e64836f91daf613173e41.jpg","text":"TemporaryFile(/tmp/multipartBody5370892760315609977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708943197,"filename":"image_24012025_09_41_02_797529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/658bf9786f3f118a68273225269e4bcc.jpg","text":"TemporaryFile(/tmp/multipartBody652289352769577970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708943197,"filename":"image_24012025_09_41_02_797529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d99c031824d75cb0fda665f01a73304.jpg","text":"TemporaryFile(/tmp/multipartBody1815724477059944786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708943197,"filename":"image_24012025_09_41_02_797529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0480656b034f686a44e84de3b4452e0b.jpg","text":"TemporaryFile(/tmp/multipartBody8863616716647666265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737708943197,"filename":"image_24012025_09_42_02_318373_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331007141","file1":"1331007139","file0":"1331007134","file4":"1331007202","file5":"1331007299","file3":"1331007147"},"map_files_photo_id_array":[{"photo_id":"1331007299","filename":"file5"},{"photo_id":"1331007141","filename":"file2"},{"photo_id":"1331007202","filename":"file4"},{"photo_id":"1331007139","filename":"file1"},{"photo_id":"1331007134","filename":"file0"},{"photo_id":"1331007147","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331007134":["hashtag1","hashtag2"]},{"1331007139":["hashtag1","hashtag2"]},{"1331007202":["hashtag1","hashtag2"]},{"1331007141":["hashtag1","hashtag2"]},{"1331007147":["hashtag1","hashtag2"]},{"1331007299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331007134, 1331007139, 1331007202, 1331007141, 1331007147, 1331007299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.99371933937073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:56:03.242918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/42/image_24012025_09_42_02_318373_0001.jpg', '/home/pi/Desktop/images/24012025/09/42/image_24012025_09_42_02_318373_0002.jpg', '/home/pi/Desktop/images/24012025/09/42/image_24012025_09_42_02_318373_0003.jpg', '/home/pi/Desktop/images/24012025/09/43/image_24012025_09_43_02_849815_0000.jpg', '/home/pi/Desktop/images/24012025/09/43/image_24012025_09_43_02_849815_0001.jpg', '/home/pi/Desktop/images/24012025/09/43/image_24012025_09_43_02_849815_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/42/image_24012025_09_42_02_318373_0001.jpg
/home/pi/Desktop/images/24012025/09/42/image_24012025_09_42_02_318373_0002.jpg
/home/pi/Desktop/images/24012025/09/42/image_24012025_09_42_02_318373_0003.jpg
/home/pi/Desktop/images/24012025/09/43/image_24012025_09_43_02_849815_0000.jpg
/home/pi/Desktop/images/24012025/09/43/image_24012025_09_43_02_849815_0001.jpg
/home/pi/Desktop/images/24012025/09/43/image_24012025_09_43_02_849815_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331007584","1331007598","1331007580","1331007588","1331007573","1331007603"],"photo_ids_order":["1331007573","1331007580","1331007584","1331007588","1331007598","1331007603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/82fcfc80f663e604f9692229af57a7cf.jpg","text":"TemporaryFile(/tmp/multipartBody3085071600491822564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709061375,"filename":"image_24012025_09_42_02_318373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c21ada64d6f6d9778270c113c98e2ac.jpg","text":"TemporaryFile(/tmp/multipartBody6779480116591441804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709061375,"filename":"image_24012025_09_43_02_849815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7046316ed74a88db9c3ece7e73d0477a.jpg","text":"TemporaryFile(/tmp/multipartBody88079891483708942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709061375,"filename":"image_24012025_09_42_02_318373_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b378a16663f87d563676906bc9209b2.jpg","text":"TemporaryFile(/tmp/multipartBody6498790226006472220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709061375,"filename":"image_24012025_09_43_02_849815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6545dda51ca591c9fd0bb3d500969cd5.jpg","text":"TemporaryFile(/tmp/multipartBody1098511411618986258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709061375,"filename":"image_24012025_09_42_02_318373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee658e4436c791224dc4a41248f549a8.jpg","text":"TemporaryFile(/tmp/multipartBody1028356331889789538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709061375,"filename":"image_24012025_09_43_02_849815_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331007584","file1":"1331007580","file0":"1331007573","file4":"1331007598","file5":"1331007603","file3":"1331007588"},"map_files_photo_id_array":[{"photo_id":"1331007603","filename":"file5"},{"photo_id":"1331007584","filename":"file2"},{"photo_id":"1331007598","filename":"file4"},{"photo_id":"1331007580","filename":"file1"},{"photo_id":"1331007573","filename":"file0"},{"photo_id":"1331007588","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331007584":["hashtag1","hashtag2"]},{"1331007598":["hashtag1","hashtag2"]},{"1331007580":["hashtag1","hashtag2"]},{"1331007588":["hashtag1","hashtag2"]},{"1331007573":["hashtag1","hashtag2"]},{"1331007603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331007584, 1331007598, 1331007580, 1331007588, 1331007573, 1331007603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.41467499732971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 09:59:02.773715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/43/image_24012025_09_43_02_849815_0003.jpg', '/home/pi/Desktop/images/24012025/09/44/image_24012025_09_44_02_316885_0000.jpg', '/home/pi/Desktop/images/24012025/09/44/image_24012025_09_44_02_316885_0001.jpg', '/home/pi/Desktop/images/24012025/09/44/image_24012025_09_44_02_316885_0002.jpg', '/home/pi/Desktop/images/24012025/09/44/image_24012025_09_44_02_316885_0003.jpg', '/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/43/image_24012025_09_43_02_849815_0003.jpg
/home/pi/Desktop/images/24012025/09/44/image_24012025_09_44_02_316885_0000.jpg
/home/pi/Desktop/images/24012025/09/44/image_24012025_09_44_02_316885_0001.jpg
/home/pi/Desktop/images/24012025/09/44/image_24012025_09_44_02_316885_0002.jpg
/home/pi/Desktop/images/24012025/09/44/image_24012025_09_44_02_316885_0003.jpg
/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331008903","1331008831","1331008842","1331008620","1331008943","1331008688"],"photo_ids_order":["1331008620","1331008688","1331008831","1331008842","1331008903","1331008943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a686341521953a04801061726ec4b7ec.jpg","text":"TemporaryFile(/tmp/multipartBody1500944459267518526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709238788,"filename":"image_24012025_09_44_02_316885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2142a3551e80a5ad7e17b1019520db5d.jpg","text":"TemporaryFile(/tmp/multipartBody4306749826484368577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709238788,"filename":"image_24012025_09_44_02_316885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/371d174fd7780729b99dd21df8624dae.jpg","text":"TemporaryFile(/tmp/multipartBody4990044495951632965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709238788,"filename":"image_24012025_09_44_02_316885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed6db10e034729842e1859e7d12d5cf4.jpg","text":"TemporaryFile(/tmp/multipartBody7081136531858674044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709238788,"filename":"image_24012025_09_43_02_849815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a5a7b54679a629356ffcd6bc740258f6.jpg","text":"TemporaryFile(/tmp/multipartBody6226846582284332078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709238788,"filename":"image_24012025_09_45_02_891840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30462586c21c2508c38a76861ceee5f6.jpg","text":"TemporaryFile(/tmp/multipartBody6349755108532434323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709238788,"filename":"image_24012025_09_44_02_316885_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331008831","file1":"1331008688","file0":"1331008620","file4":"1331008903","file5":"1331008943","file3":"1331008842"},"map_files_photo_id_array":[{"photo_id":"1331008943","filename":"file5"},{"photo_id":"1331008831","filename":"file2"},{"photo_id":"1331008903","filename":"file4"},{"photo_id":"1331008688","filename":"file1"},{"photo_id":"1331008620","filename":"file0"},{"photo_id":"1331008842","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331008903":["hashtag1","hashtag2"]},{"1331008831":["hashtag1","hashtag2"]},{"1331008842":["hashtag1","hashtag2"]},{"1331008620":["hashtag1","hashtag2"]},{"1331008943":["hashtag1","hashtag2"]},{"1331008688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331008903, 1331008831, 1331008842, 1331008620, 1331008943, 1331008688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.81036376953125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 10:00:42.305891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0001.jpg', '/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0002.jpg', '/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0003.jpg', '/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0000.jpg', '/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0001.jpg', '/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0001.jpg
/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0002.jpg
/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0003.jpg
/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0000.jpg
/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0001.jpg
/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0002.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 51.55987596511841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 10:01:42.476383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0001.jpg', '/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0002.jpg', '/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0003.jpg', '/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0000.jpg', '/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0001.jpg', '/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0001.jpg
/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0002.jpg
/home/pi/Desktop/images/24012025/09/45/image_24012025_09_45_02_891840_0003.jpg
/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0000.jpg
/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0001.jpg
/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331009053","1331009064","1331009058","1331009048","1331009111","1331009092"],"photo_ids_order":["1331009048","1331009053","1331009058","1331009064","1331009092","1331009111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0374a28636d4cadd8bd28c1b97a4fcec.jpg","text":"TemporaryFile(/tmp/multipartBody2160434930064213948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709417314,"filename":"image_24012025_09_45_02_891840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9e7b015ebcf5ec3dee409db49c8553cb.jpg","text":"TemporaryFile(/tmp/multipartBody8612789722852474087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709417314,"filename":"image_24012025_09_46_02_411828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8329b2f1b3884d75feac0f8f8449f69a.jpg","text":"TemporaryFile(/tmp/multipartBody4862879101595134371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709417314,"filename":"image_24012025_09_45_02_891840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/52bd83113596ee190bae03bcd20a565b.jpg","text":"TemporaryFile(/tmp/multipartBody2800699909236540780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709417314,"filename":"image_24012025_09_45_02_891840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bae1f67aaa7ebec513d7ccd74769da0a.jpg","text":"TemporaryFile(/tmp/multipartBody1820440212974488369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709417314,"filename":"image_24012025_09_46_02_411828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f7cf9ede1f5296c9beef8cd322847097.jpg","text":"TemporaryFile(/tmp/multipartBody6035271599970419645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709417314,"filename":"image_24012025_09_46_02_411828_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331009058","file1":"1331009053","file0":"1331009048","file4":"1331009092","file5":"1331009111","file3":"1331009064"},"map_files_photo_id_array":[{"photo_id":"1331009111","filename":"file5"},{"photo_id":"1331009058","filename":"file2"},{"photo_id":"1331009092","filename":"file4"},{"photo_id":"1331009053","filename":"file1"},{"photo_id":"1331009048","filename":"file0"},{"photo_id":"1331009064","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331009053":["hashtag1","hashtag2"]},{"1331009064":["hashtag1","hashtag2"]},{"1331009058":["hashtag1","hashtag2"]},{"1331009048":["hashtag1","hashtag2"]},{"1331009111":["hashtag1","hashtag2"]},{"1331009092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331009053, 1331009064, 1331009058, 1331009048, 1331009111, 1331009092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.98747682571411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 10:03:31.857862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0003.jpg', '/home/pi/Desktop/images/24012025/09/47/image_24012025_09_47_02_965364_0000.jpg', '/home/pi/Desktop/images/24012025/09/47/image_24012025_09_47_02_965364_0001.jpg', '/home/pi/Desktop/images/24012025/09/47/image_24012025_09_47_02_965364_0002.jpg', '/home/pi/Desktop/images/24012025/09/47/image_24012025_09_47_02_965364_0003.jpg', '/home/pi/Desktop/images/24012025/09/48/image_24012025_09_48_02_472020_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/46/image_24012025_09_46_02_411828_0003.jpg
/home/pi/Desktop/images/24012025/09/47/image_24012025_09_47_02_965364_0000.jpg
/home/pi/Desktop/images/24012025/09/47/image_24012025_09_47_02_965364_0001.jpg
/home/pi/Desktop/images/24012025/09/47/image_24012025_09_47_02_965364_0002.jpg
/home/pi/Desktop/images/24012025/09/47/image_24012025_09_47_02_965364_0003.jpg
/home/pi/Desktop/images/24012025/09/48/image_24012025_09_48_02_472020_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331010133","1331010061","1331010433","1331010435","1331010377","1331010428"],"photo_ids_order":["1331010061","1331010133","1331010377","1331010428","1331010433","1331010435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0bfd4e8c3fbfc1117a788e96feed791c.jpg","text":"TemporaryFile(/tmp/multipartBody6788953021027300879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709522829,"filename":"image_24012025_09_47_02_965364_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/121b6a378af831f4c31cb0172c08d21e.jpg","text":"TemporaryFile(/tmp/multipartBody2126148603055163538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709522829,"filename":"image_24012025_09_46_02_411828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5a88ea23238e583028cfec0e6f6af30.jpg","text":"TemporaryFile(/tmp/multipartBody4789152083004915559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709522829,"filename":"image_24012025_09_47_02_965364_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f8f9ad78c3b56dd4c66ab4425b62d4c3.jpg","text":"TemporaryFile(/tmp/multipartBody587419696105781134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709522829,"filename":"image_24012025_09_48_02_472020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/441e9e7cdef9b2cb0f19f470c1dd141c.jpg","text":"TemporaryFile(/tmp/multipartBody5585449045842315367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709522829,"filename":"image_24012025_09_47_02_965364_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a726410f92f1555ffaf874db40afff79.jpg","text":"TemporaryFile(/tmp/multipartBody9143027142964072593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709522829,"filename":"image_24012025_09_47_02_965364_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331010377","file1":"1331010133","file0":"1331010061","file4":"1331010433","file5":"1331010435","file3":"1331010428"},"map_files_photo_id_array":[{"photo_id":"1331010435","filename":"file5"},{"photo_id":"1331010377","filename":"file2"},{"photo_id":"1331010433","filename":"file4"},{"photo_id":"1331010133","filename":"file1"},{"photo_id":"1331010061","filename":"file0"},{"photo_id":"1331010428","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331010133":["hashtag1","hashtag2"]},{"1331010061":["hashtag1","hashtag2"]},{"1331010433":["hashtag1","hashtag2"]},{"1331010435":["hashtag1","hashtag2"]},{"1331010377":["hashtag1","hashtag2"]},{"1331010428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331010133, 1331010061, 1331010433, 1331010435, 1331010377, 1331010428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.22765827178955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 10:05:22.263259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/48/image_24012025_09_48_02_472020_0001.jpg', '/home/pi/Desktop/images/24012025/09/48/image_24012025_09_48_02_472020_0002.jpg', '/home/pi/Desktop/images/24012025/09/48/image_24012025_09_48_02_472020_0003.jpg', '/home/pi/Desktop/images/24012025/09/49/image_24012025_09_49_02_981719_0000.jpg', '/home/pi/Desktop/images/24012025/09/49/image_24012025_09_49_02_981719_0001.jpg', '/home/pi/Desktop/images/24012025/09/49/image_24012025_09_49_02_981719_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/48/image_24012025_09_48_02_472020_0001.jpg
/home/pi/Desktop/images/24012025/09/48/image_24012025_09_48_02_472020_0002.jpg
/home/pi/Desktop/images/24012025/09/48/image_24012025_09_48_02_472020_0003.jpg
/home/pi/Desktop/images/24012025/09/49/image_24012025_09_49_02_981719_0000.jpg
/home/pi/Desktop/images/24012025/09/49/image_24012025_09_49_02_981719_0001.jpg
/home/pi/Desktop/images/24012025/09/49/image_24012025_09_49_02_981719_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331011609","1331011618","1331011464","1331011529","1331011433","1331011579"],"photo_ids_order":["1331011433","1331011464","1331011529","1331011579","1331011609","1331011618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ef708dab4dfbe8fd826099f48f6543f.jpg","text":"TemporaryFile(/tmp/multipartBody228652656854257030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709631550,"filename":"image_24012025_09_49_02_981719_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc7f554856fb29740ee126a2cd358d37.jpg","text":"TemporaryFile(/tmp/multipartBody8807207979415345477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709631550,"filename":"image_24012025_09_49_02_981719_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/07c21f6d5458e46aa045b020cd4de7b9.jpg","text":"TemporaryFile(/tmp/multipartBody363653673377571790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709631550,"filename":"image_24012025_09_48_02_472020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/46f710106f595867cc8ed450a892baee.jpg","text":"TemporaryFile(/tmp/multipartBody2400748567590701318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709631550,"filename":"image_24012025_09_48_02_472020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf735b8e79e0052ae5b43eded0af0477.jpg","text":"TemporaryFile(/tmp/multipartBody8776854692873826811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709631550,"filename":"image_24012025_09_48_02_472020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7b84cd861eacdb594c496a409b41610.jpg","text":"TemporaryFile(/tmp/multipartBody2708599114272441223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709631550,"filename":"image_24012025_09_49_02_981719_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331011529","file1":"1331011464","file0":"1331011433","file4":"1331011609","file5":"1331011618","file3":"1331011579"},"map_files_photo_id_array":[{"photo_id":"1331011618","filename":"file5"},{"photo_id":"1331011529","filename":"file2"},{"photo_id":"1331011609","filename":"file4"},{"photo_id":"1331011464","filename":"file1"},{"photo_id":"1331011433","filename":"file0"},{"photo_id":"1331011579","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331011609":["hashtag1","hashtag2"]},{"1331011618":["hashtag1","hashtag2"]},{"1331011464":["hashtag1","hashtag2"]},{"1331011529":["hashtag1","hashtag2"]},{"1331011433":["hashtag1","hashtag2"]},{"1331011579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331011609, 1331011618, 1331011464, 1331011529, 1331011433, 1331011579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.48987936973572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 10:07:22.649396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/49/image_24012025_09_49_02_981719_0003.jpg', '/home/pi/Desktop/images/24012025/09/50/image_24012025_09_50_02_476423_0000.jpg', '/home/pi/Desktop/images/24012025/09/50/image_24012025_09_50_02_476423_0001.jpg', '/home/pi/Desktop/images/24012025/09/50/image_24012025_09_50_02_476423_0002.jpg', '/home/pi/Desktop/images/24012025/09/50/image_24012025_09_50_02_476423_0003.jpg', '/home/pi/Desktop/images/24012025/09/51/image_24012025_09_51_02_886966_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/49/image_24012025_09_49_02_981719_0003.jpg
/home/pi/Desktop/images/24012025/09/50/image_24012025_09_50_02_476423_0000.jpg
/home/pi/Desktop/images/24012025/09/50/image_24012025_09_50_02_476423_0001.jpg
/home/pi/Desktop/images/24012025/09/50/image_24012025_09_50_02_476423_0002.jpg
/home/pi/Desktop/images/24012025/09/50/image_24012025_09_50_02_476423_0003.jpg
/home/pi/Desktop/images/24012025/09/51/image_24012025_09_51_02_886966_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331012005","1331012142","1331011995","1331012124","1331012013","1331011972"],"photo_ids_order":["1331011972","1331011995","1331012005","1331012013","1331012124","1331012142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0d51c14fb72e7371b8d73c437307202.jpg","text":"TemporaryFile(/tmp/multipartBody6676951567921675856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709742352,"filename":"image_24012025_09_50_02_476423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a96590d4230593e95f84a5f8a16025d4.jpg","text":"TemporaryFile(/tmp/multipartBody4254500665749781299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709742352,"filename":"image_24012025_09_51_02_886966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aee7a042e0e66bfafc21b328ee24067a.jpg","text":"TemporaryFile(/tmp/multipartBody3407630110696475312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709742352,"filename":"image_24012025_09_50_02_476423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c41e22db32fabf800c7465d371f690d0.jpg","text":"TemporaryFile(/tmp/multipartBody6419391548180128461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709742352,"filename":"image_24012025_09_50_02_476423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d3316d5aae05dbb4174407525c06bce9.jpg","text":"TemporaryFile(/tmp/multipartBody7747474156683806753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709742352,"filename":"image_24012025_09_50_02_476423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/175bbba80c6e6884a7de4b58f4b3a188.jpg","text":"TemporaryFile(/tmp/multipartBody3953029999654588047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709742352,"filename":"image_24012025_09_49_02_981719_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331012005","file1":"1331011995","file0":"1331011972","file4":"1331012124","file5":"1331012142","file3":"1331012013"},"map_files_photo_id_array":[{"photo_id":"1331012142","filename":"file5"},{"photo_id":"1331012005","filename":"file2"},{"photo_id":"1331012124","filename":"file4"},{"photo_id":"1331011995","filename":"file1"},{"photo_id":"1331011972","filename":"file0"},{"photo_id":"1331012013","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331012005":["hashtag1","hashtag2"]},{"1331012142":["hashtag1","hashtag2"]},{"1331011995":["hashtag1","hashtag2"]},{"1331012124":["hashtag1","hashtag2"]},{"1331012013":["hashtag1","hashtag2"]},{"1331011972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331012005, 1331012142, 1331011995, 1331012124, 1331012013, 1331011972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 128.1972417831421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 10:09:31.874677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/51/image_24012025_09_51_02_886966_0001.jpg', '/home/pi/Desktop/images/24012025/09/51/image_24012025_09_51_02_886966_0002.jpg', '/home/pi/Desktop/images/24012025/09/51/image_24012025_09_51_02_886966_0003.jpg', '/home/pi/Desktop/images/24012025/09/52/image_24012025_09_52_02_384045_0000.jpg', '/home/pi/Desktop/images/24012025/09/52/image_24012025_09_52_02_384045_0001.jpg', '/home/pi/Desktop/images/24012025/09/52/image_24012025_09_52_02_384045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/51/image_24012025_09_51_02_886966_0001.jpg
/home/pi/Desktop/images/24012025/09/51/image_24012025_09_51_02_886966_0002.jpg
/home/pi/Desktop/images/24012025/09/51/image_24012025_09_51_02_886966_0003.jpg
/home/pi/Desktop/images/24012025/09/52/image_24012025_09_52_02_384045_0000.jpg
/home/pi/Desktop/images/24012025/09/52/image_24012025_09_52_02_384045_0001.jpg
/home/pi/Desktop/images/24012025/09/52/image_24012025_09_52_02_384045_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331012184","1331012198","1331012217","1331012225","1331012179","1331012230"],"photo_ids_order":["1331012179","1331012184","1331012198","1331012217","1331012225","1331012230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a9ae29598079ca22717f3b267125d4cc.jpg","text":"TemporaryFile(/tmp/multipartBody4617842515847208420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709879728,"filename":"image_24012025_09_51_02_886966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b3afb3b8d304c27fab126fe03fbf0185.jpg","text":"TemporaryFile(/tmp/multipartBody6592820786881103499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709879728,"filename":"image_24012025_09_51_02_886966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b247040e03c9597c4857a9ba85668583.jpg","text":"TemporaryFile(/tmp/multipartBody5506969915177921212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709879728,"filename":"image_24012025_09_52_02_384045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0fa735529ac5e867b2bf0975607df03.jpg","text":"TemporaryFile(/tmp/multipartBody7839341953754532894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709879728,"filename":"image_24012025_09_52_02_384045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10237296887e3c05e07bd056d33b6aff.jpg","text":"TemporaryFile(/tmp/multipartBody8658852748905186991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709879728,"filename":"image_24012025_09_51_02_886966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a6b95467d1ad969954297db9c8b7e4cd.jpg","text":"TemporaryFile(/tmp/multipartBody4466405363798081972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709879728,"filename":"image_24012025_09_52_02_384045_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331012198","file1":"1331012184","file0":"1331012179","file4":"1331012225","file5":"1331012230","file3":"1331012217"},"map_files_photo_id_array":[{"photo_id":"1331012230","filename":"file5"},{"photo_id":"1331012198","filename":"file2"},{"photo_id":"1331012225","filename":"file4"},{"photo_id":"1331012184","filename":"file1"},{"photo_id":"1331012179","filename":"file0"},{"photo_id":"1331012217","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331012184":["hashtag1","hashtag2"]},{"1331012198":["hashtag1","hashtag2"]},{"1331012217":["hashtag1","hashtag2"]},{"1331012225":["hashtag1","hashtag2"]},{"1331012179":["hashtag1","hashtag2"]},{"1331012230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331012184, 1331012198, 1331012217, 1331012225, 1331012179, 1331012230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.19348311424255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 10:11:22.388730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/52/image_24012025_09_52_02_384045_0003.jpg', '/home/pi/Desktop/images/24012025/09/53/image_24012025_09_53_02_961387_0000.jpg', '/home/pi/Desktop/images/24012025/09/53/image_24012025_09_53_02_961387_0001.jpg', '/home/pi/Desktop/images/24012025/09/53/image_24012025_09_53_02_961387_0002.jpg', '/home/pi/Desktop/images/24012025/09/53/image_24012025_09_53_02_961387_0003.jpg', '/home/pi/Desktop/images/24012025/09/54/image_24012025_09_54_02_509697_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/52/image_24012025_09_52_02_384045_0003.jpg
/home/pi/Desktop/images/24012025/09/53/image_24012025_09_53_02_961387_0000.jpg
/home/pi/Desktop/images/24012025/09/53/image_24012025_09_53_02_961387_0001.jpg
/home/pi/Desktop/images/24012025/09/53/image_24012025_09_53_02_961387_0002.jpg
/home/pi/Desktop/images/24012025/09/53/image_24012025_09_53_02_961387_0003.jpg
/home/pi/Desktop/images/24012025/09/54/image_24012025_09_54_02_509697_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331012319","1331012409","1331012327","1331012414","1331012303","1331012311"],"photo_ids_order":["1331012303","1331012311","1331012319","1331012327","1331012409","1331012414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8ed2029ee1a6aec1c92cc1dcf043139.jpg","text":"TemporaryFile(/tmp/multipartBody8785046455366469791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709984063,"filename":"image_24012025_09_53_02_961387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdad4846820c22937b020b62f1a8c865.jpg","text":"TemporaryFile(/tmp/multipartBody7749454664338972189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709984063,"filename":"image_24012025_09_53_02_961387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f51e5307e34f75b4b011ea7c3cf4b450.jpg","text":"TemporaryFile(/tmp/multipartBody6840991906784554931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709984063,"filename":"image_24012025_09_53_02_961387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/259cfe794a0fec9485fe285584c552c4.jpg","text":"TemporaryFile(/tmp/multipartBody7590291033067348182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709984063,"filename":"image_24012025_09_54_02_509697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8dfa6462196dcc683d3180e06b6edb12.jpg","text":"TemporaryFile(/tmp/multipartBody5668789101833667966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709984063,"filename":"image_24012025_09_52_02_384045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8c327757d6c2054cdeab5d8b6a4481f.jpg","text":"TemporaryFile(/tmp/multipartBody6299727713640791483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737709984063,"filename":"image_24012025_09_53_02_961387_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331012319","file1":"1331012311","file0":"1331012303","file4":"1331012409","file5":"1331012414","file3":"1331012327"},"map_files_photo_id_array":[{"photo_id":"1331012414","filename":"file5"},{"photo_id":"1331012319","filename":"file2"},{"photo_id":"1331012409","filename":"file4"},{"photo_id":"1331012311","filename":"file1"},{"photo_id":"1331012303","filename":"file0"},{"photo_id":"1331012327","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331012319":["hashtag1","hashtag2"]},{"1331012409":["hashtag1","hashtag2"]},{"1331012327":["hashtag1","hashtag2"]},{"1331012414":["hashtag1","hashtag2"]},{"1331012303":["hashtag1","hashtag2"]},{"1331012311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331012319, 1331012409, 1331012327, 1331012414, 1331012303, 1331012311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.73015975952148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 10:13:03.412281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/54/image_24012025_09_54_02_509697_0001.jpg', '/home/pi/Desktop/images/24012025/09/54/image_24012025_09_54_02_509697_0002.jpg', '/home/pi/Desktop/images/24012025/09/54/image_24012025_09_54_02_509697_0003.jpg', '/home/pi/Desktop/images/24012025/09/55/image_24012025_09_55_03_114690_0000.jpg', '/home/pi/Desktop/images/24012025/09/55/image_24012025_09_55_03_114690_0001.jpg', '/home/pi/Desktop/images/24012025/09/55/image_24012025_09_55_03_114690_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/54/image_24012025_09_54_02_509697_0001.jpg
/home/pi/Desktop/images/24012025/09/54/image_24012025_09_54_02_509697_0002.jpg
/home/pi/Desktop/images/24012025/09/54/image_24012025_09_54_02_509697_0003.jpg
/home/pi/Desktop/images/24012025/09/55/image_24012025_09_55_03_114690_0000.jpg
/home/pi/Desktop/images/24012025/09/55/image_24012025_09_55_03_114690_0001.jpg
/home/pi/Desktop/images/24012025/09/55/image_24012025_09_55_03_114690_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331012463","1331012666","1331012453","1331012606","1331012510","1331012458"],"photo_ids_order":["1331012453","1331012458","1331012463","1331012510","1331012606","1331012666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7b1c2d2640dd668df483cbffc212784d.jpg","text":"TemporaryFile(/tmp/multipartBody5417609753015870105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710075967,"filename":"image_24012025_09_54_02_509697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/13f7502289b80f6ab63fe9433851f5a2.jpg","text":"TemporaryFile(/tmp/multipartBody1062851020875168672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710075967,"filename":"image_24012025_09_55_03_114690_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c28a5750c0c2a70df43b0093e495766.jpg","text":"TemporaryFile(/tmp/multipartBody558833306542405309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710075967,"filename":"image_24012025_09_54_02_509697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b26eaeb383080f1c9eb7be83be190858.jpg","text":"TemporaryFile(/tmp/multipartBody8839101972620549430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710075967,"filename":"image_24012025_09_55_03_114690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/86c3a85647fd05e6f4ce542857793ac4.jpg","text":"TemporaryFile(/tmp/multipartBody4869145828426731992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710075967,"filename":"image_24012025_09_55_03_114690_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/11c9b18521f82baead009a3a74c262e8.jpg","text":"TemporaryFile(/tmp/multipartBody3567689456919912845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710075967,"filename":"image_24012025_09_54_02_509697_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331012463","file1":"1331012458","file0":"1331012453","file4":"1331012606","file5":"1331012666","file3":"1331012510"},"map_files_photo_id_array":[{"photo_id":"1331012666","filename":"file5"},{"photo_id":"1331012463","filename":"file2"},{"photo_id":"1331012606","filename":"file4"},{"photo_id":"1331012458","filename":"file1"},{"photo_id":"1331012453","filename":"file0"},{"photo_id":"1331012510","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331012463":["hashtag1","hashtag2"]},{"1331012666":["hashtag1","hashtag2"]},{"1331012453":["hashtag1","hashtag2"]},{"1331012606":["hashtag1","hashtag2"]},{"1331012510":["hashtag1","hashtag2"]},{"1331012458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331012463, 1331012666, 1331012453, 1331012606, 1331012510, 1331012458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.94703674316406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 10:14:41.895581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/55/image_24012025_09_55_03_114690_0003.jpg', '/home/pi/Desktop/images/24012025/09/56/image_24012025_09_56_02_621517_0000.jpg', '/home/pi/Desktop/images/24012025/09/56/image_24012025_09_56_02_621517_0001.jpg', '/home/pi/Desktop/images/24012025/09/56/image_24012025_09_56_02_621517_0002.jpg', '/home/pi/Desktop/images/24012025/09/56/image_24012025_09_56_02_621517_0003.jpg', '/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/55/image_24012025_09_55_03_114690_0003.jpg
/home/pi/Desktop/images/24012025/09/56/image_24012025_09_56_02_621517_0000.jpg
/home/pi/Desktop/images/24012025/09/56/image_24012025_09_56_02_621517_0001.jpg
/home/pi/Desktop/images/24012025/09/56/image_24012025_09_56_02_621517_0002.jpg
/home/pi/Desktop/images/24012025/09/56/image_24012025_09_56_02_621517_0003.jpg
/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331013392","1331013102","1331013614","1331013289","1331013217","1331013483"],"photo_ids_order":["1331013102","1331013217","1331013289","1331013392","1331013483","1331013614"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c66cf5e725a6488dc402b27e481ec552.jpg","text":"TemporaryFile(/tmp/multipartBody6651702566388919230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710172996,"filename":"image_24012025_09_56_02_621517_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/60f4691dd54a7beffbc6944600e38da8.jpg","text":"TemporaryFile(/tmp/multipartBody495385149312884242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710172996,"filename":"image_24012025_09_55_03_114690_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2529ff25ce52e28dc9e7e6977fe6336a.jpg","text":"TemporaryFile(/tmp/multipartBody8542686429738868040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710172996,"filename":"image_24012025_09_57_03_133837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4a00f4c1a85c262a1e7cc1d7c4ff9aee.jpg","text":"TemporaryFile(/tmp/multipartBody6506997698780827965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710172996,"filename":"image_24012025_09_56_02_621517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad1ac386d92874322bda7dc9503b7d16.jpg","text":"TemporaryFile(/tmp/multipartBody2465367647907918552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710172996,"filename":"image_24012025_09_56_02_621517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45f623a93b7de9f568b8db203b0af0b5.jpg","text":"TemporaryFile(/tmp/multipartBody1565763756395552065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710172996,"filename":"image_24012025_09_56_02_621517_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331013289","file1":"1331013217","file0":"1331013102","file4":"1331013483","file5":"1331013614","file3":"1331013392"},"map_files_photo_id_array":[{"photo_id":"1331013614","filename":"file5"},{"photo_id":"1331013289","filename":"file2"},{"photo_id":"1331013483","filename":"file4"},{"photo_id":"1331013217","filename":"file1"},{"photo_id":"1331013102","filename":"file0"},{"photo_id":"1331013392","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331013392":["hashtag1","hashtag2"]},{"1331013102":["hashtag1","hashtag2"]},{"1331013614":["hashtag1","hashtag2"]},{"1331013289":["hashtag1","hashtag2"]},{"1331013217":["hashtag1","hashtag2"]},{"1331013483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331013392, 1331013102, 1331013614, 1331013289, 1331013217, 1331013483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.57564926147461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 10:16:22.340533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0001.jpg', '/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0002.jpg', '/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0003.jpg', '/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0000.jpg', '/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0001.jpg', '/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0001.jpg
/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0002.jpg
/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0003.jpg
/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0000.jpg
/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0001.jpg
/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 35.39131498336792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 10:17:03.166972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0001.jpg', '/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0002.jpg', '/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0003.jpg', '/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0000.jpg', '/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0001.jpg', '/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0001.jpg
/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0002.jpg
/home/pi/Desktop/images/24012025/09/57/image_24012025_09_57_03_133837_0003.jpg
/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0000.jpg
/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0001.jpg
/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331014484","1331014286","1331014559","1331014591","1331014303","1331014395"],"photo_ids_order":["1331014286","1331014303","1331014395","1331014484","1331014559","1331014591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/edf6bb2c29312127e9dbf7468492593c.jpg","text":"TemporaryFile(/tmp/multipartBody5988409473948186778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710316986,"filename":"image_24012025_09_58_02_706986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/76541922a7c7af9e85018d5da9cf61f3.jpg","text":"TemporaryFile(/tmp/multipartBody6383534570434908233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710316986,"filename":"image_24012025_09_57_03_133837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/82fd0a5bcb10acba8ef3c6518f957fca.jpg","text":"TemporaryFile(/tmp/multipartBody7997664355279181641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710316986,"filename":"image_24012025_09_58_02_706986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4067c6272ffefc226857f4fb914352b5.jpg","text":"TemporaryFile(/tmp/multipartBody6443198705476129840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710316986,"filename":"image_24012025_09_58_02_706986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7a1e9262ae9d308da74e0387a2edd748.jpg","text":"TemporaryFile(/tmp/multipartBody942920032436182087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710316986,"filename":"image_24012025_09_57_03_133837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/313dff0307f8846a1791d82188380252.jpg","text":"TemporaryFile(/tmp/multipartBody4169627620149560792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710316986,"filename":"image_24012025_09_57_03_133837_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331014395","file1":"1331014303","file0":"1331014286","file4":"1331014559","file5":"1331014591","file3":"1331014484"},"map_files_photo_id_array":[{"photo_id":"1331014591","filename":"file5"},{"photo_id":"1331014395","filename":"file2"},{"photo_id":"1331014559","filename":"file4"},{"photo_id":"1331014303","filename":"file1"},{"photo_id":"1331014286","filename":"file0"},{"photo_id":"1331014484","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331014484":["hashtag1","hashtag2"]},{"1331014286":["hashtag1","hashtag2"]},{"1331014559":["hashtag1","hashtag2"]},{"1331014591":["hashtag1","hashtag2"]},{"1331014303":["hashtag1","hashtag2"]},{"1331014395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331014484, 1331014286, 1331014559, 1331014591, 1331014303, 1331014395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.7657380104065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 10:18:42.748662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0003.jpg', '/home/pi/Desktop/images/24012025/09/59/image_24012025_09_59_02_256514_0000.jpg', '/home/pi/Desktop/images/24012025/09/59/image_24012025_09_59_02_256514_0001.jpg', '/home/pi/Desktop/images/24012025/09/59/image_24012025_09_59_02_256514_0002.jpg', '/home/pi/Desktop/images/24012025/09/59/image_24012025_09_59_02_256514_0003.jpg', '/home/pi/Desktop/images/24012025/10/00/image_24012025_10_00_02_463923_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/09/58/image_24012025_09_58_02_706986_0003.jpg
/home/pi/Desktop/images/24012025/09/59/image_24012025_09_59_02_256514_0000.jpg
/home/pi/Desktop/images/24012025/09/59/image_24012025_09_59_02_256514_0001.jpg
/home/pi/Desktop/images/24012025/09/59/image_24012025_09_59_02_256514_0002.jpg
/home/pi/Desktop/images/24012025/09/59/image_24012025_09_59_02_256514_0003.jpg
/home/pi/Desktop/images/24012025/10/00/image_24012025_10_00_02_463923_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331015212","1331015041","1331015335","1331015550","1331015463","1331015139"],"photo_ids_order":["1331015041","1331015139","1331015212","1331015335","1331015463","1331015550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e789cd223dcca9fd88deeac4b171282c.jpg","text":"TemporaryFile(/tmp/multipartBody8063177768958214704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710430771,"filename":"image_24012025_09_59_02_256514_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/756a16ca417c3cfe75fff72763be151a.jpg","text":"TemporaryFile(/tmp/multipartBody2516732237460504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710430771,"filename":"image_24012025_09_58_02_706986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b423506133fa42492a8f8d034d5a13a9.jpg","text":"TemporaryFile(/tmp/multipartBody761054979213051897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710430771,"filename":"image_24012025_09_59_02_256514_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c1de5d8f5bee13bc1c1959b0ccb488df.jpg","text":"TemporaryFile(/tmp/multipartBody1896093953221862294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710430771,"filename":"image_24012025_10_00_02_463923_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b9299ce814ac8015e783678b502f81c.jpg","text":"TemporaryFile(/tmp/multipartBody486272738213757896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710430771,"filename":"image_24012025_09_59_02_256514_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/640bd3a2459940d1b31cc2f9f806f8c8.jpg","text":"TemporaryFile(/tmp/multipartBody2875205765666259461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710430771,"filename":"image_24012025_09_59_02_256514_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331015212","file1":"1331015139","file0":"1331015041","file4":"1331015463","file5":"1331015550","file3":"1331015335"},"map_files_photo_id_array":[{"photo_id":"1331015550","filename":"file5"},{"photo_id":"1331015212","filename":"file2"},{"photo_id":"1331015463","filename":"file4"},{"photo_id":"1331015139","filename":"file1"},{"photo_id":"1331015041","filename":"file0"},{"photo_id":"1331015335","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331015212":["hashtag1","hashtag2"]},{"1331015041":["hashtag1","hashtag2"]},{"1331015335":["hashtag1","hashtag2"]},{"1331015550":["hashtag1","hashtag2"]},{"1331015463":["hashtag1","hashtag2"]},{"1331015139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331015212, 1331015041, 1331015335, 1331015550, 1331015463, 1331015139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 132.56199383735657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 10:21:02.916141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/00/image_24012025_10_00_02_463923_0001.jpg', '/home/pi/Desktop/images/24012025/10/00/image_24012025_10_00_02_463923_0002.jpg', '/home/pi/Desktop/images/24012025/10/00/image_24012025_10_00_02_463923_0003.jpg', '/home/pi/Desktop/images/24012025/10/01/image_24012025_10_01_02_648938_0000.jpg', '/home/pi/Desktop/images/24012025/10/01/image_24012025_10_01_02_648938_0001.jpg', '/home/pi/Desktop/images/24012025/10/01/image_24012025_10_01_02_648938_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/00/image_24012025_10_00_02_463923_0001.jpg
/home/pi/Desktop/images/24012025/10/00/image_24012025_10_00_02_463923_0002.jpg
/home/pi/Desktop/images/24012025/10/00/image_24012025_10_00_02_463923_0003.jpg
/home/pi/Desktop/images/24012025/10/01/image_24012025_10_01_02_648938_0000.jpg
/home/pi/Desktop/images/24012025/10/01/image_24012025_10_01_02_648938_0001.jpg
/home/pi/Desktop/images/24012025/10/01/image_24012025_10_01_02_648938_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331017089","1331016427","1331016786","1331016356","1331017693","1331017387"],"photo_ids_order":["1331016356","1331016427","1331016786","1331017089","1331017387","1331017693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/062d08db106b92457f0fae596f96fb97.jpg","text":"TemporaryFile(/tmp/multipartBody8382494257357757035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710573180,"filename":"image_24012025_10_01_02_648938_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4eeaf8263ff26aec00fabcb69789370a.jpg","text":"TemporaryFile(/tmp/multipartBody7498657828053544248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710573180,"filename":"image_24012025_10_00_02_463923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/743fb8cc5aa6b465ada07511bd937574.jpg","text":"TemporaryFile(/tmp/multipartBody5016568965201427042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710573180,"filename":"image_24012025_10_00_02_463923_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7f5cd8f49a24459bba407185846c5b7.jpg","text":"TemporaryFile(/tmp/multipartBody8331898411101978651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710573180,"filename":"image_24012025_10_00_02_463923_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ce8d2dc3f9614622ebb73a6149cb7ec.jpg","text":"TemporaryFile(/tmp/multipartBody4296189962553807306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710573180,"filename":"image_24012025_10_01_02_648938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a39ea7dad3ec3f082d9efb746e8b9aa2.jpg","text":"TemporaryFile(/tmp/multipartBody5316946922541314659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710573180,"filename":"image_24012025_10_01_02_648938_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331016786","file1":"1331016427","file0":"1331016356","file4":"1331017387","file5":"1331017693","file3":"1331017089"},"map_files_photo_id_array":[{"photo_id":"1331017693","filename":"file5"},{"photo_id":"1331016786","filename":"file2"},{"photo_id":"1331017387","filename":"file4"},{"photo_id":"1331016427","filename":"file1"},{"photo_id":"1331016356","filename":"file0"},{"photo_id":"1331017089","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331017089":["hashtag1","hashtag2"]},{"1331016427":["hashtag1","hashtag2"]},{"1331016786":["hashtag1","hashtag2"]},{"1331016356":["hashtag1","hashtag2"]},{"1331017693":["hashtag1","hashtag2"]},{"1331017387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331017089, 1331016427, 1331016786, 1331016356, 1331017693, 1331017387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 114.40071296691895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 10:23:03.174900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/01/image_24012025_10_01_02_648938_0003.jpg', '/home/pi/Desktop/images/24012025/10/02/image_24012025_10_02_02_874999_0000.jpg', '/home/pi/Desktop/images/24012025/10/02/image_24012025_10_02_02_874999_0001.jpg', '/home/pi/Desktop/images/24012025/10/02/image_24012025_10_02_02_874999_0002.jpg', '/home/pi/Desktop/images/24012025/10/02/image_24012025_10_02_02_874999_0003.jpg', '/home/pi/Desktop/images/24012025/10/03/image_24012025_10_03_03_071084_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/01/image_24012025_10_01_02_648938_0003.jpg
/home/pi/Desktop/images/24012025/10/02/image_24012025_10_02_02_874999_0000.jpg
/home/pi/Desktop/images/24012025/10/02/image_24012025_10_02_02_874999_0001.jpg
/home/pi/Desktop/images/24012025/10/02/image_24012025_10_02_02_874999_0002.jpg
/home/pi/Desktop/images/24012025/10/02/image_24012025_10_02_02_874999_0003.jpg
/home/pi/Desktop/images/24012025/10/03/image_24012025_10_03_03_071084_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331018490","1331018882","1331018774","1331018432","1331018791","1331018821"],"photo_ids_order":["1331018432","1331018490","1331018774","1331018791","1331018821","1331018882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65e0a9ac779bed0f329cb7ab84abb53f.jpg","text":"TemporaryFile(/tmp/multipartBody9010398497655206688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710693052,"filename":"image_24012025_10_02_02_874999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6c123c4e0d4d42d1677c62293228070c.jpg","text":"TemporaryFile(/tmp/multipartBody1832214340751277418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710693052,"filename":"image_24012025_10_03_03_071084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/207ea733446c170991c190df28d0dbfa.jpg","text":"TemporaryFile(/tmp/multipartBody799219169899437602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710693052,"filename":"image_24012025_10_02_02_874999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2cb54636255a49533be7d543fbdc90b2.jpg","text":"TemporaryFile(/tmp/multipartBody6118061592854184604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710693052,"filename":"image_24012025_10_01_02_648938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2c021e7b95ebb4ac59d2ff6bdda7f83d.jpg","text":"TemporaryFile(/tmp/multipartBody1286042117976865098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710693052,"filename":"image_24012025_10_02_02_874999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d2858aed1527fd4e65681a544a3b735a.jpg","text":"TemporaryFile(/tmp/multipartBody8895984127044765268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710693052,"filename":"image_24012025_10_02_02_874999_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331018774","file1":"1331018490","file0":"1331018432","file4":"1331018821","file5":"1331018882","file3":"1331018791"},"map_files_photo_id_array":[{"photo_id":"1331018882","filename":"file5"},{"photo_id":"1331018774","filename":"file2"},{"photo_id":"1331018821","filename":"file4"},{"photo_id":"1331018490","filename":"file1"},{"photo_id":"1331018432","filename":"file0"},{"photo_id":"1331018791","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331018490":["hashtag1","hashtag2"]},{"1331018882":["hashtag1","hashtag2"]},{"1331018774":["hashtag1","hashtag2"]},{"1331018432":["hashtag1","hashtag2"]},{"1331018791":["hashtag1","hashtag2"]},{"1331018821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331018490, 1331018882, 1331018774, 1331018432, 1331018791, 1331018821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.44703149795532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 10:24:52.740351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/03/image_24012025_10_03_03_071084_0001.jpg', '/home/pi/Desktop/images/24012025/10/03/image_24012025_10_03_03_071084_0002.jpg', '/home/pi/Desktop/images/24012025/10/03/image_24012025_10_03_03_071084_0003.jpg', '/home/pi/Desktop/images/24012025/10/04/image_24012025_10_04_02_226815_0000.jpg', '/home/pi/Desktop/images/24012025/10/04/image_24012025_10_04_02_226815_0001.jpg', '/home/pi/Desktop/images/24012025/10/04/image_24012025_10_04_02_226815_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/03/image_24012025_10_03_03_071084_0001.jpg
/home/pi/Desktop/images/24012025/10/03/image_24012025_10_03_03_071084_0002.jpg
/home/pi/Desktop/images/24012025/10/03/image_24012025_10_03_03_071084_0003.jpg
/home/pi/Desktop/images/24012025/10/04/image_24012025_10_04_02_226815_0000.jpg
/home/pi/Desktop/images/24012025/10/04/image_24012025_10_04_02_226815_0001.jpg
/home/pi/Desktop/images/24012025/10/04/image_24012025_10_04_02_226815_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331019126","1331019092","1331019056","1331019121","1331019064","1331019078"],"photo_ids_order":["1331019056","1331019064","1331019078","1331019092","1331019121","1331019126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/705ececd7d588d21df1870de9f91f82f.jpg","text":"TemporaryFile(/tmp/multipartBody5736326494359345318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710785990,"filename":"image_24012025_10_04_02_226815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b24d3b85f6ef1b61254e4aa270b0f033.jpg","text":"TemporaryFile(/tmp/multipartBody7461451340950290731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710785990,"filename":"image_24012025_10_04_02_226815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d9702e1bcd51c85e39d755b466dcbbd1.jpg","text":"TemporaryFile(/tmp/multipartBody3055701944133365668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710785990,"filename":"image_24012025_10_03_03_071084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/93d246a0e0ad2f9f0a031a3203722c0d.jpg","text":"TemporaryFile(/tmp/multipartBody1962809717727247443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710785990,"filename":"image_24012025_10_04_02_226815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b50836c5a07e4e1f67a58ee2933db219.jpg","text":"TemporaryFile(/tmp/multipartBody4219150413896504791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710785990,"filename":"image_24012025_10_03_03_071084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5d83873b23cdab438b30ec39366f376a.jpg","text":"TemporaryFile(/tmp/multipartBody4683051833926646549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710785990,"filename":"image_24012025_10_03_03_071084_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331019078","file1":"1331019064","file0":"1331019056","file4":"1331019121","file5":"1331019126","file3":"1331019092"},"map_files_photo_id_array":[{"photo_id":"1331019126","filename":"file5"},{"photo_id":"1331019078","filename":"file2"},{"photo_id":"1331019121","filename":"file4"},{"photo_id":"1331019064","filename":"file1"},{"photo_id":"1331019056","filename":"file0"},{"photo_id":"1331019092","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331019126":["hashtag1","hashtag2"]},{"1331019092":["hashtag1","hashtag2"]},{"1331019056":["hashtag1","hashtag2"]},{"1331019121":["hashtag1","hashtag2"]},{"1331019064":["hashtag1","hashtag2"]},{"1331019078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331019126, 1331019092, 1331019056, 1331019121, 1331019064, 1331019078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.43371152877808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 10:26:22.127991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/04/image_24012025_10_04_02_226815_0003.jpg', '/home/pi/Desktop/images/24012025/10/05/image_24012025_10_05_02_375976_0000.jpg', '/home/pi/Desktop/images/24012025/10/05/image_24012025_10_05_02_375976_0001.jpg', '/home/pi/Desktop/images/24012025/10/05/image_24012025_10_05_02_375976_0002.jpg', '/home/pi/Desktop/images/24012025/10/05/image_24012025_10_05_02_375976_0003.jpg', '/home/pi/Desktop/images/24012025/10/06/image_24012025_10_06_02_574275_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/04/image_24012025_10_04_02_226815_0003.jpg
/home/pi/Desktop/images/24012025/10/05/image_24012025_10_05_02_375976_0000.jpg
/home/pi/Desktop/images/24012025/10/05/image_24012025_10_05_02_375976_0001.jpg
/home/pi/Desktop/images/24012025/10/05/image_24012025_10_05_02_375976_0002.jpg
/home/pi/Desktop/images/24012025/10/05/image_24012025_10_05_02_375976_0003.jpg
/home/pi/Desktop/images/24012025/10/06/image_24012025_10_06_02_574275_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331019360","1331019500","1331019934","1331020081","1331019795","1331019657"],"photo_ids_order":["1331019360","1331019500","1331019657","1331019795","1331019934","1331020081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0cb119c1c46c0ce31a55202d0fc6817b.jpg","text":"TemporaryFile(/tmp/multipartBody2375745725070840108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710874337,"filename":"image_24012025_10_04_02_226815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0f97ddda5ef3e72f5f6f7d55cc06d98a.jpg","text":"TemporaryFile(/tmp/multipartBody8068444936784950742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710874337,"filename":"image_24012025_10_05_02_375976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b9b97aeb146566abeafe12d85bc0366d.jpg","text":"TemporaryFile(/tmp/multipartBody4637821656616479498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710874337,"filename":"image_24012025_10_05_02_375976_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6c0969b47989801253398fb8f703159b.jpg","text":"TemporaryFile(/tmp/multipartBody5936270538587100571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710874337,"filename":"image_24012025_10_06_02_574275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7265b41fc05f3c6b98a9306a3e740cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2725170909669525999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710874337,"filename":"image_24012025_10_05_02_375976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9f4d0cf775b4bf3a8af0979f9d36ca9e.jpg","text":"TemporaryFile(/tmp/multipartBody2902479364119561152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710874337,"filename":"image_24012025_10_05_02_375976_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331019657","file1":"1331019500","file0":"1331019360","file4":"1331019934","file5":"1331020081","file3":"1331019795"},"map_files_photo_id_array":[{"photo_id":"1331020081","filename":"file5"},{"photo_id":"1331019657","filename":"file2"},{"photo_id":"1331019934","filename":"file4"},{"photo_id":"1331019500","filename":"file1"},{"photo_id":"1331019360","filename":"file0"},{"photo_id":"1331019795","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331019360":["hashtag1","hashtag2"]},{"1331019500":["hashtag1","hashtag2"]},{"1331019934":["hashtag1","hashtag2"]},{"1331020081":["hashtag1","hashtag2"]},{"1331019795":["hashtag1","hashtag2"]},{"1331019657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331019360, 1331019500, 1331019934, 1331020081, 1331019795, 1331019657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.28331279754639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 10:27:52.344305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/06/image_24012025_10_06_02_574275_0001.jpg', '/home/pi/Desktop/images/24012025/10/06/image_24012025_10_06_02_574275_0002.jpg', '/home/pi/Desktop/images/24012025/10/06/image_24012025_10_06_02_574275_0003.jpg', '/home/pi/Desktop/images/24012025/10/07/image_24012025_10_07_02_821304_0000.jpg', '/home/pi/Desktop/images/24012025/10/07/image_24012025_10_07_02_821304_0001.jpg', '/home/pi/Desktop/images/24012025/10/07/image_24012025_10_07_02_821304_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/06/image_24012025_10_06_02_574275_0001.jpg
/home/pi/Desktop/images/24012025/10/06/image_24012025_10_06_02_574275_0002.jpg
/home/pi/Desktop/images/24012025/10/06/image_24012025_10_06_02_574275_0003.jpg
/home/pi/Desktop/images/24012025/10/07/image_24012025_10_07_02_821304_0000.jpg
/home/pi/Desktop/images/24012025/10/07/image_24012025_10_07_02_821304_0001.jpg
/home/pi/Desktop/images/24012025/10/07/image_24012025_10_07_02_821304_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331020278","1331020266","1331020251","1331020413","1331020258","1331020531"],"photo_ids_order":["1331020251","1331020258","1331020266","1331020278","1331020413","1331020531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/22153015aabcda9bce8c4c7486259456.jpg","text":"TemporaryFile(/tmp/multipartBody4587494302366324335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710970138,"filename":"image_24012025_10_07_02_821304_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/218f5900e7f8c1cf17ec9af5c1169da9.jpg","text":"TemporaryFile(/tmp/multipartBody7302681106697356672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710970138,"filename":"image_24012025_10_06_02_574275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/200ce9e343f069ef00a28d113ec3a629.jpg","text":"TemporaryFile(/tmp/multipartBody5832918519301969803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710970138,"filename":"image_24012025_10_06_02_574275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae5f2cd8aea228c2da4b84838d57fb25.jpg","text":"TemporaryFile(/tmp/multipartBody7751920807948895147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710970138,"filename":"image_24012025_10_07_02_821304_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/be9af25312f52c9c4f643f9850a20c90.jpg","text":"TemporaryFile(/tmp/multipartBody9019486860815159651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710970138,"filename":"image_24012025_10_06_02_574275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f65f596604744d2b718c67d7b182c713.jpg","text":"TemporaryFile(/tmp/multipartBody5288759162219447042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737710970138,"filename":"image_24012025_10_07_02_821304_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331020266","file1":"1331020258","file0":"1331020251","file4":"1331020413","file5":"1331020531","file3":"1331020278"},"map_files_photo_id_array":[{"photo_id":"1331020531","filename":"file5"},{"photo_id":"1331020266","filename":"file2"},{"photo_id":"1331020413","filename":"file4"},{"photo_id":"1331020258","filename":"file1"},{"photo_id":"1331020251","filename":"file0"},{"photo_id":"1331020278","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331020278":["hashtag1","hashtag2"]},{"1331020266":["hashtag1","hashtag2"]},{"1331020251":["hashtag1","hashtag2"]},{"1331020413":["hashtag1","hashtag2"]},{"1331020258":["hashtag1","hashtag2"]},{"1331020531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331020278, 1331020266, 1331020251, 1331020413, 1331020258, 1331020531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.3213722705841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 10:29:32.717413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/07/image_24012025_10_07_02_821304_0003.jpg', '/home/pi/Desktop/images/24012025/10/08/image_24012025_10_08_02_948072_0000.jpg', '/home/pi/Desktop/images/24012025/10/08/image_24012025_10_08_02_948072_0001.jpg', '/home/pi/Desktop/images/24012025/10/08/image_24012025_10_08_02_948072_0002.jpg', '/home/pi/Desktop/images/24012025/10/08/image_24012025_10_08_02_948072_0003.jpg', '/home/pi/Desktop/images/24012025/10/09/image_24012025_10_09_03_179800_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/07/image_24012025_10_07_02_821304_0003.jpg
/home/pi/Desktop/images/24012025/10/08/image_24012025_10_08_02_948072_0000.jpg
/home/pi/Desktop/images/24012025/10/08/image_24012025_10_08_02_948072_0001.jpg
/home/pi/Desktop/images/24012025/10/08/image_24012025_10_08_02_948072_0002.jpg
/home/pi/Desktop/images/24012025/10/08/image_24012025_10_08_02_948072_0003.jpg
/home/pi/Desktop/images/24012025/10/09/image_24012025_10_09_03_179800_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331020842","1331020799","1331020963","1331021091","1331020810","1331020804"],"photo_ids_order":["1331020799","1331020804","1331020810","1331020842","1331020963","1331021091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/381354980236788eff162660b55e4241.jpg","text":"TemporaryFile(/tmp/multipartBody8084341450946874618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711071539,"filename":"image_24012025_10_08_02_948072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f1e04b4ffc141f24f65417dc8bf04d57.jpg","text":"TemporaryFile(/tmp/multipartBody1676050144796346434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711071539,"filename":"image_24012025_10_07_02_821304_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ac60ffdffb75117bc99cda005fb8dc6.jpg","text":"TemporaryFile(/tmp/multipartBody5603952567849908036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711071539,"filename":"image_24012025_10_08_02_948072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f03d35ed9d5700d4ceca923a7ed50bbb.jpg","text":"TemporaryFile(/tmp/multipartBody263236000066612027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711071539,"filename":"image_24012025_10_09_03_179800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c7aed8d38f9628c227a1f0b4ccd3d535.jpg","text":"TemporaryFile(/tmp/multipartBody1954721810371865275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711071539,"filename":"image_24012025_10_08_02_948072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74128b3bf245fee725fb07f9596f78a4.jpg","text":"TemporaryFile(/tmp/multipartBody2315384332313223913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711071539,"filename":"image_24012025_10_08_02_948072_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331020810","file1":"1331020804","file0":"1331020799","file4":"1331020963","file5":"1331021091","file3":"1331020842"},"map_files_photo_id_array":[{"photo_id":"1331021091","filename":"file5"},{"photo_id":"1331020810","filename":"file2"},{"photo_id":"1331020963","filename":"file4"},{"photo_id":"1331020804","filename":"file1"},{"photo_id":"1331020799","filename":"file0"},{"photo_id":"1331020842","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331020842":["hashtag1","hashtag2"]},{"1331020799":["hashtag1","hashtag2"]},{"1331020963":["hashtag1","hashtag2"]},{"1331021091":["hashtag1","hashtag2"]},{"1331020810":["hashtag1","hashtag2"]},{"1331020804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331020842, 1331020799, 1331020963, 1331021091, 1331020810, 1331020804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.57069134712219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 10:31:22.169173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/09/image_24012025_10_09_03_179800_0002.jpg', '/home/pi/Desktop/images/24012025/10/10/image_24012025_10_10_02_325845_0002.jpg', '/home/pi/Desktop/images/24012025/10/10/image_24012025_10_10_02_325845_0003.jpg', '/home/pi/Desktop/images/24012025/10/11/image_24012025_10_11_02_621017_0000.jpg', '/home/pi/Desktop/images/24012025/10/11/image_24012025_10_11_02_621017_0001.jpg', '/home/pi/Desktop/images/24012025/10/11/image_24012025_10_11_02_621017_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/09/image_24012025_10_09_03_179800_0002.jpg
/home/pi/Desktop/images/24012025/10/10/image_24012025_10_10_02_325845_0002.jpg
/home/pi/Desktop/images/24012025/10/10/image_24012025_10_10_02_325845_0003.jpg
/home/pi/Desktop/images/24012025/10/11/image_24012025_10_11_02_621017_0000.jpg
/home/pi/Desktop/images/24012025/10/11/image_24012025_10_11_02_621017_0001.jpg
/home/pi/Desktop/images/24012025/10/11/image_24012025_10_11_02_621017_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331021907","1331021840","1331021810","1331021799","1331022036","1331021850"],"photo_ids_order":["1331021799","1331021810","1331021840","1331021850","1331021907","1331022036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/412ed7fc8f9bb6f7e4d1e5337800ae1f.jpg","text":"TemporaryFile(/tmp/multipartBody3189373198517765220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711177969,"filename":"image_24012025_10_11_02_621017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a610e3e70a3006875ca131549c3f0ade.jpg","text":"TemporaryFile(/tmp/multipartBody5740570419472193016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711177969,"filename":"image_24012025_10_10_02_325845_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98597a42332a857f17ed7890d9c0333d.jpg","text":"TemporaryFile(/tmp/multipartBody3394362751277813911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711177969,"filename":"image_24012025_10_10_02_325845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac385995f515dd5c93c53e23627fd7e1.jpg","text":"TemporaryFile(/tmp/multipartBody1789041889035927705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711177969,"filename":"image_24012025_10_09_03_179800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e5121ab6fe745be8fc942cbac489e909.jpg","text":"TemporaryFile(/tmp/multipartBody4472873474050635314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711177969,"filename":"image_24012025_10_11_02_621017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa43f5f13f27a7d09e73effda74afb72.jpg","text":"TemporaryFile(/tmp/multipartBody2502466348362003662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711177969,"filename":"image_24012025_10_11_02_621017_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331021840","file1":"1331021810","file0":"1331021799","file4":"1331021907","file5":"1331022036","file3":"1331021850"},"map_files_photo_id_array":[{"photo_id":"1331022036","filename":"file5"},{"photo_id":"1331021840","filename":"file2"},{"photo_id":"1331021907","filename":"file4"},{"photo_id":"1331021810","filename":"file1"},{"photo_id":"1331021799","filename":"file0"},{"photo_id":"1331021850","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331021907":["hashtag1","hashtag2"]},{"1331021840":["hashtag1","hashtag2"]},{"1331021810":["hashtag1","hashtag2"]},{"1331021799":["hashtag1","hashtag2"]},{"1331022036":["hashtag1","hashtag2"]},{"1331021850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331021907, 1331021840, 1331021810, 1331021799, 1331022036, 1331021850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.57958650588989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 10:32:52.288604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/12/image_24012025_10_12_02_782603_0002.jpg', '/home/pi/Desktop/images/24012025/10/12/image_24012025_10_12_02_782603_0003.jpg', '/home/pi/Desktop/images/24012025/10/13/image_24012025_10_13_02_861694_0000.jpg', '/home/pi/Desktop/images/24012025/10/13/image_24012025_10_13_02_861694_0001.jpg', '/home/pi/Desktop/images/24012025/10/13/image_24012025_10_13_02_861694_0002.jpg', '/home/pi/Desktop/images/24012025/10/13/image_24012025_10_13_02_861694_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/12/image_24012025_10_12_02_782603_0002.jpg
/home/pi/Desktop/images/24012025/10/12/image_24012025_10_12_02_782603_0003.jpg
/home/pi/Desktop/images/24012025/10/13/image_24012025_10_13_02_861694_0000.jpg
/home/pi/Desktop/images/24012025/10/13/image_24012025_10_13_02_861694_0001.jpg
/home/pi/Desktop/images/24012025/10/13/image_24012025_10_13_02_861694_0002.jpg
/home/pi/Desktop/images/24012025/10/13/image_24012025_10_13_02_861694_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331022389","1331022806","1331022661","1331022817","1331022529","1331022792"],"photo_ids_order":["1331022389","1331022529","1331022661","1331022792","1331022806","1331022817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bcef66a26497c57972789b9750bd7620.jpg","text":"TemporaryFile(/tmp/multipartBody5612646674667495040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711272757,"filename":"image_24012025_10_12_02_782603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c26bc6e4d159cad4ffbb54f5009aea9d.jpg","text":"TemporaryFile(/tmp/multipartBody1660443234452385605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711272757,"filename":"image_24012025_10_13_02_861694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c62885f3c6f661b93ff9603b7b531a87.jpg","text":"TemporaryFile(/tmp/multipartBody4311755082015627168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711272757,"filename":"image_24012025_10_13_02_861694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c6952c78a1ce899a43706a513fa9806c.jpg","text":"TemporaryFile(/tmp/multipartBody949753584494777546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711272757,"filename":"image_24012025_10_13_02_861694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0386df3dc257ac113de24094169c99f4.jpg","text":"TemporaryFile(/tmp/multipartBody8638439991981124647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711272757,"filename":"image_24012025_10_12_02_782603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b87510b851fe7093c9f031fed8865544.jpg","text":"TemporaryFile(/tmp/multipartBody1673862315717473513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711272757,"filename":"image_24012025_10_13_02_861694_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331022661","file1":"1331022529","file0":"1331022389","file4":"1331022806","file5":"1331022817","file3":"1331022792"},"map_files_photo_id_array":[{"photo_id":"1331022817","filename":"file5"},{"photo_id":"1331022661","filename":"file2"},{"photo_id":"1331022806","filename":"file4"},{"photo_id":"1331022529","filename":"file1"},{"photo_id":"1331022389","filename":"file0"},{"photo_id":"1331022792","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331022389":["hashtag1","hashtag2"]},{"1331022806":["hashtag1","hashtag2"]},{"1331022661":["hashtag1","hashtag2"]},{"1331022817":["hashtag1","hashtag2"]},{"1331022529":["hashtag1","hashtag2"]},{"1331022792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331022389, 1331022806, 1331022661, 1331022817, 1331022529, 1331022792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.76109910011292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 10:34:32.642943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/14/image_24012025_10_14_03_109586_0000.jpg', '/home/pi/Desktop/images/24012025/10/14/image_24012025_10_14_03_109586_0001.jpg', '/home/pi/Desktop/images/24012025/10/14/image_24012025_10_14_03_109586_0002.jpg', '/home/pi/Desktop/images/24012025/10/14/image_24012025_10_14_03_109586_0003.jpg', '/home/pi/Desktop/images/24012025/10/15/image_24012025_10_15_02_251224_0000.jpg', '/home/pi/Desktop/images/24012025/10/15/image_24012025_10_15_02_251224_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/14/image_24012025_10_14_03_109586_0000.jpg
/home/pi/Desktop/images/24012025/10/14/image_24012025_10_14_03_109586_0001.jpg
/home/pi/Desktop/images/24012025/10/14/image_24012025_10_14_03_109586_0002.jpg
/home/pi/Desktop/images/24012025/10/14/image_24012025_10_14_03_109586_0003.jpg
/home/pi/Desktop/images/24012025/10/15/image_24012025_10_15_02_251224_0000.jpg
/home/pi/Desktop/images/24012025/10/15/image_24012025_10_15_02_251224_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331023084","1331023066","1331023089","1331023077","1331023073","1331023061"],"photo_ids_order":["1331023061","1331023066","1331023073","1331023077","1331023084","1331023089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/81cf3902cb50026077a1b31b6aa2f291.jpg","text":"TemporaryFile(/tmp/multipartBody5090374024036967440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711372149,"filename":"image_24012025_10_15_02_251224_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc54773dcdb4245c4d963c21db4c8bd9.jpg","text":"TemporaryFile(/tmp/multipartBody4219724883417628909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711372149,"filename":"image_24012025_10_14_03_109586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/09afc422b57227efd464e1ccfe5e2ff6.jpg","text":"TemporaryFile(/tmp/multipartBody1265883898024481017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711372149,"filename":"image_24012025_10_15_02_251224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/66aaaa5b563542e387e97d83946f3744.jpg","text":"TemporaryFile(/tmp/multipartBody3421052647716867999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711372149,"filename":"image_24012025_10_14_03_109586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce2bbde0772622b186804eae956a74a1.jpg","text":"TemporaryFile(/tmp/multipartBody4576525058815500370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711372149,"filename":"image_24012025_10_14_03_109586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bdefee290b8e37859a2d74efca834d70.jpg","text":"TemporaryFile(/tmp/multipartBody4795335012978033362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711372149,"filename":"image_24012025_10_14_03_109586_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331023073","file1":"1331023066","file0":"1331023061","file4":"1331023084","file5":"1331023089","file3":"1331023077"},"map_files_photo_id_array":[{"photo_id":"1331023089","filename":"file5"},{"photo_id":"1331023073","filename":"file2"},{"photo_id":"1331023084","filename":"file4"},{"photo_id":"1331023066","filename":"file1"},{"photo_id":"1331023061","filename":"file0"},{"photo_id":"1331023077","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331023084":["hashtag1","hashtag2"]},{"1331023066":["hashtag1","hashtag2"]},{"1331023089":["hashtag1","hashtag2"]},{"1331023077":["hashtag1","hashtag2"]},{"1331023073":["hashtag1","hashtag2"]},{"1331023061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331023084, 1331023066, 1331023089, 1331023077, 1331023073, 1331023061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.55245852470398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 10:36:22.097928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/15/image_24012025_10_15_02_251224_0002.jpg', '/home/pi/Desktop/images/24012025/10/15/image_24012025_10_15_02_251224_0003.jpg', '/home/pi/Desktop/images/24012025/10/16/image_24012025_10_16_02_533954_0000.jpg', '/home/pi/Desktop/images/24012025/10/16/image_24012025_10_16_02_533954_0001.jpg', '/home/pi/Desktop/images/24012025/10/16/image_24012025_10_16_02_533954_0002.jpg', '/home/pi/Desktop/images/24012025/10/16/image_24012025_10_16_02_533954_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/15/image_24012025_10_15_02_251224_0002.jpg
/home/pi/Desktop/images/24012025/10/15/image_24012025_10_15_02_251224_0003.jpg
/home/pi/Desktop/images/24012025/10/16/image_24012025_10_16_02_533954_0000.jpg
/home/pi/Desktop/images/24012025/10/16/image_24012025_10_16_02_533954_0001.jpg
/home/pi/Desktop/images/24012025/10/16/image_24012025_10_16_02_533954_0002.jpg
/home/pi/Desktop/images/24012025/10/16/image_24012025_10_16_02_533954_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331024190","1331023960","1331024203","1331024178","1331024208","1331024156"],"photo_ids_order":["1331023960","1331024156","1331024178","1331024190","1331024203","1331024208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/693a557c2f60e30d23ef386c42b200b4.jpg","text":"TemporaryFile(/tmp/multipartBody4302973209598159525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711481890,"filename":"image_24012025_10_16_02_533954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdb2833cb1ccdf7ff567230e0789819c.jpg","text":"TemporaryFile(/tmp/multipartBody2542252763887771650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711481890,"filename":"image_24012025_10_15_02_251224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d4f7c0d442f067d34efccf0c5eb95578.jpg","text":"TemporaryFile(/tmp/multipartBody5509821497819089603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711481890,"filename":"image_24012025_10_16_02_533954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34664682c663996ba8f1fe097e0d845f.jpg","text":"TemporaryFile(/tmp/multipartBody5338401452460622261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711481890,"filename":"image_24012025_10_16_02_533954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b9ca90d89c3625bc2ff49d601cd0c8a9.jpg","text":"TemporaryFile(/tmp/multipartBody9165744865715151926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711481890,"filename":"image_24012025_10_16_02_533954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc97d2cbce3c7e1c3067af650726672e.jpg","text":"TemporaryFile(/tmp/multipartBody3086542811564342309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711481890,"filename":"image_24012025_10_15_02_251224_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331024178","file1":"1331024156","file0":"1331023960","file4":"1331024203","file5":"1331024208","file3":"1331024190"},"map_files_photo_id_array":[{"photo_id":"1331024208","filename":"file5"},{"photo_id":"1331024178","filename":"file2"},{"photo_id":"1331024203","filename":"file4"},{"photo_id":"1331024156","filename":"file1"},{"photo_id":"1331023960","filename":"file0"},{"photo_id":"1331024190","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331024190":["hashtag1","hashtag2"]},{"1331023960":["hashtag1","hashtag2"]},{"1331024203":["hashtag1","hashtag2"]},{"1331024178":["hashtag1","hashtag2"]},{"1331024208":["hashtag1","hashtag2"]},{"1331024156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331024190, 1331023960, 1331024203, 1331024178, 1331024208, 1331024156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.01131200790405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 10:38:22.452316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/17/image_24012025_10_17_02_700263_0000.jpg', '/home/pi/Desktop/images/24012025/10/17/image_24012025_10_17_02_700263_0001.jpg', '/home/pi/Desktop/images/24012025/10/17/image_24012025_10_17_02_700263_0002.jpg', '/home/pi/Desktop/images/24012025/10/17/image_24012025_10_17_02_700263_0003.jpg', '/home/pi/Desktop/images/24012025/10/18/image_24012025_10_18_02_890487_0000.jpg', '/home/pi/Desktop/images/24012025/10/18/image_24012025_10_18_02_890487_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/17/image_24012025_10_17_02_700263_0000.jpg
/home/pi/Desktop/images/24012025/10/17/image_24012025_10_17_02_700263_0001.jpg
/home/pi/Desktop/images/24012025/10/17/image_24012025_10_17_02_700263_0002.jpg
/home/pi/Desktop/images/24012025/10/17/image_24012025_10_17_02_700263_0003.jpg
/home/pi/Desktop/images/24012025/10/18/image_24012025_10_18_02_890487_0000.jpg
/home/pi/Desktop/images/24012025/10/18/image_24012025_10_18_02_890487_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331025294","1331025485","1331025458","1331025422","1331025512","1331025526"],"photo_ids_order":["1331025294","1331025422","1331025458","1331025485","1331025512","1331025526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32069ac9b89569571d9689161598afe4.jpg","text":"TemporaryFile(/tmp/multipartBody1104382851447541455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711611774,"filename":"image_24012025_10_17_02_700263_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/355fe175a4445c703e268ef104d332ee.jpg","text":"TemporaryFile(/tmp/multipartBody1645811194626476065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711611774,"filename":"image_24012025_10_17_02_700263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1accc1238acd8022eb9953b6bec9536.jpg","text":"TemporaryFile(/tmp/multipartBody5537850794373188575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711611774,"filename":"image_24012025_10_17_02_700263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e0fcf3d45544cf01bf82642e6ca11dad.jpg","text":"TemporaryFile(/tmp/multipartBody3614314040385351043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711611774,"filename":"image_24012025_10_17_02_700263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e723286a2ab7a9b54e31af47a27b294.jpg","text":"TemporaryFile(/tmp/multipartBody1892431119635695376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711611774,"filename":"image_24012025_10_18_02_890487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/be72c7ea9499fb398817d18149da253f.jpg","text":"TemporaryFile(/tmp/multipartBody7347247415718538869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711611774,"filename":"image_24012025_10_18_02_890487_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331025458","file1":"1331025422","file0":"1331025294","file4":"1331025512","file5":"1331025526","file3":"1331025485"},"map_files_photo_id_array":[{"photo_id":"1331025526","filename":"file5"},{"photo_id":"1331025458","filename":"file2"},{"photo_id":"1331025512","filename":"file4"},{"photo_id":"1331025422","filename":"file1"},{"photo_id":"1331025294","filename":"file0"},{"photo_id":"1331025485","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331025294":["hashtag1","hashtag2"]},{"1331025485":["hashtag1","hashtag2"]},{"1331025458":["hashtag1","hashtag2"]},{"1331025422":["hashtag1","hashtag2"]},{"1331025512":["hashtag1","hashtag2"]},{"1331025526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331025294, 1331025485, 1331025458, 1331025422, 1331025512, 1331025526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.25912857055664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 10:40:22.770554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/18/image_24012025_10_18_02_890487_0002.jpg', '/home/pi/Desktop/images/24012025/10/18/image_24012025_10_18_02_890487_0003.jpg', '/home/pi/Desktop/images/24012025/10/19/image_24012025_10_19_03_044314_0000.jpg', '/home/pi/Desktop/images/24012025/10/19/image_24012025_10_19_03_044314_0001.jpg', '/home/pi/Desktop/images/24012025/10/19/image_24012025_10_19_03_044314_0002.jpg', '/home/pi/Desktop/images/24012025/10/19/image_24012025_10_19_03_044314_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/18/image_24012025_10_18_02_890487_0002.jpg
/home/pi/Desktop/images/24012025/10/18/image_24012025_10_18_02_890487_0003.jpg
/home/pi/Desktop/images/24012025/10/19/image_24012025_10_19_03_044314_0000.jpg
/home/pi/Desktop/images/24012025/10/19/image_24012025_10_19_03_044314_0001.jpg
/home/pi/Desktop/images/24012025/10/19/image_24012025_10_19_03_044314_0002.jpg
/home/pi/Desktop/images/24012025/10/19/image_24012025_10_19_03_044314_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331025672","1331025641","1331025611","1331025682","1331025676","1331025679"],"photo_ids_order":["1331025611","1331025641","1331025672","1331025676","1331025679","1331025682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/67c6d656b1aba552cf3da0a3509932c1.jpg","text":"TemporaryFile(/tmp/multipartBody8580952350127708833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711731044,"filename":"image_24012025_10_19_03_044314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06abd28607f05fab4f4d2da8a6994e64.jpg","text":"TemporaryFile(/tmp/multipartBody1336378149876660375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711731044,"filename":"image_24012025_10_18_02_890487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/839f98c7ff3db5f8adc9ed5f3c9f65a5.jpg","text":"TemporaryFile(/tmp/multipartBody783978353553136050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711731044,"filename":"image_24012025_10_18_02_890487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6aef2dd70f5b5379250e13f6e7013463.jpg","text":"TemporaryFile(/tmp/multipartBody1522003620746282212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711731044,"filename":"image_24012025_10_19_03_044314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/088f114d8f4ce445f2a0bb43e0889cee.jpg","text":"TemporaryFile(/tmp/multipartBody4234816108366282560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711731044,"filename":"image_24012025_10_19_03_044314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28344d0af279b684aa4ce7a0751b94cf.jpg","text":"TemporaryFile(/tmp/multipartBody8100956013750938689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711731044,"filename":"image_24012025_10_19_03_044314_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331025672","file1":"1331025641","file0":"1331025611","file4":"1331025679","file5":"1331025682","file3":"1331025676"},"map_files_photo_id_array":[{"photo_id":"1331025682","filename":"file5"},{"photo_id":"1331025672","filename":"file2"},{"photo_id":"1331025679","filename":"file4"},{"photo_id":"1331025641","filename":"file1"},{"photo_id":"1331025611","filename":"file0"},{"photo_id":"1331025676","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331025672":["hashtag1","hashtag2"]},{"1331025641":["hashtag1","hashtag2"]},{"1331025611":["hashtag1","hashtag2"]},{"1331025682":["hashtag1","hashtag2"]},{"1331025676":["hashtag1","hashtag2"]},{"1331025679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331025672, 1331025641, 1331025611, 1331025682, 1331025676, 1331025679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.21479487419128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 10:42:22.105800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/20/image_24012025_10_20_02_254298_0000.jpg', '/home/pi/Desktop/images/24012025/10/20/image_24012025_10_20_02_254298_0001.jpg', '/home/pi/Desktop/images/24012025/10/20/image_24012025_10_20_02_254298_0002.jpg', '/home/pi/Desktop/images/24012025/10/20/image_24012025_10_20_02_254298_0003.jpg', '/home/pi/Desktop/images/24012025/10/21/image_24012025_10_21_02_417264_0000.jpg', '/home/pi/Desktop/images/24012025/10/21/image_24012025_10_21_02_417264_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/20/image_24012025_10_20_02_254298_0000.jpg
/home/pi/Desktop/images/24012025/10/20/image_24012025_10_20_02_254298_0001.jpg
/home/pi/Desktop/images/24012025/10/20/image_24012025_10_20_02_254298_0002.jpg
/home/pi/Desktop/images/24012025/10/20/image_24012025_10_20_02_254298_0003.jpg
/home/pi/Desktop/images/24012025/10/21/image_24012025_10_21_02_417264_0000.jpg
/home/pi/Desktop/images/24012025/10/21/image_24012025_10_21_02_417264_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331025777","1331025774","1331025762","1331025741","1331025770","1331025751"],"photo_ids_order":["1331025741","1331025751","1331025762","1331025770","1331025774","1331025777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2447b61743006e462bab4d58046e1ec6.jpg","text":"TemporaryFile(/tmp/multipartBody7023251667757991760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711847358,"filename":"image_24012025_10_21_02_417264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d11b018dcebcf1e345092b82cd102e2e.jpg","text":"TemporaryFile(/tmp/multipartBody7194176048972915490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711847358,"filename":"image_24012025_10_21_02_417264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b31c7191702fd56cc73e3df8e69f5dc9.jpg","text":"TemporaryFile(/tmp/multipartBody7164037954550064702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711847358,"filename":"image_24012025_10_20_02_254298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b574dc1ee9def37bdf1fd70576169cc.jpg","text":"TemporaryFile(/tmp/multipartBody3473677204465574909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711847358,"filename":"image_24012025_10_20_02_254298_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/155f960677cd0c895005c377b85ad0e0.jpg","text":"TemporaryFile(/tmp/multipartBody8254047810409318900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711847358,"filename":"image_24012025_10_20_02_254298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ea436289827fafc6c26ec1a6eda56d9.jpg","text":"TemporaryFile(/tmp/multipartBody6846592172100202211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711847358,"filename":"image_24012025_10_20_02_254298_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331025762","file1":"1331025751","file0":"1331025741","file4":"1331025774","file5":"1331025777","file3":"1331025770"},"map_files_photo_id_array":[{"photo_id":"1331025777","filename":"file5"},{"photo_id":"1331025762","filename":"file2"},{"photo_id":"1331025774","filename":"file4"},{"photo_id":"1331025751","filename":"file1"},{"photo_id":"1331025741","filename":"file0"},{"photo_id":"1331025770","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331025777":["hashtag1","hashtag2"]},{"1331025774":["hashtag1","hashtag2"]},{"1331025762":["hashtag1","hashtag2"]},{"1331025741":["hashtag1","hashtag2"]},{"1331025770":["hashtag1","hashtag2"]},{"1331025751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331025777, 1331025774, 1331025762, 1331025741, 1331025770, 1331025751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.82711029052734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 10:44:02.907379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/21/image_24012025_10_21_02_417264_0002.jpg', '/home/pi/Desktop/images/24012025/10/21/image_24012025_10_21_02_417264_0003.jpg', '/home/pi/Desktop/images/24012025/10/22/image_24012025_10_22_02_622208_0000.jpg', '/home/pi/Desktop/images/24012025/10/22/image_24012025_10_22_02_622208_0001.jpg', '/home/pi/Desktop/images/24012025/10/22/image_24012025_10_22_02_622208_0002.jpg', '/home/pi/Desktop/images/24012025/10/22/image_24012025_10_22_02_622208_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/21/image_24012025_10_21_02_417264_0002.jpg
/home/pi/Desktop/images/24012025/10/21/image_24012025_10_21_02_417264_0003.jpg
/home/pi/Desktop/images/24012025/10/22/image_24012025_10_22_02_622208_0000.jpg
/home/pi/Desktop/images/24012025/10/22/image_24012025_10_22_02_622208_0001.jpg
/home/pi/Desktop/images/24012025/10/22/image_24012025_10_22_02_622208_0002.jpg
/home/pi/Desktop/images/24012025/10/22/image_24012025_10_22_02_622208_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331025819","1331025848","1331025827","1331025836","1331025821","1331025844"],"photo_ids_order":["1331025819","1331025821","1331025827","1331025836","1331025844","1331025848"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0764f0ed6216d24e6d984e2dca412aae.jpg","text":"TemporaryFile(/tmp/multipartBody2810663165376512097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711949129,"filename":"image_24012025_10_21_02_417264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d47b83c20a249a9c17b2a1a7d1f4e43d.jpg","text":"TemporaryFile(/tmp/multipartBody9150298292825252207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711949129,"filename":"image_24012025_10_22_02_622208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f84da45dee1b7020ab28f32bb897a767.jpg","text":"TemporaryFile(/tmp/multipartBody7470756546362514692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711949129,"filename":"image_24012025_10_22_02_622208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/699760bad606192c5d665840215a934f.jpg","text":"TemporaryFile(/tmp/multipartBody7794723259321913139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711949129,"filename":"image_24012025_10_22_02_622208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9f2420d633ef06771d557a96149130a8.jpg","text":"TemporaryFile(/tmp/multipartBody7071921997604414241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711949129,"filename":"image_24012025_10_21_02_417264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/708d76695d01649918b1d340f6efc15f.jpg","text":"TemporaryFile(/tmp/multipartBody97383563631107607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737711949129,"filename":"image_24012025_10_22_02_622208_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331025827","file1":"1331025821","file0":"1331025819","file4":"1331025844","file5":"1331025848","file3":"1331025836"},"map_files_photo_id_array":[{"photo_id":"1331025848","filename":"file5"},{"photo_id":"1331025827","filename":"file2"},{"photo_id":"1331025844","filename":"file4"},{"photo_id":"1331025821","filename":"file1"},{"photo_id":"1331025819","filename":"file0"},{"photo_id":"1331025836","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331025819":["hashtag1","hashtag2"]},{"1331025848":["hashtag1","hashtag2"]},{"1331025827":["hashtag1","hashtag2"]},{"1331025836":["hashtag1","hashtag2"]},{"1331025821":["hashtag1","hashtag2"]},{"1331025844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331025819, 1331025848, 1331025827, 1331025836, 1331025821, 1331025844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.98798561096191 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 10:45:52.692598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/23/image_24012025_10_23_02_770853_0000.jpg', '/home/pi/Desktop/images/24012025/10/23/image_24012025_10_23_02_770853_0001.jpg', '/home/pi/Desktop/images/24012025/10/23/image_24012025_10_23_02_770853_0002.jpg', '/home/pi/Desktop/images/24012025/10/23/image_24012025_10_23_02_770853_0003.jpg', '/home/pi/Desktop/images/24012025/10/24/image_24012025_10_24_02_962031_0000.jpg', '/home/pi/Desktop/images/24012025/10/24/image_24012025_10_24_02_962031_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/23/image_24012025_10_23_02_770853_0000.jpg
/home/pi/Desktop/images/24012025/10/23/image_24012025_10_23_02_770853_0001.jpg
/home/pi/Desktop/images/24012025/10/23/image_24012025_10_23_02_770853_0002.jpg
/home/pi/Desktop/images/24012025/10/23/image_24012025_10_23_02_770853_0003.jpg
/home/pi/Desktop/images/24012025/10/24/image_24012025_10_24_02_962031_0000.jpg
/home/pi/Desktop/images/24012025/10/24/image_24012025_10_24_02_962031_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331026277","1331026247","1331026183","1331026258","1331026252","1331026312"],"photo_ids_order":["1331026183","1331026247","1331026252","1331026258","1331026277","1331026312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4a1ec3df7a642eed39e4290c98ffd644.jpg","text":"TemporaryFile(/tmp/multipartBody210886486950779214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712059283,"filename":"image_24012025_10_24_02_962031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/170b9ea6dd4e2cc66fb7dfb0ae9eaf18.jpg","text":"TemporaryFile(/tmp/multipartBody3472036666659170647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712059283,"filename":"image_24012025_10_23_02_770853_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd3a23cd2bc95cbd86ef3f3f7eff1ef5.jpg","text":"TemporaryFile(/tmp/multipartBody9187556873760081012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712059283,"filename":"image_24012025_10_23_02_770853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f53a528ebebc4bac30b19efb78103118.jpg","text":"TemporaryFile(/tmp/multipartBody3850966475265076473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712059283,"filename":"image_24012025_10_23_02_770853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a320198503f35ddb6b5f4f09d83a957.jpg","text":"TemporaryFile(/tmp/multipartBody715822647989806180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712059283,"filename":"image_24012025_10_23_02_770853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6d70e3681fd0409052fddaed791496c7.jpg","text":"TemporaryFile(/tmp/multipartBody504188683045160921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712059283,"filename":"image_24012025_10_24_02_962031_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331026252","file1":"1331026247","file0":"1331026183","file4":"1331026277","file5":"1331026312","file3":"1331026258"},"map_files_photo_id_array":[{"photo_id":"1331026312","filename":"file5"},{"photo_id":"1331026252","filename":"file2"},{"photo_id":"1331026277","filename":"file4"},{"photo_id":"1331026247","filename":"file1"},{"photo_id":"1331026183","filename":"file0"},{"photo_id":"1331026258","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331026277":["hashtag1","hashtag2"]},{"1331026247":["hashtag1","hashtag2"]},{"1331026183":["hashtag1","hashtag2"]},{"1331026258":["hashtag1","hashtag2"]},{"1331026252":["hashtag1","hashtag2"]},{"1331026312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331026277, 1331026247, 1331026183, 1331026258, 1331026252, 1331026312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.41926574707031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 10:47:42.043401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/24/image_24012025_10_24_02_962031_0002.jpg', '/home/pi/Desktop/images/24012025/10/24/image_24012025_10_24_02_962031_0003.jpg', '/home/pi/Desktop/images/24012025/10/25/image_24012025_10_25_03_169702_0000.jpg', '/home/pi/Desktop/images/24012025/10/25/image_24012025_10_25_03_169702_0001.jpg', '/home/pi/Desktop/images/24012025/10/25/image_24012025_10_25_03_169702_0002.jpg', '/home/pi/Desktop/images/24012025/10/25/image_24012025_10_25_03_169702_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/24/image_24012025_10_24_02_962031_0002.jpg
/home/pi/Desktop/images/24012025/10/24/image_24012025_10_24_02_962031_0003.jpg
/home/pi/Desktop/images/24012025/10/25/image_24012025_10_25_03_169702_0000.jpg
/home/pi/Desktop/images/24012025/10/25/image_24012025_10_25_03_169702_0001.jpg
/home/pi/Desktop/images/24012025/10/25/image_24012025_10_25_03_169702_0002.jpg
/home/pi/Desktop/images/24012025/10/25/image_24012025_10_25_03_169702_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331027054","1331027266","1331027074","1331027278","1331027196","1331027079"],"photo_ids_order":["1331027054","1331027074","1331027079","1331027196","1331027266","1331027278"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d91b2f20a6b4c5bbc630e48de53c8a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1402889245808927949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712174597,"filename":"image_24012025_10_24_02_962031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/66beed2714c2e3b987dc5de2c9a7a9f3.jpg","text":"TemporaryFile(/tmp/multipartBody8116359942164084475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712174597,"filename":"image_24012025_10_25_03_169702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dceb494b6ce186f03ca6c7c0659bb608.jpg","text":"TemporaryFile(/tmp/multipartBody6401608005665105006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712174597,"filename":"image_24012025_10_24_02_962031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f2f5f3e77c8b402ef396b17f769ef575.jpg","text":"TemporaryFile(/tmp/multipartBody5695992816128801873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712174597,"filename":"image_24012025_10_25_03_169702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bcb55662a9add9da791fc73460dbb5cb.jpg","text":"TemporaryFile(/tmp/multipartBody1561236345786768595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712174597,"filename":"image_24012025_10_25_03_169702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/617f197a715373abcf206970f7f1daa9.jpg","text":"TemporaryFile(/tmp/multipartBody441668326447952154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712174597,"filename":"image_24012025_10_25_03_169702_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331027079","file1":"1331027074","file0":"1331027054","file4":"1331027266","file5":"1331027278","file3":"1331027196"},"map_files_photo_id_array":[{"photo_id":"1331027278","filename":"file5"},{"photo_id":"1331027079","filename":"file2"},{"photo_id":"1331027266","filename":"file4"},{"photo_id":"1331027074","filename":"file1"},{"photo_id":"1331027054","filename":"file0"},{"photo_id":"1331027196","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331027054":["hashtag1","hashtag2"]},{"1331027266":["hashtag1","hashtag2"]},{"1331027074":["hashtag1","hashtag2"]},{"1331027278":["hashtag1","hashtag2"]},{"1331027196":["hashtag1","hashtag2"]},{"1331027079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331027054, 1331027266, 1331027074, 1331027278, 1331027196, 1331027079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.86357760429382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 10:49:32.421337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/26/image_24012025_10_26_02_328801_0000.jpg', '/home/pi/Desktop/images/24012025/10/26/image_24012025_10_26_02_328801_0001.jpg', '/home/pi/Desktop/images/24012025/10/26/image_24012025_10_26_02_328801_0002.jpg', '/home/pi/Desktop/images/24012025/10/26/image_24012025_10_26_02_328801_0003.jpg', '/home/pi/Desktop/images/24012025/10/27/image_24012025_10_27_02_498350_0000.jpg', '/home/pi/Desktop/images/24012025/10/27/image_24012025_10_27_02_498350_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/26/image_24012025_10_26_02_328801_0000.jpg
/home/pi/Desktop/images/24012025/10/26/image_24012025_10_26_02_328801_0001.jpg
/home/pi/Desktop/images/24012025/10/26/image_24012025_10_26_02_328801_0002.jpg
/home/pi/Desktop/images/24012025/10/26/image_24012025_10_26_02_328801_0003.jpg
/home/pi/Desktop/images/24012025/10/27/image_24012025_10_27_02_498350_0000.jpg
/home/pi/Desktop/images/24012025/10/27/image_24012025_10_27_02_498350_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331027567","1331027531","1331027519","1331027557","1331027509","1331027562"],"photo_ids_order":["1331027509","1331027519","1331027531","1331027557","1331027562","1331027567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab3fbfaee54d8961094a901b2985eb9f.jpg","text":"TemporaryFile(/tmp/multipartBody340251411238682465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712265005,"filename":"image_24012025_10_27_02_498350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ef9365ae3092bf033ddfbb3e6c4eb8df.jpg","text":"TemporaryFile(/tmp/multipartBody7727315025987629169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712265005,"filename":"image_24012025_10_26_02_328801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cd281aebd9903fa1af6ac2f1618d0aea.jpg","text":"TemporaryFile(/tmp/multipartBody2378641157574919213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712265005,"filename":"image_24012025_10_26_02_328801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e2b9b9de1e1eb64bedb2295248c986fa.jpg","text":"TemporaryFile(/tmp/multipartBody5916797088856850812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712265005,"filename":"image_24012025_10_26_02_328801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f0f50dad4abd85d78318bada9a975896.jpg","text":"TemporaryFile(/tmp/multipartBody9013268660202557362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712265005,"filename":"image_24012025_10_26_02_328801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f7d1c3ed34311f22c73bab74a2617be4.jpg","text":"TemporaryFile(/tmp/multipartBody594867641960182253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712265005,"filename":"image_24012025_10_27_02_498350_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331027531","file1":"1331027519","file0":"1331027509","file4":"1331027562","file5":"1331027567","file3":"1331027557"},"map_files_photo_id_array":[{"photo_id":"1331027567","filename":"file5"},{"photo_id":"1331027531","filename":"file2"},{"photo_id":"1331027562","filename":"file4"},{"photo_id":"1331027519","filename":"file1"},{"photo_id":"1331027509","filename":"file0"},{"photo_id":"1331027557","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331027567":["hashtag1","hashtag2"]},{"1331027531":["hashtag1","hashtag2"]},{"1331027519":["hashtag1","hashtag2"]},{"1331027557":["hashtag1","hashtag2"]},{"1331027509":["hashtag1","hashtag2"]},{"1331027562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331027567, 1331027531, 1331027519, 1331027557, 1331027509, 1331027562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.86252975463867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 10:51:21.816856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/27/image_24012025_10_27_02_498350_0002.jpg', '/home/pi/Desktop/images/24012025/10/27/image_24012025_10_27_02_498350_0003.jpg', '/home/pi/Desktop/images/24012025/10/28/image_24012025_10_28_02_730736_0000.jpg', '/home/pi/Desktop/images/24012025/10/28/image_24012025_10_28_02_730736_0001.jpg', '/home/pi/Desktop/images/24012025/10/28/image_24012025_10_28_02_730736_0002.jpg', '/home/pi/Desktop/images/24012025/10/28/image_24012025_10_28_02_730736_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/27/image_24012025_10_27_02_498350_0002.jpg
/home/pi/Desktop/images/24012025/10/27/image_24012025_10_27_02_498350_0003.jpg
/home/pi/Desktop/images/24012025/10/28/image_24012025_10_28_02_730736_0000.jpg
/home/pi/Desktop/images/24012025/10/28/image_24012025_10_28_02_730736_0001.jpg
/home/pi/Desktop/images/24012025/10/28/image_24012025_10_28_02_730736_0002.jpg
/home/pi/Desktop/images/24012025/10/28/image_24012025_10_28_02_730736_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331027657","1331027621","1331027612","1331027629","1331027637","1331027619"],"photo_ids_order":["1331027612","1331027619","1331027621","1331027629","1331027637","1331027657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eab2a898e591dd659c433b950f7aca63.jpg","text":"TemporaryFile(/tmp/multipartBody3932200011553664120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712364918,"filename":"image_24012025_10_28_02_730736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f9ffb08763298be5780fcdd0eece23e5.jpg","text":"TemporaryFile(/tmp/multipartBody8472750524096985542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712364918,"filename":"image_24012025_10_28_02_730736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23bdf7236462e7f54c0247eea6c8e8fb.jpg","text":"TemporaryFile(/tmp/multipartBody8045150712364720913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712364918,"filename":"image_24012025_10_27_02_498350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c81a479019ff0e75f5c92352a1848f17.jpg","text":"TemporaryFile(/tmp/multipartBody3925944615893889434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712364918,"filename":"image_24012025_10_28_02_730736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/96e1db090aba2868aa77cb678c4f1d73.jpg","text":"TemporaryFile(/tmp/multipartBody1724243983121719467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712364918,"filename":"image_24012025_10_28_02_730736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/20e46bb32ad82f6364be52915f9a8506.jpg","text":"TemporaryFile(/tmp/multipartBody6384237999155107893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712364918,"filename":"image_24012025_10_27_02_498350_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331027621","file1":"1331027619","file0":"1331027612","file4":"1331027637","file5":"1331027657","file3":"1331027629"},"map_files_photo_id_array":[{"photo_id":"1331027657","filename":"file5"},{"photo_id":"1331027621","filename":"file2"},{"photo_id":"1331027637","filename":"file4"},{"photo_id":"1331027619","filename":"file1"},{"photo_id":"1331027612","filename":"file0"},{"photo_id":"1331027629","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331027657":["hashtag1","hashtag2"]},{"1331027621":["hashtag1","hashtag2"]},{"1331027612":["hashtag1","hashtag2"]},{"1331027629":["hashtag1","hashtag2"]},{"1331027637":["hashtag1","hashtag2"]},{"1331027619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331027657, 1331027621, 1331027612, 1331027629, 1331027637, 1331027619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.40037202835083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 10:52:51.968535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/29/image_24012025_10_29_02_893251_0000.jpg', '/home/pi/Desktop/images/24012025/10/29/image_24012025_10_29_02_893251_0001.jpg', '/home/pi/Desktop/images/24012025/10/29/image_24012025_10_29_02_893251_0002.jpg', '/home/pi/Desktop/images/24012025/10/29/image_24012025_10_29_02_893251_0003.jpg', '/home/pi/Desktop/images/24012025/10/30/image_24012025_10_30_03_075457_0000.jpg', '/home/pi/Desktop/images/24012025/10/30/image_24012025_10_30_03_075457_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/29/image_24012025_10_29_02_893251_0000.jpg
/home/pi/Desktop/images/24012025/10/29/image_24012025_10_29_02_893251_0001.jpg
/home/pi/Desktop/images/24012025/10/29/image_24012025_10_29_02_893251_0002.jpg
/home/pi/Desktop/images/24012025/10/29/image_24012025_10_29_02_893251_0003.jpg
/home/pi/Desktop/images/24012025/10/30/image_24012025_10_30_03_075457_0000.jpg
/home/pi/Desktop/images/24012025/10/30/image_24012025_10_30_03_075457_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331028295","1331028308","1331028288","1331028159","1331028303","1331028089"],"photo_ids_order":["1331028089","1331028159","1331028288","1331028295","1331028303","1331028308"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/de2098588765699394584cc9f3927136.jpg","text":"TemporaryFile(/tmp/multipartBody7860008141091768475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712478622,"filename":"image_24012025_10_29_02_893251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f38a718d9b4b3a34bc77cde4b8cdba08.jpg","text":"TemporaryFile(/tmp/multipartBody6245144881103760555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712478622,"filename":"image_24012025_10_30_03_075457_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/95c0bc983691669264ce63270b9b1fd5.jpg","text":"TemporaryFile(/tmp/multipartBody9144460102120175480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712478622,"filename":"image_24012025_10_29_02_893251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4976cdba2460b4ef10e3144add5ecba4.jpg","text":"TemporaryFile(/tmp/multipartBody7383118599993512580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712478622,"filename":"image_24012025_10_29_02_893251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4141f2af468dbe4b4c517788c3fd97ee.jpg","text":"TemporaryFile(/tmp/multipartBody6770076979637674495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712478622,"filename":"image_24012025_10_30_03_075457_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f50830d01bfba3952cdc7a06e0d9c67.jpg","text":"TemporaryFile(/tmp/multipartBody4137400548914766198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712478622,"filename":"image_24012025_10_29_02_893251_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331028288","file1":"1331028159","file0":"1331028089","file4":"1331028303","file5":"1331028308","file3":"1331028295"},"map_files_photo_id_array":[{"photo_id":"1331028308","filename":"file5"},{"photo_id":"1331028288","filename":"file2"},{"photo_id":"1331028303","filename":"file4"},{"photo_id":"1331028159","filename":"file1"},{"photo_id":"1331028089","filename":"file0"},{"photo_id":"1331028295","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331028295":["hashtag1","hashtag2"]},{"1331028308":["hashtag1","hashtag2"]},{"1331028288":["hashtag1","hashtag2"]},{"1331028159":["hashtag1","hashtag2"]},{"1331028303":["hashtag1","hashtag2"]},{"1331028089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331028295, 1331028308, 1331028288, 1331028159, 1331028303, 1331028089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.85185217857361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 10:54:32.324622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/30/image_24012025_10_30_03_075457_0002.jpg', '/home/pi/Desktop/images/24012025/10/30/image_24012025_10_30_03_075457_0003.jpg', '/home/pi/Desktop/images/24012025/10/31/image_24012025_10_31_02_303031_0000.jpg', '/home/pi/Desktop/images/24012025/10/31/image_24012025_10_31_02_303031_0001.jpg', '/home/pi/Desktop/images/24012025/10/31/image_24012025_10_31_02_303031_0002.jpg', '/home/pi/Desktop/images/24012025/10/31/image_24012025_10_31_02_303031_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/30/image_24012025_10_30_03_075457_0002.jpg
/home/pi/Desktop/images/24012025/10/30/image_24012025_10_30_03_075457_0003.jpg
/home/pi/Desktop/images/24012025/10/31/image_24012025_10_31_02_303031_0000.jpg
/home/pi/Desktop/images/24012025/10/31/image_24012025_10_31_02_303031_0001.jpg
/home/pi/Desktop/images/24012025/10/31/image_24012025_10_31_02_303031_0002.jpg
/home/pi/Desktop/images/24012025/10/31/image_24012025_10_31_02_303031_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331028545","1331028569","1331028556","1331028559","1331028564","1331028575"],"photo_ids_order":["1331028545","1331028556","1331028559","1331028564","1331028569","1331028575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47c7f9111c1d0b56c80bb8cac1d4aedc.jpg","text":"TemporaryFile(/tmp/multipartBody5598057369043013472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712579387,"filename":"image_24012025_10_30_03_075457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c9efce74ff1fe1b74270f01361cd2c66.jpg","text":"TemporaryFile(/tmp/multipartBody11825367864874247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712579387,"filename":"image_24012025_10_31_02_303031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/142c8b17ffb3088b7b27902c97c9d3e3.jpg","text":"TemporaryFile(/tmp/multipartBody6821820493252000140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712579387,"filename":"image_24012025_10_30_03_075457_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f2ff839638dde01d3c776c0b120e914b.jpg","text":"TemporaryFile(/tmp/multipartBody3883343641942979541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712579387,"filename":"image_24012025_10_31_02_303031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b88596bda4fc3e7854fe0bb1d5a94e7b.jpg","text":"TemporaryFile(/tmp/multipartBody5559554150647139966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712579387,"filename":"image_24012025_10_31_02_303031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b99ad38c6295b664ce9e6b5643a441f.jpg","text":"TemporaryFile(/tmp/multipartBody2133036373340900726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712579387,"filename":"image_24012025_10_31_02_303031_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331028559","file1":"1331028556","file0":"1331028545","file4":"1331028569","file5":"1331028575","file3":"1331028564"},"map_files_photo_id_array":[{"photo_id":"1331028575","filename":"file5"},{"photo_id":"1331028559","filename":"file2"},{"photo_id":"1331028569","filename":"file4"},{"photo_id":"1331028556","filename":"file1"},{"photo_id":"1331028545","filename":"file0"},{"photo_id":"1331028564","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331028545":["hashtag1","hashtag2"]},{"1331028569":["hashtag1","hashtag2"]},{"1331028556":["hashtag1","hashtag2"]},{"1331028559":["hashtag1","hashtag2"]},{"1331028564":["hashtag1","hashtag2"]},{"1331028575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331028545, 1331028569, 1331028556, 1331028559, 1331028564, 1331028575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.09893298149109 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 10:56:21.769117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/32/image_24012025_10_32_02_483427_0000.jpg', '/home/pi/Desktop/images/24012025/10/32/image_24012025_10_32_02_483427_0001.jpg', '/home/pi/Desktop/images/24012025/10/32/image_24012025_10_32_02_483427_0002.jpg', '/home/pi/Desktop/images/24012025/10/32/image_24012025_10_32_02_483427_0003.jpg', '/home/pi/Desktop/images/24012025/10/33/image_24012025_10_33_02_743759_0000.jpg', '/home/pi/Desktop/images/24012025/10/33/image_24012025_10_33_02_743759_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/32/image_24012025_10_32_02_483427_0000.jpg
/home/pi/Desktop/images/24012025/10/32/image_24012025_10_32_02_483427_0001.jpg
/home/pi/Desktop/images/24012025/10/32/image_24012025_10_32_02_483427_0002.jpg
/home/pi/Desktop/images/24012025/10/32/image_24012025_10_32_02_483427_0003.jpg
/home/pi/Desktop/images/24012025/10/33/image_24012025_10_33_02_743759_0000.jpg
/home/pi/Desktop/images/24012025/10/33/image_24012025_10_33_02_743759_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331028884","1331028827","1331028958","1331029041","1331028891","1331029049"],"photo_ids_order":["1331028827","1331028884","1331028891","1331028958","1331029041","1331029049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8accd07422878e1d9353914752789775.jpg","text":"TemporaryFile(/tmp/multipartBody8776375073508401900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712671706,"filename":"image_24012025_10_32_02_483427_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7025a0b16a75aa06af838d83575ce5fe.jpg","text":"TemporaryFile(/tmp/multipartBody7429525206066428395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712671706,"filename":"image_24012025_10_32_02_483427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5b0033333220ae1424f5ea846de05b2.jpg","text":"TemporaryFile(/tmp/multipartBody5945800859451067087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712671706,"filename":"image_24012025_10_32_02_483427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eefff4c0b36c1711e02486a34e4615de.jpg","text":"TemporaryFile(/tmp/multipartBody3886995196103879273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712671706,"filename":"image_24012025_10_33_02_743759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af62e9e576664a1d8a5cc9c3e6e6c166.jpg","text":"TemporaryFile(/tmp/multipartBody8850654311139061596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712671706,"filename":"image_24012025_10_32_02_483427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e0ffb5ad62ee9e15fa7af63f0fcd2d2e.jpg","text":"TemporaryFile(/tmp/multipartBody8850542486037206517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712671706,"filename":"image_24012025_10_33_02_743759_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331028891","file1":"1331028884","file0":"1331028827","file4":"1331029041","file5":"1331029049","file3":"1331028958"},"map_files_photo_id_array":[{"photo_id":"1331029049","filename":"file5"},{"photo_id":"1331028891","filename":"file2"},{"photo_id":"1331029041","filename":"file4"},{"photo_id":"1331028884","filename":"file1"},{"photo_id":"1331028827","filename":"file0"},{"photo_id":"1331028958","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331028884":["hashtag1","hashtag2"]},{"1331028827":["hashtag1","hashtag2"]},{"1331028958":["hashtag1","hashtag2"]},{"1331029041":["hashtag1","hashtag2"]},{"1331028891":["hashtag1","hashtag2"]},{"1331029049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331028884, 1331028827, 1331028958, 1331029041, 1331028891, 1331029049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.54794073104858 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 10:59:03.054908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/33/image_24012025_10_33_02_743759_0002.jpg', '/home/pi/Desktop/images/24012025/10/33/image_24012025_10_33_02_743759_0003.jpg', '/home/pi/Desktop/images/24012025/10/34/image_24012025_10_34_02_826355_0000.jpg', '/home/pi/Desktop/images/24012025/10/34/image_24012025_10_34_02_826355_0001.jpg', '/home/pi/Desktop/images/24012025/10/34/image_24012025_10_34_02_826355_0002.jpg', '/home/pi/Desktop/images/24012025/10/34/image_24012025_10_34_02_826355_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/33/image_24012025_10_33_02_743759_0002.jpg
/home/pi/Desktop/images/24012025/10/33/image_24012025_10_33_02_743759_0003.jpg
/home/pi/Desktop/images/24012025/10/34/image_24012025_10_34_02_826355_0000.jpg
/home/pi/Desktop/images/24012025/10/34/image_24012025_10_34_02_826355_0001.jpg
/home/pi/Desktop/images/24012025/10/34/image_24012025_10_34_02_826355_0002.jpg
/home/pi/Desktop/images/24012025/10/34/image_24012025_10_34_02_826355_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331029381","1331029369","1331029336","1331029410","1331029388","1331029349"],"photo_ids_order":["1331029336","1331029349","1331029369","1331029381","1331029388","1331029410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0d64c2ff0477803378f835ff563ce18b.jpg","text":"TemporaryFile(/tmp/multipartBody2920409729817227762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712833150,"filename":"image_24012025_10_34_02_826355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9df41a8a58db093f45be715e09fad1a4.jpg","text":"TemporaryFile(/tmp/multipartBody8386546498330378420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712833150,"filename":"image_24012025_10_34_02_826355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45fa7c29951d93866dfc64d0efb094c8.jpg","text":"TemporaryFile(/tmp/multipartBody2280557342958004818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712833150,"filename":"image_24012025_10_33_02_743759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0b443d45c3bf0bf4d5880e0e3ee18c88.jpg","text":"TemporaryFile(/tmp/multipartBody4268730553454397007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712833150,"filename":"image_24012025_10_34_02_826355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c7307caa69b4f1140adf6379362275a4.jpg","text":"TemporaryFile(/tmp/multipartBody8086796674636455077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712833150,"filename":"image_24012025_10_34_02_826355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/793121a37fca5a7aadca0c4e2221f069.jpg","text":"TemporaryFile(/tmp/multipartBody8170473744250264526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712833150,"filename":"image_24012025_10_33_02_743759_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331029369","file1":"1331029349","file0":"1331029336","file4":"1331029388","file5":"1331029410","file3":"1331029381"},"map_files_photo_id_array":[{"photo_id":"1331029410","filename":"file5"},{"photo_id":"1331029369","filename":"file2"},{"photo_id":"1331029388","filename":"file4"},{"photo_id":"1331029349","filename":"file1"},{"photo_id":"1331029336","filename":"file0"},{"photo_id":"1331029381","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331029381":["hashtag1","hashtag2"]},{"1331029369":["hashtag1","hashtag2"]},{"1331029336":["hashtag1","hashtag2"]},{"1331029410":["hashtag1","hashtag2"]},{"1331029388":["hashtag1","hashtag2"]},{"1331029349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331029381, 1331029369, 1331029336, 1331029410, 1331029388, 1331029349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.1384584903717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 11:00:32.460491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/35/image_24012025_10_35_03_002815_0000.jpg', '/home/pi/Desktop/images/24012025/10/35/image_24012025_10_35_03_002815_0001.jpg', '/home/pi/Desktop/images/24012025/10/35/image_24012025_10_35_03_002815_0002.jpg', '/home/pi/Desktop/images/24012025/10/35/image_24012025_10_35_03_002815_0003.jpg', '/home/pi/Desktop/images/24012025/10/36/image_24012025_10_36_02_203793_0000.jpg', '/home/pi/Desktop/images/24012025/10/36/image_24012025_10_36_02_203793_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/35/image_24012025_10_35_03_002815_0000.jpg
/home/pi/Desktop/images/24012025/10/35/image_24012025_10_35_03_002815_0001.jpg
/home/pi/Desktop/images/24012025/10/35/image_24012025_10_35_03_002815_0002.jpg
/home/pi/Desktop/images/24012025/10/35/image_24012025_10_35_03_002815_0003.jpg
/home/pi/Desktop/images/24012025/10/36/image_24012025_10_36_02_203793_0000.jpg
/home/pi/Desktop/images/24012025/10/36/image_24012025_10_36_02_203793_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331029840","1331029723","1331029794","1331029785","1331029707","1331029838"],"photo_ids_order":["1331029707","1331029723","1331029785","1331029794","1331029838","1331029840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e13cd56d046d7cc3f39a7773b0d111bb.jpg","text":"TemporaryFile(/tmp/multipartBody2315462058287821247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712935429,"filename":"image_24012025_10_36_02_203793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/25d18e83de0133c680b42041a55a302c.jpg","text":"TemporaryFile(/tmp/multipartBody1803391608476182224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712935429,"filename":"image_24012025_10_35_03_002815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3a8c6c81486b793485ec0a9af5ff80bf.jpg","text":"TemporaryFile(/tmp/multipartBody2126084596464921290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712935429,"filename":"image_24012025_10_35_03_002815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/15cfa7177e4d221ec3df63d10014d0e6.jpg","text":"TemporaryFile(/tmp/multipartBody2602496914621805400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712935429,"filename":"image_24012025_10_35_03_002815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/027a6fbaf781ce38b0c64923100b2766.jpg","text":"TemporaryFile(/tmp/multipartBody2269020367473784156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712935429,"filename":"image_24012025_10_35_03_002815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c956a95bfb12c2c814455e16d9330750.jpg","text":"TemporaryFile(/tmp/multipartBody7059253725662026354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737712935429,"filename":"image_24012025_10_36_02_203793_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331029785","file1":"1331029723","file0":"1331029707","file4":"1331029838","file5":"1331029840","file3":"1331029794"},"map_files_photo_id_array":[{"photo_id":"1331029840","filename":"file5"},{"photo_id":"1331029785","filename":"file2"},{"photo_id":"1331029838","filename":"file4"},{"photo_id":"1331029723","filename":"file1"},{"photo_id":"1331029707","filename":"file0"},{"photo_id":"1331029794","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331029840":["hashtag1","hashtag2"]},{"1331029723":["hashtag1","hashtag2"]},{"1331029794":["hashtag1","hashtag2"]},{"1331029785":["hashtag1","hashtag2"]},{"1331029707":["hashtag1","hashtag2"]},{"1331029838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331029840, 1331029723, 1331029794, 1331029785, 1331029707, 1331029838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.26930809020996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 11:02:21.826263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/36/image_24012025_10_36_02_203793_0002.jpg', '/home/pi/Desktop/images/24012025/10/36/image_24012025_10_36_02_203793_0003.jpg', '/home/pi/Desktop/images/24012025/10/37/image_24012025_10_37_02_470541_0000.jpg', '/home/pi/Desktop/images/24012025/10/37/image_24012025_10_37_02_470541_0001.jpg', '/home/pi/Desktop/images/24012025/10/37/image_24012025_10_37_02_470541_0002.jpg', '/home/pi/Desktop/images/24012025/10/37/image_24012025_10_37_02_470541_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/36/image_24012025_10_36_02_203793_0002.jpg
/home/pi/Desktop/images/24012025/10/36/image_24012025_10_36_02_203793_0003.jpg
/home/pi/Desktop/images/24012025/10/37/image_24012025_10_37_02_470541_0000.jpg
/home/pi/Desktop/images/24012025/10/37/image_24012025_10_37_02_470541_0001.jpg
/home/pi/Desktop/images/24012025/10/37/image_24012025_10_37_02_470541_0002.jpg
/home/pi/Desktop/images/24012025/10/37/image_24012025_10_37_02_470541_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331029957","1331029986","1331029968","1331029979","1331029946","1331029949"],"photo_ids_order":["1331029946","1331029949","1331029957","1331029968","1331029979","1331029986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9331f6218ef51ed3c85c9ff23767811d.jpg","text":"TemporaryFile(/tmp/multipartBody4845852989042055250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713042792,"filename":"image_24012025_10_37_02_470541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/01a6bd036d635ef9567047010390ffc9.jpg","text":"TemporaryFile(/tmp/multipartBody1270823517816138782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713042792,"filename":"image_24012025_10_37_02_470541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a7a1a2c53eccd893626fd502312f049.jpg","text":"TemporaryFile(/tmp/multipartBody6667114266206421645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713042792,"filename":"image_24012025_10_37_02_470541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/df111883a8a2ee4c6abc717ec1ae0f62.jpg","text":"TemporaryFile(/tmp/multipartBody7321973472027233604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713042792,"filename":"image_24012025_10_37_02_470541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8432a548b17772648c327751b448c1f6.jpg","text":"TemporaryFile(/tmp/multipartBody6956960825122069627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713042792,"filename":"image_24012025_10_36_02_203793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47fd97ce27bf9ef599463bc29738b398.jpg","text":"TemporaryFile(/tmp/multipartBody5728775613412802682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713042792,"filename":"image_24012025_10_36_02_203793_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331029957","file1":"1331029949","file0":"1331029946","file4":"1331029979","file5":"1331029986","file3":"1331029968"},"map_files_photo_id_array":[{"photo_id":"1331029986","filename":"file5"},{"photo_id":"1331029957","filename":"file2"},{"photo_id":"1331029979","filename":"file4"},{"photo_id":"1331029949","filename":"file1"},{"photo_id":"1331029946","filename":"file0"},{"photo_id":"1331029968","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331029957":["hashtag1","hashtag2"]},{"1331029986":["hashtag1","hashtag2"]},{"1331029968":["hashtag1","hashtag2"]},{"1331029979":["hashtag1","hashtag2"]},{"1331029946":["hashtag1","hashtag2"]},{"1331029949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331029957, 1331029986, 1331029968, 1331029979, 1331029946, 1331029949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.7401180267334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 11:04:02.555345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/38/image_24012025_10_38_02_658292_0000.jpg', '/home/pi/Desktop/images/24012025/10/38/image_24012025_10_38_02_658292_0001.jpg', '/home/pi/Desktop/images/24012025/10/38/image_24012025_10_38_02_658292_0002.jpg', '/home/pi/Desktop/images/24012025/10/38/image_24012025_10_38_02_658292_0003.jpg', '/home/pi/Desktop/images/24012025/10/39/image_24012025_10_39_02_870391_0000.jpg', '/home/pi/Desktop/images/24012025/10/39/image_24012025_10_39_02_870391_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/38/image_24012025_10_38_02_658292_0000.jpg
/home/pi/Desktop/images/24012025/10/38/image_24012025_10_38_02_658292_0001.jpg
/home/pi/Desktop/images/24012025/10/38/image_24012025_10_38_02_658292_0002.jpg
/home/pi/Desktop/images/24012025/10/38/image_24012025_10_38_02_658292_0003.jpg
/home/pi/Desktop/images/24012025/10/39/image_24012025_10_39_02_870391_0000.jpg
/home/pi/Desktop/images/24012025/10/39/image_24012025_10_39_02_870391_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331030654","1331030171","1331030663","1331030657","1331030504","1331030667"],"photo_ids_order":["1331030171","1331030504","1331030654","1331030657","1331030663","1331030667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f6555a3d44bf7cfb91d328e780b11b0a.jpg","text":"TemporaryFile(/tmp/multipartBody8267245179601426777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713139471,"filename":"image_24012025_10_38_02_658292_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/df8c709035fb66806ddc9a8fbf986c95.jpg","text":"TemporaryFile(/tmp/multipartBody6986071655616065718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713139471,"filename":"image_24012025_10_38_02_658292_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e3dc2a848a21a4f84e69b5e0cb743442.jpg","text":"TemporaryFile(/tmp/multipartBody6955729946796539301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713139471,"filename":"image_24012025_10_39_02_870391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/46b06ca71d1da3a33c081f1ff28b00b7.jpg","text":"TemporaryFile(/tmp/multipartBody4706483089558159449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713139471,"filename":"image_24012025_10_38_02_658292_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65069d0a032bfa612fe7461af8c71acb.jpg","text":"TemporaryFile(/tmp/multipartBody4152309127279379481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713139471,"filename":"image_24012025_10_38_02_658292_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/938ad3cd3a54aec5cc5768a32ac5d8a9.jpg","text":"TemporaryFile(/tmp/multipartBody2863639980759249336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713139471,"filename":"image_24012025_10_39_02_870391_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331030654","file1":"1331030504","file0":"1331030171","file4":"1331030663","file5":"1331030667","file3":"1331030657"},"map_files_photo_id_array":[{"photo_id":"1331030667","filename":"file5"},{"photo_id":"1331030654","filename":"file2"},{"photo_id":"1331030663","filename":"file4"},{"photo_id":"1331030504","filename":"file1"},{"photo_id":"1331030171","filename":"file0"},{"photo_id":"1331030657","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331030654":["hashtag1","hashtag2"]},{"1331030171":["hashtag1","hashtag2"]},{"1331030663":["hashtag1","hashtag2"]},{"1331030657":["hashtag1","hashtag2"]},{"1331030504":["hashtag1","hashtag2"]},{"1331030667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331030654, 1331030171, 1331030663, 1331030657, 1331030504, 1331030667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.4927110671997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 11:05:42.325984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/39/image_24012025_10_39_02_870391_0002.jpg', '/home/pi/Desktop/images/24012025/10/39/image_24012025_10_39_02_870391_0003.jpg', '/home/pi/Desktop/images/24012025/10/40/image_24012025_10_40_02_935220_0000.jpg', '/home/pi/Desktop/images/24012025/10/40/image_24012025_10_40_02_935220_0001.jpg', '/home/pi/Desktop/images/24012025/10/40/image_24012025_10_40_02_935220_0002.jpg', '/home/pi/Desktop/images/24012025/10/40/image_24012025_10_40_02_935220_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/39/image_24012025_10_39_02_870391_0002.jpg
/home/pi/Desktop/images/24012025/10/39/image_24012025_10_39_02_870391_0003.jpg
/home/pi/Desktop/images/24012025/10/40/image_24012025_10_40_02_935220_0000.jpg
/home/pi/Desktop/images/24012025/10/40/image_24012025_10_40_02_935220_0001.jpg
/home/pi/Desktop/images/24012025/10/40/image_24012025_10_40_02_935220_0002.jpg
/home/pi/Desktop/images/24012025/10/40/image_24012025_10_40_02_935220_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331031499","1331031274","1331031355","1331031235","1331031548","1331031362"],"photo_ids_order":["1331031235","1331031274","1331031355","1331031362","1331031499","1331031548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b2ee8d11dbe0dad62cbb6cd19c4d7c6.jpg","text":"TemporaryFile(/tmp/multipartBody3102019657723230804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713251530,"filename":"image_24012025_10_40_02_935220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/27f5fa7b275866cc39e21c1bdfad84cb.jpg","text":"TemporaryFile(/tmp/multipartBody8465221609665075123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713251530,"filename":"image_24012025_10_39_02_870391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/066693cad0cc60186f3d04c2c87eeb97.jpg","text":"TemporaryFile(/tmp/multipartBody273033789091365003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713251530,"filename":"image_24012025_10_40_02_935220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/90c47b8bf47b887c4e23725549ace148.jpg","text":"TemporaryFile(/tmp/multipartBody8847662929643605394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713251530,"filename":"image_24012025_10_39_02_870391_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d6933202fa36d800bc608273fafaca6c.jpg","text":"TemporaryFile(/tmp/multipartBody542336740199348503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713251530,"filename":"image_24012025_10_40_02_935220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23e0d9734964faa730926b417403f7ad.jpg","text":"TemporaryFile(/tmp/multipartBody3513479067005611297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713251530,"filename":"image_24012025_10_40_02_935220_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331031355","file1":"1331031274","file0":"1331031235","file4":"1331031499","file5":"1331031548","file3":"1331031362"},"map_files_photo_id_array":[{"photo_id":"1331031548","filename":"file5"},{"photo_id":"1331031355","filename":"file2"},{"photo_id":"1331031499","filename":"file4"},{"photo_id":"1331031274","filename":"file1"},{"photo_id":"1331031235","filename":"file0"},{"photo_id":"1331031362","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331031499":["hashtag1","hashtag2"]},{"1331031274":["hashtag1","hashtag2"]},{"1331031355":["hashtag1","hashtag2"]},{"1331031235":["hashtag1","hashtag2"]},{"1331031548":["hashtag1","hashtag2"]},{"1331031362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331031499, 1331031274, 1331031355, 1331031235, 1331031548, 1331031362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.65549945831299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 11:07:32.628821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0000.jpg', '/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0001.jpg', '/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0002.jpg', '/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0003.jpg', '/home/pi/Desktop/images/24012025/10/42/image_24012025_10_42_02_285712_0000.jpg', '/home/pi/Desktop/images/24012025/10/42/image_24012025_10_42_02_285712_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0000.jpg
/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0001.jpg
/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0002.jpg
/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0003.jpg
/home/pi/Desktop/images/24012025/10/42/image_24012025_10_42_02_285712_0000.jpg
/home/pi/Desktop/images/24012025/10/42/image_24012025_10_42_02_285712_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 38.86231446266174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 11:08:21.819308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0000.jpg', '/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0001.jpg', '/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0002.jpg', '/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0003.jpg', '/home/pi/Desktop/images/24012025/10/42/image_24012025_10_42_02_285712_0000.jpg', '/home/pi/Desktop/images/24012025/10/42/image_24012025_10_42_02_285712_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0000.jpg
/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0001.jpg
/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0002.jpg
/home/pi/Desktop/images/24012025/10/41/image_24012025_10_41_03_097139_0003.jpg
/home/pi/Desktop/images/24012025/10/42/image_24012025_10_42_02_285712_0000.jpg
/home/pi/Desktop/images/24012025/10/42/image_24012025_10_42_02_285712_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331031769","1331031760","1331031754","1331031763","1331031910","1331031904"],"photo_ids_order":["1331031754","1331031760","1331031763","1331031769","1331031904","1331031910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6a589ae04669b9f3f91ef1892b38d1d2.jpg","text":"TemporaryFile(/tmp/multipartBody4853561758646775971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713398256,"filename":"image_24012025_10_41_03_097139_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b88ba2192753c5589011bd32e8f3de1.jpg","text":"TemporaryFile(/tmp/multipartBody6110583582895930106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713398256,"filename":"image_24012025_10_41_03_097139_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/68c6af32eca7eb8d091ed072696f27f1.jpg","text":"TemporaryFile(/tmp/multipartBody5755761456226416198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713398256,"filename":"image_24012025_10_41_03_097139_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/be6bc805a5e01ccbcb8a160a343d3148.jpg","text":"TemporaryFile(/tmp/multipartBody2642865878754533971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713398256,"filename":"image_24012025_10_41_03_097139_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/067f2bae64fa4b02f27d6fecf3028d2b.jpg","text":"TemporaryFile(/tmp/multipartBody2028791075505043321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713398256,"filename":"image_24012025_10_42_02_285712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0b4102f6326a1f5373bcab08b447985c.jpg","text":"TemporaryFile(/tmp/multipartBody7158967527028320283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713398256,"filename":"image_24012025_10_42_02_285712_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331031763","file1":"1331031760","file0":"1331031754","file4":"1331031904","file5":"1331031910","file3":"1331031769"},"map_files_photo_id_array":[{"photo_id":"1331031910","filename":"file5"},{"photo_id":"1331031763","filename":"file2"},{"photo_id":"1331031904","filename":"file4"},{"photo_id":"1331031760","filename":"file1"},{"photo_id":"1331031754","filename":"file0"},{"photo_id":"1331031769","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331031769":["hashtag1","hashtag2"]},{"1331031760":["hashtag1","hashtag2"]},{"1331031754":["hashtag1","hashtag2"]},{"1331031763":["hashtag1","hashtag2"]},{"1331031910":["hashtag1","hashtag2"]},{"1331031904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331031769, 1331031760, 1331031754, 1331031763, 1331031910, 1331031904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.25414323806763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 11:10:02.737241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/42/image_24012025_10_42_02_285712_0002.jpg', '/home/pi/Desktop/images/24012025/10/42/image_24012025_10_42_02_285712_0003.jpg', '/home/pi/Desktop/images/24012025/10/43/image_24012025_10_43_02_419690_0000.jpg', '/home/pi/Desktop/images/24012025/10/43/image_24012025_10_43_02_419690_0001.jpg', '/home/pi/Desktop/images/24012025/10/43/image_24012025_10_43_02_419690_0002.jpg', '/home/pi/Desktop/images/24012025/10/43/image_24012025_10_43_02_419690_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/42/image_24012025_10_42_02_285712_0002.jpg
/home/pi/Desktop/images/24012025/10/42/image_24012025_10_42_02_285712_0003.jpg
/home/pi/Desktop/images/24012025/10/43/image_24012025_10_43_02_419690_0000.jpg
/home/pi/Desktop/images/24012025/10/43/image_24012025_10_43_02_419690_0001.jpg
/home/pi/Desktop/images/24012025/10/43/image_24012025_10_43_02_419690_0002.jpg
/home/pi/Desktop/images/24012025/10/43/image_24012025_10_43_02_419690_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331032060","1331032048","1331032021","1331032040","1331032016","1331032013"],"photo_ids_order":["1331032013","1331032016","1331032021","1331032040","1331032048","1331032060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f72a785423c89730f8d5266648f8b2a7.jpg","text":"TemporaryFile(/tmp/multipartBody3811699611141743835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713501681,"filename":"image_24012025_10_43_02_419690_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee7c755f4bd0dc5d878823951f4e1e98.jpg","text":"TemporaryFile(/tmp/multipartBody6570265267155132245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713501681,"filename":"image_24012025_10_43_02_419690_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f05588456aeef70e2cac2973e013692.jpg","text":"TemporaryFile(/tmp/multipartBody6433245411498376949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713501681,"filename":"image_24012025_10_43_02_419690_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c96fa61fc4f16157dfaa62758ba90b21.jpg","text":"TemporaryFile(/tmp/multipartBody9163755296133137780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713501681,"filename":"image_24012025_10_43_02_419690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/665abe8aa307e4be8ae1920df7bddce2.jpg","text":"TemporaryFile(/tmp/multipartBody3526930184296174938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713501681,"filename":"image_24012025_10_42_02_285712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/71bebc0487b56d71089f9c3f4821cd0e.jpg","text":"TemporaryFile(/tmp/multipartBody4532476162863540231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713501681,"filename":"image_24012025_10_42_02_285712_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331032021","file1":"1331032016","file0":"1331032013","file4":"1331032048","file5":"1331032060","file3":"1331032040"},"map_files_photo_id_array":[{"photo_id":"1331032060","filename":"file5"},{"photo_id":"1331032021","filename":"file2"},{"photo_id":"1331032048","filename":"file4"},{"photo_id":"1331032016","filename":"file1"},{"photo_id":"1331032013","filename":"file0"},{"photo_id":"1331032040","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331032060":["hashtag1","hashtag2"]},{"1331032048":["hashtag1","hashtag2"]},{"1331032021":["hashtag1","hashtag2"]},{"1331032040":["hashtag1","hashtag2"]},{"1331032016":["hashtag1","hashtag2"]},{"1331032013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331032060, 1331032048, 1331032021, 1331032040, 1331032016, 1331032013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.98277926445007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 11:11:42.502611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/44/image_24012025_10_44_02_681613_0000.jpg', '/home/pi/Desktop/images/24012025/10/44/image_24012025_10_44_02_681613_0001.jpg', '/home/pi/Desktop/images/24012025/10/44/image_24012025_10_44_02_681613_0002.jpg', '/home/pi/Desktop/images/24012025/10/44/image_24012025_10_44_02_681613_0003.jpg', '/home/pi/Desktop/images/24012025/10/45/image_24012025_10_45_02_894305_0000.jpg', '/home/pi/Desktop/images/24012025/10/45/image_24012025_10_45_02_894305_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/44/image_24012025_10_44_02_681613_0000.jpg
/home/pi/Desktop/images/24012025/10/44/image_24012025_10_44_02_681613_0001.jpg
/home/pi/Desktop/images/24012025/10/44/image_24012025_10_44_02_681613_0002.jpg
/home/pi/Desktop/images/24012025/10/44/image_24012025_10_44_02_681613_0003.jpg
/home/pi/Desktop/images/24012025/10/45/image_24012025_10_45_02_894305_0000.jpg
/home/pi/Desktop/images/24012025/10/45/image_24012025_10_45_02_894305_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331032185","1331032197","1331032178","1331032181","1331032175","1331032202"],"photo_ids_order":["1331032175","1331032178","1331032181","1331032185","1331032197","1331032202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed93ead57e1be40db7109a6700530acc.jpg","text":"TemporaryFile(/tmp/multipartBody3695589702289761879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713612391,"filename":"image_24012025_10_44_02_681613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/272a38670e0601bd07de2ec8f4bbc40e.jpg","text":"TemporaryFile(/tmp/multipartBody2054669888350032437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713612391,"filename":"image_24012025_10_45_02_894305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a40064deca53d4fff4c327fbd12efad9.jpg","text":"TemporaryFile(/tmp/multipartBody723641996032093436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713612391,"filename":"image_24012025_10_44_02_681613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ba97d01db6cc83194e608cbc7416791b.jpg","text":"TemporaryFile(/tmp/multipartBody5986922657348303091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713612391,"filename":"image_24012025_10_44_02_681613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f36cdc87e05f817f48ba274d493eca7e.jpg","text":"TemporaryFile(/tmp/multipartBody7850692052802786599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713612391,"filename":"image_24012025_10_44_02_681613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7064defc6273b0f27d11f084cc0ee9e8.jpg","text":"TemporaryFile(/tmp/multipartBody5797727204667386303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713612391,"filename":"image_24012025_10_45_02_894305_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331032181","file1":"1331032178","file0":"1331032175","file4":"1331032197","file5":"1331032202","file3":"1331032185"},"map_files_photo_id_array":[{"photo_id":"1331032202","filename":"file5"},{"photo_id":"1331032181","filename":"file2"},{"photo_id":"1331032197","filename":"file4"},{"photo_id":"1331032178","filename":"file1"},{"photo_id":"1331032175","filename":"file0"},{"photo_id":"1331032185","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331032185":["hashtag1","hashtag2"]},{"1331032197":["hashtag1","hashtag2"]},{"1331032178":["hashtag1","hashtag2"]},{"1331032181":["hashtag1","hashtag2"]},{"1331032175":["hashtag1","hashtag2"]},{"1331032202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331032185, 1331032197, 1331032178, 1331032181, 1331032175, 1331032202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.31576442718506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 11:13:32.774652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/45/image_24012025_10_45_02_894305_0002.jpg', '/home/pi/Desktop/images/24012025/10/45/image_24012025_10_45_02_894305_0003.jpg', '/home/pi/Desktop/images/24012025/10/46/image_24012025_10_46_03_062569_0000.jpg', '/home/pi/Desktop/images/24012025/10/46/image_24012025_10_46_03_062569_0001.jpg', '/home/pi/Desktop/images/24012025/10/46/image_24012025_10_46_03_062569_0002.jpg', '/home/pi/Desktop/images/24012025/10/46/image_24012025_10_46_03_062569_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/45/image_24012025_10_45_02_894305_0002.jpg
/home/pi/Desktop/images/24012025/10/45/image_24012025_10_45_02_894305_0003.jpg
/home/pi/Desktop/images/24012025/10/46/image_24012025_10_46_03_062569_0000.jpg
/home/pi/Desktop/images/24012025/10/46/image_24012025_10_46_03_062569_0001.jpg
/home/pi/Desktop/images/24012025/10/46/image_24012025_10_46_03_062569_0002.jpg
/home/pi/Desktop/images/24012025/10/46/image_24012025_10_46_03_062569_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331032303","1331032313","1331032307","1331032301","1331032304","1331032297"],"photo_ids_order":["1331032297","1331032301","1331032303","1331032304","1331032307","1331032313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7143e716e5985490fca398fc580433f3.jpg","text":"TemporaryFile(/tmp/multipartBody1818220857593713758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713723814,"filename":"image_24012025_10_46_03_062569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e7e340cbe8830af2079e0d5252cc4ad0.jpg","text":"TemporaryFile(/tmp/multipartBody5238934730655000986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713723814,"filename":"image_24012025_10_46_03_062569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72ef9c691fb87f9306b2964c45241275.jpg","text":"TemporaryFile(/tmp/multipartBody4144732342858362611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713723814,"filename":"image_24012025_10_46_03_062569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c45dffab33c0bbaebba050ceabc56ce.jpg","text":"TemporaryFile(/tmp/multipartBody314535659680088561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713723814,"filename":"image_24012025_10_45_02_894305_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f6ae3d48b79d0ce653831ae636f36f69.jpg","text":"TemporaryFile(/tmp/multipartBody4342476602904967570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713723814,"filename":"image_24012025_10_46_03_062569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/362b6f317b7d27d1aa09689c3d391579.jpg","text":"TemporaryFile(/tmp/multipartBody4651950895781466299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713723814,"filename":"image_24012025_10_45_02_894305_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331032303","file1":"1331032301","file0":"1331032297","file4":"1331032307","file5":"1331032313","file3":"1331032304"},"map_files_photo_id_array":[{"photo_id":"1331032313","filename":"file5"},{"photo_id":"1331032303","filename":"file2"},{"photo_id":"1331032307","filename":"file4"},{"photo_id":"1331032301","filename":"file1"},{"photo_id":"1331032297","filename":"file0"},{"photo_id":"1331032304","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331032303":["hashtag1","hashtag2"]},{"1331032313":["hashtag1","hashtag2"]},{"1331032307":["hashtag1","hashtag2"]},{"1331032301":["hashtag1","hashtag2"]},{"1331032304":["hashtag1","hashtag2"]},{"1331032297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331032303, 1331032313, 1331032307, 1331032301, 1331032304, 1331032297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.10062861442566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 11:15:22.189060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/47/image_24012025_10_47_02_258788_0000.jpg', '/home/pi/Desktop/images/24012025/10/47/image_24012025_10_47_02_258788_0001.jpg', '/home/pi/Desktop/images/24012025/10/47/image_24012025_10_47_02_258788_0002.jpg', '/home/pi/Desktop/images/24012025/10/47/image_24012025_10_47_02_258788_0003.jpg', '/home/pi/Desktop/images/24012025/10/48/image_24012025_10_48_02_416787_0000.jpg', '/home/pi/Desktop/images/24012025/10/48/image_24012025_10_48_02_416787_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/47/image_24012025_10_47_02_258788_0000.jpg
/home/pi/Desktop/images/24012025/10/47/image_24012025_10_47_02_258788_0001.jpg
/home/pi/Desktop/images/24012025/10/47/image_24012025_10_47_02_258788_0002.jpg
/home/pi/Desktop/images/24012025/10/47/image_24012025_10_47_02_258788_0003.jpg
/home/pi/Desktop/images/24012025/10/48/image_24012025_10_48_02_416787_0000.jpg
/home/pi/Desktop/images/24012025/10/48/image_24012025_10_48_02_416787_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331032351","1331032345","1331032368","1331032377","1331032344","1331032360"],"photo_ids_order":["1331032344","1331032345","1331032351","1331032360","1331032368","1331032377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/60bd662a33ccdc2437c1c92f849d3b1c.jpg","text":"TemporaryFile(/tmp/multipartBody7029988760121531857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713807639,"filename":"image_24012025_10_47_02_258788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/70f0089cce2783fca410974d44f42e23.jpg","text":"TemporaryFile(/tmp/multipartBody4361921404891196886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713807639,"filename":"image_24012025_10_47_02_258788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ca51ed809a97f3b032e77a6aea87a96.jpg","text":"TemporaryFile(/tmp/multipartBody5923732874392194928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713807639,"filename":"image_24012025_10_48_02_416787_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/adfb7f9d58acb4142bf6fc12ad5e12b9.jpg","text":"TemporaryFile(/tmp/multipartBody4523257995824428110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713807639,"filename":"image_24012025_10_48_02_416787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/260fc2fb77564f991006d1dc57990c9e.jpg","text":"TemporaryFile(/tmp/multipartBody2077541183959769437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713807639,"filename":"image_24012025_10_47_02_258788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/738ca227b71b3b2ba3c1fc35b5d5bce5.jpg","text":"TemporaryFile(/tmp/multipartBody3884066273294786019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713807639,"filename":"image_24012025_10_47_02_258788_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331032351","file1":"1331032345","file0":"1331032344","file4":"1331032368","file5":"1331032377","file3":"1331032360"},"map_files_photo_id_array":[{"photo_id":"1331032377","filename":"file5"},{"photo_id":"1331032351","filename":"file2"},{"photo_id":"1331032368","filename":"file4"},{"photo_id":"1331032345","filename":"file1"},{"photo_id":"1331032344","filename":"file0"},{"photo_id":"1331032360","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331032351":["hashtag1","hashtag2"]},{"1331032345":["hashtag1","hashtag2"]},{"1331032368":["hashtag1","hashtag2"]},{"1331032377":["hashtag1","hashtag2"]},{"1331032344":["hashtag1","hashtag2"]},{"1331032360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331032351, 1331032345, 1331032368, 1331032377, 1331032344, 1331032360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.17834854125977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 11:16:52.257433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/48/image_24012025_10_48_02_416787_0002.jpg', '/home/pi/Desktop/images/24012025/10/48/image_24012025_10_48_02_416787_0003.jpg', '/home/pi/Desktop/images/24012025/10/49/image_24012025_10_49_02_592043_0000.jpg', '/home/pi/Desktop/images/24012025/10/49/image_24012025_10_49_02_592043_0001.jpg', '/home/pi/Desktop/images/24012025/10/49/image_24012025_10_49_02_592043_0002.jpg', '/home/pi/Desktop/images/24012025/10/49/image_24012025_10_49_02_592043_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/48/image_24012025_10_48_02_416787_0002.jpg
/home/pi/Desktop/images/24012025/10/48/image_24012025_10_48_02_416787_0003.jpg
/home/pi/Desktop/images/24012025/10/49/image_24012025_10_49_02_592043_0000.jpg
/home/pi/Desktop/images/24012025/10/49/image_24012025_10_49_02_592043_0001.jpg
/home/pi/Desktop/images/24012025/10/49/image_24012025_10_49_02_592043_0002.jpg
/home/pi/Desktop/images/24012025/10/49/image_24012025_10_49_02_592043_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331032435","1331032438","1331032484","1331032472","1331032433","1331032502"],"photo_ids_order":["1331032433","1331032435","1331032438","1331032472","1331032484","1331032502"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c0509e4f8c62d0ee116d51e7ad1b715.jpg","text":"TemporaryFile(/tmp/multipartBody7117010805355794617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713917183,"filename":"image_24012025_10_48_02_416787_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23430d2cd83266a32b2a97c579f8febc.jpg","text":"TemporaryFile(/tmp/multipartBody3984994755985405897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713917183,"filename":"image_24012025_10_49_02_592043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1c42e57d07a1b26f696a26b147c8b3c9.jpg","text":"TemporaryFile(/tmp/multipartBody4609041395318608409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713917183,"filename":"image_24012025_10_49_02_592043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/78aa00ee2079643aa2e3aec91fd59dde.jpg","text":"TemporaryFile(/tmp/multipartBody6215559573696301404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713917183,"filename":"image_24012025_10_49_02_592043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d2a8e32ec2d943517deaabc8574e2a11.jpg","text":"TemporaryFile(/tmp/multipartBody4714016232255061411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713917183,"filename":"image_24012025_10_48_02_416787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c2902ea79d57e415cd0a84946f3009a5.jpg","text":"TemporaryFile(/tmp/multipartBody8823947662480402004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737713917183,"filename":"image_24012025_10_49_02_592043_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331032438","file1":"1331032435","file0":"1331032433","file4":"1331032484","file5":"1331032502","file3":"1331032472"},"map_files_photo_id_array":[{"photo_id":"1331032502","filename":"file5"},{"photo_id":"1331032438","filename":"file2"},{"photo_id":"1331032484","filename":"file4"},{"photo_id":"1331032435","filename":"file1"},{"photo_id":"1331032433","filename":"file0"},{"photo_id":"1331032472","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331032435":["hashtag1","hashtag2"]},{"1331032438":["hashtag1","hashtag2"]},{"1331032484":["hashtag1","hashtag2"]},{"1331032472":["hashtag1","hashtag2"]},{"1331032433":["hashtag1","hashtag2"]},{"1331032502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331032435, 1331032438, 1331032484, 1331032472, 1331032433, 1331032502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.66050004959106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 11:18:42.779879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/50/image_24012025_10_50_02_791676_0000.jpg', '/home/pi/Desktop/images/24012025/10/50/image_24012025_10_50_02_791676_0001.jpg', '/home/pi/Desktop/images/24012025/10/50/image_24012025_10_50_02_791676_0002.jpg', '/home/pi/Desktop/images/24012025/10/50/image_24012025_10_50_02_791676_0003.jpg', '/home/pi/Desktop/images/24012025/10/51/image_24012025_10_51_02_961049_0000.jpg', '/home/pi/Desktop/images/24012025/10/51/image_24012025_10_51_02_961049_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/50/image_24012025_10_50_02_791676_0000.jpg
/home/pi/Desktop/images/24012025/10/50/image_24012025_10_50_02_791676_0001.jpg
/home/pi/Desktop/images/24012025/10/50/image_24012025_10_50_02_791676_0002.jpg
/home/pi/Desktop/images/24012025/10/50/image_24012025_10_50_02_791676_0003.jpg
/home/pi/Desktop/images/24012025/10/51/image_24012025_10_51_02_961049_0000.jpg
/home/pi/Desktop/images/24012025/10/51/image_24012025_10_51_02_961049_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331032633","1331032644","1331032626","1331032643","1331032637","1331032646"],"photo_ids_order":["1331032626","1331032633","1331032637","1331032643","1331032644","1331032646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc1e969203e62619c99119f951dfa270.jpg","text":"TemporaryFile(/tmp/multipartBody1808842701086781489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714017155,"filename":"image_24012025_10_50_02_791676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c055023f4975278b8936fb5436cd4981.jpg","text":"TemporaryFile(/tmp/multipartBody270623263683124020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714017155,"filename":"image_24012025_10_51_02_961049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c580e18dfd6b946ebe1e6d0d1e170d1d.jpg","text":"TemporaryFile(/tmp/multipartBody3952054864877137222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714017155,"filename":"image_24012025_10_50_02_791676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5838f1c43f761ef2cf4ad8d44939356e.jpg","text":"TemporaryFile(/tmp/multipartBody6870782750551231017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714017155,"filename":"image_24012025_10_50_02_791676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5bc988dbe65aa32f7f04d8b23fcb4554.jpg","text":"TemporaryFile(/tmp/multipartBody281681640682004244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714017155,"filename":"image_24012025_10_50_02_791676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9bf9505d24798f19ab3174fcf404fd3b.jpg","text":"TemporaryFile(/tmp/multipartBody2203098796586000848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714017155,"filename":"image_24012025_10_51_02_961049_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331032637","file1":"1331032633","file0":"1331032626","file4":"1331032644","file5":"1331032646","file3":"1331032643"},"map_files_photo_id_array":[{"photo_id":"1331032646","filename":"file5"},{"photo_id":"1331032637","filename":"file2"},{"photo_id":"1331032644","filename":"file4"},{"photo_id":"1331032633","filename":"file1"},{"photo_id":"1331032626","filename":"file0"},{"photo_id":"1331032643","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331032633":["hashtag1","hashtag2"]},{"1331032644":["hashtag1","hashtag2"]},{"1331032626":["hashtag1","hashtag2"]},{"1331032643":["hashtag1","hashtag2"]},{"1331032637":["hashtag1","hashtag2"]},{"1331032646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331032633, 1331032644, 1331032626, 1331032643, 1331032637, 1331032646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.02395510673523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 11:20:22.045206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/51/image_24012025_10_51_02_961049_0002.jpg', '/home/pi/Desktop/images/24012025/10/51/image_24012025_10_51_02_961049_0003.jpg', '/home/pi/Desktop/images/24012025/10/52/image_24012025_10_52_02_241925_0000.jpg', '/home/pi/Desktop/images/24012025/10/52/image_24012025_10_52_02_241925_0001.jpg', '/home/pi/Desktop/images/24012025/10/52/image_24012025_10_52_02_241925_0002.jpg', '/home/pi/Desktop/images/24012025/10/52/image_24012025_10_52_02_241925_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/51/image_24012025_10_51_02_961049_0002.jpg
/home/pi/Desktop/images/24012025/10/51/image_24012025_10_51_02_961049_0003.jpg
/home/pi/Desktop/images/24012025/10/52/image_24012025_10_52_02_241925_0000.jpg
/home/pi/Desktop/images/24012025/10/52/image_24012025_10_52_02_241925_0001.jpg
/home/pi/Desktop/images/24012025/10/52/image_24012025_10_52_02_241925_0002.jpg
/home/pi/Desktop/images/24012025/10/52/image_24012025_10_52_02_241925_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331032728","1331032769","1331032760","1331032771","1331032765","1331032750"],"photo_ids_order":["1331032728","1331032750","1331032760","1331032765","1331032769","1331032771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b89b0a470361693e75cbd66b096645d4.jpg","text":"TemporaryFile(/tmp/multipartBody4869861743600312334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714126620,"filename":"image_24012025_10_51_02_961049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5479fbf929b9225bacf12ac563bb5f3.jpg","text":"TemporaryFile(/tmp/multipartBody1052648782281726829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714126620,"filename":"image_24012025_10_52_02_241925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d91d2e0d1bd889b0ecbfe2cac21a8b1.jpg","text":"TemporaryFile(/tmp/multipartBody5343807056273654149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714126620,"filename":"image_24012025_10_52_02_241925_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2bdf016fde2bfa91d69f48fad8d652a4.jpg","text":"TemporaryFile(/tmp/multipartBody5209525462209025358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714126620,"filename":"image_24012025_10_52_02_241925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7e4381151a3387c8634f5502808ce56.jpg","text":"TemporaryFile(/tmp/multipartBody6456577483046617012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714126620,"filename":"image_24012025_10_52_02_241925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a5ff76086f1525f85d541e0845858a2f.jpg","text":"TemporaryFile(/tmp/multipartBody643822717115973732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714126620,"filename":"image_24012025_10_51_02_961049_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331032760","file1":"1331032750","file0":"1331032728","file4":"1331032769","file5":"1331032771","file3":"1331032765"},"map_files_photo_id_array":[{"photo_id":"1331032771","filename":"file5"},{"photo_id":"1331032760","filename":"file2"},{"photo_id":"1331032769","filename":"file4"},{"photo_id":"1331032750","filename":"file1"},{"photo_id":"1331032728","filename":"file0"},{"photo_id":"1331032765","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331032728":["hashtag1","hashtag2"]},{"1331032769":["hashtag1","hashtag2"]},{"1331032760":["hashtag1","hashtag2"]},{"1331032771":["hashtag1","hashtag2"]},{"1331032765":["hashtag1","hashtag2"]},{"1331032750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331032728, 1331032769, 1331032760, 1331032771, 1331032765, 1331032750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.84873533248901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 11:22:22.444595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/53/image_24012025_10_53_02_410840_0000.jpg', '/home/pi/Desktop/images/24012025/10/53/image_24012025_10_53_02_410840_0001.jpg', '/home/pi/Desktop/images/24012025/10/53/image_24012025_10_53_02_410840_0002.jpg', '/home/pi/Desktop/images/24012025/10/53/image_24012025_10_53_02_410840_0003.jpg', '/home/pi/Desktop/images/24012025/10/54/image_24012025_10_54_02_545690_0000.jpg', '/home/pi/Desktop/images/24012025/10/54/image_24012025_10_54_02_545690_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/53/image_24012025_10_53_02_410840_0000.jpg
/home/pi/Desktop/images/24012025/10/53/image_24012025_10_53_02_410840_0001.jpg
/home/pi/Desktop/images/24012025/10/53/image_24012025_10_53_02_410840_0002.jpg
/home/pi/Desktop/images/24012025/10/53/image_24012025_10_53_02_410840_0003.jpg
/home/pi/Desktop/images/24012025/10/54/image_24012025_10_54_02_545690_0000.jpg
/home/pi/Desktop/images/24012025/10/54/image_24012025_10_54_02_545690_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331033821","1331034098","1331034179","1331034105","1331033826","1331034109"],"photo_ids_order":["1331033821","1331033826","1331034098","1331034105","1331034109","1331034179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3d0973ba7d75caee1191f5a3fe98d4f8.jpg","text":"TemporaryFile(/tmp/multipartBody4567678714829784846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714246878,"filename":"image_24012025_10_53_02_410840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1703a30fed149c984f9bc85722ce5187.jpg","text":"TemporaryFile(/tmp/multipartBody4088654590207383609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714246878,"filename":"image_24012025_10_53_02_410840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb0961737231ed3ad528f9b8ce7b392c.jpg","text":"TemporaryFile(/tmp/multipartBody5681867322566727098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714246878,"filename":"image_24012025_10_54_02_545690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/05571d2ca8d7c46dc960e34767b4bdbb.jpg","text":"TemporaryFile(/tmp/multipartBody9036397228766475971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714246878,"filename":"image_24012025_10_53_02_410840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/19890a4e01e4d3aeddcd6ebe117b733d.jpg","text":"TemporaryFile(/tmp/multipartBody6077760894311017974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714246878,"filename":"image_24012025_10_53_02_410840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/249a47bb2b3389d6f5636475594cd0d8.jpg","text":"TemporaryFile(/tmp/multipartBody5979358417418158945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714246878,"filename":"image_24012025_10_54_02_545690_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331034098","file1":"1331033826","file0":"1331033821","file4":"1331034109","file5":"1331034179","file3":"1331034105"},"map_files_photo_id_array":[{"photo_id":"1331034179","filename":"file5"},{"photo_id":"1331034098","filename":"file2"},{"photo_id":"1331034109","filename":"file4"},{"photo_id":"1331033826","filename":"file1"},{"photo_id":"1331033821","filename":"file0"},{"photo_id":"1331034105","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331033821":["hashtag1","hashtag2"]},{"1331034098":["hashtag1","hashtag2"]},{"1331034179":["hashtag1","hashtag2"]},{"1331034105":["hashtag1","hashtag2"]},{"1331033826":["hashtag1","hashtag2"]},{"1331034109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331033821, 1331034098, 1331034179, 1331034105, 1331033826, 1331034109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.28810024261475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 11:24:22.758297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/54/image_24012025_10_54_02_545690_0002.jpg', '/home/pi/Desktop/images/24012025/10/54/image_24012025_10_54_02_545690_0003.jpg', '/home/pi/Desktop/images/24012025/10/55/image_24012025_10_55_02_724324_0000.jpg', '/home/pi/Desktop/images/24012025/10/55/image_24012025_10_55_02_724324_0001.jpg', '/home/pi/Desktop/images/24012025/10/55/image_24012025_10_55_02_724324_0002.jpg', '/home/pi/Desktop/images/24012025/10/55/image_24012025_10_55_02_724324_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/54/image_24012025_10_54_02_545690_0002.jpg
/home/pi/Desktop/images/24012025/10/54/image_24012025_10_54_02_545690_0003.jpg
/home/pi/Desktop/images/24012025/10/55/image_24012025_10_55_02_724324_0000.jpg
/home/pi/Desktop/images/24012025/10/55/image_24012025_10_55_02_724324_0001.jpg
/home/pi/Desktop/images/24012025/10/55/image_24012025_10_55_02_724324_0002.jpg
/home/pi/Desktop/images/24012025/10/55/image_24012025_10_55_02_724324_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331034441","1331034359","1331034434","1331034338","1331034430","1331034322"],"photo_ids_order":["1331034322","1331034338","1331034359","1331034430","1331034434","1331034441"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a48737884c99079782ab21b4679854de.jpg","text":"TemporaryFile(/tmp/multipartBody8686517216288887487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714371553,"filename":"image_24012025_10_55_02_724324_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74b5643663ef59547b389e1e4e8d912f.jpg","text":"TemporaryFile(/tmp/multipartBody6580617657972069351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714371553,"filename":"image_24012025_10_55_02_724324_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce36a68579e18d294d56ca7d0c989fac.jpg","text":"TemporaryFile(/tmp/multipartBody209945877597139495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714371553,"filename":"image_24012025_10_55_02_724324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b1021ca291bc52394515195637d826f9.jpg","text":"TemporaryFile(/tmp/multipartBody5782673151929871287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714371553,"filename":"image_24012025_10_54_02_545690_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d615c7e1b4c99ee00bd4df794ac6f83.jpg","text":"TemporaryFile(/tmp/multipartBody4503627869380354036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714371553,"filename":"image_24012025_10_55_02_724324_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/566f6de220722d2d223ba96bc2ded752.jpg","text":"TemporaryFile(/tmp/multipartBody2020144982819028270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714371553,"filename":"image_24012025_10_54_02_545690_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331034359","file1":"1331034338","file0":"1331034322","file4":"1331034434","file5":"1331034441","file3":"1331034430"},"map_files_photo_id_array":[{"photo_id":"1331034441","filename":"file5"},{"photo_id":"1331034359","filename":"file2"},{"photo_id":"1331034434","filename":"file4"},{"photo_id":"1331034338","filename":"file1"},{"photo_id":"1331034322","filename":"file0"},{"photo_id":"1331034430","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331034441":["hashtag1","hashtag2"]},{"1331034359":["hashtag1","hashtag2"]},{"1331034434":["hashtag1","hashtag2"]},{"1331034338":["hashtag1","hashtag2"]},{"1331034430":["hashtag1","hashtag2"]},{"1331034322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331034441, 1331034359, 1331034434, 1331034338, 1331034430, 1331034322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.57681488990784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 11:26:22.090908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/56/image_24012025_10_56_02_938035_0000.jpg', '/home/pi/Desktop/images/24012025/10/56/image_24012025_10_56_02_938035_0001.jpg', '/home/pi/Desktop/images/24012025/10/56/image_24012025_10_56_02_938035_0002.jpg', '/home/pi/Desktop/images/24012025/10/56/image_24012025_10_56_02_938035_0003.jpg', '/home/pi/Desktop/images/24012025/10/57/image_24012025_10_57_02_121989_0000.jpg', '/home/pi/Desktop/images/24012025/10/57/image_24012025_10_57_02_121989_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/56/image_24012025_10_56_02_938035_0000.jpg
/home/pi/Desktop/images/24012025/10/56/image_24012025_10_56_02_938035_0001.jpg
/home/pi/Desktop/images/24012025/10/56/image_24012025_10_56_02_938035_0002.jpg
/home/pi/Desktop/images/24012025/10/56/image_24012025_10_56_02_938035_0003.jpg
/home/pi/Desktop/images/24012025/10/57/image_24012025_10_57_02_121989_0000.jpg
/home/pi/Desktop/images/24012025/10/57/image_24012025_10_57_02_121989_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331034510","1331034530","1331034548","1331034541","1331034505","1331034502"],"photo_ids_order":["1331034502","1331034505","1331034510","1331034530","1331034541","1331034548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/42574afaf7656e304e531b3df8abbbe9.jpg","text":"TemporaryFile(/tmp/multipartBody1129676873576010619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714467297,"filename":"image_24012025_10_56_02_938035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8e231e0895adef0355c9021cdb14a39a.jpg","text":"TemporaryFile(/tmp/multipartBody5003205115648350275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714467297,"filename":"image_24012025_10_56_02_938035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7238c137d3cc198339378b1ce9a82be0.jpg","text":"TemporaryFile(/tmp/multipartBody5993894843175008090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714467297,"filename":"image_24012025_10_57_02_121989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/744ba2a61a403726ddaf8a26fc638c53.jpg","text":"TemporaryFile(/tmp/multipartBody5425576065952440153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714467297,"filename":"image_24012025_10_57_02_121989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ac081a89b7f297995c57d4a301a5e44.jpg","text":"TemporaryFile(/tmp/multipartBody727449880948634120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714467297,"filename":"image_24012025_10_56_02_938035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff5fcd519531c21488e94f1c49323ad5.jpg","text":"TemporaryFile(/tmp/multipartBody1981824442197040812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714467297,"filename":"image_24012025_10_56_02_938035_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331034510","file1":"1331034505","file0":"1331034502","file4":"1331034541","file5":"1331034548","file3":"1331034530"},"map_files_photo_id_array":[{"photo_id":"1331034548","filename":"file5"},{"photo_id":"1331034510","filename":"file2"},{"photo_id":"1331034541","filename":"file4"},{"photo_id":"1331034505","filename":"file1"},{"photo_id":"1331034502","filename":"file0"},{"photo_id":"1331034530","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331034510":["hashtag1","hashtag2"]},{"1331034530":["hashtag1","hashtag2"]},{"1331034548":["hashtag1","hashtag2"]},{"1331034541":["hashtag1","hashtag2"]},{"1331034505":["hashtag1","hashtag2"]},{"1331034502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331034510, 1331034530, 1331034548, 1331034541, 1331034505, 1331034502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.9155490398407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 11:27:42.235211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/57/image_24012025_10_57_02_121989_0003.jpg', '/home/pi/Desktop/images/24012025/10/58/image_24012025_10_58_02_318654_0000.jpg', '/home/pi/Desktop/images/24012025/10/58/image_24012025_10_58_02_318654_0001.jpg', '/home/pi/Desktop/images/24012025/10/58/image_24012025_10_58_02_318654_0002.jpg', '/home/pi/Desktop/images/24012025/10/58/image_24012025_10_58_02_318654_0003.jpg', '/home/pi/Desktop/images/24012025/10/59/image_24012025_10_59_02_532631_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/57/image_24012025_10_57_02_121989_0003.jpg
/home/pi/Desktop/images/24012025/10/58/image_24012025_10_58_02_318654_0000.jpg
/home/pi/Desktop/images/24012025/10/58/image_24012025_10_58_02_318654_0001.jpg
/home/pi/Desktop/images/24012025/10/58/image_24012025_10_58_02_318654_0002.jpg
/home/pi/Desktop/images/24012025/10/58/image_24012025_10_58_02_318654_0003.jpg
/home/pi/Desktop/images/24012025/10/59/image_24012025_10_59_02_532631_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331034606","1331034641","1331034635","1331034625","1331034619","1331034613"],"photo_ids_order":["1331034606","1331034613","1331034619","1331034625","1331034635","1331034641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/02c7c9b37416249577ee31badc66d640.jpg","text":"TemporaryFile(/tmp/multipartBody2556033033165414722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714551907,"filename":"image_24012025_10_57_02_121989_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf37b66ed962d5c859ac82013297f3f8.jpg","text":"TemporaryFile(/tmp/multipartBody5350293089668225800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714551907,"filename":"image_24012025_10_59_02_532631_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7b331b940202fac95d3095bdda68d815.jpg","text":"TemporaryFile(/tmp/multipartBody6952060516288601873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714551907,"filename":"image_24012025_10_58_02_318654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/107b8f216c16b57301d85cb72de7c6e2.jpg","text":"TemporaryFile(/tmp/multipartBody3238453673960062824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714551907,"filename":"image_24012025_10_58_02_318654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/60e91ab994d94bfc638f23b7fd4c3b96.jpg","text":"TemporaryFile(/tmp/multipartBody690660926024021038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714551907,"filename":"image_24012025_10_58_02_318654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/83e60b4c515de29409067c76b6999b1a.jpg","text":"TemporaryFile(/tmp/multipartBody7492073322853179513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714551907,"filename":"image_24012025_10_58_02_318654_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331034619","file1":"1331034613","file0":"1331034606","file4":"1331034635","file5":"1331034641","file3":"1331034625"},"map_files_photo_id_array":[{"photo_id":"1331034641","filename":"file5"},{"photo_id":"1331034619","filename":"file2"},{"photo_id":"1331034635","filename":"file4"},{"photo_id":"1331034613","filename":"file1"},{"photo_id":"1331034606","filename":"file0"},{"photo_id":"1331034625","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331034606":["hashtag1","hashtag2"]},{"1331034641":["hashtag1","hashtag2"]},{"1331034635":["hashtag1","hashtag2"]},{"1331034625":["hashtag1","hashtag2"]},{"1331034619":["hashtag1","hashtag2"]},{"1331034613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331034606, 1331034641, 1331034635, 1331034625, 1331034619, 1331034613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.15622806549072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 11:29:22.633748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/10/59/image_24012025_10_59_02_532631_0002.jpg', '/home/pi/Desktop/images/24012025/11/00/image_24012025_11_00_02_723166_0000.jpg', '/home/pi/Desktop/images/24012025/11/00/image_24012025_11_00_02_723166_0002.jpg', '/home/pi/Desktop/images/24012025/11/00/image_24012025_11_00_02_723166_0003.jpg', '/home/pi/Desktop/images/24012025/11/01/image_24012025_11_01_02_797697_0000.jpg', '/home/pi/Desktop/images/24012025/11/01/image_24012025_11_01_02_797697_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/10/59/image_24012025_10_59_02_532631_0002.jpg
/home/pi/Desktop/images/24012025/11/00/image_24012025_11_00_02_723166_0000.jpg
/home/pi/Desktop/images/24012025/11/00/image_24012025_11_00_02_723166_0002.jpg
/home/pi/Desktop/images/24012025/11/00/image_24012025_11_00_02_723166_0003.jpg
/home/pi/Desktop/images/24012025/11/01/image_24012025_11_01_02_797697_0000.jpg
/home/pi/Desktop/images/24012025/11/01/image_24012025_11_01_02_797697_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331034767","1331034779","1331034799","1331034790","1331034805","1331034759"],"photo_ids_order":["1331034759","1331034767","1331034779","1331034790","1331034799","1331034805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0115bf3792f5e2a9676f041c044ef41d.jpg","text":"TemporaryFile(/tmp/multipartBody2432672651928213212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714661116,"filename":"image_24012025_11_00_02_723166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c85dfacc185af5de011686d2e281f813.jpg","text":"TemporaryFile(/tmp/multipartBody1674583642231236600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714661116,"filename":"image_24012025_11_00_02_723166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f01f85db82c023cfadd782c83d6217f4.jpg","text":"TemporaryFile(/tmp/multipartBody1823326814916450845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714661116,"filename":"image_24012025_11_01_02_797697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd2599d0bd8e9f12eb40e013900f9608.jpg","text":"TemporaryFile(/tmp/multipartBody4022748098563116954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714661116,"filename":"image_24012025_11_00_02_723166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b1221c85bd18aa8808685d56f4773b2.jpg","text":"TemporaryFile(/tmp/multipartBody4245192496592878584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714661116,"filename":"image_24012025_11_01_02_797697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae069c87eacf3e4536c847baabaae0f1.jpg","text":"TemporaryFile(/tmp/multipartBody8237578707654409399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714661116,"filename":"image_24012025_10_59_02_532631_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331034779","file1":"1331034767","file0":"1331034759","file4":"1331034799","file5":"1331034805","file3":"1331034790"},"map_files_photo_id_array":[{"photo_id":"1331034805","filename":"file5"},{"photo_id":"1331034779","filename":"file2"},{"photo_id":"1331034799","filename":"file4"},{"photo_id":"1331034767","filename":"file1"},{"photo_id":"1331034759","filename":"file0"},{"photo_id":"1331034790","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331034767":["hashtag1","hashtag2"]},{"1331034779":["hashtag1","hashtag2"]},{"1331034799":["hashtag1","hashtag2"]},{"1331034790":["hashtag1","hashtag2"]},{"1331034805":["hashtag1","hashtag2"]},{"1331034759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331034767, 1331034779, 1331034799, 1331034790, 1331034805, 1331034759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.69469332695007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 11:31:02.600923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/01/image_24012025_11_01_02_797697_0002.jpg', '/home/pi/Desktop/images/24012025/11/01/image_24012025_11_01_02_797697_0003.jpg', '/home/pi/Desktop/images/24012025/11/02/image_24012025_11_02_02_997365_0001.jpg', '/home/pi/Desktop/images/24012025/11/03/image_24012025_11_03_02_146005_0000.jpg', '/home/pi/Desktop/images/24012025/11/03/image_24012025_11_03_02_146005_0002.jpg', '/home/pi/Desktop/images/24012025/11/03/image_24012025_11_03_02_146005_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/01/image_24012025_11_01_02_797697_0002.jpg
/home/pi/Desktop/images/24012025/11/01/image_24012025_11_01_02_797697_0003.jpg
/home/pi/Desktop/images/24012025/11/02/image_24012025_11_02_02_997365_0001.jpg
/home/pi/Desktop/images/24012025/11/03/image_24012025_11_03_02_146005_0000.jpg
/home/pi/Desktop/images/24012025/11/03/image_24012025_11_03_02_146005_0002.jpg
/home/pi/Desktop/images/24012025/11/03/image_24012025_11_03_02_146005_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331034873","1331034863","1331034865","1331034880","1331034868","1331034858"],"photo_ids_order":["1331034858","1331034863","1331034865","1331034868","1331034873","1331034880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a2f62693f7374d8cc11707686356cf2e.jpg","text":"TemporaryFile(/tmp/multipartBody1193848364460652380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714766013,"filename":"image_24012025_11_03_02_146005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2e159fdbf377684720a53291ac0b9e63.jpg","text":"TemporaryFile(/tmp/multipartBody7406092458904283099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714766013,"filename":"image_24012025_11_01_02_797697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/89539575bdf8b70cc2a17dab246a805e.jpg","text":"TemporaryFile(/tmp/multipartBody6710939357304630862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714766013,"filename":"image_24012025_11_02_02_997365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4bef5f510e9b27b6d1b3d98c8b7b2d4b.jpg","text":"TemporaryFile(/tmp/multipartBody3875264189549830399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714766013,"filename":"image_24012025_11_03_02_146005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1c8a866a394eb0a51d47568f298fe4be.jpg","text":"TemporaryFile(/tmp/multipartBody2509982098246594936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714766013,"filename":"image_24012025_11_03_02_146005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0f8f82a444438b28df5a643012cb593c.jpg","text":"TemporaryFile(/tmp/multipartBody7554934027508824247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714766013,"filename":"image_24012025_11_01_02_797697_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331034865","file1":"1331034863","file0":"1331034858","file4":"1331034873","file5":"1331034880","file3":"1331034868"},"map_files_photo_id_array":[{"photo_id":"1331034880","filename":"file5"},{"photo_id":"1331034865","filename":"file2"},{"photo_id":"1331034873","filename":"file4"},{"photo_id":"1331034863","filename":"file1"},{"photo_id":"1331034858","filename":"file0"},{"photo_id":"1331034868","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331034873":["hashtag1","hashtag2"]},{"1331034863":["hashtag1","hashtag2"]},{"1331034865":["hashtag1","hashtag2"]},{"1331034880":["hashtag1","hashtag2"]},{"1331034868":["hashtag1","hashtag2"]},{"1331034858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331034873, 1331034863, 1331034865, 1331034880, 1331034868, 1331034858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.98903822898865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 11:32:42.139162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/04/image_24012025_11_04_02_414591_0000.jpg', '/home/pi/Desktop/images/24012025/11/04/image_24012025_11_04_02_414591_0001.jpg', '/home/pi/Desktop/images/24012025/11/04/image_24012025_11_04_02_414591_0002.jpg', '/home/pi/Desktop/images/24012025/11/04/image_24012025_11_04_02_414591_0003.jpg', '/home/pi/Desktop/images/24012025/11/05/image_24012025_11_05_02_517400_0000.jpg', '/home/pi/Desktop/images/24012025/11/05/image_24012025_11_05_02_517400_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/04/image_24012025_11_04_02_414591_0000.jpg
/home/pi/Desktop/images/24012025/11/04/image_24012025_11_04_02_414591_0001.jpg
/home/pi/Desktop/images/24012025/11/04/image_24012025_11_04_02_414591_0002.jpg
/home/pi/Desktop/images/24012025/11/04/image_24012025_11_04_02_414591_0003.jpg
/home/pi/Desktop/images/24012025/11/05/image_24012025_11_05_02_517400_0000.jpg
/home/pi/Desktop/images/24012025/11/05/image_24012025_11_05_02_517400_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331034945","1331034924","1331034929","1331034928","1331034937","1331034919"],"photo_ids_order":["1331034919","1331034924","1331034928","1331034929","1331034937","1331034945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d35845dc19f4a5405503b0666c08ed5c.jpg","text":"TemporaryFile(/tmp/multipartBody5350128681222016855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714875923,"filename":"image_24012025_11_05_02_517400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b47e48ae32b0c8b4950f513b6b213bbb.jpg","text":"TemporaryFile(/tmp/multipartBody6740128485867498529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714875923,"filename":"image_24012025_11_04_02_414591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/50e1380e2f863bc70fac56f076984717.jpg","text":"TemporaryFile(/tmp/multipartBody6254924362012149520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714875923,"filename":"image_24012025_11_04_02_414591_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c514f621fe9ba31738514f684157ead8.jpg","text":"TemporaryFile(/tmp/multipartBody1393769060474433708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714875923,"filename":"image_24012025_11_04_02_414591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0c9ac06aaa156d1a6f359deb0c31f3d2.jpg","text":"TemporaryFile(/tmp/multipartBody4541421001476014218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714875923,"filename":"image_24012025_11_05_02_517400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0451a8421e9eb1c889a0f44cc56a804e.jpg","text":"TemporaryFile(/tmp/multipartBody8598906571915237465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714875923,"filename":"image_24012025_11_04_02_414591_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331034928","file1":"1331034924","file0":"1331034919","file4":"1331034937","file5":"1331034945","file3":"1331034929"},"map_files_photo_id_array":[{"photo_id":"1331034945","filename":"file5"},{"photo_id":"1331034928","filename":"file2"},{"photo_id":"1331034937","filename":"file4"},{"photo_id":"1331034924","filename":"file1"},{"photo_id":"1331034919","filename":"file0"},{"photo_id":"1331034929","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331034945":["hashtag1","hashtag2"]},{"1331034924":["hashtag1","hashtag2"]},{"1331034929":["hashtag1","hashtag2"]},{"1331034928":["hashtag1","hashtag2"]},{"1331034937":["hashtag1","hashtag2"]},{"1331034919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331034945, 1331034924, 1331034929, 1331034928, 1331034937, 1331034919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 113.21209025382996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 11:34:42.545650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/05/image_24012025_11_05_02_517400_0002.jpg', '/home/pi/Desktop/images/24012025/11/05/image_24012025_11_05_02_517400_0003.jpg', '/home/pi/Desktop/images/24012025/11/06/image_24012025_11_06_02_690555_0000.jpg', '/home/pi/Desktop/images/24012025/11/06/image_24012025_11_06_02_690555_0001.jpg', '/home/pi/Desktop/images/24012025/11/06/image_24012025_11_06_02_690555_0002.jpg', '/home/pi/Desktop/images/24012025/11/06/image_24012025_11_06_02_690555_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/05/image_24012025_11_05_02_517400_0002.jpg
/home/pi/Desktop/images/24012025/11/05/image_24012025_11_05_02_517400_0003.jpg
/home/pi/Desktop/images/24012025/11/06/image_24012025_11_06_02_690555_0000.jpg
/home/pi/Desktop/images/24012025/11/06/image_24012025_11_06_02_690555_0001.jpg
/home/pi/Desktop/images/24012025/11/06/image_24012025_11_06_02_690555_0002.jpg
/home/pi/Desktop/images/24012025/11/06/image_24012025_11_06_02_690555_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331035410","1331035747","1331035756","1331035735","1331035752","1331035533"],"photo_ids_order":["1331035410","1331035533","1331035735","1331035747","1331035752","1331035756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d865ab863f54f912726320106915ea0b.jpg","text":"TemporaryFile(/tmp/multipartBody1665748660579770330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714983996,"filename":"image_24012025_11_05_02_517400_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1d1a32ded3d73b2e391082456dc06ffe.jpg","text":"TemporaryFile(/tmp/multipartBody4517888370041586887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714983996,"filename":"image_24012025_11_06_02_690555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/526c557873b2c260ee38af8a848eee4c.jpg","text":"TemporaryFile(/tmp/multipartBody2346149088374158636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714983996,"filename":"image_24012025_11_06_02_690555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/478205893c05c89dccb7d57fcd089e15.jpg","text":"TemporaryFile(/tmp/multipartBody438683801718560830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714983996,"filename":"image_24012025_11_06_02_690555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a89ee195c0ee03804bcc4cc57d3a724f.jpg","text":"TemporaryFile(/tmp/multipartBody6902447601205341112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714983996,"filename":"image_24012025_11_06_02_690555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af735195da02f6088f4ce47cc9da7c75.jpg","text":"TemporaryFile(/tmp/multipartBody3126099211531511170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737714983996,"filename":"image_24012025_11_05_02_517400_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331035735","file1":"1331035533","file0":"1331035410","file4":"1331035752","file5":"1331035756","file3":"1331035747"},"map_files_photo_id_array":[{"photo_id":"1331035756","filename":"file5"},{"photo_id":"1331035735","filename":"file2"},{"photo_id":"1331035752","filename":"file4"},{"photo_id":"1331035533","filename":"file1"},{"photo_id":"1331035410","filename":"file0"},{"photo_id":"1331035747","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331035410":["hashtag1","hashtag2"]},{"1331035747":["hashtag1","hashtag2"]},{"1331035756":["hashtag1","hashtag2"]},{"1331035735":["hashtag1","hashtag2"]},{"1331035752":["hashtag1","hashtag2"]},{"1331035533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331035410, 1331035747, 1331035756, 1331035735, 1331035752, 1331035533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.07172894477844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 11:36:31.884963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/07/image_24012025_11_07_02_882005_0000.jpg', '/home/pi/Desktop/images/24012025/11/07/image_24012025_11_07_02_882005_0001.jpg', '/home/pi/Desktop/images/24012025/11/07/image_24012025_11_07_02_882005_0002.jpg', '/home/pi/Desktop/images/24012025/11/07/image_24012025_11_07_02_882005_0003.jpg', '/home/pi/Desktop/images/24012025/11/08/image_24012025_11_08_02_999793_0000.jpg', '/home/pi/Desktop/images/24012025/11/08/image_24012025_11_08_02_999793_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/07/image_24012025_11_07_02_882005_0000.jpg
/home/pi/Desktop/images/24012025/11/07/image_24012025_11_07_02_882005_0001.jpg
/home/pi/Desktop/images/24012025/11/07/image_24012025_11_07_02_882005_0002.jpg
/home/pi/Desktop/images/24012025/11/07/image_24012025_11_07_02_882005_0003.jpg
/home/pi/Desktop/images/24012025/11/08/image_24012025_11_08_02_999793_0000.jpg
/home/pi/Desktop/images/24012025/11/08/image_24012025_11_08_02_999793_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331036120","1331036102","1331036236","1331035947","1331036168","1331036177"],"photo_ids_order":["1331035947","1331036102","1331036120","1331036168","1331036177","1331036236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/50bac875d48a3c5e59281a60425e9043.jpg","text":"TemporaryFile(/tmp/multipartBody8584140280497795085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715071548,"filename":"image_24012025_11_07_02_882005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b3fc13ba85f7ff55a3cc1f88f3c5457b.jpg","text":"TemporaryFile(/tmp/multipartBody7731812175053234100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715071548,"filename":"image_24012025_11_07_02_882005_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9800baebb596700e14871fbcbb078476.jpg","text":"TemporaryFile(/tmp/multipartBody6824846608708869008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715071548,"filename":"image_24012025_11_08_02_999793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc3ad192873d9c6130178de12a4d0823.jpg","text":"TemporaryFile(/tmp/multipartBody4526560498666136570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715071548,"filename":"image_24012025_11_07_02_882005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ca956196523ef7e3da90e9aabd0a7adf.jpg","text":"TemporaryFile(/tmp/multipartBody119455669714493292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715071548,"filename":"image_24012025_11_07_02_882005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc9c300b425f9f9aec0fca4f5a0ef246.jpg","text":"TemporaryFile(/tmp/multipartBody7079178972892473998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715071548,"filename":"image_24012025_11_08_02_999793_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331036120","file1":"1331036102","file0":"1331035947","file4":"1331036177","file5":"1331036236","file3":"1331036168"},"map_files_photo_id_array":[{"photo_id":"1331036236","filename":"file5"},{"photo_id":"1331036120","filename":"file2"},{"photo_id":"1331036177","filename":"file4"},{"photo_id":"1331036102","filename":"file1"},{"photo_id":"1331035947","filename":"file0"},{"photo_id":"1331036168","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331036120":["hashtag1","hashtag2"]},{"1331036102":["hashtag1","hashtag2"]},{"1331036236":["hashtag1","hashtag2"]},{"1331035947":["hashtag1","hashtag2"]},{"1331036168":["hashtag1","hashtag2"]},{"1331036177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331036120, 1331036102, 1331036236, 1331035947, 1331036168, 1331036177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.22236967086792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 11:37:52.030703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/08/image_24012025_11_08_02_999793_0002.jpg', '/home/pi/Desktop/images/24012025/11/08/image_24012025_11_08_02_999793_0003.jpg', '/home/pi/Desktop/images/24012025/11/09/image_24012025_11_09_02_168675_0000.jpg', '/home/pi/Desktop/images/24012025/11/09/image_24012025_11_09_02_168675_0001.jpg', '/home/pi/Desktop/images/24012025/11/09/image_24012025_11_09_02_168675_0002.jpg', '/home/pi/Desktop/images/24012025/11/09/image_24012025_11_09_02_168675_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/08/image_24012025_11_08_02_999793_0002.jpg
/home/pi/Desktop/images/24012025/11/08/image_24012025_11_08_02_999793_0003.jpg
/home/pi/Desktop/images/24012025/11/09/image_24012025_11_09_02_168675_0000.jpg
/home/pi/Desktop/images/24012025/11/09/image_24012025_11_09_02_168675_0001.jpg
/home/pi/Desktop/images/24012025/11/09/image_24012025_11_09_02_168675_0002.jpg
/home/pi/Desktop/images/24012025/11/09/image_24012025_11_09_02_168675_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331036351","1331036324","1331036332","1331036341","1331036346","1331036349"],"photo_ids_order":["1331036324","1331036332","1331036341","1331036346","1331036349","1331036351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0868dde61e397f5c9388e5539564cdd2.jpg","text":"TemporaryFile(/tmp/multipartBody4782666285330945732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715172886,"filename":"image_24012025_11_09_02_168675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8846b4bcc63a7d3cfbf8da2de11f1096.jpg","text":"TemporaryFile(/tmp/multipartBody6337004092365980709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715172886,"filename":"image_24012025_11_08_02_999793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ce1af0a804fc294739d6afe7478afc3.jpg","text":"TemporaryFile(/tmp/multipartBody7141558734585960169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715172886,"filename":"image_24012025_11_08_02_999793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f8189734cab194a5f147532610787f6.jpg","text":"TemporaryFile(/tmp/multipartBody5266040808480557743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715172886,"filename":"image_24012025_11_09_02_168675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b932a28e2e9158affed3384aa915bec.jpg","text":"TemporaryFile(/tmp/multipartBody5432197365104501010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715172886,"filename":"image_24012025_11_09_02_168675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40aa1c7abc1df24d9f48391f796521e6.jpg","text":"TemporaryFile(/tmp/multipartBody4672322543995743247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715172886,"filename":"image_24012025_11_09_02_168675_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331036341","file1":"1331036332","file0":"1331036324","file4":"1331036349","file5":"1331036351","file3":"1331036346"},"map_files_photo_id_array":[{"photo_id":"1331036351","filename":"file5"},{"photo_id":"1331036341","filename":"file2"},{"photo_id":"1331036349","filename":"file4"},{"photo_id":"1331036332","filename":"file1"},{"photo_id":"1331036324","filename":"file0"},{"photo_id":"1331036346","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331036351":["hashtag1","hashtag2"]},{"1331036324":["hashtag1","hashtag2"]},{"1331036332":["hashtag1","hashtag2"]},{"1331036341":["hashtag1","hashtag2"]},{"1331036346":["hashtag1","hashtag2"]},{"1331036349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331036351, 1331036324, 1331036332, 1331036341, 1331036346, 1331036349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.01502275466919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 11:39:32.361963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/10/image_24012025_11_10_02_410784_0000.jpg', '/home/pi/Desktop/images/24012025/11/10/image_24012025_11_10_02_410784_0001.jpg', '/home/pi/Desktop/images/24012025/11/10/image_24012025_11_10_02_410784_0002.jpg', '/home/pi/Desktop/images/24012025/11/10/image_24012025_11_10_02_410784_0003.jpg', '/home/pi/Desktop/images/24012025/11/11/image_24012025_11_11_02_558235_0000.jpg', '/home/pi/Desktop/images/24012025/11/11/image_24012025_11_11_02_558235_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/10/image_24012025_11_10_02_410784_0000.jpg
/home/pi/Desktop/images/24012025/11/10/image_24012025_11_10_02_410784_0001.jpg
/home/pi/Desktop/images/24012025/11/10/image_24012025_11_10_02_410784_0002.jpg
/home/pi/Desktop/images/24012025/11/10/image_24012025_11_10_02_410784_0003.jpg
/home/pi/Desktop/images/24012025/11/11/image_24012025_11_11_02_558235_0000.jpg
/home/pi/Desktop/images/24012025/11/11/image_24012025_11_11_02_558235_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331036417","1331036452","1331036401","1331036493","1331036410","1331036489"],"photo_ids_order":["1331036401","1331036410","1331036417","1331036452","1331036489","1331036493"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c7a61677aa606678c724575ae821a0c.jpg","text":"TemporaryFile(/tmp/multipartBody6078725964253251677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715274228,"filename":"image_24012025_11_10_02_410784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c1687d1fe5da42769a0440690ce3aa11.jpg","text":"TemporaryFile(/tmp/multipartBody5956484890819463924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715274228,"filename":"image_24012025_11_10_02_410784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30fe4d78e9ecb72ed1bcc3cc2f060a92.jpg","text":"TemporaryFile(/tmp/multipartBody628295664943574826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715274228,"filename":"image_24012025_11_10_02_410784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd44cc01972b2483e9608f316dc9f12e.jpg","text":"TemporaryFile(/tmp/multipartBody5827432008446147679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715274228,"filename":"image_24012025_11_11_02_558235_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d7a1fdd55e776900862b1363e5c6e1e.jpg","text":"TemporaryFile(/tmp/multipartBody7982473626390399781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715274228,"filename":"image_24012025_11_10_02_410784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0cccf1ac97863bd7523f753b93c81b9f.jpg","text":"TemporaryFile(/tmp/multipartBody2770724712744021950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715274228,"filename":"image_24012025_11_11_02_558235_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331036417","file1":"1331036410","file0":"1331036401","file4":"1331036489","file5":"1331036493","file3":"1331036452"},"map_files_photo_id_array":[{"photo_id":"1331036493","filename":"file5"},{"photo_id":"1331036417","filename":"file2"},{"photo_id":"1331036489","filename":"file4"},{"photo_id":"1331036410","filename":"file1"},{"photo_id":"1331036401","filename":"file0"},{"photo_id":"1331036452","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331036417":["hashtag1","hashtag2"]},{"1331036452":["hashtag1","hashtag2"]},{"1331036401":["hashtag1","hashtag2"]},{"1331036493":["hashtag1","hashtag2"]},{"1331036410":["hashtag1","hashtag2"]},{"1331036489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331036417, 1331036452, 1331036401, 1331036493, 1331036410, 1331036489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.48166465759277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 11:41:22.735731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/11/image_24012025_11_11_02_558235_0002.jpg', '/home/pi/Desktop/images/24012025/11/11/image_24012025_11_11_02_558235_0003.jpg', '/home/pi/Desktop/images/24012025/11/12/image_24012025_11_12_02_798415_0000.jpg', '/home/pi/Desktop/images/24012025/11/12/image_24012025_11_12_02_798415_0001.jpg', '/home/pi/Desktop/images/24012025/11/12/image_24012025_11_12_02_798415_0002.jpg', '/home/pi/Desktop/images/24012025/11/12/image_24012025_11_12_02_798415_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/11/image_24012025_11_11_02_558235_0002.jpg
/home/pi/Desktop/images/24012025/11/11/image_24012025_11_11_02_558235_0003.jpg
/home/pi/Desktop/images/24012025/11/12/image_24012025_11_12_02_798415_0000.jpg
/home/pi/Desktop/images/24012025/11/12/image_24012025_11_12_02_798415_0001.jpg
/home/pi/Desktop/images/24012025/11/12/image_24012025_11_12_02_798415_0002.jpg
/home/pi/Desktop/images/24012025/11/12/image_24012025_11_12_02_798415_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331036561","1331036549","1331036569","1331036590","1331036545","1331036554"],"photo_ids_order":["1331036545","1331036549","1331036554","1331036561","1331036569","1331036590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f47e600d85f5b93a483741df2ab5ab89.jpg","text":"TemporaryFile(/tmp/multipartBody1375941151913666185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715384110,"filename":"image_24012025_11_12_02_798415_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34ced58410c3696839accae3238351f0.jpg","text":"TemporaryFile(/tmp/multipartBody7758680965533312752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715384110,"filename":"image_24012025_11_11_02_558235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c83819f22b1e17102171163cd44caff8.jpg","text":"TemporaryFile(/tmp/multipartBody3066292080018628863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715384110,"filename":"image_24012025_11_12_02_798415_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b908aeb6e22abc18776768d3de516388.jpg","text":"TemporaryFile(/tmp/multipartBody3195174590374190330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715384110,"filename":"image_24012025_11_12_02_798415_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fe0fb2e1f9adfb232447d27c17f8e645.jpg","text":"TemporaryFile(/tmp/multipartBody3383806539827250707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715384110,"filename":"image_24012025_11_11_02_558235_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f7cdb4b0196cb9fad4b1d7dc13b0bce.jpg","text":"TemporaryFile(/tmp/multipartBody8543007932435096852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715384110,"filename":"image_24012025_11_12_02_798415_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331036554","file1":"1331036549","file0":"1331036545","file4":"1331036569","file5":"1331036590","file3":"1331036561"},"map_files_photo_id_array":[{"photo_id":"1331036590","filename":"file5"},{"photo_id":"1331036554","filename":"file2"},{"photo_id":"1331036569","filename":"file4"},{"photo_id":"1331036549","filename":"file1"},{"photo_id":"1331036545","filename":"file0"},{"photo_id":"1331036561","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331036561":["hashtag1","hashtag2"]},{"1331036549":["hashtag1","hashtag2"]},{"1331036569":["hashtag1","hashtag2"]},{"1331036590":["hashtag1","hashtag2"]},{"1331036545":["hashtag1","hashtag2"]},{"1331036554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331036561, 1331036549, 1331036569, 1331036590, 1331036545, 1331036554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.90342783927917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 11:43:22.197675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/13/image_24012025_11_13_02_942528_0000.jpg', '/home/pi/Desktop/images/24012025/11/13/image_24012025_11_13_02_942528_0001.jpg', '/home/pi/Desktop/images/24012025/11/13/image_24012025_11_13_02_942528_0002.jpg', '/home/pi/Desktop/images/24012025/11/13/image_24012025_11_13_02_942528_0003.jpg', '/home/pi/Desktop/images/24012025/11/14/image_24012025_11_14_03_128506_0000.jpg', '/home/pi/Desktop/images/24012025/11/14/image_24012025_11_14_03_128506_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/13/image_24012025_11_13_02_942528_0000.jpg
/home/pi/Desktop/images/24012025/11/13/image_24012025_11_13_02_942528_0001.jpg
/home/pi/Desktop/images/24012025/11/13/image_24012025_11_13_02_942528_0002.jpg
/home/pi/Desktop/images/24012025/11/13/image_24012025_11_13_02_942528_0003.jpg
/home/pi/Desktop/images/24012025/11/14/image_24012025_11_14_03_128506_0000.jpg
/home/pi/Desktop/images/24012025/11/14/image_24012025_11_14_03_128506_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331036779","1331036796","1331036734","1331036814","1331036721","1331036808"],"photo_ids_order":["1331036721","1331036734","1331036779","1331036796","1331036808","1331036814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/035c772c4234691bc698f32ac15aac3b.jpg","text":"TemporaryFile(/tmp/multipartBody7455259901005174149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715495788,"filename":"image_24012025_11_13_02_942528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a93774126c55c94ffe285b051e7c4f5b.jpg","text":"TemporaryFile(/tmp/multipartBody1446515578331239490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715495788,"filename":"image_24012025_11_13_02_942528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c24b90eb14effc1315f51639db8b2f02.jpg","text":"TemporaryFile(/tmp/multipartBody5606933410644617519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715495788,"filename":"image_24012025_11_13_02_942528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/771ecfc6b75ac3600beb0d3c8544b705.jpg","text":"TemporaryFile(/tmp/multipartBody3730737197932445899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715495788,"filename":"image_24012025_11_14_03_128506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e8f4ad93ff489f9247510f52eee56de.jpg","text":"TemporaryFile(/tmp/multipartBody3482629540596603846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715495788,"filename":"image_24012025_11_13_02_942528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4dc001a86f46e5d58805f339a9d881a5.jpg","text":"TemporaryFile(/tmp/multipartBody5139057943800988077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715495788,"filename":"image_24012025_11_14_03_128506_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331036779","file1":"1331036734","file0":"1331036721","file4":"1331036808","file5":"1331036814","file3":"1331036796"},"map_files_photo_id_array":[{"photo_id":"1331036814","filename":"file5"},{"photo_id":"1331036779","filename":"file2"},{"photo_id":"1331036808","filename":"file4"},{"photo_id":"1331036734","filename":"file1"},{"photo_id":"1331036721","filename":"file0"},{"photo_id":"1331036796","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331036779":["hashtag1","hashtag2"]},{"1331036796":["hashtag1","hashtag2"]},{"1331036734":["hashtag1","hashtag2"]},{"1331036814":["hashtag1","hashtag2"]},{"1331036721":["hashtag1","hashtag2"]},{"1331036808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331036779, 1331036796, 1331036734, 1331036814, 1331036721, 1331036808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.75104093551636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 11:45:03.210175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/14/image_24012025_11_14_03_128506_0002.jpg', '/home/pi/Desktop/images/24012025/11/14/image_24012025_11_14_03_128506_0003.jpg', '/home/pi/Desktop/images/24012025/11/15/image_24012025_11_15_02_339312_0000.jpg', '/home/pi/Desktop/images/24012025/11/15/image_24012025_11_15_02_339312_0001.jpg', '/home/pi/Desktop/images/24012025/11/15/image_24012025_11_15_02_339312_0002.jpg', '/home/pi/Desktop/images/24012025/11/15/image_24012025_11_15_02_339312_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/14/image_24012025_11_14_03_128506_0002.jpg
/home/pi/Desktop/images/24012025/11/14/image_24012025_11_14_03_128506_0003.jpg
/home/pi/Desktop/images/24012025/11/15/image_24012025_11_15_02_339312_0000.jpg
/home/pi/Desktop/images/24012025/11/15/image_24012025_11_15_02_339312_0001.jpg
/home/pi/Desktop/images/24012025/11/15/image_24012025_11_15_02_339312_0002.jpg
/home/pi/Desktop/images/24012025/11/15/image_24012025_11_15_02_339312_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331036866","1331036926","1331036908","1331036880","1331036874","1331036885"],"photo_ids_order":["1331036866","1331036874","1331036880","1331036885","1331036908","1331036926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff1588cae43a4e0cce30352c6cb08b47.jpg","text":"TemporaryFile(/tmp/multipartBody8000160331825920459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715596512,"filename":"image_24012025_11_14_03_128506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b4d2a3f0a486730438d095f928f2f2de.jpg","text":"TemporaryFile(/tmp/multipartBody6208078633853385247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715596512,"filename":"image_24012025_11_15_02_339312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/20eb06d53557c8c5ae59e721f1628946.jpg","text":"TemporaryFile(/tmp/multipartBody3913659456215779551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715596512,"filename":"image_24012025_11_15_02_339312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2dd6b8200807d9f222da421fcf51975e.jpg","text":"TemporaryFile(/tmp/multipartBody4042680154131476658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715596512,"filename":"image_24012025_11_15_02_339312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5d0f65064a0d771c9f041ca7bc2d3eb.jpg","text":"TemporaryFile(/tmp/multipartBody7897974719410985139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715596512,"filename":"image_24012025_11_14_03_128506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/38b43ff4579aca8abd0a01472a9308ef.jpg","text":"TemporaryFile(/tmp/multipartBody2982058762599427159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715596512,"filename":"image_24012025_11_15_02_339312_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331036880","file1":"1331036874","file0":"1331036866","file4":"1331036908","file5":"1331036926","file3":"1331036885"},"map_files_photo_id_array":[{"photo_id":"1331036926","filename":"file5"},{"photo_id":"1331036880","filename":"file2"},{"photo_id":"1331036908","filename":"file4"},{"photo_id":"1331036874","filename":"file1"},{"photo_id":"1331036866","filename":"file0"},{"photo_id":"1331036885","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331036866":["hashtag1","hashtag2"]},{"1331036926":["hashtag1","hashtag2"]},{"1331036908":["hashtag1","hashtag2"]},{"1331036880":["hashtag1","hashtag2"]},{"1331036874":["hashtag1","hashtag2"]},{"1331036885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331036866, 1331036926, 1331036908, 1331036880, 1331036874, 1331036885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.4082133769989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 11:46:42.667953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0000.jpg', '/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0001.jpg', '/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0002.jpg', '/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0003.jpg', '/home/pi/Desktop/images/24012025/11/17/image_24012025_11_17_02_709871_0000.jpg', '/home/pi/Desktop/images/24012025/11/17/image_24012025_11_17_02_709871_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0000.jpg
/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0001.jpg
/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0002.jpg
/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0003.jpg
/home/pi/Desktop/images/24012025/11/17/image_24012025_11_17_02_709871_0000.jpg
/home/pi/Desktop/images/24012025/11/17/image_24012025_11_17_02_709871_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 44.61886286735535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 11:47:31.958615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0000.jpg', '/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0001.jpg', '/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0002.jpg', '/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0003.jpg', '/home/pi/Desktop/images/24012025/11/17/image_24012025_11_17_02_709871_0000.jpg', '/home/pi/Desktop/images/24012025/11/17/image_24012025_11_17_02_709871_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0000.jpg
/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0001.jpg
/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0002.jpg
/home/pi/Desktop/images/24012025/11/16/image_24012025_11_16_02_469113_0003.jpg
/home/pi/Desktop/images/24012025/11/17/image_24012025_11_17_02_709871_0000.jpg
/home/pi/Desktop/images/24012025/11/17/image_24012025_11_17_02_709871_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331037436","1331037447","1331037423","1331037443","1331037428","1331037416"],"photo_ids_order":["1331037416","1331037423","1331037428","1331037436","1331037443","1331037447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db79610af70bd911aa82b6ca8e30376a.jpg","text":"TemporaryFile(/tmp/multipartBody7893161351946998922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715737563,"filename":"image_24012025_11_16_02_469113_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1c706b5e3f6c0f83e769506e9cfbbab6.jpg","text":"TemporaryFile(/tmp/multipartBody7596255750337751026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715737563,"filename":"image_24012025_11_17_02_709871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec155e9a8005c5c612c7d1d6102d4fe3.jpg","text":"TemporaryFile(/tmp/multipartBody2804335741737896717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715737563,"filename":"image_24012025_11_16_02_469113_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/20bc719c685c970870024757e296b28f.jpg","text":"TemporaryFile(/tmp/multipartBody6062403435313948977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715737563,"filename":"image_24012025_11_17_02_709871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06137604749b457d493f0bb84ce9dc70.jpg","text":"TemporaryFile(/tmp/multipartBody6781246726285517045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715737563,"filename":"image_24012025_11_16_02_469113_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/717787f98426f6f94c35f1b920ffd214.jpg","text":"TemporaryFile(/tmp/multipartBody1353340116984275978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715737563,"filename":"image_24012025_11_16_02_469113_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331037428","file1":"1331037423","file0":"1331037416","file4":"1331037443","file5":"1331037447","file3":"1331037436"},"map_files_photo_id_array":[{"photo_id":"1331037447","filename":"file5"},{"photo_id":"1331037428","filename":"file2"},{"photo_id":"1331037443","filename":"file4"},{"photo_id":"1331037423","filename":"file1"},{"photo_id":"1331037416","filename":"file0"},{"photo_id":"1331037436","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331037436":["hashtag1","hashtag2"]},{"1331037447":["hashtag1","hashtag2"]},{"1331037423":["hashtag1","hashtag2"]},{"1331037443":["hashtag1","hashtag2"]},{"1331037428":["hashtag1","hashtag2"]},{"1331037416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331037436, 1331037447, 1331037423, 1331037443, 1331037428, 1331037416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.8509931564331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 11:49:02.851132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/17/image_24012025_11_17_02_709871_0002.jpg', '/home/pi/Desktop/images/24012025/11/17/image_24012025_11_17_02_709871_0003.jpg', '/home/pi/Desktop/images/24012025/11/18/image_24012025_11_18_02_853270_0000.jpg', '/home/pi/Desktop/images/24012025/11/18/image_24012025_11_18_02_853270_0001.jpg', '/home/pi/Desktop/images/24012025/11/18/image_24012025_11_18_02_853270_0002.jpg', '/home/pi/Desktop/images/24012025/11/18/image_24012025_11_18_02_853270_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/17/image_24012025_11_17_02_709871_0002.jpg
/home/pi/Desktop/images/24012025/11/17/image_24012025_11_17_02_709871_0003.jpg
/home/pi/Desktop/images/24012025/11/18/image_24012025_11_18_02_853270_0000.jpg
/home/pi/Desktop/images/24012025/11/18/image_24012025_11_18_02_853270_0001.jpg
/home/pi/Desktop/images/24012025/11/18/image_24012025_11_18_02_853270_0002.jpg
/home/pi/Desktop/images/24012025/11/18/image_24012025_11_18_02_853270_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331037514","1331037498","1331037494","1331037623","1331037524","1331037506"],"photo_ids_order":["1331037494","1331037498","1331037506","1331037514","1331037524","1331037623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eff4d6a255d74bc9ba9693ad048a4c09.jpg","text":"TemporaryFile(/tmp/multipartBody7075180281462975828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715849015,"filename":"image_24012025_11_18_02_853270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/750b4190b7e1fe2d2aeadc57e9967df8.jpg","text":"TemporaryFile(/tmp/multipartBody6283963334843771254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715849015,"filename":"image_24012025_11_17_02_709871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0bab3176eb1de658ec4d93e366600bed.jpg","text":"TemporaryFile(/tmp/multipartBody5208277008562644177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715849015,"filename":"image_24012025_11_17_02_709871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/503a7361576678aa45af5c780dbde0ed.jpg","text":"TemporaryFile(/tmp/multipartBody4816930587818005807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715849015,"filename":"image_24012025_11_18_02_853270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7beb12097aa712455ec7b7aa3a4ca249.jpg","text":"TemporaryFile(/tmp/multipartBody1382782562365152981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715849015,"filename":"image_24012025_11_18_02_853270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/29bcf7f960120ffd18c37844478832a3.jpg","text":"TemporaryFile(/tmp/multipartBody5112428053895485313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715849015,"filename":"image_24012025_11_18_02_853270_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331037506","file1":"1331037498","file0":"1331037494","file4":"1331037524","file5":"1331037623","file3":"1331037514"},"map_files_photo_id_array":[{"photo_id":"1331037623","filename":"file5"},{"photo_id":"1331037506","filename":"file2"},{"photo_id":"1331037524","filename":"file4"},{"photo_id":"1331037498","filename":"file1"},{"photo_id":"1331037494","filename":"file0"},{"photo_id":"1331037514","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331037514":["hashtag1","hashtag2"]},{"1331037498":["hashtag1","hashtag2"]},{"1331037494":["hashtag1","hashtag2"]},{"1331037623":["hashtag1","hashtag2"]},{"1331037524":["hashtag1","hashtag2"]},{"1331037506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331037514, 1331037498, 1331037494, 1331037623, 1331037524, 1331037506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.84711742401123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 11:50:52.374683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/19/image_24012025_11_19_03_038052_0000.jpg', '/home/pi/Desktop/images/24012025/11/19/image_24012025_11_19_03_038052_0001.jpg', '/home/pi/Desktop/images/24012025/11/19/image_24012025_11_19_03_038052_0002.jpg', '/home/pi/Desktop/images/24012025/11/19/image_24012025_11_19_03_038052_0003.jpg', '/home/pi/Desktop/images/24012025/11/20/image_24012025_11_20_02_230949_0000.jpg', '/home/pi/Desktop/images/24012025/11/20/image_24012025_11_20_02_230949_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/19/image_24012025_11_19_03_038052_0000.jpg
/home/pi/Desktop/images/24012025/11/19/image_24012025_11_19_03_038052_0001.jpg
/home/pi/Desktop/images/24012025/11/19/image_24012025_11_19_03_038052_0002.jpg
/home/pi/Desktop/images/24012025/11/19/image_24012025_11_19_03_038052_0003.jpg
/home/pi/Desktop/images/24012025/11/20/image_24012025_11_20_02_230949_0000.jpg
/home/pi/Desktop/images/24012025/11/20/image_24012025_11_20_02_230949_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331037745","1331037748","1331037742","1331037738","1331037753","1331037735"],"photo_ids_order":["1331037735","1331037738","1331037742","1331037745","1331037748","1331037753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0abca1c461cfbef46fc2750a2543468.jpg","text":"TemporaryFile(/tmp/multipartBody1327073410281418551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715952406,"filename":"image_24012025_11_19_03_038052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/074f75af8e81a1354a215b2c3bafb656.jpg","text":"TemporaryFile(/tmp/multipartBody2310892128266914888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715952406,"filename":"image_24012025_11_20_02_230949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/05667d57927d30a04622cabdef0dd7f4.jpg","text":"TemporaryFile(/tmp/multipartBody6636019607190272602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715952406,"filename":"image_24012025_11_19_03_038052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc31d2184add78796b09447d9b692a89.jpg","text":"TemporaryFile(/tmp/multipartBody4264946940731487671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715952406,"filename":"image_24012025_11_19_03_038052_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/38af94f671cf4a22031c420aa273269c.jpg","text":"TemporaryFile(/tmp/multipartBody4124932180422835143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715952406,"filename":"image_24012025_11_20_02_230949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1848d31825046d888aafd4d66a4f1b59.jpg","text":"TemporaryFile(/tmp/multipartBody6859106151897980983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737715952406,"filename":"image_24012025_11_19_03_038052_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331037742","file1":"1331037738","file0":"1331037735","file4":"1331037748","file5":"1331037753","file3":"1331037745"},"map_files_photo_id_array":[{"photo_id":"1331037753","filename":"file5"},{"photo_id":"1331037742","filename":"file2"},{"photo_id":"1331037748","filename":"file4"},{"photo_id":"1331037738","filename":"file1"},{"photo_id":"1331037735","filename":"file0"},{"photo_id":"1331037745","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331037745":["hashtag1","hashtag2"]},{"1331037748":["hashtag1","hashtag2"]},{"1331037742":["hashtag1","hashtag2"]},{"1331037738":["hashtag1","hashtag2"]},{"1331037753":["hashtag1","hashtag2"]},{"1331037735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331037745, 1331037748, 1331037742, 1331037738, 1331037753, 1331037735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.58680629730225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 11:52:31.743833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/20/image_24012025_11_20_02_230949_0002.jpg', '/home/pi/Desktop/images/24012025/11/20/image_24012025_11_20_02_230949_0003.jpg', '/home/pi/Desktop/images/24012025/11/21/image_24012025_11_21_02_380775_0000.jpg', '/home/pi/Desktop/images/24012025/11/21/image_24012025_11_21_02_380775_0001.jpg', '/home/pi/Desktop/images/24012025/11/21/image_24012025_11_21_02_380775_0002.jpg', '/home/pi/Desktop/images/24012025/11/21/image_24012025_11_21_02_380775_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/20/image_24012025_11_20_02_230949_0002.jpg
/home/pi/Desktop/images/24012025/11/20/image_24012025_11_20_02_230949_0003.jpg
/home/pi/Desktop/images/24012025/11/21/image_24012025_11_21_02_380775_0000.jpg
/home/pi/Desktop/images/24012025/11/21/image_24012025_11_21_02_380775_0001.jpg
/home/pi/Desktop/images/24012025/11/21/image_24012025_11_21_02_380775_0002.jpg
/home/pi/Desktop/images/24012025/11/21/image_24012025_11_21_02_380775_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331037925","1331037826","1331037922","1331037930","1331037918","1331037902"],"photo_ids_order":["1331037826","1331037902","1331037918","1331037922","1331037925","1331037930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc1befaa7bfa125b5015e08e468059e7.jpg","text":"TemporaryFile(/tmp/multipartBody1440388067240358803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716062027,"filename":"image_24012025_11_21_02_380775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0c1bf69cf4bff000a8949ff485a0a2b3.jpg","text":"TemporaryFile(/tmp/multipartBody8571476835477136548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716062027,"filename":"image_24012025_11_20_02_230949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f46efae39756d722cfec7b4a7f32da87.jpg","text":"TemporaryFile(/tmp/multipartBody3440828520047778505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716062027,"filename":"image_24012025_11_21_02_380775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dfbf45aabdd41909f1380ffe989d96f3.jpg","text":"TemporaryFile(/tmp/multipartBody2567890375042569498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716062027,"filename":"image_24012025_11_21_02_380775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f52a4a509205965c55aa88de00ea595.jpg","text":"TemporaryFile(/tmp/multipartBody6462437269803946232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716062027,"filename":"image_24012025_11_21_02_380775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/025dc65fac49bca75cd11b1f06e962b9.jpg","text":"TemporaryFile(/tmp/multipartBody5254191980576549700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716062027,"filename":"image_24012025_11_20_02_230949_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331037918","file1":"1331037902","file0":"1331037826","file4":"1331037925","file5":"1331037930","file3":"1331037922"},"map_files_photo_id_array":[{"photo_id":"1331037930","filename":"file5"},{"photo_id":"1331037918","filename":"file2"},{"photo_id":"1331037925","filename":"file4"},{"photo_id":"1331037902","filename":"file1"},{"photo_id":"1331037826","filename":"file0"},{"photo_id":"1331037922","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331037925":["hashtag1","hashtag2"]},{"1331037826":["hashtag1","hashtag2"]},{"1331037922":["hashtag1","hashtag2"]},{"1331037930":["hashtag1","hashtag2"]},{"1331037918":["hashtag1","hashtag2"]},{"1331037902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331037925, 1331037826, 1331037922, 1331037930, 1331037918, 1331037902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 109.6683075428009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 11:54:22.118600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/22/image_24012025_11_22_02_559307_0000.jpg', '/home/pi/Desktop/images/24012025/11/22/image_24012025_11_22_02_559307_0001.jpg', '/home/pi/Desktop/images/24012025/11/22/image_24012025_11_22_02_559307_0002.jpg', '/home/pi/Desktop/images/24012025/11/22/image_24012025_11_22_02_559307_0003.jpg', '/home/pi/Desktop/images/24012025/11/23/image_24012025_11_23_02_727743_0000.jpg', '/home/pi/Desktop/images/24012025/11/23/image_24012025_11_23_02_727743_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/22/image_24012025_11_22_02_559307_0000.jpg
/home/pi/Desktop/images/24012025/11/22/image_24012025_11_22_02_559307_0001.jpg
/home/pi/Desktop/images/24012025/11/22/image_24012025_11_22_02_559307_0002.jpg
/home/pi/Desktop/images/24012025/11/22/image_24012025_11_22_02_559307_0003.jpg
/home/pi/Desktop/images/24012025/11/23/image_24012025_11_23_02_727743_0000.jpg
/home/pi/Desktop/images/24012025/11/23/image_24012025_11_23_02_727743_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331037976","1331037991","1331037985","1331038008","1331038067","1331037980"],"photo_ids_order":["1331037976","1331037980","1331037985","1331037991","1331038008","1331038067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/610ed9a0d38bdf275dfa3b24d2346692.jpg","text":"TemporaryFile(/tmp/multipartBody6848436869169787422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716153288,"filename":"image_24012025_11_22_02_559307_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/679fbd3850cdc2ff3476a6d685c8147e.jpg","text":"TemporaryFile(/tmp/multipartBody3673735881468702645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716153288,"filename":"image_24012025_11_22_02_559307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e7f3bc8448087227e5c7f96250f826c2.jpg","text":"TemporaryFile(/tmp/multipartBody3182208005954709853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716153288,"filename":"image_24012025_11_22_02_559307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2b2b7cdafffecf59acdad8ed21ed6b53.jpg","text":"TemporaryFile(/tmp/multipartBody3265906839249493612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716153288,"filename":"image_24012025_11_23_02_727743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc6d7cbfed4ebb58f415785d69c476fb.jpg","text":"TemporaryFile(/tmp/multipartBody6763131759969073950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716153288,"filename":"image_24012025_11_23_02_727743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fae522299f3ea47bb74e66f8e6f5bb1c.jpg","text":"TemporaryFile(/tmp/multipartBody3555639695279851316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716153288,"filename":"image_24012025_11_22_02_559307_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331037985","file1":"1331037980","file0":"1331037976","file4":"1331038008","file5":"1331038067","file3":"1331037991"},"map_files_photo_id_array":[{"photo_id":"1331038067","filename":"file5"},{"photo_id":"1331037985","filename":"file2"},{"photo_id":"1331038008","filename":"file4"},{"photo_id":"1331037980","filename":"file1"},{"photo_id":"1331037976","filename":"file0"},{"photo_id":"1331037991","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331037976":["hashtag1","hashtag2"]},{"1331037991":["hashtag1","hashtag2"]},{"1331037985":["hashtag1","hashtag2"]},{"1331038008":["hashtag1","hashtag2"]},{"1331038067":["hashtag1","hashtag2"]},{"1331037980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331037976, 1331037991, 1331037985, 1331038008, 1331038067, 1331037980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.69457793235779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 11:55:52.321945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/23/image_24012025_11_23_02_727743_0002.jpg', '/home/pi/Desktop/images/24012025/11/23/image_24012025_11_23_02_727743_0003.jpg', '/home/pi/Desktop/images/24012025/11/24/image_24012025_11_24_02_870873_0000.jpg', '/home/pi/Desktop/images/24012025/11/24/image_24012025_11_24_02_870873_0001.jpg', '/home/pi/Desktop/images/24012025/11/24/image_24012025_11_24_02_870873_0002.jpg', '/home/pi/Desktop/images/24012025/11/24/image_24012025_11_24_02_870873_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/23/image_24012025_11_23_02_727743_0002.jpg
/home/pi/Desktop/images/24012025/11/23/image_24012025_11_23_02_727743_0003.jpg
/home/pi/Desktop/images/24012025/11/24/image_24012025_11_24_02_870873_0000.jpg
/home/pi/Desktop/images/24012025/11/24/image_24012025_11_24_02_870873_0001.jpg
/home/pi/Desktop/images/24012025/11/24/image_24012025_11_24_02_870873_0002.jpg
/home/pi/Desktop/images/24012025/11/24/image_24012025_11_24_02_870873_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331038324","1331038327","1331038314","1331038292","1331038433","1331038390"],"photo_ids_order":["1331038292","1331038314","1331038324","1331038327","1331038390","1331038433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/36df39308470b3e2634a1c9257e1cf76.jpg","text":"TemporaryFile(/tmp/multipartBody4468933127157620259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716254717,"filename":"image_24012025_11_24_02_870873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55004a8fe9d11ae4dba3f04c4ca51038.jpg","text":"TemporaryFile(/tmp/multipartBody1164848547746781002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716254717,"filename":"image_24012025_11_24_02_870873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2431b5c05307db568d434b4c10c0f492.jpg","text":"TemporaryFile(/tmp/multipartBody51677122741805594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716254717,"filename":"image_24012025_11_23_02_727743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d110ec4fcf8a4a28b6d8b4ab3c2f35d5.jpg","text":"TemporaryFile(/tmp/multipartBody7331926601505731297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716254717,"filename":"image_24012025_11_23_02_727743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4800704bc00217eb8967144d835be0fc.jpg","text":"TemporaryFile(/tmp/multipartBody6351316173215932638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716254717,"filename":"image_24012025_11_24_02_870873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f2fcf453831e759210454f18e0ed269c.jpg","text":"TemporaryFile(/tmp/multipartBody2285510069617819458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716254717,"filename":"image_24012025_11_24_02_870873_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331038324","file1":"1331038314","file0":"1331038292","file4":"1331038390","file5":"1331038433","file3":"1331038327"},"map_files_photo_id_array":[{"photo_id":"1331038433","filename":"file5"},{"photo_id":"1331038324","filename":"file2"},{"photo_id":"1331038390","filename":"file4"},{"photo_id":"1331038314","filename":"file1"},{"photo_id":"1331038292","filename":"file0"},{"photo_id":"1331038327","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331038324":["hashtag1","hashtag2"]},{"1331038327":["hashtag1","hashtag2"]},{"1331038314":["hashtag1","hashtag2"]},{"1331038292":["hashtag1","hashtag2"]},{"1331038433":["hashtag1","hashtag2"]},{"1331038390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331038324, 1331038327, 1331038314, 1331038292, 1331038433, 1331038390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.0006513595581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 11:57:32.604476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0000.jpg', '/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0001.jpg', '/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0002.jpg', '/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0003.jpg', '/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0000.jpg', '/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0000.jpg
/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0001.jpg
/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0002.jpg
/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0003.jpg
/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0000.jpg
/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 11:59:02.741829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0000.jpg', '/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0001.jpg', '/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0002.jpg', '/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0003.jpg', '/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0000.jpg', '/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0000.jpg
/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0001.jpg
/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0002.jpg
/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0003.jpg
/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0000.jpg
/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0001.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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 12:01:21.376154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0000.jpg', '/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0001.jpg', '/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0002.jpg', '/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0003.jpg', '/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0000.jpg', '/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0000.jpg
/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0001.jpg
/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0002.jpg
/home/pi/Desktop/images/24012025/11/25/image_24012025_11_25_03_145683_0003.jpg
/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0000.jpg
/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331039008","1331038920","1331038961","1331038955","1331038916","1331038963"],"photo_ids_order":["1331038916","1331038920","1331038955","1331038961","1331038963","1331039008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30434e4452c8dc164d84b75b4db1d755.jpg","text":"TemporaryFile(/tmp/multipartBody396500746798692904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716595421,"filename":"image_24012025_11_26_02_223582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a760d94f5ceedd90b5cdb8a25fee814d.jpg","text":"TemporaryFile(/tmp/multipartBody5420044113069071675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716595421,"filename":"image_24012025_11_25_03_145683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/433bcecc4c875ca437b04c9f2ac47df9.jpg","text":"TemporaryFile(/tmp/multipartBody8069501473418875429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716595421,"filename":"image_24012025_11_25_03_145683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/746f0d06d994debc4b3299c1326a5b82.jpg","text":"TemporaryFile(/tmp/multipartBody1904883804640561904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716595421,"filename":"image_24012025_11_25_03_145683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a85efee6e404ec97b4be6ada31b57617.jpg","text":"TemporaryFile(/tmp/multipartBody973738281291951738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716595421,"filename":"image_24012025_11_25_03_145683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/817882f08f3398a6539962937e0c2907.jpg","text":"TemporaryFile(/tmp/multipartBody3378129689513366328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716595421,"filename":"image_24012025_11_26_02_223582_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331038955","file1":"1331038920","file0":"1331038916","file4":"1331038963","file5":"1331039008","file3":"1331038961"},"map_files_photo_id_array":[{"photo_id":"1331039008","filename":"file5"},{"photo_id":"1331038955","filename":"file2"},{"photo_id":"1331038963","filename":"file4"},{"photo_id":"1331038920","filename":"file1"},{"photo_id":"1331038916","filename":"file0"},{"photo_id":"1331038961","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331039008":["hashtag1","hashtag2"]},{"1331038920":["hashtag1","hashtag2"]},{"1331038961":["hashtag1","hashtag2"]},{"1331038955":["hashtag1","hashtag2"]},{"1331038916":["hashtag1","hashtag2"]},{"1331038963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331039008, 1331038920, 1331038961, 1331038955, 1331038916, 1331038963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 113.93463659286499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:03:21.911489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0002.jpg', '/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0003.jpg', '/home/pi/Desktop/images/24012025/11/27/image_24012025_11_27_02_425276_0000.jpg', '/home/pi/Desktop/images/24012025/11/27/image_24012025_11_27_02_425276_0001.jpg', '/home/pi/Desktop/images/24012025/11/27/image_24012025_11_27_02_425276_0002.jpg', '/home/pi/Desktop/images/24012025/11/27/image_24012025_11_27_02_425276_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0002.jpg
/home/pi/Desktop/images/24012025/11/26/image_24012025_11_26_02_223582_0003.jpg
/home/pi/Desktop/images/24012025/11/27/image_24012025_11_27_02_425276_0000.jpg
/home/pi/Desktop/images/24012025/11/27/image_24012025_11_27_02_425276_0001.jpg
/home/pi/Desktop/images/24012025/11/27/image_24012025_11_27_02_425276_0002.jpg
/home/pi/Desktop/images/24012025/11/27/image_24012025_11_27_02_425276_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331039199","1331039183","1331039177","1331039204","1331039207","1331039191"],"photo_ids_order":["1331039177","1331039183","1331039191","1331039199","1331039204","1331039207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f3ea9bd64ee053fc4f04e52fa5af0b91.jpg","text":"TemporaryFile(/tmp/multipartBody5832187853573915536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716711755,"filename":"image_24012025_11_27_02_425276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fbe795922ab0129f9e98a4116b2c27c1.jpg","text":"TemporaryFile(/tmp/multipartBody4320138351677254526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716711755,"filename":"image_24012025_11_26_02_223582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37950b4bcc4996c253d8cb5812591e38.jpg","text":"TemporaryFile(/tmp/multipartBody1069128326467383040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716711755,"filename":"image_24012025_11_26_02_223582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/046d79a360344219720cf8ac1df77e0d.jpg","text":"TemporaryFile(/tmp/multipartBody2838289179429213871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716711755,"filename":"image_24012025_11_27_02_425276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74b674858c49d771114d9487259ea3bf.jpg","text":"TemporaryFile(/tmp/multipartBody7333554824516416532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716711755,"filename":"image_24012025_11_27_02_425276_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5963bcb936b0a124ed87a837f28f2c76.jpg","text":"TemporaryFile(/tmp/multipartBody8204337953460602149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716711755,"filename":"image_24012025_11_27_02_425276_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331039191","file1":"1331039183","file0":"1331039177","file4":"1331039204","file5":"1331039207","file3":"1331039199"},"map_files_photo_id_array":[{"photo_id":"1331039207","filename":"file5"},{"photo_id":"1331039191","filename":"file2"},{"photo_id":"1331039204","filename":"file4"},{"photo_id":"1331039183","filename":"file1"},{"photo_id":"1331039177","filename":"file0"},{"photo_id":"1331039199","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331039199":["hashtag1","hashtag2"]},{"1331039183":["hashtag1","hashtag2"]},{"1331039177":["hashtag1","hashtag2"]},{"1331039204":["hashtag1","hashtag2"]},{"1331039207":["hashtag1","hashtag2"]},{"1331039191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331039199, 1331039183, 1331039177, 1331039204, 1331039207, 1331039191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.25964570045471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:05:22.233171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0000.jpg', '/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0001.jpg', '/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0002.jpg', '/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0003.jpg', '/home/pi/Desktop/images/24012025/11/29/image_24012025_11_29_02_801103_0000.jpg', '/home/pi/Desktop/images/24012025/11/29/image_24012025_11_29_02_801103_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0000.jpg
/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0001.jpg
/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0002.jpg
/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0003.jpg
/home/pi/Desktop/images/24012025/11/29/image_24012025_11_29_02_801103_0000.jpg
/home/pi/Desktop/images/24012025/11/29/image_24012025_11_29_02_801103_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 38.89632320404053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 12:06:02.746884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0000.jpg', '/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0001.jpg', '/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0002.jpg', '/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0003.jpg', '/home/pi/Desktop/images/24012025/11/29/image_24012025_11_29_02_801103_0000.jpg', '/home/pi/Desktop/images/24012025/11/29/image_24012025_11_29_02_801103_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0000.jpg
/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0001.jpg
/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0002.jpg
/home/pi/Desktop/images/24012025/11/28/image_24012025_11_28_02_615696_0003.jpg
/home/pi/Desktop/images/24012025/11/29/image_24012025_11_29_02_801103_0000.jpg
/home/pi/Desktop/images/24012025/11/29/image_24012025_11_29_02_801103_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331039775","1331039649","1331039663","1331039825","1331039819","1331039711"],"photo_ids_order":["1331039649","1331039663","1331039711","1331039775","1331039819","1331039825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cb1db3bf31efac3126156dd144a816bd.jpg","text":"TemporaryFile(/tmp/multipartBody942826780259107336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716865772,"filename":"image_24012025_11_28_02_615696_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cbb75854f607769c3f166d95eb673ab6.jpg","text":"TemporaryFile(/tmp/multipartBody905020246887408509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716865772,"filename":"image_24012025_11_28_02_615696_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63e640b176a585a78aa5740245312e1a.jpg","text":"TemporaryFile(/tmp/multipartBody8281813070661018560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716865772,"filename":"image_24012025_11_28_02_615696_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/84a1be33dd065e1672a8ad408ed1730b.jpg","text":"TemporaryFile(/tmp/multipartBody3538541140468013478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716865772,"filename":"image_24012025_11_29_02_801103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b571e5adf38f2d21b9c7a5e8f0289fc.jpg","text":"TemporaryFile(/tmp/multipartBody26440331496981314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716865772,"filename":"image_24012025_11_29_02_801103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd9722782390bb3f92590644e9e2cbb3.jpg","text":"TemporaryFile(/tmp/multipartBody8492867872789348629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716865772,"filename":"image_24012025_11_28_02_615696_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331039711","file1":"1331039663","file0":"1331039649","file4":"1331039819","file5":"1331039825","file3":"1331039775"},"map_files_photo_id_array":[{"photo_id":"1331039825","filename":"file5"},{"photo_id":"1331039711","filename":"file2"},{"photo_id":"1331039819","filename":"file4"},{"photo_id":"1331039663","filename":"file1"},{"photo_id":"1331039649","filename":"file0"},{"photo_id":"1331039775","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331039775":["hashtag1","hashtag2"]},{"1331039649":["hashtag1","hashtag2"]},{"1331039663":["hashtag1","hashtag2"]},{"1331039825":["hashtag1","hashtag2"]},{"1331039819":["hashtag1","hashtag2"]},{"1331039711":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331039775, 1331039649, 1331039663, 1331039825, 1331039819, 1331039711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.91439580917358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 12:07:42.664863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/29/image_24012025_11_29_02_801103_0002.jpg', '/home/pi/Desktop/images/24012025/11/29/image_24012025_11_29_02_801103_0003.jpg', '/home/pi/Desktop/images/24012025/11/30/image_24012025_11_30_03_005704_0000.jpg', '/home/pi/Desktop/images/24012025/11/30/image_24012025_11_30_03_005704_0001.jpg', '/home/pi/Desktop/images/24012025/11/30/image_24012025_11_30_03_005704_0002.jpg', '/home/pi/Desktop/images/24012025/11/30/image_24012025_11_30_03_005704_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/29/image_24012025_11_29_02_801103_0002.jpg
/home/pi/Desktop/images/24012025/11/29/image_24012025_11_29_02_801103_0003.jpg
/home/pi/Desktop/images/24012025/11/30/image_24012025_11_30_03_005704_0000.jpg
/home/pi/Desktop/images/24012025/11/30/image_24012025_11_30_03_005704_0001.jpg
/home/pi/Desktop/images/24012025/11/30/image_24012025_11_30_03_005704_0002.jpg
/home/pi/Desktop/images/24012025/11/30/image_24012025_11_30_03_005704_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331039958","1331039940","1331039966","1331039963","1331039950","1331039968"],"photo_ids_order":["1331039940","1331039950","1331039958","1331039963","1331039966","1331039968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/84cda77f38f8d62f77e14684c6ba4e2b.jpg","text":"TemporaryFile(/tmp/multipartBody576657652315473635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716969510,"filename":"image_24012025_11_30_03_005704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/66995ab77302f7f37683dbc2549f1d1e.jpg","text":"TemporaryFile(/tmp/multipartBody7777955254919702221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716969510,"filename":"image_24012025_11_29_02_801103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a86af0554aa2f6695d17dd283a584d84.jpg","text":"TemporaryFile(/tmp/multipartBody2549115450610226799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716969510,"filename":"image_24012025_11_30_03_005704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab820c67330093c24f720bafcac31e15.jpg","text":"TemporaryFile(/tmp/multipartBody1277724024503708346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716969510,"filename":"image_24012025_11_30_03_005704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/18624f849b1dad5be432dc1eb5f50ee1.jpg","text":"TemporaryFile(/tmp/multipartBody595481107512923485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716969510,"filename":"image_24012025_11_29_02_801103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9bed19fce5ac10bb0df36d024ae64e10.jpg","text":"TemporaryFile(/tmp/multipartBody4230695377333240421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737716969510,"filename":"image_24012025_11_30_03_005704_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331039958","file1":"1331039950","file0":"1331039940","file4":"1331039966","file5":"1331039968","file3":"1331039963"},"map_files_photo_id_array":[{"photo_id":"1331039968","filename":"file5"},{"photo_id":"1331039958","filename":"file2"},{"photo_id":"1331039966","filename":"file4"},{"photo_id":"1331039950","filename":"file1"},{"photo_id":"1331039940","filename":"file0"},{"photo_id":"1331039963","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331039958":["hashtag1","hashtag2"]},{"1331039940":["hashtag1","hashtag2"]},{"1331039966":["hashtag1","hashtag2"]},{"1331039963":["hashtag1","hashtag2"]},{"1331039950":["hashtag1","hashtag2"]},{"1331039968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331039958, 1331039940, 1331039966, 1331039963, 1331039950, 1331039968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.20887970924377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 12:09:31.831866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/31/image_24012025_11_31_02_219519_0000.jpg', '/home/pi/Desktop/images/24012025/11/31/image_24012025_11_31_02_219519_0001.jpg', '/home/pi/Desktop/images/24012025/11/31/image_24012025_11_31_02_219519_0002.jpg', '/home/pi/Desktop/images/24012025/11/31/image_24012025_11_31_02_219519_0003.jpg', '/home/pi/Desktop/images/24012025/11/32/image_24012025_11_32_02_350314_0000.jpg', '/home/pi/Desktop/images/24012025/11/32/image_24012025_11_32_02_350314_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/31/image_24012025_11_31_02_219519_0000.jpg
/home/pi/Desktop/images/24012025/11/31/image_24012025_11_31_02_219519_0001.jpg
/home/pi/Desktop/images/24012025/11/31/image_24012025_11_31_02_219519_0002.jpg
/home/pi/Desktop/images/24012025/11/31/image_24012025_11_31_02_219519_0003.jpg
/home/pi/Desktop/images/24012025/11/32/image_24012025_11_32_02_350314_0000.jpg
/home/pi/Desktop/images/24012025/11/32/image_24012025_11_32_02_350314_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331040015","1331040000","1331040018","1331040011","1331040008","1331039994"],"photo_ids_order":["1331039994","1331040000","1331040008","1331040011","1331040015","1331040018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/596f72dcff0102aec22f98e6edb6a3ca.jpg","text":"TemporaryFile(/tmp/multipartBody4313603523823415095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717068703,"filename":"image_24012025_11_32_02_350314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1e2464441ded53da6818e4397072d70.jpg","text":"TemporaryFile(/tmp/multipartBody273858823162285739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717068703,"filename":"image_24012025_11_31_02_219519_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/99938e9204de3bbf534307f3a79f102b.jpg","text":"TemporaryFile(/tmp/multipartBody1042168752805090188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717068703,"filename":"image_24012025_11_32_02_350314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/59b930a37997fc07ad9daefe2fb2f04f.jpg","text":"TemporaryFile(/tmp/multipartBody905015104018780225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717068703,"filename":"image_24012025_11_31_02_219519_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf495c712ed8e5ef368c544550f35171.jpg","text":"TemporaryFile(/tmp/multipartBody784077319517925977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717068703,"filename":"image_24012025_11_31_02_219519_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b30cc47aa51bbe401fc0cd15ed7e7769.jpg","text":"TemporaryFile(/tmp/multipartBody1721826099707410084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717068703,"filename":"image_24012025_11_31_02_219519_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331040008","file1":"1331040000","file0":"1331039994","file4":"1331040015","file5":"1331040018","file3":"1331040011"},"map_files_photo_id_array":[{"photo_id":"1331040018","filename":"file5"},{"photo_id":"1331040008","filename":"file2"},{"photo_id":"1331040015","filename":"file4"},{"photo_id":"1331040000","filename":"file1"},{"photo_id":"1331039994","filename":"file0"},{"photo_id":"1331040011","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331040015":["hashtag1","hashtag2"]},{"1331040000":["hashtag1","hashtag2"]},{"1331040018":["hashtag1","hashtag2"]},{"1331040011":["hashtag1","hashtag2"]},{"1331040008":["hashtag1","hashtag2"]},{"1331039994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331040015, 1331040000, 1331040018, 1331040011, 1331040008, 1331039994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.33074378967285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:11:22.194344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/32/image_24012025_11_32_02_350314_0002.jpg', '/home/pi/Desktop/images/24012025/11/32/image_24012025_11_32_02_350314_0003.jpg', '/home/pi/Desktop/images/24012025/11/33/image_24012025_11_33_02_497201_0000.jpg', '/home/pi/Desktop/images/24012025/11/33/image_24012025_11_33_02_497201_0001.jpg', '/home/pi/Desktop/images/24012025/11/33/image_24012025_11_33_02_497201_0002.jpg', '/home/pi/Desktop/images/24012025/11/33/image_24012025_11_33_02_497201_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/32/image_24012025_11_32_02_350314_0002.jpg
/home/pi/Desktop/images/24012025/11/32/image_24012025_11_32_02_350314_0003.jpg
/home/pi/Desktop/images/24012025/11/33/image_24012025_11_33_02_497201_0000.jpg
/home/pi/Desktop/images/24012025/11/33/image_24012025_11_33_02_497201_0001.jpg
/home/pi/Desktop/images/24012025/11/33/image_24012025_11_33_02_497201_0002.jpg
/home/pi/Desktop/images/24012025/11/33/image_24012025_11_33_02_497201_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331040057","1331040072","1331040077","1331040082","1331040064","1331040088"],"photo_ids_order":["1331040057","1331040064","1331040072","1331040077","1331040082","1331040088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b1651169722a11e81f2a76f0925d76c.jpg","text":"TemporaryFile(/tmp/multipartBody5227861491676031427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717188184,"filename":"image_24012025_11_32_02_350314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d7236312cb1964f8392fa19fb3bbbf5a.jpg","text":"TemporaryFile(/tmp/multipartBody6770172181721033055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717188184,"filename":"image_24012025_11_33_02_497201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cbd91ccb061c794adf3d3f0f95ec1a20.jpg","text":"TemporaryFile(/tmp/multipartBody4613413324874218177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717188184,"filename":"image_24012025_11_33_02_497201_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63de0c1bb33263c938a0c423dbbcd7b3.jpg","text":"TemporaryFile(/tmp/multipartBody1517117389128441105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717188184,"filename":"image_24012025_11_33_02_497201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac457f59e0c4e7b4ce499194c3b2ef54.jpg","text":"TemporaryFile(/tmp/multipartBody2880813072228415614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717188184,"filename":"image_24012025_11_32_02_350314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8ad9daa2817182a9d7ab669de6f6b7db.jpg","text":"TemporaryFile(/tmp/multipartBody2967408140229630467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717188184,"filename":"image_24012025_11_33_02_497201_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331040072","file1":"1331040064","file0":"1331040057","file4":"1331040082","file5":"1331040088","file3":"1331040077"},"map_files_photo_id_array":[{"photo_id":"1331040088","filename":"file5"},{"photo_id":"1331040072","filename":"file2"},{"photo_id":"1331040082","filename":"file4"},{"photo_id":"1331040064","filename":"file1"},{"photo_id":"1331040057","filename":"file0"},{"photo_id":"1331040077","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331040057":["hashtag1","hashtag2"]},{"1331040072":["hashtag1","hashtag2"]},{"1331040077":["hashtag1","hashtag2"]},{"1331040082":["hashtag1","hashtag2"]},{"1331040064":["hashtag1","hashtag2"]},{"1331040088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331040057, 1331040072, 1331040077, 1331040082, 1331040064, 1331040088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.46229839324951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 12:13:03.179917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/34/image_24012025_11_34_02_694705_0000.jpg', '/home/pi/Desktop/images/24012025/11/34/image_24012025_11_34_02_694705_0001.jpg', '/home/pi/Desktop/images/24012025/11/34/image_24012025_11_34_02_694705_0002.jpg', '/home/pi/Desktop/images/24012025/11/34/image_24012025_11_34_02_694705_0003.jpg', '/home/pi/Desktop/images/24012025/11/35/image_24012025_11_35_02_884566_0000.jpg', '/home/pi/Desktop/images/24012025/11/35/image_24012025_11_35_02_884566_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/34/image_24012025_11_34_02_694705_0000.jpg
/home/pi/Desktop/images/24012025/11/34/image_24012025_11_34_02_694705_0001.jpg
/home/pi/Desktop/images/24012025/11/34/image_24012025_11_34_02_694705_0002.jpg
/home/pi/Desktop/images/24012025/11/34/image_24012025_11_34_02_694705_0003.jpg
/home/pi/Desktop/images/24012025/11/35/image_24012025_11_35_02_884566_0000.jpg
/home/pi/Desktop/images/24012025/11/35/image_24012025_11_35_02_884566_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331040349","1331040183","1331040411","1331040120","1331040391","1331040404"],"photo_ids_order":["1331040120","1331040183","1331040349","1331040391","1331040404","1331040411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3713ee5b147b8c51e6f7e5b34ccf7e03.jpg","text":"TemporaryFile(/tmp/multipartBody6258926868314298753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717289246,"filename":"image_24012025_11_34_02_694705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0d0b53f70d093c0344348c800da62788.jpg","text":"TemporaryFile(/tmp/multipartBody5094032733546352112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717289246,"filename":"image_24012025_11_34_02_694705_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/379aa5abb0eefaf4ba72f75f54df7775.jpg","text":"TemporaryFile(/tmp/multipartBody9138425005880706020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717289246,"filename":"image_24012025_11_35_02_884566_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5fabbcc6e8c8cd946926d0e9fef8d7ca.jpg","text":"TemporaryFile(/tmp/multipartBody4620467254971872682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717289246,"filename":"image_24012025_11_34_02_694705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8cbb4523e7db17a74bfad6894a9cfb65.jpg","text":"TemporaryFile(/tmp/multipartBody4412730855708671342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717289246,"filename":"image_24012025_11_34_02_694705_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/645e3cafdb603553f1ede7bfdf6e4f2f.jpg","text":"TemporaryFile(/tmp/multipartBody7812458250651809137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717289246,"filename":"image_24012025_11_35_02_884566_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331040349","file1":"1331040183","file0":"1331040120","file4":"1331040404","file5":"1331040411","file3":"1331040391"},"map_files_photo_id_array":[{"photo_id":"1331040411","filename":"file5"},{"photo_id":"1331040349","filename":"file2"},{"photo_id":"1331040404","filename":"file4"},{"photo_id":"1331040183","filename":"file1"},{"photo_id":"1331040120","filename":"file0"},{"photo_id":"1331040391","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331040349":["hashtag1","hashtag2"]},{"1331040183":["hashtag1","hashtag2"]},{"1331040411":["hashtag1","hashtag2"]},{"1331040120":["hashtag1","hashtag2"]},{"1331040391":["hashtag1","hashtag2"]},{"1331040404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331040349, 1331040183, 1331040411, 1331040120, 1331040391, 1331040404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.72760128974915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 12:14:52.716333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/35/image_24012025_11_35_02_884566_0002.jpg', '/home/pi/Desktop/images/24012025/11/35/image_24012025_11_35_02_884566_0003.jpg', '/home/pi/Desktop/images/24012025/11/36/image_24012025_11_36_03_154467_0000.jpg', '/home/pi/Desktop/images/24012025/11/36/image_24012025_11_36_03_154467_0001.jpg', '/home/pi/Desktop/images/24012025/11/36/image_24012025_11_36_03_154467_0002.jpg', '/home/pi/Desktop/images/24012025/11/36/image_24012025_11_36_03_154467_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/35/image_24012025_11_35_02_884566_0002.jpg
/home/pi/Desktop/images/24012025/11/35/image_24012025_11_35_02_884566_0003.jpg
/home/pi/Desktop/images/24012025/11/36/image_24012025_11_36_03_154467_0000.jpg
/home/pi/Desktop/images/24012025/11/36/image_24012025_11_36_03_154467_0001.jpg
/home/pi/Desktop/images/24012025/11/36/image_24012025_11_36_03_154467_0002.jpg
/home/pi/Desktop/images/24012025/11/36/image_24012025_11_36_03_154467_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331040639","1331040612","1331040623","1331040629","1331040620","1331040775"],"photo_ids_order":["1331040612","1331040620","1331040623","1331040629","1331040639","1331040775"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06235df4b48fa1ee86a83d222ffd1773.jpg","text":"TemporaryFile(/tmp/multipartBody5037205584460886130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717398290,"filename":"image_24012025_11_36_03_154467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/66557aed591bcb7ec1c702e55f78ec1c.jpg","text":"TemporaryFile(/tmp/multipartBody775691622270316371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717398290,"filename":"image_24012025_11_35_02_884566_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a1bc7745bbbff2d3d58a3d285565c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2967937614647634037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717398290,"filename":"image_24012025_11_36_03_154467_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/88dc6f578a271dbdf017f5d40c0d70f2.jpg","text":"TemporaryFile(/tmp/multipartBody6860911945535052586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717398290,"filename":"image_24012025_11_36_03_154467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b31833d717db32fee12f233dbbb903b.jpg","text":"TemporaryFile(/tmp/multipartBody1764410429832806547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717398290,"filename":"image_24012025_11_35_02_884566_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f24d4db74d089d6c135cea22e39eb69.jpg","text":"TemporaryFile(/tmp/multipartBody8512055473838724498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717398290,"filename":"image_24012025_11_36_03_154467_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331040623","file1":"1331040620","file0":"1331040612","file4":"1331040639","file5":"1331040775","file3":"1331040629"},"map_files_photo_id_array":[{"photo_id":"1331040775","filename":"file5"},{"photo_id":"1331040623","filename":"file2"},{"photo_id":"1331040639","filename":"file4"},{"photo_id":"1331040620","filename":"file1"},{"photo_id":"1331040612","filename":"file0"},{"photo_id":"1331040629","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331040639":["hashtag1","hashtag2"]},{"1331040612":["hashtag1","hashtag2"]},{"1331040623":["hashtag1","hashtag2"]},{"1331040629":["hashtag1","hashtag2"]},{"1331040620":["hashtag1","hashtag2"]},{"1331040775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331040639, 1331040612, 1331040623, 1331040629, 1331040620, 1331040775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.74505519866943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 12:16:42.134622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/37/image_24012025_11_37_02_263153_0000.jpg', '/home/pi/Desktop/images/24012025/11/37/image_24012025_11_37_02_263153_0001.jpg', '/home/pi/Desktop/images/24012025/11/37/image_24012025_11_37_02_263153_0002.jpg', '/home/pi/Desktop/images/24012025/11/37/image_24012025_11_37_02_263153_0003.jpg', '/home/pi/Desktop/images/24012025/11/38/image_24012025_11_38_02_418422_0000.jpg', '/home/pi/Desktop/images/24012025/11/38/image_24012025_11_38_02_418422_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/37/image_24012025_11_37_02_263153_0000.jpg
/home/pi/Desktop/images/24012025/11/37/image_24012025_11_37_02_263153_0001.jpg
/home/pi/Desktop/images/24012025/11/37/image_24012025_11_37_02_263153_0002.jpg
/home/pi/Desktop/images/24012025/11/37/image_24012025_11_37_02_263153_0003.jpg
/home/pi/Desktop/images/24012025/11/38/image_24012025_11_38_02_418422_0000.jpg
/home/pi/Desktop/images/24012025/11/38/image_24012025_11_38_02_418422_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331040841","1331040838","1331040825","1331040816","1331040844","1331040832"],"photo_ids_order":["1331040816","1331040825","1331040832","1331040838","1331040841","1331040844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c869ffd0a168e619ef52ebdf0abbcb7.jpg","text":"TemporaryFile(/tmp/multipartBody6001854307416678180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717491865,"filename":"image_24012025_11_38_02_418422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aefa1074b8997ffb733b6b5c75403729.jpg","text":"TemporaryFile(/tmp/multipartBody2207663983200010659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717491865,"filename":"image_24012025_11_37_02_263153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e898b50fecd227277c5f05c797d84cfc.jpg","text":"TemporaryFile(/tmp/multipartBody969159512362908648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717491865,"filename":"image_24012025_11_37_02_263153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d03530f7c2ebb7cf72b3ca69052b2823.jpg","text":"TemporaryFile(/tmp/multipartBody4147058177890558920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717491865,"filename":"image_24012025_11_37_02_263153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/996f948d7d431728fd45ef869b8e300a.jpg","text":"TemporaryFile(/tmp/multipartBody3653680340749695159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717491865,"filename":"image_24012025_11_38_02_418422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40273aa23bc167b6dfffd6dde6c58f79.jpg","text":"TemporaryFile(/tmp/multipartBody1298401529673223974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717491865,"filename":"image_24012025_11_37_02_263153_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331040832","file1":"1331040825","file0":"1331040816","file4":"1331040841","file5":"1331040844","file3":"1331040838"},"map_files_photo_id_array":[{"photo_id":"1331040844","filename":"file5"},{"photo_id":"1331040832","filename":"file2"},{"photo_id":"1331040841","filename":"file4"},{"photo_id":"1331040825","filename":"file1"},{"photo_id":"1331040816","filename":"file0"},{"photo_id":"1331040838","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331040841":["hashtag1","hashtag2"]},{"1331040838":["hashtag1","hashtag2"]},{"1331040825":["hashtag1","hashtag2"]},{"1331040816":["hashtag1","hashtag2"]},{"1331040844":["hashtag1","hashtag2"]},{"1331040832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331040841, 1331040838, 1331040825, 1331040816, 1331040844, 1331040832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.91370272636414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:18:22.496172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/38/image_24012025_11_38_02_418422_0002.jpg', '/home/pi/Desktop/images/24012025/11/38/image_24012025_11_38_02_418422_0003.jpg', '/home/pi/Desktop/images/24012025/11/39/image_24012025_11_39_02_573836_0000.jpg', '/home/pi/Desktop/images/24012025/11/39/image_24012025_11_39_02_573836_0001.jpg', '/home/pi/Desktop/images/24012025/11/39/image_24012025_11_39_02_573836_0002.jpg', '/home/pi/Desktop/images/24012025/11/39/image_24012025_11_39_02_573836_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/38/image_24012025_11_38_02_418422_0002.jpg
/home/pi/Desktop/images/24012025/11/38/image_24012025_11_38_02_418422_0003.jpg
/home/pi/Desktop/images/24012025/11/39/image_24012025_11_39_02_573836_0000.jpg
/home/pi/Desktop/images/24012025/11/39/image_24012025_11_39_02_573836_0001.jpg
/home/pi/Desktop/images/24012025/11/39/image_24012025_11_39_02_573836_0002.jpg
/home/pi/Desktop/images/24012025/11/39/image_24012025_11_39_02_573836_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331040907","1331040882","1331040899","1331040890","1331040911","1331040914"],"photo_ids_order":["1331040882","1331040890","1331040899","1331040907","1331040911","1331040914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a30423a113489ed980f067f9388b6a2d.jpg","text":"TemporaryFile(/tmp/multipartBody7492819429371516723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717605864,"filename":"image_24012025_11_39_02_573836_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e06402c92848fa5ca8bc659b7e7b5bf.jpg","text":"TemporaryFile(/tmp/multipartBody7983794727110008650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717605864,"filename":"image_24012025_11_38_02_418422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb1b0678f78320b3e7d79bced39a46d3.jpg","text":"TemporaryFile(/tmp/multipartBody1314797836672341521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717605864,"filename":"image_24012025_11_39_02_573836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1b4caf5580a45ed2cd4ff84bf619d9b8.jpg","text":"TemporaryFile(/tmp/multipartBody1573085901397218923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717605864,"filename":"image_24012025_11_38_02_418422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/deb02c86d279d2b4f7fe4a921ea4eef1.jpg","text":"TemporaryFile(/tmp/multipartBody6092412463773362686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717605864,"filename":"image_24012025_11_39_02_573836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55703b7af73290261821fa59ef81a632.jpg","text":"TemporaryFile(/tmp/multipartBody4836704203448989336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717605864,"filename":"image_24012025_11_39_02_573836_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331040899","file1":"1331040890","file0":"1331040882","file4":"1331040911","file5":"1331040914","file3":"1331040907"},"map_files_photo_id_array":[{"photo_id":"1331040914","filename":"file5"},{"photo_id":"1331040899","filename":"file2"},{"photo_id":"1331040911","filename":"file4"},{"photo_id":"1331040890","filename":"file1"},{"photo_id":"1331040882","filename":"file0"},{"photo_id":"1331040907","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331040907":["hashtag1","hashtag2"]},{"1331040882":["hashtag1","hashtag2"]},{"1331040899":["hashtag1","hashtag2"]},{"1331040890":["hashtag1","hashtag2"]},{"1331040911":["hashtag1","hashtag2"]},{"1331040914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331040907, 1331040882, 1331040899, 1331040890, 1331040911, 1331040914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.34144115447998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 12:20:02.334743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/40/image_24012025_11_40_02_834174_0000.jpg', '/home/pi/Desktop/images/24012025/11/40/image_24012025_11_40_02_834174_0001.jpg', '/home/pi/Desktop/images/24012025/11/40/image_24012025_11_40_02_834174_0002.jpg', '/home/pi/Desktop/images/24012025/11/40/image_24012025_11_40_02_834174_0003.jpg', '/home/pi/Desktop/images/24012025/11/41/image_24012025_11_41_02_944128_0000.jpg', '/home/pi/Desktop/images/24012025/11/41/image_24012025_11_41_02_944128_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/40/image_24012025_11_40_02_834174_0000.jpg
/home/pi/Desktop/images/24012025/11/40/image_24012025_11_40_02_834174_0001.jpg
/home/pi/Desktop/images/24012025/11/40/image_24012025_11_40_02_834174_0002.jpg
/home/pi/Desktop/images/24012025/11/40/image_24012025_11_40_02_834174_0003.jpg
/home/pi/Desktop/images/24012025/11/41/image_24012025_11_41_02_944128_0000.jpg
/home/pi/Desktop/images/24012025/11/41/image_24012025_11_41_02_944128_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331041641","1331041664","1331041646","1331041655","1331041687","1331041692"],"photo_ids_order":["1331041641","1331041646","1331041655","1331041664","1331041687","1331041692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/90af55061e855fd4857292f792eb7308.jpg","text":"TemporaryFile(/tmp/multipartBody5840066514018160069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717711679,"filename":"image_24012025_11_40_02_834174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/967b7cd423476462f161ef12dcef182e.jpg","text":"TemporaryFile(/tmp/multipartBody6953873028140357120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717711679,"filename":"image_24012025_11_40_02_834174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7c715458b6d315b99690fef1ee346b2.jpg","text":"TemporaryFile(/tmp/multipartBody5509242449434692825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717711679,"filename":"image_24012025_11_40_02_834174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55555bff2cdb17b12c2341909a2eab7c.jpg","text":"TemporaryFile(/tmp/multipartBody8763102205505610763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717711679,"filename":"image_24012025_11_40_02_834174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2137c19b566e6b61a8434f78b62a3b30.jpg","text":"TemporaryFile(/tmp/multipartBody3366289372541039782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717711679,"filename":"image_24012025_11_41_02_944128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b20a3b0aaa33504f22c60ae330430ca0.jpg","text":"TemporaryFile(/tmp/multipartBody9180581109267670316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717711679,"filename":"image_24012025_11_41_02_944128_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331041655","file1":"1331041646","file0":"1331041641","file4":"1331041687","file5":"1331041692","file3":"1331041664"},"map_files_photo_id_array":[{"photo_id":"1331041692","filename":"file5"},{"photo_id":"1331041655","filename":"file2"},{"photo_id":"1331041687","filename":"file4"},{"photo_id":"1331041646","filename":"file1"},{"photo_id":"1331041641","filename":"file0"},{"photo_id":"1331041664","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331041641":["hashtag1","hashtag2"]},{"1331041664":["hashtag1","hashtag2"]},{"1331041646":["hashtag1","hashtag2"]},{"1331041655":["hashtag1","hashtag2"]},{"1331041687":["hashtag1","hashtag2"]},{"1331041692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331041641, 1331041664, 1331041646, 1331041655, 1331041687, 1331041692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.73529005050659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 12:21:51.997939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/41/image_24012025_11_41_02_944128_0002.jpg', '/home/pi/Desktop/images/24012025/11/41/image_24012025_11_41_02_944128_0003.jpg', '/home/pi/Desktop/images/24012025/11/42/image_24012025_11_42_03_053560_0000.jpg', '/home/pi/Desktop/images/24012025/11/42/image_24012025_11_42_03_053560_0001.jpg', '/home/pi/Desktop/images/24012025/11/42/image_24012025_11_42_03_053560_0002.jpg', '/home/pi/Desktop/images/24012025/11/42/image_24012025_11_42_03_053560_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/41/image_24012025_11_41_02_944128_0002.jpg
/home/pi/Desktop/images/24012025/11/41/image_24012025_11_41_02_944128_0003.jpg
/home/pi/Desktop/images/24012025/11/42/image_24012025_11_42_03_053560_0000.jpg
/home/pi/Desktop/images/24012025/11/42/image_24012025_11_42_03_053560_0001.jpg
/home/pi/Desktop/images/24012025/11/42/image_24012025_11_42_03_053560_0002.jpg
/home/pi/Desktop/images/24012025/11/42/image_24012025_11_42_03_053560_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331042099","1331042260","1331042413","1331042193","1331042110","1331042094"],"photo_ids_order":["1331042094","1331042099","1331042110","1331042193","1331042260","1331042413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc172873ea91250d5ca5545d5e152925.jpg","text":"TemporaryFile(/tmp/multipartBody1698754806104090747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717822926,"filename":"image_24012025_11_41_02_944128_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/423465efa7563628143d5e74ca32ac88.jpg","text":"TemporaryFile(/tmp/multipartBody5956831948110837571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717822926,"filename":"image_24012025_11_42_03_053560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec198c3f36232c51e806208b0cb4133e.jpg","text":"TemporaryFile(/tmp/multipartBody7671197513030532379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717822926,"filename":"image_24012025_11_42_03_053560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ddde614969e0a2574591ddfdfe7c5407.jpg","text":"TemporaryFile(/tmp/multipartBody1670522303506015665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717822926,"filename":"image_24012025_11_42_03_053560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4447d140fd4755452619ec24e52a80de.jpg","text":"TemporaryFile(/tmp/multipartBody6817036450345394102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717822926,"filename":"image_24012025_11_42_03_053560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7f005c6c365dbf2ef386f4d6d48b2e6.jpg","text":"TemporaryFile(/tmp/multipartBody4743613734757158819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717822926,"filename":"image_24012025_11_41_02_944128_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331042110","file1":"1331042099","file0":"1331042094","file4":"1331042260","file5":"1331042413","file3":"1331042193"},"map_files_photo_id_array":[{"photo_id":"1331042413","filename":"file5"},{"photo_id":"1331042110","filename":"file2"},{"photo_id":"1331042260","filename":"file4"},{"photo_id":"1331042099","filename":"file1"},{"photo_id":"1331042094","filename":"file0"},{"photo_id":"1331042193","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331042099":["hashtag1","hashtag2"]},{"1331042260":["hashtag1","hashtag2"]},{"1331042413":["hashtag1","hashtag2"]},{"1331042193":["hashtag1","hashtag2"]},{"1331042110":["hashtag1","hashtag2"]},{"1331042094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331042099, 1331042260, 1331042413, 1331042193, 1331042110, 1331042094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.61001443862915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 12:23:42.371500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/43/image_24012025_11_43_02_252876_0000.jpg', '/home/pi/Desktop/images/24012025/11/43/image_24012025_11_43_02_252876_0001.jpg', '/home/pi/Desktop/images/24012025/11/43/image_24012025_11_43_02_252876_0002.jpg', '/home/pi/Desktop/images/24012025/11/43/image_24012025_11_43_02_252876_0003.jpg', '/home/pi/Desktop/images/24012025/11/44/image_24012025_11_44_02_409967_0000.jpg', '/home/pi/Desktop/images/24012025/11/44/image_24012025_11_44_02_409967_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/43/image_24012025_11_43_02_252876_0000.jpg
/home/pi/Desktop/images/24012025/11/43/image_24012025_11_43_02_252876_0001.jpg
/home/pi/Desktop/images/24012025/11/43/image_24012025_11_43_02_252876_0002.jpg
/home/pi/Desktop/images/24012025/11/43/image_24012025_11_43_02_252876_0003.jpg
/home/pi/Desktop/images/24012025/11/44/image_24012025_11_44_02_409967_0000.jpg
/home/pi/Desktop/images/24012025/11/44/image_24012025_11_44_02_409967_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331042477","1331042480","1331042494","1331042473","1331042500","1331042484"],"photo_ids_order":["1331042473","1331042477","1331042480","1331042484","1331042494","1331042500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/caabfe859ac737c6dcfb7b1941bd942d.jpg","text":"TemporaryFile(/tmp/multipartBody4562937194885151383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717936622,"filename":"image_24012025_11_43_02_252876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eb683d92fbc0a0789b913e498e373f63.jpg","text":"TemporaryFile(/tmp/multipartBody125437790414774300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717936622,"filename":"image_24012025_11_43_02_252876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b3e088a1b4f2dcd673de54b809a7b4e.jpg","text":"TemporaryFile(/tmp/multipartBody4375574166814223854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717936622,"filename":"image_24012025_11_44_02_409967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9210a0c2d33259dd0cd1966ad7142ad1.jpg","text":"TemporaryFile(/tmp/multipartBody2589500521903628237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717936622,"filename":"image_24012025_11_43_02_252876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bdab649418aaf557efa96661892c5145.jpg","text":"TemporaryFile(/tmp/multipartBody34974781818244964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717936622,"filename":"image_24012025_11_44_02_409967_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a1af897043f4f2d3a958db0c7b9caf6.jpg","text":"TemporaryFile(/tmp/multipartBody5008775788812403552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737717936622,"filename":"image_24012025_11_43_02_252876_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331042480","file1":"1331042477","file0":"1331042473","file4":"1331042494","file5":"1331042500","file3":"1331042484"},"map_files_photo_id_array":[{"photo_id":"1331042500","filename":"file5"},{"photo_id":"1331042480","filename":"file2"},{"photo_id":"1331042494","filename":"file4"},{"photo_id":"1331042477","filename":"file1"},{"photo_id":"1331042473","filename":"file0"},{"photo_id":"1331042484","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331042477":["hashtag1","hashtag2"]},{"1331042480":["hashtag1","hashtag2"]},{"1331042494":["hashtag1","hashtag2"]},{"1331042473":["hashtag1","hashtag2"]},{"1331042500":["hashtag1","hashtag2"]},{"1331042484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331042477, 1331042480, 1331042494, 1331042473, 1331042500, 1331042484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 112.39570450782776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 12:25:42.726314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/44/image_24012025_11_44_02_409967_0002.jpg', '/home/pi/Desktop/images/24012025/11/44/image_24012025_11_44_02_409967_0003.jpg', '/home/pi/Desktop/images/24012025/11/45/image_24012025_11_45_02_669889_0000.jpg', '/home/pi/Desktop/images/24012025/11/45/image_24012025_11_45_02_669889_0001.jpg', '/home/pi/Desktop/images/24012025/11/45/image_24012025_11_45_02_669889_0002.jpg', '/home/pi/Desktop/images/24012025/11/45/image_24012025_11_45_02_669889_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/44/image_24012025_11_44_02_409967_0002.jpg
/home/pi/Desktop/images/24012025/11/44/image_24012025_11_44_02_409967_0003.jpg
/home/pi/Desktop/images/24012025/11/45/image_24012025_11_45_02_669889_0000.jpg
/home/pi/Desktop/images/24012025/11/45/image_24012025_11_45_02_669889_0001.jpg
/home/pi/Desktop/images/24012025/11/45/image_24012025_11_45_02_669889_0002.jpg
/home/pi/Desktop/images/24012025/11/45/image_24012025_11_45_02_669889_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331042538","1331042546","1331042542","1331042545","1331042548","1331042533"],"photo_ids_order":["1331042533","1331042538","1331042542","1331042545","1331042546","1331042548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d42ac10085f28528c9a284f783ba9622.jpg","text":"TemporaryFile(/tmp/multipartBody8222217294337258513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718039951,"filename":"image_24012025_11_44_02_409967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a304745cdf67a4eef6cf612617ae1cb.jpg","text":"TemporaryFile(/tmp/multipartBody8131433770080179153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718039951,"filename":"image_24012025_11_45_02_669889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9609c25dd633bfdf037c5651fe2b5f44.jpg","text":"TemporaryFile(/tmp/multipartBody5055311527667167097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718039951,"filename":"image_24012025_11_45_02_669889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d011ef2347439d9880e7e771059034ca.jpg","text":"TemporaryFile(/tmp/multipartBody7542404660942695412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718039951,"filename":"image_24012025_11_45_02_669889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee1df395c61e5ae5d0ca701645806916.jpg","text":"TemporaryFile(/tmp/multipartBody8655114220727366000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718039951,"filename":"image_24012025_11_45_02_669889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/de3e6bd3100919e7a3fe0d5fc043f69e.jpg","text":"TemporaryFile(/tmp/multipartBody3424843071872344785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718039951,"filename":"image_24012025_11_44_02_409967_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331042542","file1":"1331042538","file0":"1331042533","file4":"1331042546","file5":"1331042548","file3":"1331042545"},"map_files_photo_id_array":[{"photo_id":"1331042548","filename":"file5"},{"photo_id":"1331042542","filename":"file2"},{"photo_id":"1331042546","filename":"file4"},{"photo_id":"1331042538","filename":"file1"},{"photo_id":"1331042533","filename":"file0"},{"photo_id":"1331042545","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331042538":["hashtag1","hashtag2"]},{"1331042546":["hashtag1","hashtag2"]},{"1331042542":["hashtag1","hashtag2"]},{"1331042545":["hashtag1","hashtag2"]},{"1331042548":["hashtag1","hashtag2"]},{"1331042533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331042538, 1331042546, 1331042542, 1331042545, 1331042548, 1331042533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.91499853134155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:27:22.165961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/46/image_24012025_11_46_02_830265_0000.jpg', '/home/pi/Desktop/images/24012025/11/46/image_24012025_11_46_02_830265_0001.jpg', '/home/pi/Desktop/images/24012025/11/46/image_24012025_11_46_02_830265_0002.jpg', '/home/pi/Desktop/images/24012025/11/46/image_24012025_11_46_02_830265_0003.jpg', '/home/pi/Desktop/images/24012025/11/47/image_24012025_11_47_03_022306_0000.jpg', '/home/pi/Desktop/images/24012025/11/47/image_24012025_11_47_03_022306_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/46/image_24012025_11_46_02_830265_0000.jpg
/home/pi/Desktop/images/24012025/11/46/image_24012025_11_46_02_830265_0001.jpg
/home/pi/Desktop/images/24012025/11/46/image_24012025_11_46_02_830265_0002.jpg
/home/pi/Desktop/images/24012025/11/46/image_24012025_11_46_02_830265_0003.jpg
/home/pi/Desktop/images/24012025/11/47/image_24012025_11_47_03_022306_0000.jpg
/home/pi/Desktop/images/24012025/11/47/image_24012025_11_47_03_022306_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331042780","1331042684","1331042747","1331042660","1331042692","1331042673"],"photo_ids_order":["1331042660","1331042673","1331042684","1331042692","1331042747","1331042780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/70f944d9b0ae5d5b042287b1b27f86bf.jpg","text":"TemporaryFile(/tmp/multipartBody549272485046920282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718152379,"filename":"image_24012025_11_47_03_022306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a3de48e29321ea4f26174a22a9017524.jpg","text":"TemporaryFile(/tmp/multipartBody5382713179937765100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718152379,"filename":"image_24012025_11_46_02_830265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6558b06713f02a82becefd9eaf7ac8b9.jpg","text":"TemporaryFile(/tmp/multipartBody3347551248431278720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718152379,"filename":"image_24012025_11_47_03_022306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/067e58a8e40fb1c2a1bf7e847d3a865a.jpg","text":"TemporaryFile(/tmp/multipartBody606417927905316117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718152379,"filename":"image_24012025_11_46_02_830265_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/883c53ff9cff1f95fc91ed4eb33b3112.jpg","text":"TemporaryFile(/tmp/multipartBody472432664085320481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718152379,"filename":"image_24012025_11_46_02_830265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a02d5eac34ebf9d560bd890e176cb80c.jpg","text":"TemporaryFile(/tmp/multipartBody1995366237912772838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718152379,"filename":"image_24012025_11_46_02_830265_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331042684","file1":"1331042673","file0":"1331042660","file4":"1331042747","file5":"1331042780","file3":"1331042692"},"map_files_photo_id_array":[{"photo_id":"1331042780","filename":"file5"},{"photo_id":"1331042684","filename":"file2"},{"photo_id":"1331042747","filename":"file4"},{"photo_id":"1331042673","filename":"file1"},{"photo_id":"1331042660","filename":"file0"},{"photo_id":"1331042692","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331042780":["hashtag1","hashtag2"]},{"1331042684":["hashtag1","hashtag2"]},{"1331042747":["hashtag1","hashtag2"]},{"1331042660":["hashtag1","hashtag2"]},{"1331042692":["hashtag1","hashtag2"]},{"1331042673":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331042780, 1331042684, 1331042747, 1331042660, 1331042692, 1331042673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.9209713935852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:29:22.512367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/47/image_24012025_11_47_03_022306_0002.jpg', '/home/pi/Desktop/images/24012025/11/47/image_24012025_11_47_03_022306_0003.jpg', '/home/pi/Desktop/images/24012025/11/48/image_24012025_11_48_02_241184_0000.jpg', '/home/pi/Desktop/images/24012025/11/48/image_24012025_11_48_02_241184_0001.jpg', '/home/pi/Desktop/images/24012025/11/48/image_24012025_11_48_02_241184_0002.jpg', '/home/pi/Desktop/images/24012025/11/48/image_24012025_11_48_02_241184_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/47/image_24012025_11_47_03_022306_0002.jpg
/home/pi/Desktop/images/24012025/11/47/image_24012025_11_47_03_022306_0003.jpg
/home/pi/Desktop/images/24012025/11/48/image_24012025_11_48_02_241184_0000.jpg
/home/pi/Desktop/images/24012025/11/48/image_24012025_11_48_02_241184_0001.jpg
/home/pi/Desktop/images/24012025/11/48/image_24012025_11_48_02_241184_0002.jpg
/home/pi/Desktop/images/24012025/11/48/image_24012025_11_48_02_241184_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331043018","1331042873","1331042918","1331042878","1331043016","1331042883"],"photo_ids_order":["1331042873","1331042878","1331042883","1331042918","1331043016","1331043018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/36f61262d76fe8ce20c40f3cb2cdeb0f.jpg","text":"TemporaryFile(/tmp/multipartBody7519889543454622611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718276251,"filename":"image_24012025_11_48_02_241184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5bcd52c015c2de079bccaa4f8556a994.jpg","text":"TemporaryFile(/tmp/multipartBody3102268742682371765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718276251,"filename":"image_24012025_11_47_03_022306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3a137879ea26d93a4ecd334266080abd.jpg","text":"TemporaryFile(/tmp/multipartBody6655939599488299183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718276251,"filename":"image_24012025_11_48_02_241184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd3d4dc5b0aeaf34819d97436d775e80.jpg","text":"TemporaryFile(/tmp/multipartBody1261944045754483798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718276251,"filename":"image_24012025_11_47_03_022306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/19550a1f788c2b8b52e34352e9a734c2.jpg","text":"TemporaryFile(/tmp/multipartBody3267558295120141861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718276251,"filename":"image_24012025_11_48_02_241184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/81bed59fda79c56376fd0cbb706ee8ef.jpg","text":"TemporaryFile(/tmp/multipartBody7117055922672108584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718276251,"filename":"image_24012025_11_48_02_241184_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331042883","file1":"1331042878","file0":"1331042873","file4":"1331043016","file5":"1331043018","file3":"1331042918"},"map_files_photo_id_array":[{"photo_id":"1331043018","filename":"file5"},{"photo_id":"1331042883","filename":"file2"},{"photo_id":"1331043016","filename":"file4"},{"photo_id":"1331042878","filename":"file1"},{"photo_id":"1331042873","filename":"file0"},{"photo_id":"1331042918","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331043018":["hashtag1","hashtag2"]},{"1331042873":["hashtag1","hashtag2"]},{"1331042918":["hashtag1","hashtag2"]},{"1331042878":["hashtag1","hashtag2"]},{"1331043016":["hashtag1","hashtag2"]},{"1331042883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331043018, 1331042873, 1331042918, 1331042878, 1331043016, 1331042883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.70626997947693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:31:21.785712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/49/image_24012025_11_49_02_393426_0000.jpg', '/home/pi/Desktop/images/24012025/11/49/image_24012025_11_49_02_393426_0001.jpg', '/home/pi/Desktop/images/24012025/11/49/image_24012025_11_49_02_393426_0002.jpg', '/home/pi/Desktop/images/24012025/11/49/image_24012025_11_49_02_393426_0003.jpg', '/home/pi/Desktop/images/24012025/11/50/image_24012025_11_50_02_592749_0000.jpg', '/home/pi/Desktop/images/24012025/11/50/image_24012025_11_50_02_592749_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/49/image_24012025_11_49_02_393426_0000.jpg
/home/pi/Desktop/images/24012025/11/49/image_24012025_11_49_02_393426_0001.jpg
/home/pi/Desktop/images/24012025/11/49/image_24012025_11_49_02_393426_0002.jpg
/home/pi/Desktop/images/24012025/11/49/image_24012025_11_49_02_393426_0003.jpg
/home/pi/Desktop/images/24012025/11/50/image_24012025_11_50_02_592749_0000.jpg
/home/pi/Desktop/images/24012025/11/50/image_24012025_11_50_02_592749_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331043050","1331043061","1331043180","1331043090","1331043054","1331043048"],"photo_ids_order":["1331043048","1331043050","1331043054","1331043061","1331043090","1331043180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/896a5e08d07a0b3eee047cc10f4b4abc.jpg","text":"TemporaryFile(/tmp/multipartBody5305082986995188935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718365716,"filename":"image_24012025_11_49_02_393426_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed9ffcafe69aaf7fef27294fa5459769.jpg","text":"TemporaryFile(/tmp/multipartBody1460720914212039541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718365716,"filename":"image_24012025_11_49_02_393426_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e54097487dc9aa770cb3347dfe1b4729.jpg","text":"TemporaryFile(/tmp/multipartBody6366520184136371372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718365716,"filename":"image_24012025_11_50_02_592749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/747b07d3e60d06d0a3df7682523ff73a.jpg","text":"TemporaryFile(/tmp/multipartBody898930466491493700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718365716,"filename":"image_24012025_11_50_02_592749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e369ed1dd9b8c745079fb63d23fd7c7.jpg","text":"TemporaryFile(/tmp/multipartBody6754190359497245460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718365716,"filename":"image_24012025_11_49_02_393426_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/79fa06c38b022f7589f5d732b6540fc4.jpg","text":"TemporaryFile(/tmp/multipartBody1465678873195978962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718365716,"filename":"image_24012025_11_49_02_393426_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331043054","file1":"1331043050","file0":"1331043048","file4":"1331043090","file5":"1331043180","file3":"1331043061"},"map_files_photo_id_array":[{"photo_id":"1331043180","filename":"file5"},{"photo_id":"1331043054","filename":"file2"},{"photo_id":"1331043090","filename":"file4"},{"photo_id":"1331043050","filename":"file1"},{"photo_id":"1331043048","filename":"file0"},{"photo_id":"1331043061","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331043050":["hashtag1","hashtag2"]},{"1331043061":["hashtag1","hashtag2"]},{"1331043180":["hashtag1","hashtag2"]},{"1331043090":["hashtag1","hashtag2"]},{"1331043054":["hashtag1","hashtag2"]},{"1331043048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331043050, 1331043061, 1331043180, 1331043090, 1331043054, 1331043048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.55331635475159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 12:32:41.939868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/50/image_24012025_11_50_02_592749_0002.jpg', '/home/pi/Desktop/images/24012025/11/50/image_24012025_11_50_02_592749_0003.jpg', '/home/pi/Desktop/images/24012025/11/51/image_24012025_11_51_02_762279_0000.jpg', '/home/pi/Desktop/images/24012025/11/51/image_24012025_11_51_02_762279_0001.jpg', '/home/pi/Desktop/images/24012025/11/51/image_24012025_11_51_02_762279_0002.jpg', '/home/pi/Desktop/images/24012025/11/51/image_24012025_11_51_02_762279_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/50/image_24012025_11_50_02_592749_0002.jpg
/home/pi/Desktop/images/24012025/11/50/image_24012025_11_50_02_592749_0003.jpg
/home/pi/Desktop/images/24012025/11/51/image_24012025_11_51_02_762279_0000.jpg
/home/pi/Desktop/images/24012025/11/51/image_24012025_11_51_02_762279_0001.jpg
/home/pi/Desktop/images/24012025/11/51/image_24012025_11_51_02_762279_0002.jpg
/home/pi/Desktop/images/24012025/11/51/image_24012025_11_51_02_762279_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331043371","1331043388","1331043373","1331043379","1331043351","1331043375"],"photo_ids_order":["1331043351","1331043371","1331043373","1331043375","1331043379","1331043388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/96a3d00cc3c141c5c69a48088a9bc037.jpg","text":"TemporaryFile(/tmp/multipartBody293528973110464338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718469772,"filename":"image_24012025_11_50_02_592749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28d7f14227d7ed74181ddbcb01bac1a4.jpg","text":"TemporaryFile(/tmp/multipartBody6731862712923656018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718469772,"filename":"image_24012025_11_51_02_762279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/462c9b21e3bce95edbffe815c7a51c0a.jpg","text":"TemporaryFile(/tmp/multipartBody6023577155137233108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718469772,"filename":"image_24012025_11_51_02_762279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/19af0fe87ab1dda1b33649e6ce4946d1.jpg","text":"TemporaryFile(/tmp/multipartBody5472327340279658873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718469772,"filename":"image_24012025_11_51_02_762279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a97c2d07782faa42e863469dcdccce2.jpg","text":"TemporaryFile(/tmp/multipartBody5525300874706520429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718469772,"filename":"image_24012025_11_50_02_592749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b8dcc5de45e08f69e770cffd5370cc9a.jpg","text":"TemporaryFile(/tmp/multipartBody8720256944119975673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718469772,"filename":"image_24012025_11_51_02_762279_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331043373","file1":"1331043371","file0":"1331043351","file4":"1331043379","file5":"1331043388","file3":"1331043375"},"map_files_photo_id_array":[{"photo_id":"1331043388","filename":"file5"},{"photo_id":"1331043373","filename":"file2"},{"photo_id":"1331043379","filename":"file4"},{"photo_id":"1331043371","filename":"file1"},{"photo_id":"1331043351","filename":"file0"},{"photo_id":"1331043375","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331043371":["hashtag1","hashtag2"]},{"1331043388":["hashtag1","hashtag2"]},{"1331043373":["hashtag1","hashtag2"]},{"1331043379":["hashtag1","hashtag2"]},{"1331043351":["hashtag1","hashtag2"]},{"1331043375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331043371, 1331043388, 1331043373, 1331043379, 1331043351, 1331043375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.94199204444885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 12:34:32.237546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/52/image_24012025_11_52_02_943240_0000.jpg', '/home/pi/Desktop/images/24012025/11/52/image_24012025_11_52_02_943240_0001.jpg', '/home/pi/Desktop/images/24012025/11/52/image_24012025_11_52_02_943240_0002.jpg', '/home/pi/Desktop/images/24012025/11/52/image_24012025_11_52_02_943240_0003.jpg', '/home/pi/Desktop/images/24012025/11/53/image_24012025_11_53_02_195609_0000.jpg', '/home/pi/Desktop/images/24012025/11/53/image_24012025_11_53_02_195609_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/52/image_24012025_11_52_02_943240_0000.jpg
/home/pi/Desktop/images/24012025/11/52/image_24012025_11_52_02_943240_0001.jpg
/home/pi/Desktop/images/24012025/11/52/image_24012025_11_52_02_943240_0002.jpg
/home/pi/Desktop/images/24012025/11/52/image_24012025_11_52_02_943240_0003.jpg
/home/pi/Desktop/images/24012025/11/53/image_24012025_11_53_02_195609_0000.jpg
/home/pi/Desktop/images/24012025/11/53/image_24012025_11_53_02_195609_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331043431","1331043449","1331043428","1331043442","1331043436","1331043439"],"photo_ids_order":["1331043428","1331043431","1331043436","1331043439","1331043442","1331043449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c374b5cbc37661493e395c6cc26a068.jpg","text":"TemporaryFile(/tmp/multipartBody8724486815760951306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718580633,"filename":"image_24012025_11_52_02_943240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/84a4f20eebc13a7f6241a6d5b4f65c21.jpg","text":"TemporaryFile(/tmp/multipartBody6998687056676134281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718580633,"filename":"image_24012025_11_53_02_195609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/440ee2b10db92331ec3131a4ee6a55be.jpg","text":"TemporaryFile(/tmp/multipartBody2715940808684984050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718580633,"filename":"image_24012025_11_52_02_943240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b80bddba38fc8544776dd87808b1ce5d.jpg","text":"TemporaryFile(/tmp/multipartBody8954062861261280761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718580633,"filename":"image_24012025_11_53_02_195609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9f548832b4c48fe6412f276a7758943b.jpg","text":"TemporaryFile(/tmp/multipartBody4913434469707797305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718580633,"filename":"image_24012025_11_52_02_943240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff3b3818335b8db6f2603fe9c16aff17.jpg","text":"TemporaryFile(/tmp/multipartBody1509410660732027844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718580633,"filename":"image_24012025_11_52_02_943240_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331043436","file1":"1331043431","file0":"1331043428","file4":"1331043442","file5":"1331043449","file3":"1331043439"},"map_files_photo_id_array":[{"photo_id":"1331043449","filename":"file5"},{"photo_id":"1331043436","filename":"file2"},{"photo_id":"1331043442","filename":"file4"},{"photo_id":"1331043431","filename":"file1"},{"photo_id":"1331043428","filename":"file0"},{"photo_id":"1331043439","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331043431":["hashtag1","hashtag2"]},{"1331043449":["hashtag1","hashtag2"]},{"1331043428":["hashtag1","hashtag2"]},{"1331043442":["hashtag1","hashtag2"]},{"1331043436":["hashtag1","hashtag2"]},{"1331043439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331043431, 1331043449, 1331043428, 1331043442, 1331043436, 1331043439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.26704216003418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:36:22.697837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/53/image_24012025_11_53_02_195609_0002.jpg', '/home/pi/Desktop/images/24012025/11/53/image_24012025_11_53_02_195609_0003.jpg', '/home/pi/Desktop/images/24012025/11/54/image_24012025_11_54_02_359634_0000.jpg', '/home/pi/Desktop/images/24012025/11/54/image_24012025_11_54_02_359634_0001.jpg', '/home/pi/Desktop/images/24012025/11/54/image_24012025_11_54_02_359634_0002.jpg', '/home/pi/Desktop/images/24012025/11/54/image_24012025_11_54_02_359634_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/53/image_24012025_11_53_02_195609_0002.jpg
/home/pi/Desktop/images/24012025/11/53/image_24012025_11_53_02_195609_0003.jpg
/home/pi/Desktop/images/24012025/11/54/image_24012025_11_54_02_359634_0000.jpg
/home/pi/Desktop/images/24012025/11/54/image_24012025_11_54_02_359634_0001.jpg
/home/pi/Desktop/images/24012025/11/54/image_24012025_11_54_02_359634_0002.jpg
/home/pi/Desktop/images/24012025/11/54/image_24012025_11_54_02_359634_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331043482","1331043509","1331043499","1331043503","1331043494","1331043488"],"photo_ids_order":["1331043482","1331043488","1331043494","1331043499","1331043503","1331043509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f0185f99ff555b50258247cfddad2653.jpg","text":"TemporaryFile(/tmp/multipartBody7473336453558958293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718692194,"filename":"image_24012025_11_53_02_195609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55479ec35e26a863facc65b3a131fa5b.jpg","text":"TemporaryFile(/tmp/multipartBody5431375291352391488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718692194,"filename":"image_24012025_11_54_02_359634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32b9fd6762c07b5d8837662d49591094.jpg","text":"TemporaryFile(/tmp/multipartBody8610615403853296124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718692194,"filename":"image_24012025_11_54_02_359634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/79e01ddd72efc6bb9075c89840e5bbcb.jpg","text":"TemporaryFile(/tmp/multipartBody3922728894950403940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718692194,"filename":"image_24012025_11_54_02_359634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40503ab2f1f02c91c4dfd52e273e772b.jpg","text":"TemporaryFile(/tmp/multipartBody4870840242686864631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718692194,"filename":"image_24012025_11_54_02_359634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cd031ce61af5dedfacfb9a05a4274d77.jpg","text":"TemporaryFile(/tmp/multipartBody5908491231674742216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718692194,"filename":"image_24012025_11_53_02_195609_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331043494","file1":"1331043488","file0":"1331043482","file4":"1331043503","file5":"1331043509","file3":"1331043499"},"map_files_photo_id_array":[{"photo_id":"1331043509","filename":"file5"},{"photo_id":"1331043494","filename":"file2"},{"photo_id":"1331043503","filename":"file4"},{"photo_id":"1331043488","filename":"file1"},{"photo_id":"1331043482","filename":"file0"},{"photo_id":"1331043499","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331043482":["hashtag1","hashtag2"]},{"1331043509":["hashtag1","hashtag2"]},{"1331043499":["hashtag1","hashtag2"]},{"1331043503":["hashtag1","hashtag2"]},{"1331043494":["hashtag1","hashtag2"]},{"1331043488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331043482, 1331043509, 1331043499, 1331043503, 1331043494, 1331043488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.20721673965454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:38:22.123756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/55/image_24012025_11_55_02_480937_0000.jpg', '/home/pi/Desktop/images/24012025/11/55/image_24012025_11_55_02_480937_0001.jpg', '/home/pi/Desktop/images/24012025/11/55/image_24012025_11_55_02_480937_0002.jpg', '/home/pi/Desktop/images/24012025/11/55/image_24012025_11_55_02_480937_0003.jpg', '/home/pi/Desktop/images/24012025/11/56/image_24012025_11_56_02_695612_0000.jpg', '/home/pi/Desktop/images/24012025/11/56/image_24012025_11_56_02_695612_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/55/image_24012025_11_55_02_480937_0000.jpg
/home/pi/Desktop/images/24012025/11/55/image_24012025_11_55_02_480937_0001.jpg
/home/pi/Desktop/images/24012025/11/55/image_24012025_11_55_02_480937_0002.jpg
/home/pi/Desktop/images/24012025/11/55/image_24012025_11_55_02_480937_0003.jpg
/home/pi/Desktop/images/24012025/11/56/image_24012025_11_56_02_695612_0000.jpg
/home/pi/Desktop/images/24012025/11/56/image_24012025_11_56_02_695612_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331043578","1331043563","1331043571","1331043646","1331043574","1331043555"],"photo_ids_order":["1331043555","1331043563","1331043571","1331043574","1331043578","1331043646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b6560e9ef5883482f2f13f99dc712971.jpg","text":"TemporaryFile(/tmp/multipartBody6234895804360306420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718807532,"filename":"image_24012025_11_56_02_695612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff5ec0473bf35cf1ebea112e6ffc8475.jpg","text":"TemporaryFile(/tmp/multipartBody3451718311580365628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718807532,"filename":"image_24012025_11_55_02_480937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f0791f04ddfb23042e8fdde98585ac1e.jpg","text":"TemporaryFile(/tmp/multipartBody7589916950334230585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718807532,"filename":"image_24012025_11_55_02_480937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2f68d9f99818a6da5fea48a8b93947d2.jpg","text":"TemporaryFile(/tmp/multipartBody9052735853185325102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718807532,"filename":"image_24012025_11_56_02_695612_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e98b17cdb6b0e027b7a51c6d8a76ed8b.jpg","text":"TemporaryFile(/tmp/multipartBody5758791662685090730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718807532,"filename":"image_24012025_11_55_02_480937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a753847709457f24ddbbfe30e7e5aa14.jpg","text":"TemporaryFile(/tmp/multipartBody1171821448742544945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718807532,"filename":"image_24012025_11_55_02_480937_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331043571","file1":"1331043563","file0":"1331043555","file4":"1331043578","file5":"1331043646","file3":"1331043574"},"map_files_photo_id_array":[{"photo_id":"1331043646","filename":"file5"},{"photo_id":"1331043571","filename":"file2"},{"photo_id":"1331043578","filename":"file4"},{"photo_id":"1331043563","filename":"file1"},{"photo_id":"1331043555","filename":"file0"},{"photo_id":"1331043574","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331043578":["hashtag1","hashtag2"]},{"1331043563":["hashtag1","hashtag2"]},{"1331043571":["hashtag1","hashtag2"]},{"1331043646":["hashtag1","hashtag2"]},{"1331043574":["hashtag1","hashtag2"]},{"1331043555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331043578, 1331043563, 1331043571, 1331043646, 1331043574, 1331043555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.67687201499939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:40:22.455192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/56/image_24012025_11_56_02_695612_0002.jpg', '/home/pi/Desktop/images/24012025/11/56/image_24012025_11_56_02_695612_0003.jpg', '/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0000.jpg', '/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0001.jpg', '/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0002.jpg', '/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/56/image_24012025_11_56_02_695612_0002.jpg
/home/pi/Desktop/images/24012025/11/56/image_24012025_11_56_02_695612_0003.jpg
/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0000.jpg
/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0001.jpg
/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0002.jpg
/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0003.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 52.115087270736694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:41:22.588577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/56/image_24012025_11_56_02_695612_0002.jpg', '/home/pi/Desktop/images/24012025/11/56/image_24012025_11_56_02_695612_0003.jpg', '/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0000.jpg', '/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0001.jpg', '/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0002.jpg', '/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/56/image_24012025_11_56_02_695612_0002.jpg
/home/pi/Desktop/images/24012025/11/56/image_24012025_11_56_02_695612_0003.jpg
/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0000.jpg
/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0001.jpg
/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0002.jpg
/home/pi/Desktop/images/24012025/11/57/image_24012025_11_57_02_877237_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331043955","1331043946","1331043949","1331043934","1331043942","1331043927"],"photo_ids_order":["1331043927","1331043934","1331043942","1331043946","1331043949","1331043955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2f617c34bba980cf91df74d1838150af.jpg","text":"TemporaryFile(/tmp/multipartBody4271957839375212315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718989017,"filename":"image_24012025_11_57_02_877237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7e39ddf55cd69c3cdfd842d590aedd7c.jpg","text":"TemporaryFile(/tmp/multipartBody3468994070448222040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718989017,"filename":"image_24012025_11_57_02_877237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b4c37ae568341406837e2b88a23b97f6.jpg","text":"TemporaryFile(/tmp/multipartBody1415203818346025912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718989017,"filename":"image_24012025_11_57_02_877237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d345556e8e8158908c660d20ff7e48e9.jpg","text":"TemporaryFile(/tmp/multipartBody6874016797880518138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718989017,"filename":"image_24012025_11_56_02_695612_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b1d52e9e09f13e01c02769d77c471d1e.jpg","text":"TemporaryFile(/tmp/multipartBody5656165830906023113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718989017,"filename":"image_24012025_11_57_02_877237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cbab3b4e743c485739c2f9c8c0062b91.jpg","text":"TemporaryFile(/tmp/multipartBody6715105391437232116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737718989017,"filename":"image_24012025_11_56_02_695612_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331043942","file1":"1331043934","file0":"1331043927","file4":"1331043949","file5":"1331043955","file3":"1331043946"},"map_files_photo_id_array":[{"photo_id":"1331043955","filename":"file5"},{"photo_id":"1331043942","filename":"file2"},{"photo_id":"1331043949","filename":"file4"},{"photo_id":"1331043934","filename":"file1"},{"photo_id":"1331043927","filename":"file0"},{"photo_id":"1331043946","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331043955":["hashtag1","hashtag2"]},{"1331043946":["hashtag1","hashtag2"]},{"1331043949":["hashtag1","hashtag2"]},{"1331043934":["hashtag1","hashtag2"]},{"1331043942":["hashtag1","hashtag2"]},{"1331043927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331043955, 1331043946, 1331043949, 1331043934, 1331043942, 1331043927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.26245713233948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:43:22.003068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/58/image_24012025_11_58_02_970317_0000.jpg', '/home/pi/Desktop/images/24012025/11/58/image_24012025_11_58_02_970317_0001.jpg', '/home/pi/Desktop/images/24012025/11/58/image_24012025_11_58_02_970317_0002.jpg', '/home/pi/Desktop/images/24012025/11/58/image_24012025_11_58_02_970317_0003.jpg', '/home/pi/Desktop/images/24012025/11/59/image_24012025_11_59_02_185466_0000.jpg', '/home/pi/Desktop/images/24012025/11/59/image_24012025_11_59_02_185466_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/58/image_24012025_11_58_02_970317_0000.jpg
/home/pi/Desktop/images/24012025/11/58/image_24012025_11_58_02_970317_0001.jpg
/home/pi/Desktop/images/24012025/11/58/image_24012025_11_58_02_970317_0002.jpg
/home/pi/Desktop/images/24012025/11/58/image_24012025_11_58_02_970317_0003.jpg
/home/pi/Desktop/images/24012025/11/59/image_24012025_11_59_02_185466_0000.jpg
/home/pi/Desktop/images/24012025/11/59/image_24012025_11_59_02_185466_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331044278","1331044065","1331044053","1331044547","1331044070","1331044058"],"photo_ids_order":["1331044053","1331044058","1331044065","1331044070","1331044278","1331044547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec6b2fe85ff376edc3ac0e85cc30346a.jpg","text":"TemporaryFile(/tmp/multipartBody7791544266776329368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719107534,"filename":"image_24012025_11_59_02_185466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9eef029fb6231d6a8abe582dccfd72b8.jpg","text":"TemporaryFile(/tmp/multipartBody6915316351749177402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719107534,"filename":"image_24012025_11_58_02_970317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0052c17b416c439c16107b5266965d1a.jpg","text":"TemporaryFile(/tmp/multipartBody979203280985509737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719107534,"filename":"image_24012025_11_58_02_970317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/14e5eaca1281cfdf82dd08633986941a.jpg","text":"TemporaryFile(/tmp/multipartBody1715359146957475353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719107534,"filename":"image_24012025_11_59_02_185466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d4c42ffd45c0ee13edc4c9185c75ce4b.jpg","text":"TemporaryFile(/tmp/multipartBody4898183652252298344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719107534,"filename":"image_24012025_11_58_02_970317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0e5713dad1a4d1907016b78f07dfb577.jpg","text":"TemporaryFile(/tmp/multipartBody8249280712780676067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719107534,"filename":"image_24012025_11_58_02_970317_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331044065","file1":"1331044058","file0":"1331044053","file4":"1331044278","file5":"1331044547","file3":"1331044070"},"map_files_photo_id_array":[{"photo_id":"1331044547","filename":"file5"},{"photo_id":"1331044065","filename":"file2"},{"photo_id":"1331044278","filename":"file4"},{"photo_id":"1331044058","filename":"file1"},{"photo_id":"1331044053","filename":"file0"},{"photo_id":"1331044070","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331044278":["hashtag1","hashtag2"]},{"1331044065":["hashtag1","hashtag2"]},{"1331044053":["hashtag1","hashtag2"]},{"1331044547":["hashtag1","hashtag2"]},{"1331044070":["hashtag1","hashtag2"]},{"1331044058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331044278, 1331044065, 1331044053, 1331044547, 1331044070, 1331044058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.0055022239685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 12:45:03.102087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/11/59/image_24012025_11_59_02_185466_0002.jpg', '/home/pi/Desktop/images/24012025/11/59/image_24012025_11_59_02_185466_0003.jpg', '/home/pi/Desktop/images/24012025/12/00/image_24012025_12_00_02_348912_0000.jpg', '/home/pi/Desktop/images/24012025/12/00/image_24012025_12_00_02_348912_0001.jpg', '/home/pi/Desktop/images/24012025/12/00/image_24012025_12_00_02_348912_0002.jpg', '/home/pi/Desktop/images/24012025/12/00/image_24012025_12_00_02_348912_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/11/59/image_24012025_11_59_02_185466_0002.jpg
/home/pi/Desktop/images/24012025/11/59/image_24012025_11_59_02_185466_0003.jpg
/home/pi/Desktop/images/24012025/12/00/image_24012025_12_00_02_348912_0000.jpg
/home/pi/Desktop/images/24012025/12/00/image_24012025_12_00_02_348912_0001.jpg
/home/pi/Desktop/images/24012025/12/00/image_24012025_12_00_02_348912_0002.jpg
/home/pi/Desktop/images/24012025/12/00/image_24012025_12_00_02_348912_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331044995","1331045073","1331044992","1331045078","1331045057","1331045021"],"photo_ids_order":["1331044992","1331044995","1331045021","1331045057","1331045073","1331045078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/236c409e0139749b555f8f310c6d8ad1.jpg","text":"TemporaryFile(/tmp/multipartBody781371670608867002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719209409,"filename":"image_24012025_11_59_02_185466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2c0e291a38268bc54f8cd23b4670e626.jpg","text":"TemporaryFile(/tmp/multipartBody562399765335855236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719209409,"filename":"image_24012025_12_00_02_348912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1ea19ea2165da331823df4f2ed884de.jpg","text":"TemporaryFile(/tmp/multipartBody2238822474024255548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719209409,"filename":"image_24012025_11_59_02_185466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a4f25ecf2ef585160890dd90e23d950c.jpg","text":"TemporaryFile(/tmp/multipartBody4971110635407394414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719209409,"filename":"image_24012025_12_00_02_348912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e6155c6e18448a7cb845d778cd2bbdce.jpg","text":"TemporaryFile(/tmp/multipartBody3626015422062638286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719209409,"filename":"image_24012025_12_00_02_348912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/edd9bb5ed5826a9ab44a898c17fcbb25.jpg","text":"TemporaryFile(/tmp/multipartBody758412836188567698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719209409,"filename":"image_24012025_12_00_02_348912_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331045021","file1":"1331044995","file0":"1331044992","file4":"1331045073","file5":"1331045078","file3":"1331045057"},"map_files_photo_id_array":[{"photo_id":"1331045078","filename":"file5"},{"photo_id":"1331045021","filename":"file2"},{"photo_id":"1331045073","filename":"file4"},{"photo_id":"1331044995","filename":"file1"},{"photo_id":"1331044992","filename":"file0"},{"photo_id":"1331045057","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331044995":["hashtag1","hashtag2"]},{"1331045073":["hashtag1","hashtag2"]},{"1331044992":["hashtag1","hashtag2"]},{"1331045078":["hashtag1","hashtag2"]},{"1331045057":["hashtag1","hashtag2"]},{"1331045021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331044995, 1331045073, 1331044992, 1331045078, 1331045057, 1331045021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.82544422149658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 12:46:52.487603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/02/image_24012025_12_02_19_826769_0000.jpg', '/home/pi/Desktop/images/24012025/12/02/image_24012025_12_02_19_826769_0001.jpg', '/home/pi/Desktop/images/24012025/12/02/image_24012025_12_02_19_826769_0002.jpg', '/home/pi/Desktop/images/24012025/12/02/image_24012025_12_02_19_826769_0003.jpg', '/home/pi/Desktop/images/24012025/12/04/image_24012025_12_04_02_261284_0000.jpg', '/home/pi/Desktop/images/24012025/12/04/image_24012025_12_04_02_261284_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/02/image_24012025_12_02_19_826769_0000.jpg
/home/pi/Desktop/images/24012025/12/02/image_24012025_12_02_19_826769_0001.jpg
/home/pi/Desktop/images/24012025/12/02/image_24012025_12_02_19_826769_0002.jpg
/home/pi/Desktop/images/24012025/12/02/image_24012025_12_02_19_826769_0003.jpg
/home/pi/Desktop/images/24012025/12/04/image_24012025_12_04_02_261284_0000.jpg
/home/pi/Desktop/images/24012025/12/04/image_24012025_12_04_02_261284_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331045569","1331045371","1331045350","1331045481","1331045477","1331045572"],"photo_ids_order":["1331045350","1331045371","1331045477","1331045481","1331045569","1331045572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d4e2359b365241e7b4b7ba3fa912598f.jpg","text":"TemporaryFile(/tmp/multipartBody2119249465364795619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719314984,"filename":"image_24012025_12_04_02_261284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/79bd1e5f3c321b2334ad4970ff03c1e4.jpg","text":"TemporaryFile(/tmp/multipartBody263491579101326361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719314984,"filename":"image_24012025_12_02_19_826769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5d1cdca74e5d46a35e5e4c2e4020d135.jpg","text":"TemporaryFile(/tmp/multipartBody692285689740210202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719314984,"filename":"image_24012025_12_02_19_826769_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c94e9df06bb6f4d23632a9e7d70e57e7.jpg","text":"TemporaryFile(/tmp/multipartBody2402176991710159312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719314984,"filename":"image_24012025_12_02_19_826769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/99980667a2e1d877905c28ae15899f36.jpg","text":"TemporaryFile(/tmp/multipartBody5335700457909568462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719314984,"filename":"image_24012025_12_02_19_826769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f0962cec7b0b8797f5c0725a78f5b4c.jpg","text":"TemporaryFile(/tmp/multipartBody4983097207723699724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719314984,"filename":"image_24012025_12_04_02_261284_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331045477","file1":"1331045371","file0":"1331045350","file4":"1331045569","file5":"1331045572","file3":"1331045481"},"map_files_photo_id_array":[{"photo_id":"1331045572","filename":"file5"},{"photo_id":"1331045477","filename":"file2"},{"photo_id":"1331045569","filename":"file4"},{"photo_id":"1331045371","filename":"file1"},{"photo_id":"1331045350","filename":"file0"},{"photo_id":"1331045481","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331045569":["hashtag1","hashtag2"]},{"1331045371":["hashtag1","hashtag2"]},{"1331045350":["hashtag1","hashtag2"]},{"1331045481":["hashtag1","hashtag2"]},{"1331045477":["hashtag1","hashtag2"]},{"1331045572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331045569, 1331045371, 1331045350, 1331045481, 1331045477, 1331045572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.74646162986755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 12:48:31.993069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/04/image_24012025_12_04_02_261284_0002.jpg', '/home/pi/Desktop/images/24012025/12/04/image_24012025_12_04_02_261284_0003.jpg', '/home/pi/Desktop/images/24012025/12/05/image_24012025_12_05_02_433835_0000.jpg', '/home/pi/Desktop/images/24012025/12/05/image_24012025_12_05_02_433835_0001.jpg', '/home/pi/Desktop/images/24012025/12/05/image_24012025_12_05_02_433835_0002.jpg', '/home/pi/Desktop/images/24012025/12/05/image_24012025_12_05_02_433835_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/04/image_24012025_12_04_02_261284_0002.jpg
/home/pi/Desktop/images/24012025/12/04/image_24012025_12_04_02_261284_0003.jpg
/home/pi/Desktop/images/24012025/12/05/image_24012025_12_05_02_433835_0000.jpg
/home/pi/Desktop/images/24012025/12/05/image_24012025_12_05_02_433835_0001.jpg
/home/pi/Desktop/images/24012025/12/05/image_24012025_12_05_02_433835_0002.jpg
/home/pi/Desktop/images/24012025/12/05/image_24012025_12_05_02_433835_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331045839","1331045784","1331045886","1331045811","1331045817","1331045738"],"photo_ids_order":["1331045738","1331045784","1331045811","1331045817","1331045839","1331045886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da99f19309c6d4adaa043058ec8fae94.jpg","text":"TemporaryFile(/tmp/multipartBody838557454100902668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719415554,"filename":"image_24012025_12_05_02_433835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ab7f36ddb853141eeedd709e1fb00f6.jpg","text":"TemporaryFile(/tmp/multipartBody244332322091013032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719415554,"filename":"image_24012025_12_04_02_261284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b3f1ea42d73a374536f5399e6e7bdda.jpg","text":"TemporaryFile(/tmp/multipartBody3213556126172303866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719415554,"filename":"image_24012025_12_05_02_433835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f16d58ba57f35e8fdfcb253c05e4d10.jpg","text":"TemporaryFile(/tmp/multipartBody2372447570562857149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719415554,"filename":"image_24012025_12_05_02_433835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b59a88014a72e6ae6cf788a1f9c3472.jpg","text":"TemporaryFile(/tmp/multipartBody412478969568661626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719415554,"filename":"image_24012025_12_05_02_433835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a5e22409700a359f10133d073044f945.jpg","text":"TemporaryFile(/tmp/multipartBody1228484460357917985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719415554,"filename":"image_24012025_12_04_02_261284_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331045811","file1":"1331045784","file0":"1331045738","file4":"1331045839","file5":"1331045886","file3":"1331045817"},"map_files_photo_id_array":[{"photo_id":"1331045886","filename":"file5"},{"photo_id":"1331045811","filename":"file2"},{"photo_id":"1331045839","filename":"file4"},{"photo_id":"1331045784","filename":"file1"},{"photo_id":"1331045738","filename":"file0"},{"photo_id":"1331045817","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331045839":["hashtag1","hashtag2"]},{"1331045784":["hashtag1","hashtag2"]},{"1331045886":["hashtag1","hashtag2"]},{"1331045811":["hashtag1","hashtag2"]},{"1331045817":["hashtag1","hashtag2"]},{"1331045738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331045839, 1331045784, 1331045886, 1331045811, 1331045817, 1331045738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.1026840209961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:50:22.451892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0000.jpg', '/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0001.jpg', '/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0002.jpg', '/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0003.jpg', '/home/pi/Desktop/images/24012025/12/07/image_24012025_12_07_02_814448_0000.jpg', '/home/pi/Desktop/images/24012025/12/07/image_24012025_12_07_02_814448_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0000.jpg
/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0001.jpg
/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0002.jpg
/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0003.jpg
/home/pi/Desktop/images/24012025/12/07/image_24012025_12_07_02_814448_0000.jpg
/home/pi/Desktop/images/24012025/12/07/image_24012025_12_07_02_814448_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 37.838926792144775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 12:51:02.923221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0000.jpg', '/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0001.jpg', '/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0002.jpg', '/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0003.jpg', '/home/pi/Desktop/images/24012025/12/07/image_24012025_12_07_02_814448_0000.jpg', '/home/pi/Desktop/images/24012025/12/07/image_24012025_12_07_02_814448_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0000.jpg
/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0001.jpg
/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0002.jpg
/home/pi/Desktop/images/24012025/12/06/image_24012025_12_06_02_690957_0003.jpg
/home/pi/Desktop/images/24012025/12/07/image_24012025_12_07_02_814448_0000.jpg
/home/pi/Desktop/images/24012025/12/07/image_24012025_12_07_02_814448_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331046253","1331046148","1331046214","1331046191","1331046152","1331046187"],"photo_ids_order":["1331046148","1331046152","1331046187","1331046191","1331046214","1331046253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f23dfe407c4b2585bc1a865598f77ce.jpg","text":"TemporaryFile(/tmp/multipartBody7084478329622385717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719549867,"filename":"image_24012025_12_07_02_814448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/161f4e4b5232a48ee7733f83d9f50a19.jpg","text":"TemporaryFile(/tmp/multipartBody5343225556474010557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719549867,"filename":"image_24012025_12_06_02_690957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8501d8cd4e35b58a192947ab86a1b84b.jpg","text":"TemporaryFile(/tmp/multipartBody4439752222044758202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719549867,"filename":"image_24012025_12_07_02_814448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/487b9af9b9ed6190045ed6f014b1d17e.jpg","text":"TemporaryFile(/tmp/multipartBody5913717781217086100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719549867,"filename":"image_24012025_12_06_02_690957_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c5f4b220d9d8055e5de49b032b5e55c.jpg","text":"TemporaryFile(/tmp/multipartBody7853057617041088415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719549867,"filename":"image_24012025_12_06_02_690957_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c3e4c99f1610d09127954e9d65ab41ff.jpg","text":"TemporaryFile(/tmp/multipartBody1258797597466110974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719549867,"filename":"image_24012025_12_06_02_690957_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331046187","file1":"1331046152","file0":"1331046148","file4":"1331046214","file5":"1331046253","file3":"1331046191"},"map_files_photo_id_array":[{"photo_id":"1331046253","filename":"file5"},{"photo_id":"1331046187","filename":"file2"},{"photo_id":"1331046214","filename":"file4"},{"photo_id":"1331046152","filename":"file1"},{"photo_id":"1331046148","filename":"file0"},{"photo_id":"1331046191","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331046253":["hashtag1","hashtag2"]},{"1331046148":["hashtag1","hashtag2"]},{"1331046214":["hashtag1","hashtag2"]},{"1331046191":["hashtag1","hashtag2"]},{"1331046152":["hashtag1","hashtag2"]},{"1331046187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331046253, 1331046148, 1331046214, 1331046191, 1331046152, 1331046187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.41073727607727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 12:52:32.678967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/07/image_24012025_12_07_02_814448_0002.jpg', '/home/pi/Desktop/images/24012025/12/07/image_24012025_12_07_02_814448_0003.jpg', '/home/pi/Desktop/images/24012025/12/08/image_24012025_12_08_02_983964_0000.jpg', '/home/pi/Desktop/images/24012025/12/08/image_24012025_12_08_02_983964_0001.jpg', '/home/pi/Desktop/images/24012025/12/08/image_24012025_12_08_02_983964_0002.jpg', '/home/pi/Desktop/images/24012025/12/08/image_24012025_12_08_02_983964_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/07/image_24012025_12_07_02_814448_0002.jpg
/home/pi/Desktop/images/24012025/12/07/image_24012025_12_07_02_814448_0003.jpg
/home/pi/Desktop/images/24012025/12/08/image_24012025_12_08_02_983964_0000.jpg
/home/pi/Desktop/images/24012025/12/08/image_24012025_12_08_02_983964_0001.jpg
/home/pi/Desktop/images/24012025/12/08/image_24012025_12_08_02_983964_0002.jpg
/home/pi/Desktop/images/24012025/12/08/image_24012025_12_08_02_983964_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331046378","1331046354","1331046374","1331046362","1331046347","1331046367"],"photo_ids_order":["1331046347","1331046354","1331046362","1331046367","1331046374","1331046378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c119c16bdbd3a55dc6e247c1a716980.jpg","text":"TemporaryFile(/tmp/multipartBody98386203420595594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719654489,"filename":"image_24012025_12_08_02_983964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a6730d0c04fceb7f071e7bae3185eb8.jpg","text":"TemporaryFile(/tmp/multipartBody6819530537139185514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719654489,"filename":"image_24012025_12_07_02_814448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f3a8c1316c66cbc9a40651b3dbb061e5.jpg","text":"TemporaryFile(/tmp/multipartBody4430791462249623548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719654489,"filename":"image_24012025_12_08_02_983964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bbe47647bc174506b5e15c1ea9c44d17.jpg","text":"TemporaryFile(/tmp/multipartBody1914138153065697773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719654489,"filename":"image_24012025_12_08_02_983964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa8f7a82c274654a75ea5007ffb19e05.jpg","text":"TemporaryFile(/tmp/multipartBody2668892142581214042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719654489,"filename":"image_24012025_12_07_02_814448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d5b2b6b16b3fcef0ceaab2519b6609aa.jpg","text":"TemporaryFile(/tmp/multipartBody8849620484327302360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719654489,"filename":"image_24012025_12_08_02_983964_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331046362","file1":"1331046354","file0":"1331046347","file4":"1331046374","file5":"1331046378","file3":"1331046367"},"map_files_photo_id_array":[{"photo_id":"1331046378","filename":"file5"},{"photo_id":"1331046362","filename":"file2"},{"photo_id":"1331046374","filename":"file4"},{"photo_id":"1331046354","filename":"file1"},{"photo_id":"1331046347","filename":"file0"},{"photo_id":"1331046367","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331046378":["hashtag1","hashtag2"]},{"1331046354":["hashtag1","hashtag2"]},{"1331046374":["hashtag1","hashtag2"]},{"1331046362":["hashtag1","hashtag2"]},{"1331046347":["hashtag1","hashtag2"]},{"1331046367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331046378, 1331046354, 1331046374, 1331046362, 1331046347, 1331046367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.18152666091919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:54:22.093916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0000.jpg', '/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0001.jpg', '/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0002.jpg', '/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0003.jpg', '/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0000.jpg', '/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0000.jpg
/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0001.jpg
/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0002.jpg
/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0003.jpg
/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0000.jpg
/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0001.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 49.44312262535095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:55:22.176825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0000.jpg', '/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0001.jpg', '/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0002.jpg', '/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0003.jpg', '/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0000.jpg', '/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0000.jpg
/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0001.jpg
/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0002.jpg
/home/pi/Desktop/images/24012025/12/09/image_24012025_12_09_03_062799_0003.jpg
/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0000.jpg
/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331046792","1331046786","1331046780","1331046774","1331046767","1331046758"],"photo_ids_order":["1331046758","1331046767","1331046774","1331046780","1331046786","1331046792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ef4839d3d5bf25fcf15dd02f9bec782a.jpg","text":"TemporaryFile(/tmp/multipartBody7176995011829585896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719828079,"filename":"image_24012025_12_10_02_194200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e1f2d1e736f159a89b6f8ac7e5247c1e.jpg","text":"TemporaryFile(/tmp/multipartBody4818571573984149215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719828079,"filename":"image_24012025_12_10_02_194200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8147f395b006cecbe79101aff97f13a7.jpg","text":"TemporaryFile(/tmp/multipartBody5143239762477361694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719828079,"filename":"image_24012025_12_09_03_062799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d51c39a6ab2c4c7d31be5ff8564bd58b.jpg","text":"TemporaryFile(/tmp/multipartBody588705684714425896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719828079,"filename":"image_24012025_12_09_03_062799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10e9273b4faf3f753e7f64714eb001ab.jpg","text":"TemporaryFile(/tmp/multipartBody3269812042060625435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719828079,"filename":"image_24012025_12_09_03_062799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30cb6234e8aa4a5ea042c402fa7b3082.jpg","text":"TemporaryFile(/tmp/multipartBody4334170994724114793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737719828079,"filename":"image_24012025_12_09_03_062799_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331046774","file1":"1331046767","file0":"1331046758","file4":"1331046786","file5":"1331046792","file3":"1331046780"},"map_files_photo_id_array":[{"photo_id":"1331046792","filename":"file5"},{"photo_id":"1331046774","filename":"file2"},{"photo_id":"1331046786","filename":"file4"},{"photo_id":"1331046767","filename":"file1"},{"photo_id":"1331046758","filename":"file0"},{"photo_id":"1331046780","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331046792":["hashtag1","hashtag2"]},{"1331046786":["hashtag1","hashtag2"]},{"1331046780":["hashtag1","hashtag2"]},{"1331046774":["hashtag1","hashtag2"]},{"1331046767":["hashtag1","hashtag2"]},{"1331046758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331046792, 1331046786, 1331046780, 1331046774, 1331046767, 1331046758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.68549799919128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 12:57:22.646156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0002.jpg', '/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0003.jpg', '/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0000.jpg', '/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0001.jpg', '/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0002.jpg', '/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0002.jpg
/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0003.jpg
/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0000.jpg
/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0001.jpg
/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0002.jpg
/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0003.jpg
 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 refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 12:59:02.428483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0002.jpg', '/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0003.jpg', '/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0000.jpg', '/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0001.jpg', '/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0002.jpg', '/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0002.jpg
/home/pi/Desktop/images/24012025/12/10/image_24012025_12_10_02_194200_0003.jpg
/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0000.jpg
/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0001.jpg
/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0002.jpg
/home/pi/Desktop/images/24012025/12/11/image_24012025_12_11_02_406735_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331047253","1331047220","1331047195","1331047261","1331047243","1331047275"],"photo_ids_order":["1331047195","1331047220","1331047243","1331047253","1331047261","1331047275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/59be9680d69847af1b07b73ff9ddb44a.jpg","text":"TemporaryFile(/tmp/multipartBody4988806006784201241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720041243,"filename":"image_24012025_12_11_02_406735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0c56cc90143133b47e80157bff8fbc7e.jpg","text":"TemporaryFile(/tmp/multipartBody6577487444302345976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720041243,"filename":"image_24012025_12_10_02_194200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/90793e4f145c29841891a10b85b2b14c.jpg","text":"TemporaryFile(/tmp/multipartBody5475849947041507202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720041243,"filename":"image_24012025_12_10_02_194200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c2c76bbea6709b94396135f3fe81a7c.jpg","text":"TemporaryFile(/tmp/multipartBody960180498791302234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720041243,"filename":"image_24012025_12_11_02_406735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00a1347559064281d8ca173195dfe078.jpg","text":"TemporaryFile(/tmp/multipartBody5709116300016905542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720041243,"filename":"image_24012025_12_11_02_406735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/124c16b3f0f886bb6b91491875cfe49f.jpg","text":"TemporaryFile(/tmp/multipartBody5819594329921988249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720041243,"filename":"image_24012025_12_11_02_406735_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331047243","file1":"1331047220","file0":"1331047195","file4":"1331047261","file5":"1331047275","file3":"1331047253"},"map_files_photo_id_array":[{"photo_id":"1331047275","filename":"file5"},{"photo_id":"1331047243","filename":"file2"},{"photo_id":"1331047261","filename":"file4"},{"photo_id":"1331047220","filename":"file1"},{"photo_id":"1331047195","filename":"file0"},{"photo_id":"1331047253","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331047253":["hashtag1","hashtag2"]},{"1331047220":["hashtag1","hashtag2"]},{"1331047195":["hashtag1","hashtag2"]},{"1331047261":["hashtag1","hashtag2"]},{"1331047243":["hashtag1","hashtag2"]},{"1331047275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331047253, 1331047220, 1331047195, 1331047261, 1331047243, 1331047275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.84308695793152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 13:00:42.055938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/12/image_24012025_12_12_02_539397_0000.jpg', '/home/pi/Desktop/images/24012025/12/12/image_24012025_12_12_02_539397_0001.jpg', '/home/pi/Desktop/images/24012025/12/12/image_24012025_12_12_02_539397_0002.jpg', '/home/pi/Desktop/images/24012025/12/12/image_24012025_12_12_02_539397_0003.jpg', '/home/pi/Desktop/images/24012025/12/13/image_24012025_12_13_02_796519_0000.jpg', '/home/pi/Desktop/images/24012025/12/13/image_24012025_12_13_02_796519_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/12/image_24012025_12_12_02_539397_0000.jpg
/home/pi/Desktop/images/24012025/12/12/image_24012025_12_12_02_539397_0001.jpg
/home/pi/Desktop/images/24012025/12/12/image_24012025_12_12_02_539397_0002.jpg
/home/pi/Desktop/images/24012025/12/12/image_24012025_12_12_02_539397_0003.jpg
/home/pi/Desktop/images/24012025/12/13/image_24012025_12_13_02_796519_0000.jpg
/home/pi/Desktop/images/24012025/12/13/image_24012025_12_13_02_796519_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331047410","1331047415","1331047399","1331047393","1331047402","1331047405"],"photo_ids_order":["1331047393","1331047399","1331047402","1331047405","1331047410","1331047415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da6a641e301492d8fee8f38714a79f28.jpg","text":"TemporaryFile(/tmp/multipartBody6803816108094783669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720154881,"filename":"image_24012025_12_13_02_796519_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39b534c9201f548d5a22377962583261.jpg","text":"TemporaryFile(/tmp/multipartBody7257560070720978367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720154881,"filename":"image_24012025_12_13_02_796519_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e08d1ac629fa16f85332cafe79b1bad2.jpg","text":"TemporaryFile(/tmp/multipartBody2063681781283177575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720154881,"filename":"image_24012025_12_12_02_539397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ea14a8848b086e96177b6694f77d645.jpg","text":"TemporaryFile(/tmp/multipartBody5186069727885172676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720154881,"filename":"image_24012025_12_12_02_539397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1b74a9ea25179d34c2b27ec38bf40409.jpg","text":"TemporaryFile(/tmp/multipartBody9001829252993951634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720154881,"filename":"image_24012025_12_12_02_539397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/651dee0d45182b8a3384d92bf44e11b7.jpg","text":"TemporaryFile(/tmp/multipartBody7040200033138045695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720154881,"filename":"image_24012025_12_12_02_539397_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331047402","file1":"1331047399","file0":"1331047393","file4":"1331047410","file5":"1331047415","file3":"1331047405"},"map_files_photo_id_array":[{"photo_id":"1331047415","filename":"file5"},{"photo_id":"1331047402","filename":"file2"},{"photo_id":"1331047410","filename":"file4"},{"photo_id":"1331047399","filename":"file1"},{"photo_id":"1331047393","filename":"file0"},{"photo_id":"1331047405","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331047410":["hashtag1","hashtag2"]},{"1331047415":["hashtag1","hashtag2"]},{"1331047399":["hashtag1","hashtag2"]},{"1331047393":["hashtag1","hashtag2"]},{"1331047402":["hashtag1","hashtag2"]},{"1331047405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331047410, 1331047415, 1331047399, 1331047393, 1331047402, 1331047405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.88055157661438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 13:02:32.364249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/13/image_24012025_12_13_02_796519_0002.jpg', '/home/pi/Desktop/images/24012025/12/13/image_24012025_12_13_02_796519_0003.jpg', '/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0000.jpg', '/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0001.jpg', '/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0002.jpg', '/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/13/image_24012025_12_13_02_796519_0002.jpg
/home/pi/Desktop/images/24012025/12/13/image_24012025_12_13_02_796519_0003.jpg
/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0000.jpg
/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0001.jpg
/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0002.jpg
/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 38.12558126449585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 13:03:22.567365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/13/image_24012025_12_13_02_796519_0002.jpg', '/home/pi/Desktop/images/24012025/12/13/image_24012025_12_13_02_796519_0003.jpg', '/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0000.jpg', '/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0001.jpg', '/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0002.jpg', '/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/13/image_24012025_12_13_02_796519_0002.jpg
/home/pi/Desktop/images/24012025/12/13/image_24012025_12_13_02_796519_0003.jpg
/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0000.jpg
/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0001.jpg
/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0002.jpg
/home/pi/Desktop/images/24012025/12/14/image_24012025_12_14_03_020981_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331047548","1331047497","1331047479","1331047559","1331047502","1331047474"],"photo_ids_order":["1331047474","1331047479","1331047497","1331047502","1331047548","1331047559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40d21cb0c7334e5560a554118b13b1ae.jpg","text":"TemporaryFile(/tmp/multipartBody7863149960255668116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720307951,"filename":"image_24012025_12_14_03_020981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1be8e106ade4311048d625e829b09fa3.jpg","text":"TemporaryFile(/tmp/multipartBody1976589262251441323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720307951,"filename":"image_24012025_12_14_03_020981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d52c7826b4a32f7c05db99ff389ca34.jpg","text":"TemporaryFile(/tmp/multipartBody2387600136515511035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720307951,"filename":"image_24012025_12_13_02_796519_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c37c148572b934caa38f0184443b219e.jpg","text":"TemporaryFile(/tmp/multipartBody2185891914363520369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720307951,"filename":"image_24012025_12_14_03_020981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/863dd256170c6fbc32334ad8ddb1e219.jpg","text":"TemporaryFile(/tmp/multipartBody8883604718579128631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720307951,"filename":"image_24012025_12_14_03_020981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98d3fef15ea634681d7f92ce459adf44.jpg","text":"TemporaryFile(/tmp/multipartBody8341772922179245361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720307951,"filename":"image_24012025_12_13_02_796519_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331047497","file1":"1331047479","file0":"1331047474","file4":"1331047548","file5":"1331047559","file3":"1331047502"},"map_files_photo_id_array":[{"photo_id":"1331047559","filename":"file5"},{"photo_id":"1331047497","filename":"file2"},{"photo_id":"1331047548","filename":"file4"},{"photo_id":"1331047479","filename":"file1"},{"photo_id":"1331047474","filename":"file0"},{"photo_id":"1331047502","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331047548":["hashtag1","hashtag2"]},{"1331047497":["hashtag1","hashtag2"]},{"1331047479":["hashtag1","hashtag2"]},{"1331047559":["hashtag1","hashtag2"]},{"1331047502":["hashtag1","hashtag2"]},{"1331047474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331047548, 1331047497, 1331047479, 1331047559, 1331047502, 1331047474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.46720862388611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 13:05:02.586569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/15/image_24012025_12_15_03_131748_0000.jpg', '/home/pi/Desktop/images/24012025/12/15/image_24012025_12_15_03_131748_0001.jpg', '/home/pi/Desktop/images/24012025/12/15/image_24012025_12_15_03_131748_0002.jpg', '/home/pi/Desktop/images/24012025/12/15/image_24012025_12_15_03_131748_0003.jpg', '/home/pi/Desktop/images/24012025/12/16/image_24012025_12_16_02_305503_0000.jpg', '/home/pi/Desktop/images/24012025/12/16/image_24012025_12_16_02_305503_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/15/image_24012025_12_15_03_131748_0000.jpg
/home/pi/Desktop/images/24012025/12/15/image_24012025_12_15_03_131748_0001.jpg
/home/pi/Desktop/images/24012025/12/15/image_24012025_12_15_03_131748_0002.jpg
/home/pi/Desktop/images/24012025/12/15/image_24012025_12_15_03_131748_0003.jpg
/home/pi/Desktop/images/24012025/12/16/image_24012025_12_16_02_305503_0000.jpg
/home/pi/Desktop/images/24012025/12/16/image_24012025_12_16_02_305503_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331047697","1331047682","1331047679","1331047687","1331047675","1331047692"],"photo_ids_order":["1331047675","1331047679","1331047682","1331047687","1331047692","1331047697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6727248b76e1b141ce363ceeeca0224b.jpg","text":"TemporaryFile(/tmp/multipartBody5552976399380642917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720399469,"filename":"image_24012025_12_16_02_305503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/df704c33e2860008a76d9911efe072ae.jpg","text":"TemporaryFile(/tmp/multipartBody1101901861796304901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720399469,"filename":"image_24012025_12_15_03_131748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/030b4c5727101edaffb7502a7ce5e6d6.jpg","text":"TemporaryFile(/tmp/multipartBody4172913020401467006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720399469,"filename":"image_24012025_12_15_03_131748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/305b34a8a2514b268a5541b88775fb11.jpg","text":"TemporaryFile(/tmp/multipartBody8417023956947691568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720399469,"filename":"image_24012025_12_15_03_131748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8cec687ee2f36f1d2f25c2ffeff39fe8.jpg","text":"TemporaryFile(/tmp/multipartBody5895951272022017942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720399469,"filename":"image_24012025_12_15_03_131748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e914edfc955a5afa3cb12b527f49c6df.jpg","text":"TemporaryFile(/tmp/multipartBody8844606976238604804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720399469,"filename":"image_24012025_12_16_02_305503_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331047682","file1":"1331047679","file0":"1331047675","file4":"1331047692","file5":"1331047697","file3":"1331047687"},"map_files_photo_id_array":[{"photo_id":"1331047697","filename":"file5"},{"photo_id":"1331047682","filename":"file2"},{"photo_id":"1331047692","filename":"file4"},{"photo_id":"1331047679","filename":"file1"},{"photo_id":"1331047675","filename":"file0"},{"photo_id":"1331047687","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331047697":["hashtag1","hashtag2"]},{"1331047682":["hashtag1","hashtag2"]},{"1331047679":["hashtag1","hashtag2"]},{"1331047687":["hashtag1","hashtag2"]},{"1331047675":["hashtag1","hashtag2"]},{"1331047692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331047697, 1331047682, 1331047679, 1331047687, 1331047675, 1331047692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.0328722000122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 13:06:42.122151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/16/image_24012025_12_16_02_305503_0002.jpg', '/home/pi/Desktop/images/24012025/12/16/image_24012025_12_16_02_305503_0003.jpg', '/home/pi/Desktop/images/24012025/12/17/image_24012025_12_17_02_478062_0000.jpg', '/home/pi/Desktop/images/24012025/12/17/image_24012025_12_17_02_478062_0001.jpg', '/home/pi/Desktop/images/24012025/12/17/image_24012025_12_17_02_478062_0002.jpg', '/home/pi/Desktop/images/24012025/12/17/image_24012025_12_17_02_478062_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/16/image_24012025_12_16_02_305503_0002.jpg
/home/pi/Desktop/images/24012025/12/16/image_24012025_12_16_02_305503_0003.jpg
/home/pi/Desktop/images/24012025/12/17/image_24012025_12_17_02_478062_0000.jpg
/home/pi/Desktop/images/24012025/12/17/image_24012025_12_17_02_478062_0001.jpg
/home/pi/Desktop/images/24012025/12/17/image_24012025_12_17_02_478062_0002.jpg
/home/pi/Desktop/images/24012025/12/17/image_24012025_12_17_02_478062_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331047752","1331047749","1331047758","1331047741","1331047747","1331047764"],"photo_ids_order":["1331047741","1331047747","1331047749","1331047752","1331047758","1331047764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/afee19067d15b4ff4291205a517fa6e1.jpg","text":"TemporaryFile(/tmp/multipartBody2789049753731787847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720514771,"filename":"image_24012025_12_17_02_478062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/281e909ba343c07a3cb7ed798f2d75ad.jpg","text":"TemporaryFile(/tmp/multipartBody2236910007585279516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720514771,"filename":"image_24012025_12_17_02_478062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1005deb44da86e5d5ab4ff4956548726.jpg","text":"TemporaryFile(/tmp/multipartBody5710996793239522456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720514771,"filename":"image_24012025_12_17_02_478062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e3ee3fa61ca99ea1a4b056471c433f5d.jpg","text":"TemporaryFile(/tmp/multipartBody4061996575580815737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720514771,"filename":"image_24012025_12_16_02_305503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dcd304ee544c9fe3920e7ff6c0535615.jpg","text":"TemporaryFile(/tmp/multipartBody8523454214518895446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720514771,"filename":"image_24012025_12_16_02_305503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b9132c70402368510c37a620903492e3.jpg","text":"TemporaryFile(/tmp/multipartBody4146755508383304275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720514771,"filename":"image_24012025_12_17_02_478062_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331047749","file1":"1331047747","file0":"1331047741","file4":"1331047758","file5":"1331047764","file3":"1331047752"},"map_files_photo_id_array":[{"photo_id":"1331047764","filename":"file5"},{"photo_id":"1331047749","filename":"file2"},{"photo_id":"1331047758","filename":"file4"},{"photo_id":"1331047747","filename":"file1"},{"photo_id":"1331047741","filename":"file0"},{"photo_id":"1331047752","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331047752":["hashtag1","hashtag2"]},{"1331047749":["hashtag1","hashtag2"]},{"1331047758":["hashtag1","hashtag2"]},{"1331047741":["hashtag1","hashtag2"]},{"1331047747":["hashtag1","hashtag2"]},{"1331047764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331047752, 1331047749, 1331047758, 1331047741, 1331047747, 1331047764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 112.75289154052734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 13:08:42.561186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/18/image_24012025_12_18_02_661964_0000.jpg', '/home/pi/Desktop/images/24012025/12/18/image_24012025_12_18_02_661964_0001.jpg', '/home/pi/Desktop/images/24012025/12/18/image_24012025_12_18_02_661964_0002.jpg', '/home/pi/Desktop/images/24012025/12/18/image_24012025_12_18_02_661964_0003.jpg', '/home/pi/Desktop/images/24012025/12/19/image_24012025_12_19_02_861072_0000.jpg', '/home/pi/Desktop/images/24012025/12/19/image_24012025_12_19_02_861072_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/18/image_24012025_12_18_02_661964_0000.jpg
/home/pi/Desktop/images/24012025/12/18/image_24012025_12_18_02_661964_0001.jpg
/home/pi/Desktop/images/24012025/12/18/image_24012025_12_18_02_661964_0002.jpg
/home/pi/Desktop/images/24012025/12/18/image_24012025_12_18_02_661964_0003.jpg
/home/pi/Desktop/images/24012025/12/19/image_24012025_12_19_02_861072_0000.jpg
/home/pi/Desktop/images/24012025/12/19/image_24012025_12_19_02_861072_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331047944","1331047947","1331047935","1331047938","1331047853","1331047940"],"photo_ids_order":["1331047853","1331047935","1331047938","1331047940","1331047944","1331047947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b55c23b3ae20a55222def6ff5435a70f.jpg","text":"TemporaryFile(/tmp/multipartBody1023640749844142438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720614010,"filename":"image_24012025_12_19_02_861072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a6f826dc39cc29676999b5c7c6629287.jpg","text":"TemporaryFile(/tmp/multipartBody7583225150142102023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720614010,"filename":"image_24012025_12_19_02_861072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a390373eb32ce09de042c86e983aafcf.jpg","text":"TemporaryFile(/tmp/multipartBody1149592554729608309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720614010,"filename":"image_24012025_12_18_02_661964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2302e19809c80226b7ca846159160a79.jpg","text":"TemporaryFile(/tmp/multipartBody5507300461886402446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720614010,"filename":"image_24012025_12_18_02_661964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2584e19ee15b5931baa61f0fe7aa3f4f.jpg","text":"TemporaryFile(/tmp/multipartBody25875696814002444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720614010,"filename":"image_24012025_12_18_02_661964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/95ee3aaa548da9a833df3e1fa85d5d94.jpg","text":"TemporaryFile(/tmp/multipartBody7459236709706496279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720614010,"filename":"image_24012025_12_18_02_661964_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331047938","file1":"1331047935","file0":"1331047853","file4":"1331047944","file5":"1331047947","file3":"1331047940"},"map_files_photo_id_array":[{"photo_id":"1331047947","filename":"file5"},{"photo_id":"1331047938","filename":"file2"},{"photo_id":"1331047944","filename":"file4"},{"photo_id":"1331047935","filename":"file1"},{"photo_id":"1331047853","filename":"file0"},{"photo_id":"1331047940","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331047944":["hashtag1","hashtag2"]},{"1331047947":["hashtag1","hashtag2"]},{"1331047935":["hashtag1","hashtag2"]},{"1331047938":["hashtag1","hashtag2"]},{"1331047853":["hashtag1","hashtag2"]},{"1331047940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331047944, 1331047947, 1331047935, 1331047938, 1331047853, 1331047940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.147784948349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 13:10:21.914232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/19/image_24012025_12_19_02_861072_0002.jpg', '/home/pi/Desktop/images/24012025/12/19/image_24012025_12_19_02_861072_0003.jpg', '/home/pi/Desktop/images/24012025/12/20/image_24012025_12_20_03_129937_0000.jpg', '/home/pi/Desktop/images/24012025/12/20/image_24012025_12_20_03_129937_0001.jpg', '/home/pi/Desktop/images/24012025/12/20/image_24012025_12_20_03_129937_0002.jpg', '/home/pi/Desktop/images/24012025/12/20/image_24012025_12_20_03_129937_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/19/image_24012025_12_19_02_861072_0002.jpg
/home/pi/Desktop/images/24012025/12/19/image_24012025_12_19_02_861072_0003.jpg
/home/pi/Desktop/images/24012025/12/20/image_24012025_12_20_03_129937_0000.jpg
/home/pi/Desktop/images/24012025/12/20/image_24012025_12_20_03_129937_0001.jpg
/home/pi/Desktop/images/24012025/12/20/image_24012025_12_20_03_129937_0002.jpg
/home/pi/Desktop/images/24012025/12/20/image_24012025_12_20_03_129937_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331048135","1331048176","1331048128","1331048206","1331048172","1331048151"],"photo_ids_order":["1331048128","1331048135","1331048151","1331048172","1331048176","1331048206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b00155587cff5239b6d50f51811fcc7c.jpg","text":"TemporaryFile(/tmp/multipartBody5776294559704244679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720724166,"filename":"image_24012025_12_19_02_861072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/444ad8023c72c772853cf8b2ecf812c5.jpg","text":"TemporaryFile(/tmp/multipartBody2160789686059055369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720724166,"filename":"image_24012025_12_20_03_129937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/633d8ec5a05c0051127a5e6eed53a738.jpg","text":"TemporaryFile(/tmp/multipartBody8283500983869687544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720724166,"filename":"image_24012025_12_19_02_861072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a319617f4debc6fbb6394f219bb8dfdb.jpg","text":"TemporaryFile(/tmp/multipartBody4715471531756425791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720724166,"filename":"image_24012025_12_20_03_129937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10c258c493750e8ddfa480029ea5cb8d.jpg","text":"TemporaryFile(/tmp/multipartBody7880305706447880510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720724166,"filename":"image_24012025_12_20_03_129937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b190059e7ebef2aa6111c638d8d0560a.jpg","text":"TemporaryFile(/tmp/multipartBody3762449608012835320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720724166,"filename":"image_24012025_12_20_03_129937_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331048151","file1":"1331048135","file0":"1331048128","file4":"1331048176","file5":"1331048206","file3":"1331048172"},"map_files_photo_id_array":[{"photo_id":"1331048206","filename":"file5"},{"photo_id":"1331048151","filename":"file2"},{"photo_id":"1331048176","filename":"file4"},{"photo_id":"1331048135","filename":"file1"},{"photo_id":"1331048128","filename":"file0"},{"photo_id":"1331048172","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331048135":["hashtag1","hashtag2"]},{"1331048176":["hashtag1","hashtag2"]},{"1331048128":["hashtag1","hashtag2"]},{"1331048206":["hashtag1","hashtag2"]},{"1331048172":["hashtag1","hashtag2"]},{"1331048151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331048135, 1331048176, 1331048128, 1331048206, 1331048172, 1331048151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.53700709342957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 13:12:02.636460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/21/image_24012025_12_21_02_176488_0000.jpg', '/home/pi/Desktop/images/24012025/12/21/image_24012025_12_21_02_176488_0001.jpg', '/home/pi/Desktop/images/24012025/12/21/image_24012025_12_21_02_176488_0002.jpg', '/home/pi/Desktop/images/24012025/12/21/image_24012025_12_21_02_176488_0003.jpg', '/home/pi/Desktop/images/24012025/12/22/image_24012025_12_22_02_447982_0000.jpg', '/home/pi/Desktop/images/24012025/12/22/image_24012025_12_22_02_447982_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/21/image_24012025_12_21_02_176488_0000.jpg
/home/pi/Desktop/images/24012025/12/21/image_24012025_12_21_02_176488_0001.jpg
/home/pi/Desktop/images/24012025/12/21/image_24012025_12_21_02_176488_0002.jpg
/home/pi/Desktop/images/24012025/12/21/image_24012025_12_21_02_176488_0003.jpg
/home/pi/Desktop/images/24012025/12/22/image_24012025_12_22_02_447982_0000.jpg
/home/pi/Desktop/images/24012025/12/22/image_24012025_12_22_02_447982_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331048406","1331048400","1331048444","1331048417","1331048440","1331048397"],"photo_ids_order":["1331048397","1331048400","1331048406","1331048417","1331048440","1331048444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3110501a4f471786fb68eededded81e1.jpg","text":"TemporaryFile(/tmp/multipartBody8715197759238479889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720831934,"filename":"image_24012025_12_21_02_176488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d2238265e201b6f6b5ee10ee5bb39ee6.jpg","text":"TemporaryFile(/tmp/multipartBody240970446226746950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720831934,"filename":"image_24012025_12_21_02_176488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/33dd6fa031db5f43ee791a2cbcaed3d4.jpg","text":"TemporaryFile(/tmp/multipartBody2309838617193551301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720831934,"filename":"image_24012025_12_22_02_447982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c7e20117fbb588a1b32aed36cfc68b1.jpg","text":"TemporaryFile(/tmp/multipartBody1943291564840890277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720831934,"filename":"image_24012025_12_21_02_176488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d01701bdc23e665f7297d24a5362ca7a.jpg","text":"TemporaryFile(/tmp/multipartBody8515680693982240032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720831934,"filename":"image_24012025_12_22_02_447982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad398677830fd6b7c692ecb0e45ac6a8.jpg","text":"TemporaryFile(/tmp/multipartBody8136630208448643678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720831934,"filename":"image_24012025_12_21_02_176488_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331048406","file1":"1331048400","file0":"1331048397","file4":"1331048440","file5":"1331048444","file3":"1331048417"},"map_files_photo_id_array":[{"photo_id":"1331048444","filename":"file5"},{"photo_id":"1331048406","filename":"file2"},{"photo_id":"1331048440","filename":"file4"},{"photo_id":"1331048400","filename":"file1"},{"photo_id":"1331048397","filename":"file0"},{"photo_id":"1331048417","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331048406":["hashtag1","hashtag2"]},{"1331048400":["hashtag1","hashtag2"]},{"1331048444":["hashtag1","hashtag2"]},{"1331048417":["hashtag1","hashtag2"]},{"1331048440":["hashtag1","hashtag2"]},{"1331048397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331048406, 1331048400, 1331048444, 1331048417, 1331048440, 1331048397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.11603951454163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 13:13:52.494043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/22/image_24012025_12_22_02_447982_0002.jpg', '/home/pi/Desktop/images/24012025/12/22/image_24012025_12_22_02_447982_0003.jpg', '/home/pi/Desktop/images/24012025/12/23/image_24012025_12_23_02_589099_0000.jpg', '/home/pi/Desktop/images/24012025/12/23/image_24012025_12_23_02_589099_0001.jpg', '/home/pi/Desktop/images/24012025/12/23/image_24012025_12_23_02_589099_0002.jpg', '/home/pi/Desktop/images/24012025/12/23/image_24012025_12_23_02_589099_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/22/image_24012025_12_22_02_447982_0002.jpg
/home/pi/Desktop/images/24012025/12/22/image_24012025_12_22_02_447982_0003.jpg
/home/pi/Desktop/images/24012025/12/23/image_24012025_12_23_02_589099_0000.jpg
/home/pi/Desktop/images/24012025/12/23/image_24012025_12_23_02_589099_0001.jpg
/home/pi/Desktop/images/24012025/12/23/image_24012025_12_23_02_589099_0002.jpg
/home/pi/Desktop/images/24012025/12/23/image_24012025_12_23_02_589099_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331048498","1331048666","1331048513","1331048491","1331048500","1331048493"],"photo_ids_order":["1331048491","1331048493","1331048498","1331048500","1331048513","1331048666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/946254b5d7529947574dfb5c038848ea.jpg","text":"TemporaryFile(/tmp/multipartBody2022964660013261328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720931003,"filename":"image_24012025_12_23_02_589099_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e93a993453f4d44a0013ff3e7c2063f.jpg","text":"TemporaryFile(/tmp/multipartBody5989741571215525663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720931003,"filename":"image_24012025_12_23_02_589099_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/060f496429991cd5954f83719591520f.jpg","text":"TemporaryFile(/tmp/multipartBody4770040774572040284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720931003,"filename":"image_24012025_12_23_02_589099_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/22b39ace8390a531c5250b3b7e54cd63.jpg","text":"TemporaryFile(/tmp/multipartBody3002890794903646748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720931003,"filename":"image_24012025_12_22_02_447982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c64d1b3b793e16a5143db0b0a8c90b9.jpg","text":"TemporaryFile(/tmp/multipartBody992841739908465994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720931003,"filename":"image_24012025_12_23_02_589099_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f028477fd8b7a26acdfb53d750550012.jpg","text":"TemporaryFile(/tmp/multipartBody4788365861643331881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737720931003,"filename":"image_24012025_12_22_02_447982_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331048498","file1":"1331048493","file0":"1331048491","file4":"1331048513","file5":"1331048666","file3":"1331048500"},"map_files_photo_id_array":[{"photo_id":"1331048666","filename":"file5"},{"photo_id":"1331048498","filename":"file2"},{"photo_id":"1331048513","filename":"file4"},{"photo_id":"1331048493","filename":"file1"},{"photo_id":"1331048491","filename":"file0"},{"photo_id":"1331048500","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331048498":["hashtag1","hashtag2"]},{"1331048666":["hashtag1","hashtag2"]},{"1331048513":["hashtag1","hashtag2"]},{"1331048491":["hashtag1","hashtag2"]},{"1331048500":["hashtag1","hashtag2"]},{"1331048493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331048498, 1331048666, 1331048513, 1331048491, 1331048500, 1331048493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.566725730896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 13:15:31.932412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/24/image_24012025_12_24_02_743988_0000.jpg', '/home/pi/Desktop/images/24012025/12/24/image_24012025_12_24_02_743988_0001.jpg', '/home/pi/Desktop/images/24012025/12/24/image_24012025_12_24_02_743988_0002.jpg', '/home/pi/Desktop/images/24012025/12/24/image_24012025_12_24_02_743988_0003.jpg', '/home/pi/Desktop/images/24012025/12/25/image_24012025_12_25_02_870773_0000.jpg', '/home/pi/Desktop/images/24012025/12/25/image_24012025_12_25_02_870773_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/24/image_24012025_12_24_02_743988_0000.jpg
/home/pi/Desktop/images/24012025/12/24/image_24012025_12_24_02_743988_0001.jpg
/home/pi/Desktop/images/24012025/12/24/image_24012025_12_24_02_743988_0002.jpg
/home/pi/Desktop/images/24012025/12/24/image_24012025_12_24_02_743988_0003.jpg
/home/pi/Desktop/images/24012025/12/25/image_24012025_12_25_02_870773_0000.jpg
/home/pi/Desktop/images/24012025/12/25/image_24012025_12_25_02_870773_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331048762","1331048747","1331048764","1331048767","1331048758","1331048754"],"photo_ids_order":["1331048747","1331048754","1331048758","1331048762","1331048764","1331048767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/36559ca72a082bf6320584beedf37e1f.jpg","text":"TemporaryFile(/tmp/multipartBody1306824645536972232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721038851,"filename":"image_24012025_12_24_02_743988_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0d792e3dac7b21982e0bfcc8cfb2990.jpg","text":"TemporaryFile(/tmp/multipartBody5823757753684083542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721038851,"filename":"image_24012025_12_24_02_743988_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3a638843418572e28c33dfff7d976b36.jpg","text":"TemporaryFile(/tmp/multipartBody5476792403183050331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721038851,"filename":"image_24012025_12_25_02_870773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c690483bcb61dacf04e56a43636e0fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1675160289395867469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721038851,"filename":"image_24012025_12_25_02_870773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/872bcf7ea626017e23f1a820434b7bec.jpg","text":"TemporaryFile(/tmp/multipartBody23392473309046340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721038851,"filename":"image_24012025_12_24_02_743988_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/daa1c6e651e61d6c6584a043e09a5bcb.jpg","text":"TemporaryFile(/tmp/multipartBody4378389713443009894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721038851,"filename":"image_24012025_12_24_02_743988_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331048758","file1":"1331048754","file0":"1331048747","file4":"1331048764","file5":"1331048767","file3":"1331048762"},"map_files_photo_id_array":[{"photo_id":"1331048767","filename":"file5"},{"photo_id":"1331048758","filename":"file2"},{"photo_id":"1331048764","filename":"file4"},{"photo_id":"1331048754","filename":"file1"},{"photo_id":"1331048747","filename":"file0"},{"photo_id":"1331048762","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331048762":["hashtag1","hashtag2"]},{"1331048747":["hashtag1","hashtag2"]},{"1331048764":["hashtag1","hashtag2"]},{"1331048767":["hashtag1","hashtag2"]},{"1331048758":["hashtag1","hashtag2"]},{"1331048754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331048762, 1331048747, 1331048764, 1331048767, 1331048758, 1331048754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.91079425811768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 13:17:22.331412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/25/image_24012025_12_25_02_870773_0002.jpg', '/home/pi/Desktop/images/24012025/12/25/image_24012025_12_25_02_870773_0003.jpg', '/home/pi/Desktop/images/24012025/12/26/image_24012025_12_26_03_111214_0000.jpg', '/home/pi/Desktop/images/24012025/12/26/image_24012025_12_26_03_111214_0001.jpg', '/home/pi/Desktop/images/24012025/12/26/image_24012025_12_26_03_111214_0002.jpg', '/home/pi/Desktop/images/24012025/12/26/image_24012025_12_26_03_111214_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/25/image_24012025_12_25_02_870773_0002.jpg
/home/pi/Desktop/images/24012025/12/25/image_24012025_12_25_02_870773_0003.jpg
/home/pi/Desktop/images/24012025/12/26/image_24012025_12_26_03_111214_0000.jpg
/home/pi/Desktop/images/24012025/12/26/image_24012025_12_26_03_111214_0001.jpg
/home/pi/Desktop/images/24012025/12/26/image_24012025_12_26_03_111214_0002.jpg
/home/pi/Desktop/images/24012025/12/26/image_24012025_12_26_03_111214_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331048808","1331048831","1331048836","1331048824","1331048818","1331048812"],"photo_ids_order":["1331048808","1331048812","1331048818","1331048824","1331048831","1331048836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa82b651ad8c9dba7c450d9506871ab9.jpg","text":"TemporaryFile(/tmp/multipartBody1169096587664925486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721145187,"filename":"image_24012025_12_25_02_870773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39d0d97f16cd86a96b76327acc24978f.jpg","text":"TemporaryFile(/tmp/multipartBody7305569711118437239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721145187,"filename":"image_24012025_12_26_03_111214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a08efdda85bc7f49a4832155dcc1520.jpg","text":"TemporaryFile(/tmp/multipartBody6156471694633381006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721145187,"filename":"image_24012025_12_26_03_111214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c3ba50643a682b47975d3d76b2eddf59.jpg","text":"TemporaryFile(/tmp/multipartBody8730945593174611448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721145187,"filename":"image_24012025_12_26_03_111214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/297eddf143023c54fd2101bb9c79c635.jpg","text":"TemporaryFile(/tmp/multipartBody3036107887222070327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721145187,"filename":"image_24012025_12_26_03_111214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/20835766cc376eb511a247a78fa3e6c2.jpg","text":"TemporaryFile(/tmp/multipartBody172966672298449765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721145187,"filename":"image_24012025_12_25_02_870773_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331048818","file1":"1331048812","file0":"1331048808","file4":"1331048831","file5":"1331048836","file3":"1331048824"},"map_files_photo_id_array":[{"photo_id":"1331048836","filename":"file5"},{"photo_id":"1331048818","filename":"file2"},{"photo_id":"1331048831","filename":"file4"},{"photo_id":"1331048812","filename":"file1"},{"photo_id":"1331048808","filename":"file0"},{"photo_id":"1331048824","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331048808":["hashtag1","hashtag2"]},{"1331048831":["hashtag1","hashtag2"]},{"1331048836":["hashtag1","hashtag2"]},{"1331048824":["hashtag1","hashtag2"]},{"1331048818":["hashtag1","hashtag2"]},{"1331048812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331048808, 1331048831, 1331048836, 1331048824, 1331048818, 1331048812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.69658708572388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 13:19:03.381481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0000.jpg', '/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0001.jpg', '/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0002.jpg', '/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0003.jpg', '/home/pi/Desktop/images/24012025/12/28/image_24012025_12_28_02_456269_0000.jpg', '/home/pi/Desktop/images/24012025/12/28/image_24012025_12_28_02_456269_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0000.jpg
/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0001.jpg
/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0002.jpg
/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0003.jpg
/home/pi/Desktop/images/24012025/12/28/image_24012025_12_28_02_456269_0000.jpg
/home/pi/Desktop/images/24012025/12/28/image_24012025_12_28_02_456269_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 41.24001598358154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 13:19:52.639590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0000.jpg', '/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0001.jpg', '/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0002.jpg', '/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0003.jpg', '/home/pi/Desktop/images/24012025/12/28/image_24012025_12_28_02_456269_0000.jpg', '/home/pi/Desktop/images/24012025/12/28/image_24012025_12_28_02_456269_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0000.jpg
/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0001.jpg
/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0002.jpg
/home/pi/Desktop/images/24012025/12/27/image_24012025_12_27_02_267097_0003.jpg
/home/pi/Desktop/images/24012025/12/28/image_24012025_12_28_02_456269_0000.jpg
/home/pi/Desktop/images/24012025/12/28/image_24012025_12_28_02_456269_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331048897","1331048918","1331048903","1331048906","1331048893","1331048910"],"photo_ids_order":["1331048893","1331048897","1331048903","1331048906","1331048910","1331048918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/33f38f0ca97aefb965dab164fc6d93b3.jpg","text":"TemporaryFile(/tmp/multipartBody2474109801084719666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721291109,"filename":"image_24012025_12_27_02_267097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98e25db1f4ed304aa0973d95fe2bd70f.jpg","text":"TemporaryFile(/tmp/multipartBody1679077172781781729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721291109,"filename":"image_24012025_12_28_02_456269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2503c007127d9ff331c41e480b614ee7.jpg","text":"TemporaryFile(/tmp/multipartBody2755155270196448326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721291109,"filename":"image_24012025_12_27_02_267097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4283bc071dce98dd9747aa7ee71d7489.jpg","text":"TemporaryFile(/tmp/multipartBody7377028373849024679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721291109,"filename":"image_24012025_12_27_02_267097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5f2110250b6dc15cde919f8f79364636.jpg","text":"TemporaryFile(/tmp/multipartBody4279916257971695050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721291109,"filename":"image_24012025_12_27_02_267097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8f598fe55cbc651fae02458bb175410.jpg","text":"TemporaryFile(/tmp/multipartBody9186394262266747847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721291109,"filename":"image_24012025_12_28_02_456269_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331048903","file1":"1331048897","file0":"1331048893","file4":"1331048910","file5":"1331048918","file3":"1331048906"},"map_files_photo_id_array":[{"photo_id":"1331048918","filename":"file5"},{"photo_id":"1331048903","filename":"file2"},{"photo_id":"1331048910","filename":"file4"},{"photo_id":"1331048897","filename":"file1"},{"photo_id":"1331048893","filename":"file0"},{"photo_id":"1331048906","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331048897":["hashtag1","hashtag2"]},{"1331048918":["hashtag1","hashtag2"]},{"1331048903":["hashtag1","hashtag2"]},{"1331048906":["hashtag1","hashtag2"]},{"1331048893":["hashtag1","hashtag2"]},{"1331048910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331048897, 1331048918, 1331048903, 1331048906, 1331048893, 1331048910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.59916186332703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 13:21:32.033773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/28/image_24012025_12_28_02_456269_0002.jpg', '/home/pi/Desktop/images/24012025/12/28/image_24012025_12_28_02_456269_0003.jpg', '/home/pi/Desktop/images/24012025/12/29/image_24012025_12_29_02_581291_0000.jpg', '/home/pi/Desktop/images/24012025/12/29/image_24012025_12_29_02_581291_0001.jpg', '/home/pi/Desktop/images/24012025/12/29/image_24012025_12_29_02_581291_0002.jpg', '/home/pi/Desktop/images/24012025/12/29/image_24012025_12_29_02_581291_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/28/image_24012025_12_28_02_456269_0002.jpg
/home/pi/Desktop/images/24012025/12/28/image_24012025_12_28_02_456269_0003.jpg
/home/pi/Desktop/images/24012025/12/29/image_24012025_12_29_02_581291_0000.jpg
/home/pi/Desktop/images/24012025/12/29/image_24012025_12_29_02_581291_0001.jpg
/home/pi/Desktop/images/24012025/12/29/image_24012025_12_29_02_581291_0002.jpg
/home/pi/Desktop/images/24012025/12/29/image_24012025_12_29_02_581291_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331049041","1331048962","1331048974","1331048979","1331048970","1331048964"],"photo_ids_order":["1331048962","1331048964","1331048970","1331048974","1331048979","1331049041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7dba5c1f02c8e823185f24202eec7e9.jpg","text":"TemporaryFile(/tmp/multipartBody3905302670485965844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721376881,"filename":"image_24012025_12_29_02_581291_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0cc0eac979a813ca08a01e27656690d.jpg","text":"TemporaryFile(/tmp/multipartBody7534172063362108523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721376881,"filename":"image_24012025_12_28_02_456269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/086ebd85c782da9db7d9fcad9929d1ec.jpg","text":"TemporaryFile(/tmp/multipartBody6205064375797433880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721376881,"filename":"image_24012025_12_29_02_581291_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3a84a9c1be909601555a6d4763ced564.jpg","text":"TemporaryFile(/tmp/multipartBody3819395210190213003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721376881,"filename":"image_24012025_12_29_02_581291_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc94006e435a9342479f2ced2379cea0.jpg","text":"TemporaryFile(/tmp/multipartBody3352243971622609767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721376881,"filename":"image_24012025_12_29_02_581291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72b8f138ba8e443b39d697e0dc4ab048.jpg","text":"TemporaryFile(/tmp/multipartBody6835408526995364477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721376881,"filename":"image_24012025_12_28_02_456269_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331048970","file1":"1331048964","file0":"1331048962","file4":"1331048979","file5":"1331049041","file3":"1331048974"},"map_files_photo_id_array":[{"photo_id":"1331049041","filename":"file5"},{"photo_id":"1331048970","filename":"file2"},{"photo_id":"1331048979","filename":"file4"},{"photo_id":"1331048964","filename":"file1"},{"photo_id":"1331048962","filename":"file0"},{"photo_id":"1331048974","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331049041":["hashtag1","hashtag2"]},{"1331048962":["hashtag1","hashtag2"]},{"1331048974":["hashtag1","hashtag2"]},{"1331048979":["hashtag1","hashtag2"]},{"1331048970":["hashtag1","hashtag2"]},{"1331048964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331049041, 1331048962, 1331048974, 1331048979, 1331048970, 1331048964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.43175768852234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 13:22:52.161606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/30/image_24012025_12_30_02_837045_0000.jpg', '/home/pi/Desktop/images/24012025/12/30/image_24012025_12_30_02_837045_0001.jpg', '/home/pi/Desktop/images/24012025/12/30/image_24012025_12_30_02_837045_0002.jpg', '/home/pi/Desktop/images/24012025/12/30/image_24012025_12_30_02_837045_0003.jpg', '/home/pi/Desktop/images/24012025/12/31/image_24012025_12_31_03_007487_0000.jpg', '/home/pi/Desktop/images/24012025/12/31/image_24012025_12_31_03_007487_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/30/image_24012025_12_30_02_837045_0000.jpg
/home/pi/Desktop/images/24012025/12/30/image_24012025_12_30_02_837045_0001.jpg
/home/pi/Desktop/images/24012025/12/30/image_24012025_12_30_02_837045_0002.jpg
/home/pi/Desktop/images/24012025/12/30/image_24012025_12_30_02_837045_0003.jpg
/home/pi/Desktop/images/24012025/12/31/image_24012025_12_31_03_007487_0000.jpg
/home/pi/Desktop/images/24012025/12/31/image_24012025_12_31_03_007487_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331049617","1331049608","1331049424","1331049400","1331049492","1331049429"],"photo_ids_order":["1331049400","1331049424","1331049429","1331049492","1331049608","1331049617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6871a4a86cf29db7e7b9511e00a7c5bc.jpg","text":"TemporaryFile(/tmp/multipartBody8530861211729343793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721480402,"filename":"image_24012025_12_31_03_007487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/162a67ad5412e5417c4f2318a4f72b15.jpg","text":"TemporaryFile(/tmp/multipartBody2739199197640149426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721480402,"filename":"image_24012025_12_31_03_007487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a571cada89a3e473800093a371c93c30.jpg","text":"TemporaryFile(/tmp/multipartBody808095756980545725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721480402,"filename":"image_24012025_12_30_02_837045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/795666bc16097841ad8409536cc25335.jpg","text":"TemporaryFile(/tmp/multipartBody7273421808275479920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721480402,"filename":"image_24012025_12_30_02_837045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e819b3fedc744ec2d479f4cdbc0f8dbc.jpg","text":"TemporaryFile(/tmp/multipartBody7350577991554383576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721480402,"filename":"image_24012025_12_30_02_837045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/76e77d891aa1a6559d85f9392acffd2c.jpg","text":"TemporaryFile(/tmp/multipartBody3545743196593359743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721480402,"filename":"image_24012025_12_30_02_837045_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331049429","file1":"1331049424","file0":"1331049400","file4":"1331049608","file5":"1331049617","file3":"1331049492"},"map_files_photo_id_array":[{"photo_id":"1331049617","filename":"file5"},{"photo_id":"1331049429","filename":"file2"},{"photo_id":"1331049608","filename":"file4"},{"photo_id":"1331049424","filename":"file1"},{"photo_id":"1331049400","filename":"file0"},{"photo_id":"1331049492","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331049617":["hashtag1","hashtag2"]},{"1331049608":["hashtag1","hashtag2"]},{"1331049424":["hashtag1","hashtag2"]},{"1331049400":["hashtag1","hashtag2"]},{"1331049492":["hashtag1","hashtag2"]},{"1331049429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331049617, 1331049608, 1331049424, 1331049400, 1331049492, 1331049429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.58242750167847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 13:24:42.541290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/31/image_24012025_12_31_03_007487_0002.jpg', '/home/pi/Desktop/images/24012025/12/31/image_24012025_12_31_03_007487_0003.jpg', '/home/pi/Desktop/images/24012025/12/32/image_24012025_12_32_02_136616_0000.jpg', '/home/pi/Desktop/images/24012025/12/32/image_24012025_12_32_02_136616_0001.jpg', '/home/pi/Desktop/images/24012025/12/32/image_24012025_12_32_02_136616_0002.jpg', '/home/pi/Desktop/images/24012025/12/32/image_24012025_12_32_02_136616_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/31/image_24012025_12_31_03_007487_0002.jpg
/home/pi/Desktop/images/24012025/12/31/image_24012025_12_31_03_007487_0003.jpg
/home/pi/Desktop/images/24012025/12/32/image_24012025_12_32_02_136616_0000.jpg
/home/pi/Desktop/images/24012025/12/32/image_24012025_12_32_02_136616_0001.jpg
/home/pi/Desktop/images/24012025/12/32/image_24012025_12_32_02_136616_0002.jpg
/home/pi/Desktop/images/24012025/12/32/image_24012025_12_32_02_136616_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331050394","1331050175","1331050535","1331050270","1331050060","1331050315"],"photo_ids_order":["1331050060","1331050175","1331050270","1331050315","1331050394","1331050535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f82cfa770e481ed1d3da9b953e32c202.jpg","text":"TemporaryFile(/tmp/multipartBody1741431614272214326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721591619,"filename":"image_24012025_12_32_02_136616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b95d8c9be670c5a72878a65d16c24496.jpg","text":"TemporaryFile(/tmp/multipartBody7212088444925577839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721591619,"filename":"image_24012025_12_31_03_007487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fcbf7d21aee1eebd97562394e0a5e3d9.jpg","text":"TemporaryFile(/tmp/multipartBody5446686181486595696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721591619,"filename":"image_24012025_12_32_02_136616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb44f748fb98b77c0f8797207f64b197.jpg","text":"TemporaryFile(/tmp/multipartBody1677846515818520036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721591619,"filename":"image_24012025_12_32_02_136616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/04d15c6fc83b9c0d2072b95b0c0af32b.jpg","text":"TemporaryFile(/tmp/multipartBody1301047431755260188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721591619,"filename":"image_24012025_12_31_03_007487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1341ac876a5e4d30572c268b014da266.jpg","text":"TemporaryFile(/tmp/multipartBody8221484432711432166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721591619,"filename":"image_24012025_12_32_02_136616_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331050270","file1":"1331050175","file0":"1331050060","file4":"1331050394","file5":"1331050535","file3":"1331050315"},"map_files_photo_id_array":[{"photo_id":"1331050535","filename":"file5"},{"photo_id":"1331050270","filename":"file2"},{"photo_id":"1331050394","filename":"file4"},{"photo_id":"1331050175","filename":"file1"},{"photo_id":"1331050060","filename":"file0"},{"photo_id":"1331050315","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331050394":["hashtag1","hashtag2"]},{"1331050175":["hashtag1","hashtag2"]},{"1331050535":["hashtag1","hashtag2"]},{"1331050270":["hashtag1","hashtag2"]},{"1331050060":["hashtag1","hashtag2"]},{"1331050315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331050394, 1331050175, 1331050535, 1331050270, 1331050060, 1331050315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.9704384803772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 13:26:31.888364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0000.jpg', '/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0001.jpg', '/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0002.jpg', '/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0003.jpg', '/home/pi/Desktop/images/24012025/12/34/image_24012025_12_34_02_472913_0000.jpg', '/home/pi/Desktop/images/24012025/12/34/image_24012025_12_34_02_472913_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0000.jpg
/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0001.jpg
/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0002.jpg
/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0003.jpg
/home/pi/Desktop/images/24012025/12/34/image_24012025_12_34_02_472913_0000.jpg
/home/pi/Desktop/images/24012025/12/34/image_24012025_12_34_02_472913_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 27.397267818450928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 13:27:02.740601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0000.jpg', '/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0001.jpg', '/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0002.jpg', '/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0003.jpg', '/home/pi/Desktop/images/24012025/12/34/image_24012025_12_34_02_472913_0000.jpg', '/home/pi/Desktop/images/24012025/12/34/image_24012025_12_34_02_472913_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0000.jpg
/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0001.jpg
/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0002.jpg
/home/pi/Desktop/images/24012025/12/33/image_24012025_12_33_02_273875_0003.jpg
/home/pi/Desktop/images/24012025/12/34/image_24012025_12_34_02_472913_0000.jpg
/home/pi/Desktop/images/24012025/12/34/image_24012025_12_34_02_472913_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331051267","1331051249","1331051321","1331051293","1331051271","1331051301"],"photo_ids_order":["1331051249","1331051267","1331051271","1331051293","1331051301","1331051321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10add897da23942fba0841db6442749f.jpg","text":"TemporaryFile(/tmp/multipartBody9016889234476523395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721724683,"filename":"image_24012025_12_33_02_273875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b2cd79f0aade670162aaa91f4688f737.jpg","text":"TemporaryFile(/tmp/multipartBody915169688965391116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721724683,"filename":"image_24012025_12_33_02_273875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/71f29ad3a4ad544871a8d9ff62fcf7fb.jpg","text":"TemporaryFile(/tmp/multipartBody1551826650557541313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721724683,"filename":"image_24012025_12_34_02_472913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f2eb199b8707ce8ac08cf57e25e2c713.jpg","text":"TemporaryFile(/tmp/multipartBody8064235530690789950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721724683,"filename":"image_24012025_12_33_02_273875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fdb4e8653f90a2229e7e034aa0599b5e.jpg","text":"TemporaryFile(/tmp/multipartBody3639251529097705633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721724683,"filename":"image_24012025_12_33_02_273875_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a62863f0bca7b42e10d934bdee895888.jpg","text":"TemporaryFile(/tmp/multipartBody5553111864257600778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721724683,"filename":"image_24012025_12_34_02_472913_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331051271","file1":"1331051267","file0":"1331051249","file4":"1331051301","file5":"1331051321","file3":"1331051293"},"map_files_photo_id_array":[{"photo_id":"1331051321","filename":"file5"},{"photo_id":"1331051271","filename":"file2"},{"photo_id":"1331051301","filename":"file4"},{"photo_id":"1331051267","filename":"file1"},{"photo_id":"1331051249","filename":"file0"},{"photo_id":"1331051293","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331051267":["hashtag1","hashtag2"]},{"1331051249":["hashtag1","hashtag2"]},{"1331051321":["hashtag1","hashtag2"]},{"1331051293":["hashtag1","hashtag2"]},{"1331051271":["hashtag1","hashtag2"]},{"1331051301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331051267, 1331051249, 1331051321, 1331051293, 1331051271, 1331051301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.24001812934875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 13:28:42.334619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/34/image_24012025_12_34_02_472913_0002.jpg', '/home/pi/Desktop/images/24012025/12/34/image_24012025_12_34_02_472913_0003.jpg', '/home/pi/Desktop/images/24012025/12/35/image_24012025_12_35_02_603913_0000.jpg', '/home/pi/Desktop/images/24012025/12/35/image_24012025_12_35_02_603913_0001.jpg', '/home/pi/Desktop/images/24012025/12/35/image_24012025_12_35_02_603913_0002.jpg', '/home/pi/Desktop/images/24012025/12/35/image_24012025_12_35_02_603913_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/34/image_24012025_12_34_02_472913_0002.jpg
/home/pi/Desktop/images/24012025/12/34/image_24012025_12_34_02_472913_0003.jpg
/home/pi/Desktop/images/24012025/12/35/image_24012025_12_35_02_603913_0000.jpg
/home/pi/Desktop/images/24012025/12/35/image_24012025_12_35_02_603913_0001.jpg
/home/pi/Desktop/images/24012025/12/35/image_24012025_12_35_02_603913_0002.jpg
/home/pi/Desktop/images/24012025/12/35/image_24012025_12_35_02_603913_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331051629","1331051605","1331051614","1331051586","1331051625","1331051576"],"photo_ids_order":["1331051576","1331051586","1331051605","1331051614","1331051625","1331051629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ea21b14acd094006ffc827d34eb9a73.jpg","text":"TemporaryFile(/tmp/multipartBody5630660717741826460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721808055,"filename":"image_24012025_12_35_02_603913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5dbacb3bb62b9aac53b4c451ebd14e39.jpg","text":"TemporaryFile(/tmp/multipartBody1061045588654230395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721808055,"filename":"image_24012025_12_35_02_603913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ba2a3b46da5f953952e92063367c7792.jpg","text":"TemporaryFile(/tmp/multipartBody534074421259443574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721808055,"filename":"image_24012025_12_35_02_603913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/07f31b4e2f248da6eca4a3873724b133.jpg","text":"TemporaryFile(/tmp/multipartBody4143059837258956503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721808055,"filename":"image_24012025_12_34_02_472913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1d57bd3e9e38c959d941c7deb3e828c2.jpg","text":"TemporaryFile(/tmp/multipartBody4193074085037960921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721808055,"filename":"image_24012025_12_35_02_603913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bee82cdc4624397791c6aef486d57f61.jpg","text":"TemporaryFile(/tmp/multipartBody3270780655046300886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721808055,"filename":"image_24012025_12_34_02_472913_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331051605","file1":"1331051586","file0":"1331051576","file4":"1331051625","file5":"1331051629","file3":"1331051614"},"map_files_photo_id_array":[{"photo_id":"1331051629","filename":"file5"},{"photo_id":"1331051605","filename":"file2"},{"photo_id":"1331051625","filename":"file4"},{"photo_id":"1331051586","filename":"file1"},{"photo_id":"1331051576","filename":"file0"},{"photo_id":"1331051614","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331051629":["hashtag1","hashtag2"]},{"1331051605":["hashtag1","hashtag2"]},{"1331051614":["hashtag1","hashtag2"]},{"1331051586":["hashtag1","hashtag2"]},{"1331051625":["hashtag1","hashtag2"]},{"1331051576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331051629, 1331051605, 1331051614, 1331051586, 1331051625, 1331051576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.60938382148743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 13:30:22.687270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/36/image_24012025_12_36_02_882575_0000.jpg', '/home/pi/Desktop/images/24012025/12/36/image_24012025_12_36_02_882575_0001.jpg', '/home/pi/Desktop/images/24012025/12/36/image_24012025_12_36_02_882575_0002.jpg', '/home/pi/Desktop/images/24012025/12/36/image_24012025_12_36_02_882575_0003.jpg', '/home/pi/Desktop/images/24012025/12/37/image_24012025_12_37_03_044309_0000.jpg', '/home/pi/Desktop/images/24012025/12/37/image_24012025_12_37_03_044309_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/36/image_24012025_12_36_02_882575_0000.jpg
/home/pi/Desktop/images/24012025/12/36/image_24012025_12_36_02_882575_0001.jpg
/home/pi/Desktop/images/24012025/12/36/image_24012025_12_36_02_882575_0002.jpg
/home/pi/Desktop/images/24012025/12/36/image_24012025_12_36_02_882575_0003.jpg
/home/pi/Desktop/images/24012025/12/37/image_24012025_12_37_03_044309_0000.jpg
/home/pi/Desktop/images/24012025/12/37/image_24012025_12_37_03_044309_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331051960","1331051945","1331051965","1331051953","1331051982","1331051970"],"photo_ids_order":["1331051945","1331051953","1331051960","1331051965","1331051970","1331051982"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1bf152617eb389f5a433f72db87918f.jpg","text":"TemporaryFile(/tmp/multipartBody6372771851373669794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721928350,"filename":"image_24012025_12_36_02_882575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/53cf471463170565ad457d889ea6e38a.jpg","text":"TemporaryFile(/tmp/multipartBody5793375686231664315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721928350,"filename":"image_24012025_12_36_02_882575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32483074274682e7dde15a8319efc8cb.jpg","text":"TemporaryFile(/tmp/multipartBody8908238581315782464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721928350,"filename":"image_24012025_12_36_02_882575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eb407e61fe853207c9534956d3491621.jpg","text":"TemporaryFile(/tmp/multipartBody7816923949739038130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721928350,"filename":"image_24012025_12_36_02_882575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fcc5b50273758f56bbad3c32390c247c.jpg","text":"TemporaryFile(/tmp/multipartBody4969469572474455007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721928350,"filename":"image_24012025_12_37_03_044309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ba91773bfb9ba90cb48710d9dcd5e2e3.jpg","text":"TemporaryFile(/tmp/multipartBody4501387202822272860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737721928350,"filename":"image_24012025_12_37_03_044309_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331051960","file1":"1331051953","file0":"1331051945","file4":"1331051970","file5":"1331051982","file3":"1331051965"},"map_files_photo_id_array":[{"photo_id":"1331051982","filename":"file5"},{"photo_id":"1331051960","filename":"file2"},{"photo_id":"1331051970","filename":"file4"},{"photo_id":"1331051953","filename":"file1"},{"photo_id":"1331051945","filename":"file0"},{"photo_id":"1331051965","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331051960":["hashtag1","hashtag2"]},{"1331051945":["hashtag1","hashtag2"]},{"1331051965":["hashtag1","hashtag2"]},{"1331051953":["hashtag1","hashtag2"]},{"1331051982":["hashtag1","hashtag2"]},{"1331051970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331051960, 1331051945, 1331051965, 1331051953, 1331051982, 1331051970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.73849701881409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 13:32:02.412488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/37/image_24012025_12_37_03_044309_0002.jpg', '/home/pi/Desktop/images/24012025/12/37/image_24012025_12_37_03_044309_0003.jpg', '/home/pi/Desktop/images/24012025/12/38/image_24012025_12_38_02_252050_0000.jpg', '/home/pi/Desktop/images/24012025/12/38/image_24012025_12_38_02_252050_0001.jpg', '/home/pi/Desktop/images/24012025/12/38/image_24012025_12_38_02_252050_0002.jpg', '/home/pi/Desktop/images/24012025/12/38/image_24012025_12_38_02_252050_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/37/image_24012025_12_37_03_044309_0002.jpg
/home/pi/Desktop/images/24012025/12/37/image_24012025_12_37_03_044309_0003.jpg
/home/pi/Desktop/images/24012025/12/38/image_24012025_12_38_02_252050_0000.jpg
/home/pi/Desktop/images/24012025/12/38/image_24012025_12_38_02_252050_0001.jpg
/home/pi/Desktop/images/24012025/12/38/image_24012025_12_38_02_252050_0002.jpg
/home/pi/Desktop/images/24012025/12/38/image_24012025_12_38_02_252050_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331053101","1331053088","1331053107","1331053097","1331052932","1331053093"],"photo_ids_order":["1331052932","1331053088","1331053093","1331053097","1331053101","1331053107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdbab28be1a9e07edd99d1d797e668de.jpg","text":"TemporaryFile(/tmp/multipartBody3229406952299184260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722033916,"filename":"image_24012025_12_38_02_252050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/27cc07c3f33fec53e6f08e0080492cb3.jpg","text":"TemporaryFile(/tmp/multipartBody6476777885090085789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722033916,"filename":"image_24012025_12_37_03_044309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fde4aaca2f2f639cad86688fdd890863.jpg","text":"TemporaryFile(/tmp/multipartBody6137512834717404609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722033916,"filename":"image_24012025_12_38_02_252050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac3a7ba83d20a9df67fb88928e9686d6.jpg","text":"TemporaryFile(/tmp/multipartBody2548373006555957948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722033916,"filename":"image_24012025_12_38_02_252050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bde535ca7f9d4115b2172259bc4fddd5.jpg","text":"TemporaryFile(/tmp/multipartBody68244445620866096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722033916,"filename":"image_24012025_12_37_03_044309_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/91292aa3f2ba87848a2cd8ab4ad5ea91.jpg","text":"TemporaryFile(/tmp/multipartBody6793346341816199706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722033916,"filename":"image_24012025_12_38_02_252050_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331053093","file1":"1331053088","file0":"1331052932","file4":"1331053101","file5":"1331053107","file3":"1331053097"},"map_files_photo_id_array":[{"photo_id":"1331053107","filename":"file5"},{"photo_id":"1331053093","filename":"file2"},{"photo_id":"1331053101","filename":"file4"},{"photo_id":"1331053088","filename":"file1"},{"photo_id":"1331052932","filename":"file0"},{"photo_id":"1331053097","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331053101":["hashtag1","hashtag2"]},{"1331053088":["hashtag1","hashtag2"]},{"1331053107":["hashtag1","hashtag2"]},{"1331053097":["hashtag1","hashtag2"]},{"1331052932":["hashtag1","hashtag2"]},{"1331053093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331053101, 1331053088, 1331053107, 1331053097, 1331052932, 1331053093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.21256399154663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 13:33:52.177428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/39/image_24012025_12_39_02_394526_0000.jpg', '/home/pi/Desktop/images/24012025/12/39/image_24012025_12_39_02_394526_0001.jpg', '/home/pi/Desktop/images/24012025/12/39/image_24012025_12_39_02_394526_0002.jpg', '/home/pi/Desktop/images/24012025/12/39/image_24012025_12_39_02_394526_0003.jpg', '/home/pi/Desktop/images/24012025/12/40/image_24012025_12_40_02_591697_0000.jpg', '/home/pi/Desktop/images/24012025/12/40/image_24012025_12_40_02_591697_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/39/image_24012025_12_39_02_394526_0000.jpg
/home/pi/Desktop/images/24012025/12/39/image_24012025_12_39_02_394526_0001.jpg
/home/pi/Desktop/images/24012025/12/39/image_24012025_12_39_02_394526_0002.jpg
/home/pi/Desktop/images/24012025/12/39/image_24012025_12_39_02_394526_0003.jpg
/home/pi/Desktop/images/24012025/12/40/image_24012025_12_40_02_591697_0000.jpg
/home/pi/Desktop/images/24012025/12/40/image_24012025_12_40_02_591697_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331053531","1331053648","1331053578","1331053583","1331053520","1331053526"],"photo_ids_order":["1331053520","1331053526","1331053531","1331053578","1331053583","1331053648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/79ff0cb45e70557f7d9471a84615ab27.jpg","text":"TemporaryFile(/tmp/multipartBody5974903457038156991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722132559,"filename":"image_24012025_12_39_02_394526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/66f6bdfb87b5b9244c461e2b8a3c1dfe.jpg","text":"TemporaryFile(/tmp/multipartBody8401053051028211804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722132559,"filename":"image_24012025_12_40_02_591697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/167ee8e8364434cd503e02d7f4c0d36c.jpg","text":"TemporaryFile(/tmp/multipartBody4182999053019904991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722132559,"filename":"image_24012025_12_39_02_394526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4869d986e2cd66a14d2eabe3848b374d.jpg","text":"TemporaryFile(/tmp/multipartBody6008179474387208439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722132559,"filename":"image_24012025_12_40_02_591697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ede4ffc5c37b705826cd16bad13eb71a.jpg","text":"TemporaryFile(/tmp/multipartBody516372559986689480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722132559,"filename":"image_24012025_12_39_02_394526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ed0ffa318b67c426340c27738ca8f32.jpg","text":"TemporaryFile(/tmp/multipartBody6623333661969262351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722132559,"filename":"image_24012025_12_39_02_394526_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331053531","file1":"1331053526","file0":"1331053520","file4":"1331053583","file5":"1331053648","file3":"1331053578"},"map_files_photo_id_array":[{"photo_id":"1331053648","filename":"file5"},{"photo_id":"1331053531","filename":"file2"},{"photo_id":"1331053583","filename":"file4"},{"photo_id":"1331053526","filename":"file1"},{"photo_id":"1331053520","filename":"file0"},{"photo_id":"1331053578","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331053531":["hashtag1","hashtag2"]},{"1331053648":["hashtag1","hashtag2"]},{"1331053578":["hashtag1","hashtag2"]},{"1331053583":["hashtag1","hashtag2"]},{"1331053520":["hashtag1","hashtag2"]},{"1331053526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331053531, 1331053648, 1331053578, 1331053583, 1331053520, 1331053526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.18244504928589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 13:35:32.512570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/40/image_24012025_12_40_02_591697_0002.jpg', '/home/pi/Desktop/images/24012025/12/40/image_24012025_12_40_02_591697_0003.jpg', '/home/pi/Desktop/images/24012025/12/41/image_24012025_12_41_02_794697_0000.jpg', '/home/pi/Desktop/images/24012025/12/41/image_24012025_12_41_02_794697_0001.jpg', '/home/pi/Desktop/images/24012025/12/41/image_24012025_12_41_02_794697_0002.jpg', '/home/pi/Desktop/images/24012025/12/41/image_24012025_12_41_02_794697_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/40/image_24012025_12_40_02_591697_0002.jpg
/home/pi/Desktop/images/24012025/12/40/image_24012025_12_40_02_591697_0003.jpg
/home/pi/Desktop/images/24012025/12/41/image_24012025_12_41_02_794697_0000.jpg
/home/pi/Desktop/images/24012025/12/41/image_24012025_12_41_02_794697_0001.jpg
/home/pi/Desktop/images/24012025/12/41/image_24012025_12_41_02_794697_0002.jpg
/home/pi/Desktop/images/24012025/12/41/image_24012025_12_41_02_794697_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331053705","1331053695","1331053749","1331053737","1331053721","1331053687"],"photo_ids_order":["1331053687","1331053695","1331053705","1331053721","1331053737","1331053749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5aa2d74d0274e8603d30102fca89b265.jpg","text":"TemporaryFile(/tmp/multipartBody3756924576254902012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722239214,"filename":"image_24012025_12_41_02_794697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7716c0f269121c8dac763377254d39ad.jpg","text":"TemporaryFile(/tmp/multipartBody6849579296693942247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722239214,"filename":"image_24012025_12_40_02_591697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/435a975d19a3ac6d2eeaca01c033ab92.jpg","text":"TemporaryFile(/tmp/multipartBody5416066235173978573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722239214,"filename":"image_24012025_12_41_02_794697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2535afe1d9f449d3d728a71e12b4f0cc.jpg","text":"TemporaryFile(/tmp/multipartBody4817600764601484224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722239214,"filename":"image_24012025_12_41_02_794697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c77f81b0ffc1806feee40e362480480e.jpg","text":"TemporaryFile(/tmp/multipartBody4454508975064835983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722239214,"filename":"image_24012025_12_41_02_794697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/220884fc2b1278dbcea96cc61258f987.jpg","text":"TemporaryFile(/tmp/multipartBody8535429812790785682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722239214,"filename":"image_24012025_12_40_02_591697_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331053705","file1":"1331053695","file0":"1331053687","file4":"1331053737","file5":"1331053749","file3":"1331053721"},"map_files_photo_id_array":[{"photo_id":"1331053749","filename":"file5"},{"photo_id":"1331053705","filename":"file2"},{"photo_id":"1331053737","filename":"file4"},{"photo_id":"1331053695","filename":"file1"},{"photo_id":"1331053687","filename":"file0"},{"photo_id":"1331053721","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331053705":["hashtag1","hashtag2"]},{"1331053695":["hashtag1","hashtag2"]},{"1331053749":["hashtag1","hashtag2"]},{"1331053737":["hashtag1","hashtag2"]},{"1331053721":["hashtag1","hashtag2"]},{"1331053687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331053705, 1331053695, 1331053749, 1331053737, 1331053721, 1331053687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.69153690338135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 13:37:21.976339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0000.jpg', '/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0001.jpg', '/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0002.jpg', '/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0003.jpg', '/home/pi/Desktop/images/24012025/12/43/image_24012025_12_43_02_157586_0000.jpg', '/home/pi/Desktop/images/24012025/12/43/image_24012025_12_43_02_157586_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0000.jpg
/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0001.jpg
/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0002.jpg
/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0003.jpg
/home/pi/Desktop/images/24012025/12/43/image_24012025_12_43_02_157586_0000.jpg
/home/pi/Desktop/images/24012025/12/43/image_24012025_12_43_02_157586_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 38.510459184646606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 13:38:02.460166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0000.jpg', '/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0001.jpg', '/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0002.jpg', '/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0003.jpg', '/home/pi/Desktop/images/24012025/12/43/image_24012025_12_43_02_157586_0000.jpg', '/home/pi/Desktop/images/24012025/12/43/image_24012025_12_43_02_157586_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0000.jpg
/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0001.jpg
/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0002.jpg
/home/pi/Desktop/images/24012025/12/42/image_24012025_12_42_02_937275_0003.jpg
/home/pi/Desktop/images/24012025/12/43/image_24012025_12_43_02_157586_0000.jpg
/home/pi/Desktop/images/24012025/12/43/image_24012025_12_43_02_157586_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331053948","1331054317","1331053997","1331053940","1331053943","1331054603"],"photo_ids_order":["1331053940","1331053943","1331053948","1331053997","1331054317","1331054603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/be241eb038ba6d921ec33f81159b2779.jpg","text":"TemporaryFile(/tmp/multipartBody6546108304777258931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722388138,"filename":"image_24012025_12_42_02_937275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/71d502744a532944499c171e85ca3e35.jpg","text":"TemporaryFile(/tmp/multipartBody2155820574842350894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722388138,"filename":"image_24012025_12_43_02_157586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/591cf240d05106ecf6be91a9b323186c.jpg","text":"TemporaryFile(/tmp/multipartBody7268031034041640316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722388138,"filename":"image_24012025_12_42_02_937275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8afbac73baad757e347ba122a81b711a.jpg","text":"TemporaryFile(/tmp/multipartBody4619034069802691085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722388138,"filename":"image_24012025_12_42_02_937275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f880e02764adf1b23683378b6c480b10.jpg","text":"TemporaryFile(/tmp/multipartBody3310557649195092093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722388138,"filename":"image_24012025_12_42_02_937275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f2e2ef8642265d93dd1eb19b0bbf9d14.jpg","text":"TemporaryFile(/tmp/multipartBody8725084010813684496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722388138,"filename":"image_24012025_12_43_02_157586_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331053948","file1":"1331053943","file0":"1331053940","file4":"1331054317","file5":"1331054603","file3":"1331053997"},"map_files_photo_id_array":[{"photo_id":"1331054603","filename":"file5"},{"photo_id":"1331053948","filename":"file2"},{"photo_id":"1331054317","filename":"file4"},{"photo_id":"1331053943","filename":"file1"},{"photo_id":"1331053940","filename":"file0"},{"photo_id":"1331053997","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331053948":["hashtag1","hashtag2"]},{"1331054317":["hashtag1","hashtag2"]},{"1331053997":["hashtag1","hashtag2"]},{"1331053940":["hashtag1","hashtag2"]},{"1331053943":["hashtag1","hashtag2"]},{"1331054603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331053948, 1331054317, 1331053997, 1331053940, 1331053943, 1331054603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.93180465698242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 13:39:52.213534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/43/image_24012025_12_43_02_157586_0002.jpg', '/home/pi/Desktop/images/24012025/12/43/image_24012025_12_43_02_157586_0003.jpg', '/home/pi/Desktop/images/24012025/12/44/image_24012025_12_44_02_336393_0000.jpg', '/home/pi/Desktop/images/24012025/12/44/image_24012025_12_44_02_336393_0001.jpg', '/home/pi/Desktop/images/24012025/12/44/image_24012025_12_44_02_336393_0002.jpg', '/home/pi/Desktop/images/24012025/12/44/image_24012025_12_44_02_336393_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/43/image_24012025_12_43_02_157586_0002.jpg
/home/pi/Desktop/images/24012025/12/43/image_24012025_12_43_02_157586_0003.jpg
/home/pi/Desktop/images/24012025/12/44/image_24012025_12_44_02_336393_0000.jpg
/home/pi/Desktop/images/24012025/12/44/image_24012025_12_44_02_336393_0001.jpg
/home/pi/Desktop/images/24012025/12/44/image_24012025_12_44_02_336393_0002.jpg
/home/pi/Desktop/images/24012025/12/44/image_24012025_12_44_02_336393_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331054917","1331054913","1331054921","1331054903","1331055208","1331054908"],"photo_ids_order":["1331054903","1331054908","1331054913","1331054917","1331054921","1331055208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/92d5046901a3698bfcd17fef2bbedb7c.jpg","text":"TemporaryFile(/tmp/multipartBody3965921354159748865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722501418,"filename":"image_24012025_12_44_02_336393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/960849428c11f568db0cef2e63adfa1b.jpg","text":"TemporaryFile(/tmp/multipartBody5494642306061768744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722501418,"filename":"image_24012025_12_44_02_336393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/25b8425aff68a63bfa4a7b98dfc0ab5a.jpg","text":"TemporaryFile(/tmp/multipartBody5532828152630299667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722501418,"filename":"image_24012025_12_44_02_336393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/86141cae4817bb08fdecd47883ddca80.jpg","text":"TemporaryFile(/tmp/multipartBody7469877801669485429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722501418,"filename":"image_24012025_12_43_02_157586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6804eda2dbea7de29fa5f46157a61885.jpg","text":"TemporaryFile(/tmp/multipartBody4233380975962404870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722501418,"filename":"image_24012025_12_44_02_336393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f27e65418f9529a2542e70f9b77a8f37.jpg","text":"TemporaryFile(/tmp/multipartBody5314447019569128641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722501418,"filename":"image_24012025_12_43_02_157586_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331054913","file1":"1331054908","file0":"1331054903","file4":"1331054921","file5":"1331055208","file3":"1331054917"},"map_files_photo_id_array":[{"photo_id":"1331055208","filename":"file5"},{"photo_id":"1331054913","filename":"file2"},{"photo_id":"1331054921","filename":"file4"},{"photo_id":"1331054908","filename":"file1"},{"photo_id":"1331054903","filename":"file0"},{"photo_id":"1331054917","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331054917":["hashtag1","hashtag2"]},{"1331054913":["hashtag1","hashtag2"]},{"1331054921":["hashtag1","hashtag2"]},{"1331054903":["hashtag1","hashtag2"]},{"1331055208":["hashtag1","hashtag2"]},{"1331054908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331054917, 1331054913, 1331054921, 1331054903, 1331055208, 1331054908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.90445518493652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 13:41:42.615333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/45/image_24012025_12_45_02_576948_0000.jpg', '/home/pi/Desktop/images/24012025/12/45/image_24012025_12_45_02_576948_0001.jpg', '/home/pi/Desktop/images/24012025/12/45/image_24012025_12_45_02_576948_0002.jpg', '/home/pi/Desktop/images/24012025/12/45/image_24012025_12_45_02_576948_0003.jpg', '/home/pi/Desktop/images/24012025/12/46/image_24012025_12_46_02_692384_0000.jpg', '/home/pi/Desktop/images/24012025/12/46/image_24012025_12_46_02_692384_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/45/image_24012025_12_45_02_576948_0000.jpg
/home/pi/Desktop/images/24012025/12/45/image_24012025_12_45_02_576948_0001.jpg
/home/pi/Desktop/images/24012025/12/45/image_24012025_12_45_02_576948_0002.jpg
/home/pi/Desktop/images/24012025/12/45/image_24012025_12_45_02_576948_0003.jpg
/home/pi/Desktop/images/24012025/12/46/image_24012025_12_46_02_692384_0000.jpg
/home/pi/Desktop/images/24012025/12/46/image_24012025_12_46_02_692384_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331055540","1331055614","1331055617","1331055545","1331055605","1331055597"],"photo_ids_order":["1331055540","1331055545","1331055597","1331055605","1331055614","1331055617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cf66ab9f20aaaab9ee3953ce1b4fbfad.jpg","text":"TemporaryFile(/tmp/multipartBody8513050765735041843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722601099,"filename":"image_24012025_12_45_02_576948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1f4a681ee751cb2807ad4be73e3ffc8.jpg","text":"TemporaryFile(/tmp/multipartBody5283227836106180118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722601099,"filename":"image_24012025_12_46_02_692384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74dd30020ad19f5cecf119945ef7b249.jpg","text":"TemporaryFile(/tmp/multipartBody216490124275354752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722601099,"filename":"image_24012025_12_46_02_692384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/768443adc524fd58348717ed9c984168.jpg","text":"TemporaryFile(/tmp/multipartBody649300498812624540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722601099,"filename":"image_24012025_12_45_02_576948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1bba144678f139fdd41b156254a78b96.jpg","text":"TemporaryFile(/tmp/multipartBody3222082954834084340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722601099,"filename":"image_24012025_12_45_02_576948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/641a3ffb2d9878d7827112f62cbddcd6.jpg","text":"TemporaryFile(/tmp/multipartBody1917257311508913472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722601099,"filename":"image_24012025_12_45_02_576948_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331055597","file1":"1331055545","file0":"1331055540","file4":"1331055614","file5":"1331055617","file3":"1331055605"},"map_files_photo_id_array":[{"photo_id":"1331055617","filename":"file5"},{"photo_id":"1331055597","filename":"file2"},{"photo_id":"1331055614","filename":"file4"},{"photo_id":"1331055545","filename":"file1"},{"photo_id":"1331055540","filename":"file0"},{"photo_id":"1331055605","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331055540":["hashtag1","hashtag2"]},{"1331055614":["hashtag1","hashtag2"]},{"1331055617":["hashtag1","hashtag2"]},{"1331055545":["hashtag1","hashtag2"]},{"1331055605":["hashtag1","hashtag2"]},{"1331055597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331055540, 1331055614, 1331055617, 1331055545, 1331055605, 1331055597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.60853171348572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 13:43:21.986370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/46/image_24012025_12_46_02_692384_0002.jpg', '/home/pi/Desktop/images/24012025/12/46/image_24012025_12_46_02_692384_0003.jpg', '/home/pi/Desktop/images/24012025/12/47/image_24012025_12_47_02_817145_0000.jpg', '/home/pi/Desktop/images/24012025/12/47/image_24012025_12_47_02_817145_0001.jpg', '/home/pi/Desktop/images/24012025/12/47/image_24012025_12_47_02_817145_0002.jpg', '/home/pi/Desktop/images/24012025/12/47/image_24012025_12_47_02_817145_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/46/image_24012025_12_46_02_692384_0002.jpg
/home/pi/Desktop/images/24012025/12/46/image_24012025_12_46_02_692384_0003.jpg
/home/pi/Desktop/images/24012025/12/47/image_24012025_12_47_02_817145_0000.jpg
/home/pi/Desktop/images/24012025/12/47/image_24012025_12_47_02_817145_0001.jpg
/home/pi/Desktop/images/24012025/12/47/image_24012025_12_47_02_817145_0002.jpg
/home/pi/Desktop/images/24012025/12/47/image_24012025_12_47_02_817145_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331055866","1331055812","1331055862","1331055856","1331055850","1331055844"],"photo_ids_order":["1331055812","1331055844","1331055850","1331055856","1331055862","1331055866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1b8ea22059a12e71a3f3c4bc9bef7149.jpg","text":"TemporaryFile(/tmp/multipartBody2927698769493294225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722710995,"filename":"image_24012025_12_47_02_817145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e30491cb71416f351998baef7c4975f4.jpg","text":"TemporaryFile(/tmp/multipartBody4406550006339445278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722710995,"filename":"image_24012025_12_46_02_692384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1cd381ef23dede0a8f476f7b3578a7e9.jpg","text":"TemporaryFile(/tmp/multipartBody6520872844521147752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722710995,"filename":"image_24012025_12_47_02_817145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c1eeff161c85fb3320d8a8e6de9df332.jpg","text":"TemporaryFile(/tmp/multipartBody6366067447919217139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722710995,"filename":"image_24012025_12_47_02_817145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cb932ad352b3f5a2fe344d646e4aa560.jpg","text":"TemporaryFile(/tmp/multipartBody2007043602816294852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722710995,"filename":"image_24012025_12_47_02_817145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2e157ee478c7233669822042e3d07a80.jpg","text":"TemporaryFile(/tmp/multipartBody3956295028928491629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722710995,"filename":"image_24012025_12_46_02_692384_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331055850","file1":"1331055844","file0":"1331055812","file4":"1331055862","file5":"1331055866","file3":"1331055856"},"map_files_photo_id_array":[{"photo_id":"1331055866","filename":"file5"},{"photo_id":"1331055850","filename":"file2"},{"photo_id":"1331055862","filename":"file4"},{"photo_id":"1331055844","filename":"file1"},{"photo_id":"1331055812","filename":"file0"},{"photo_id":"1331055856","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331055866":["hashtag1","hashtag2"]},{"1331055812":["hashtag1","hashtag2"]},{"1331055862":["hashtag1","hashtag2"]},{"1331055856":["hashtag1","hashtag2"]},{"1331055850":["hashtag1","hashtag2"]},{"1331055844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331055866, 1331055812, 1331055862, 1331055856, 1331055850, 1331055844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.92927813529968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 13:45:22.316296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/48/image_24012025_12_48_03_209273_0000.jpg', '/home/pi/Desktop/images/24012025/12/48/image_24012025_12_48_03_209273_0001.jpg', '/home/pi/Desktop/images/24012025/12/48/image_24012025_12_48_03_209273_0002.jpg', '/home/pi/Desktop/images/24012025/12/48/image_24012025_12_48_03_209273_0003.jpg', '/home/pi/Desktop/images/24012025/12/49/image_24012025_12_49_02_374075_0000.jpg', '/home/pi/Desktop/images/24012025/12/49/image_24012025_12_49_02_374075_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/48/image_24012025_12_48_03_209273_0000.jpg
/home/pi/Desktop/images/24012025/12/48/image_24012025_12_48_03_209273_0001.jpg
/home/pi/Desktop/images/24012025/12/48/image_24012025_12_48_03_209273_0002.jpg
/home/pi/Desktop/images/24012025/12/48/image_24012025_12_48_03_209273_0003.jpg
/home/pi/Desktop/images/24012025/12/49/image_24012025_12_49_02_374075_0000.jpg
/home/pi/Desktop/images/24012025/12/49/image_24012025_12_49_02_374075_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331056085","1331056052","1331056080","1331056092","1331056065","1331056074"],"photo_ids_order":["1331056052","1331056065","1331056074","1331056080","1331056085","1331056092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37e8caea13ef288f799a4c48f6df645c.jpg","text":"TemporaryFile(/tmp/multipartBody1106369375028469448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722826353,"filename":"image_24012025_12_49_02_374075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb9ddea378e3e590983613fe6dcbaee3.jpg","text":"TemporaryFile(/tmp/multipartBody5472907865893514663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722826353,"filename":"image_24012025_12_48_03_209273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7431b72a00785dfb2aed9f5db28ae347.jpg","text":"TemporaryFile(/tmp/multipartBody6877601751748207791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722826353,"filename":"image_24012025_12_48_03_209273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/106603f21df68955f54adebd1715f237.jpg","text":"TemporaryFile(/tmp/multipartBody6616696095587444193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722826353,"filename":"image_24012025_12_49_02_374075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4a5275bb7e7c2d52cc401dfec93a0036.jpg","text":"TemporaryFile(/tmp/multipartBody8784244663247789597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722826353,"filename":"image_24012025_12_48_03_209273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e2db6f59dd29a32c0669f3aaedd8db4.jpg","text":"TemporaryFile(/tmp/multipartBody967752337873492605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722826353,"filename":"image_24012025_12_48_03_209273_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331056074","file1":"1331056065","file0":"1331056052","file4":"1331056085","file5":"1331056092","file3":"1331056080"},"map_files_photo_id_array":[{"photo_id":"1331056092","filename":"file5"},{"photo_id":"1331056074","filename":"file2"},{"photo_id":"1331056085","filename":"file4"},{"photo_id":"1331056065","filename":"file1"},{"photo_id":"1331056052","filename":"file0"},{"photo_id":"1331056080","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331056085":["hashtag1","hashtag2"]},{"1331056052":["hashtag1","hashtag2"]},{"1331056080":["hashtag1","hashtag2"]},{"1331056092":["hashtag1","hashtag2"]},{"1331056065":["hashtag1","hashtag2"]},{"1331056074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331056085, 1331056052, 1331056080, 1331056092, 1331056065, 1331056074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.47471332550049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 13:47:22.687809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/49/image_24012025_12_49_02_374075_0002.jpg', '/home/pi/Desktop/images/24012025/12/49/image_24012025_12_49_02_374075_0003.jpg', '/home/pi/Desktop/images/24012025/12/50/image_24012025_12_50_02_505649_0000.jpg', '/home/pi/Desktop/images/24012025/12/50/image_24012025_12_50_02_505649_0001.jpg', '/home/pi/Desktop/images/24012025/12/50/image_24012025_12_50_02_505649_0002.jpg', '/home/pi/Desktop/images/24012025/12/50/image_24012025_12_50_02_505649_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/49/image_24012025_12_49_02_374075_0002.jpg
/home/pi/Desktop/images/24012025/12/49/image_24012025_12_49_02_374075_0003.jpg
/home/pi/Desktop/images/24012025/12/50/image_24012025_12_50_02_505649_0000.jpg
/home/pi/Desktop/images/24012025/12/50/image_24012025_12_50_02_505649_0001.jpg
/home/pi/Desktop/images/24012025/12/50/image_24012025_12_50_02_505649_0002.jpg
/home/pi/Desktop/images/24012025/12/50/image_24012025_12_50_02_505649_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331056236","1331056229","1331056186","1331056159","1331056150","1331056225"],"photo_ids_order":["1331056150","1331056159","1331056186","1331056225","1331056229","1331056236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8bb6d417f9b442dcebef3b788f3b0c8e.jpg","text":"TemporaryFile(/tmp/multipartBody7765443813762560518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722927037,"filename":"image_24012025_12_50_02_505649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa75f0078c62a309689b8a8fe88c449d.jpg","text":"TemporaryFile(/tmp/multipartBody769877591080425586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722927037,"filename":"image_24012025_12_50_02_505649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/774dc185dd36887d67152dbdcb2c6648.jpg","text":"TemporaryFile(/tmp/multipartBody6706199800000511692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722927037,"filename":"image_24012025_12_50_02_505649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e45eae0722d14e6aa2267be9994adbdd.jpg","text":"TemporaryFile(/tmp/multipartBody4501610259903064296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722927037,"filename":"image_24012025_12_49_02_374075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d177367fa04e8786ab74a91fd650171f.jpg","text":"TemporaryFile(/tmp/multipartBody3988316902268831548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722927037,"filename":"image_24012025_12_49_02_374075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/04dc4fec2fd2304bcc38f4e267289386.jpg","text":"TemporaryFile(/tmp/multipartBody8971831607047548752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737722927037,"filename":"image_24012025_12_50_02_505649_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331056186","file1":"1331056159","file0":"1331056150","file4":"1331056229","file5":"1331056236","file3":"1331056225"},"map_files_photo_id_array":[{"photo_id":"1331056236","filename":"file5"},{"photo_id":"1331056186","filename":"file2"},{"photo_id":"1331056229","filename":"file4"},{"photo_id":"1331056159","filename":"file1"},{"photo_id":"1331056150","filename":"file0"},{"photo_id":"1331056225","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331056236":["hashtag1","hashtag2"]},{"1331056229":["hashtag1","hashtag2"]},{"1331056186":["hashtag1","hashtag2"]},{"1331056159":["hashtag1","hashtag2"]},{"1331056150":["hashtag1","hashtag2"]},{"1331056225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331056236, 1331056229, 1331056186, 1331056159, 1331056150, 1331056225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.855708360672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 13:48:51.746603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/51/image_24012025_12_51_02_641547_0000.jpg', '/home/pi/Desktop/images/24012025/12/51/image_24012025_12_51_02_641547_0001.jpg', '/home/pi/Desktop/images/24012025/12/51/image_24012025_12_51_02_641547_0002.jpg', '/home/pi/Desktop/images/24012025/12/51/image_24012025_12_51_02_641547_0003.jpg', '/home/pi/Desktop/images/24012025/12/52/image_24012025_12_52_02_931769_0000.jpg', '/home/pi/Desktop/images/24012025/12/52/image_24012025_12_52_02_931769_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/51/image_24012025_12_51_02_641547_0000.jpg
/home/pi/Desktop/images/24012025/12/51/image_24012025_12_51_02_641547_0001.jpg
/home/pi/Desktop/images/24012025/12/51/image_24012025_12_51_02_641547_0002.jpg
/home/pi/Desktop/images/24012025/12/51/image_24012025_12_51_02_641547_0003.jpg
/home/pi/Desktop/images/24012025/12/52/image_24012025_12_52_02_931769_0000.jpg
/home/pi/Desktop/images/24012025/12/52/image_24012025_12_52_02_931769_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331056308","1331056302","1331056295","1331056289","1331056315","1331056299"],"photo_ids_order":["1331056289","1331056295","1331056299","1331056302","1331056308","1331056315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f44b9bb46939da29d57f292f02d050e1.jpg","text":"TemporaryFile(/tmp/multipartBody1267634958737361766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723038252,"filename":"image_24012025_12_52_02_931769_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/175fffcce339948915c879f7a3dc9322.jpg","text":"TemporaryFile(/tmp/multipartBody5976995139350761461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723038252,"filename":"image_24012025_12_51_02_641547_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc45ec249328e4efb2b5027718328c4d.jpg","text":"TemporaryFile(/tmp/multipartBody8421773241594764837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723038252,"filename":"image_24012025_12_51_02_641547_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/394ff2c1bf233cb6d7c2a599bb0d888c.jpg","text":"TemporaryFile(/tmp/multipartBody3772811640768634997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723038252,"filename":"image_24012025_12_51_02_641547_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e168579cb564a0044f1100d310519a0.jpg","text":"TemporaryFile(/tmp/multipartBody8404321144515843031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723038252,"filename":"image_24012025_12_52_02_931769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f33af90f5055440a90de0c32061e584a.jpg","text":"TemporaryFile(/tmp/multipartBody4872554371802088482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723038252,"filename":"image_24012025_12_51_02_641547_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331056299","file1":"1331056295","file0":"1331056289","file4":"1331056308","file5":"1331056315","file3":"1331056302"},"map_files_photo_id_array":[{"photo_id":"1331056315","filename":"file5"},{"photo_id":"1331056299","filename":"file2"},{"photo_id":"1331056308","filename":"file4"},{"photo_id":"1331056295","filename":"file1"},{"photo_id":"1331056289","filename":"file0"},{"photo_id":"1331056302","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331056308":["hashtag1","hashtag2"]},{"1331056302":["hashtag1","hashtag2"]},{"1331056295":["hashtag1","hashtag2"]},{"1331056289":["hashtag1","hashtag2"]},{"1331056315":["hashtag1","hashtag2"]},{"1331056299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331056308, 1331056302, 1331056295, 1331056289, 1331056315, 1331056299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.71716928482056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 13:50:42.124167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/52/image_24012025_12_52_02_931769_0002.jpg', '/home/pi/Desktop/images/24012025/12/52/image_24012025_12_52_02_931769_0003.jpg', '/home/pi/Desktop/images/24012025/12/53/image_24012025_12_53_03_060683_0001.jpg', '/home/pi/Desktop/images/24012025/12/53/image_24012025_12_53_03_060683_0002.jpg', '/home/pi/Desktop/images/24012025/12/53/image_24012025_12_53_03_060683_0003.jpg', '/home/pi/Desktop/images/24012025/12/54/image_24012025_12_54_02_289587_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/52/image_24012025_12_52_02_931769_0002.jpg
/home/pi/Desktop/images/24012025/12/52/image_24012025_12_52_02_931769_0003.jpg
/home/pi/Desktop/images/24012025/12/53/image_24012025_12_53_03_060683_0001.jpg
/home/pi/Desktop/images/24012025/12/53/image_24012025_12_53_03_060683_0002.jpg
/home/pi/Desktop/images/24012025/12/53/image_24012025_12_53_03_060683_0003.jpg
/home/pi/Desktop/images/24012025/12/54/image_24012025_12_54_02_289587_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331057162","1331057126","1331057118","1331057133","1331057177","1331057100"],"photo_ids_order":["1331057100","1331057118","1331057126","1331057133","1331057162","1331057177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5d438f9afcecaaf932ec8d2b8f51742.jpg","text":"TemporaryFile(/tmp/multipartBody4288399858204318364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723131961,"filename":"image_24012025_12_53_03_060683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d66972bd6c1dd8c5af10e2e2a5215fab.jpg","text":"TemporaryFile(/tmp/multipartBody4090138219085762899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723131961,"filename":"image_24012025_12_53_03_060683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/355ca91828718a6a092d49a2844a181f.jpg","text":"TemporaryFile(/tmp/multipartBody1779578633595755506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723131961,"filename":"image_24012025_12_52_02_931769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/22a7ec27d285d17e1881e37867f12171.jpg","text":"TemporaryFile(/tmp/multipartBody4035727145757617413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723131961,"filename":"image_24012025_12_53_03_060683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/262314594cd2f4e507469c2658c42e5b.jpg","text":"TemporaryFile(/tmp/multipartBody4626886584809370538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723131961,"filename":"image_24012025_12_54_02_289587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e2c5da3be61a6dbf512a7d403fa75b1f.jpg","text":"TemporaryFile(/tmp/multipartBody7728810528680206088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723131961,"filename":"image_24012025_12_52_02_931769_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331057126","file1":"1331057118","file0":"1331057100","file4":"1331057162","file5":"1331057177","file3":"1331057133"},"map_files_photo_id_array":[{"photo_id":"1331057177","filename":"file5"},{"photo_id":"1331057126","filename":"file2"},{"photo_id":"1331057162","filename":"file4"},{"photo_id":"1331057118","filename":"file1"},{"photo_id":"1331057100","filename":"file0"},{"photo_id":"1331057133","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331057162":["hashtag1","hashtag2"]},{"1331057126":["hashtag1","hashtag2"]},{"1331057118":["hashtag1","hashtag2"]},{"1331057133":["hashtag1","hashtag2"]},{"1331057177":["hashtag1","hashtag2"]},{"1331057100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331057162, 1331057126, 1331057118, 1331057133, 1331057177, 1331057100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.22882342338562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 13:52:22.504133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/54/image_24012025_12_54_02_289587_0001.jpg', '/home/pi/Desktop/images/24012025/12/54/image_24012025_12_54_02_289587_0002.jpg', '/home/pi/Desktop/images/24012025/12/54/image_24012025_12_54_02_289587_0003.jpg', '/home/pi/Desktop/images/24012025/12/55/image_24012025_12_55_02_412604_0000.jpg', '/home/pi/Desktop/images/24012025/12/55/image_24012025_12_55_02_412604_0001.jpg', '/home/pi/Desktop/images/24012025/12/55/image_24012025_12_55_02_412604_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/54/image_24012025_12_54_02_289587_0001.jpg
/home/pi/Desktop/images/24012025/12/54/image_24012025_12_54_02_289587_0002.jpg
/home/pi/Desktop/images/24012025/12/54/image_24012025_12_54_02_289587_0003.jpg
/home/pi/Desktop/images/24012025/12/55/image_24012025_12_55_02_412604_0000.jpg
/home/pi/Desktop/images/24012025/12/55/image_24012025_12_55_02_412604_0001.jpg
/home/pi/Desktop/images/24012025/12/55/image_24012025_12_55_02_412604_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331057777","1331057762","1331057857","1331057793","1331057769","1331057757"],"photo_ids_order":["1331057757","1331057762","1331057769","1331057777","1331057793","1331057857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/447fca5fbe71c9347b37d22633760984.jpg","text":"TemporaryFile(/tmp/multipartBody7882883085100363868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723236669,"filename":"image_24012025_12_55_02_412604_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da18c6bcda93843596eae2f5b629c2c2.jpg","text":"TemporaryFile(/tmp/multipartBody4471016569967710797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723236669,"filename":"image_24012025_12_54_02_289587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a0d9b2ce21a7e34d9fa6c940a5e8475.jpg","text":"TemporaryFile(/tmp/multipartBody5719820417839705839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723236669,"filename":"image_24012025_12_55_02_412604_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e1e230d37eb74d3d3f08f24088ea48a.jpg","text":"TemporaryFile(/tmp/multipartBody2361492412158574029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723236669,"filename":"image_24012025_12_55_02_412604_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9600ba7d58080bf9b0978fa551c3662f.jpg","text":"TemporaryFile(/tmp/multipartBody1755121936178863451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723236669,"filename":"image_24012025_12_54_02_289587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd6f335ab304aa5fb2008fa1e99bd780.jpg","text":"TemporaryFile(/tmp/multipartBody6039678031173335485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723236669,"filename":"image_24012025_12_54_02_289587_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331057769","file1":"1331057762","file0":"1331057757","file4":"1331057793","file5":"1331057857","file3":"1331057777"},"map_files_photo_id_array":[{"photo_id":"1331057857","filename":"file5"},{"photo_id":"1331057769","filename":"file2"},{"photo_id":"1331057793","filename":"file4"},{"photo_id":"1331057762","filename":"file1"},{"photo_id":"1331057757","filename":"file0"},{"photo_id":"1331057777","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331057777":["hashtag1","hashtag2"]},{"1331057762":["hashtag1","hashtag2"]},{"1331057857":["hashtag1","hashtag2"]},{"1331057793":["hashtag1","hashtag2"]},{"1331057769":["hashtag1","hashtag2"]},{"1331057757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331057777, 1331057762, 1331057857, 1331057793, 1331057769, 1331057757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.8704719543457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 13:54:02.293497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/55/image_24012025_12_55_02_412604_0003.jpg', '/home/pi/Desktop/images/24012025/12/56/image_24012025_12_56_02_594167_0000.jpg', '/home/pi/Desktop/images/24012025/12/57/image_24012025_12_57_02_761721_0000.jpg', '/home/pi/Desktop/images/24012025/12/57/image_24012025_12_57_02_761721_0001.jpg', '/home/pi/Desktop/images/24012025/12/57/image_24012025_12_57_02_761721_0002.jpg', '/home/pi/Desktop/images/24012025/12/57/image_24012025_12_57_02_761721_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/55/image_24012025_12_55_02_412604_0003.jpg
/home/pi/Desktop/images/24012025/12/56/image_24012025_12_56_02_594167_0000.jpg
/home/pi/Desktop/images/24012025/12/57/image_24012025_12_57_02_761721_0000.jpg
/home/pi/Desktop/images/24012025/12/57/image_24012025_12_57_02_761721_0001.jpg
/home/pi/Desktop/images/24012025/12/57/image_24012025_12_57_02_761721_0002.jpg
/home/pi/Desktop/images/24012025/12/57/image_24012025_12_57_02_761721_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331058019","1331058016","1331058021","1331058012","1331058009","1331058158"],"photo_ids_order":["1331058009","1331058012","1331058016","1331058019","1331058021","1331058158"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db3a4ba7ebd16da760d88bb75c961719.jpg","text":"TemporaryFile(/tmp/multipartBody2313630776886002696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723334963,"filename":"image_24012025_12_57_02_761721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/449ff29b65831b0d6007f87c5995e083.jpg","text":"TemporaryFile(/tmp/multipartBody6403592806450976312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723334963,"filename":"image_24012025_12_57_02_761721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/85ed17e4fd0960a1a85ee7b4a7288e7d.jpg","text":"TemporaryFile(/tmp/multipartBody1377420550792054850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723334963,"filename":"image_24012025_12_57_02_761721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a866bdfac6bc64a534907ba13002ded1.jpg","text":"TemporaryFile(/tmp/multipartBody304793370221731375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723334963,"filename":"image_24012025_12_56_02_594167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b36897d2be3bd5c127b2f652d4b45aa.jpg","text":"TemporaryFile(/tmp/multipartBody2908359137096351485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723334963,"filename":"image_24012025_12_55_02_412604_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cd23bc61c1745aebcfec0f7f7d1583fc.jpg","text":"TemporaryFile(/tmp/multipartBody5210858115674624485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723334963,"filename":"image_24012025_12_57_02_761721_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331058016","file1":"1331058012","file0":"1331058009","file4":"1331058021","file5":"1331058158","file3":"1331058019"},"map_files_photo_id_array":[{"photo_id":"1331058158","filename":"file5"},{"photo_id":"1331058016","filename":"file2"},{"photo_id":"1331058021","filename":"file4"},{"photo_id":"1331058012","filename":"file1"},{"photo_id":"1331058009","filename":"file0"},{"photo_id":"1331058019","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331058019":["hashtag1","hashtag2"]},{"1331058016":["hashtag1","hashtag2"]},{"1331058021":["hashtag1","hashtag2"]},{"1331058012":["hashtag1","hashtag2"]},{"1331058009":["hashtag1","hashtag2"]},{"1331058158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331058019, 1331058016, 1331058021, 1331058012, 1331058009, 1331058158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.49498438835144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 13:55:32.070709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/58/image_24012025_12_58_02_900121_0000.jpg', '/home/pi/Desktop/images/24012025/12/58/image_24012025_12_58_02_900121_0001.jpg', '/home/pi/Desktop/images/24012025/12/58/image_24012025_12_58_02_900121_0002.jpg', '/home/pi/Desktop/images/24012025/12/58/image_24012025_12_58_02_900121_0003.jpg', '/home/pi/Desktop/images/24012025/12/59/image_24012025_12_59_03_067822_0000.jpg', '/home/pi/Desktop/images/24012025/12/59/image_24012025_12_59_03_067822_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/58/image_24012025_12_58_02_900121_0000.jpg
/home/pi/Desktop/images/24012025/12/58/image_24012025_12_58_02_900121_0001.jpg
/home/pi/Desktop/images/24012025/12/58/image_24012025_12_58_02_900121_0002.jpg
/home/pi/Desktop/images/24012025/12/58/image_24012025_12_58_02_900121_0003.jpg
/home/pi/Desktop/images/24012025/12/59/image_24012025_12_59_03_067822_0000.jpg
/home/pi/Desktop/images/24012025/12/59/image_24012025_12_59_03_067822_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331058454","1331058223","1331058423","1331058470","1331058204","1331058458"],"photo_ids_order":["1331058204","1331058223","1331058423","1331058454","1331058458","1331058470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eef8c4a058bf3a396d6da1bd74009fbd.jpg","text":"TemporaryFile(/tmp/multipartBody4115705296784345595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723427893,"filename":"image_24012025_12_58_02_900121_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10138b2b66f83a728fb58baef3f24b31.jpg","text":"TemporaryFile(/tmp/multipartBody3693336591505843197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723427893,"filename":"image_24012025_12_58_02_900121_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/03c8661ccfeae0b0232ac01a61a579ce.jpg","text":"TemporaryFile(/tmp/multipartBody3075361453422967674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723427893,"filename":"image_24012025_12_58_02_900121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/66885db28e209c6fb58f276f2e892c5e.jpg","text":"TemporaryFile(/tmp/multipartBody700655842799307476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723427893,"filename":"image_24012025_12_59_03_067822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/42e01118bf5277041c30f739604f8ac2.jpg","text":"TemporaryFile(/tmp/multipartBody3393177748186067128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723427893,"filename":"image_24012025_12_58_02_900121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e2d3c43dacd91c4f23820b3f0a68ced.jpg","text":"TemporaryFile(/tmp/multipartBody2316242915764250029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723427893,"filename":"image_24012025_12_59_03_067822_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331058423","file1":"1331058223","file0":"1331058204","file4":"1331058458","file5":"1331058470","file3":"1331058454"},"map_files_photo_id_array":[{"photo_id":"1331058470","filename":"file5"},{"photo_id":"1331058423","filename":"file2"},{"photo_id":"1331058458","filename":"file4"},{"photo_id":"1331058223","filename":"file1"},{"photo_id":"1331058204","filename":"file0"},{"photo_id":"1331058454","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331058454":["hashtag1","hashtag2"]},{"1331058223":["hashtag1","hashtag2"]},{"1331058423":["hashtag1","hashtag2"]},{"1331058470":["hashtag1","hashtag2"]},{"1331058204":["hashtag1","hashtag2"]},{"1331058458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331058454, 1331058223, 1331058423, 1331058470, 1331058204, 1331058458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.60458660125732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 13:57:22.513736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/59/image_24012025_12_59_03_067822_0002.jpg', '/home/pi/Desktop/images/24012025/12/59/image_24012025_12_59_03_067822_0003.jpg', '/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0000.jpg', '/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0001.jpg', '/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0002.jpg', '/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/59/image_24012025_12_59_03_067822_0002.jpg
/home/pi/Desktop/images/24012025/12/59/image_24012025_12_59_03_067822_0003.jpg
/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0000.jpg
/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0001.jpg
/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0002.jpg
/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0003.jpg
 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 refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 13:59:02.459585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/12/59/image_24012025_12_59_03_067822_0002.jpg', '/home/pi/Desktop/images/24012025/12/59/image_24012025_12_59_03_067822_0003.jpg', '/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0000.jpg', '/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0001.jpg', '/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0002.jpg', '/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/12/59/image_24012025_12_59_03_067822_0002.jpg
/home/pi/Desktop/images/24012025/12/59/image_24012025_12_59_03_067822_0003.jpg
/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0000.jpg
/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0001.jpg
/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0002.jpg
/home/pi/Desktop/images/24012025/13/00/image_24012025_13_00_02_195655_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331058727","1331058785","1331058743","1331058773","1331058728","1331058737"],"photo_ids_order":["1331058727","1331058728","1331058737","1331058743","1331058773","1331058785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f9d53150a34e7fb90be4ba277b30c18e.jpg","text":"TemporaryFile(/tmp/multipartBody4564954734892167965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723643305,"filename":"image_24012025_12_59_03_067822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ccc940e4f816bf7d8510d7820a2e33c6.jpg","text":"TemporaryFile(/tmp/multipartBody3701204290145947679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723643305,"filename":"image_24012025_13_00_02_195655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8bcc64c6ab69c663716e6096e397d244.jpg","text":"TemporaryFile(/tmp/multipartBody7567659494563200547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723643305,"filename":"image_24012025_13_00_02_195655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/19a2c76071ab78097a8ce7c01e4c45ad.jpg","text":"TemporaryFile(/tmp/multipartBody8477556533412741498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723643305,"filename":"image_24012025_13_00_02_195655_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55c8efaf33dd9d1448fa8dc5bbb80b40.jpg","text":"TemporaryFile(/tmp/multipartBody6544222898920790279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723643305,"filename":"image_24012025_12_59_03_067822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a9239f2cd09edf5804e7a296b359fbb5.jpg","text":"TemporaryFile(/tmp/multipartBody503753019889287544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723643305,"filename":"image_24012025_13_00_02_195655_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331058737","file1":"1331058728","file0":"1331058727","file4":"1331058773","file5":"1331058785","file3":"1331058743"},"map_files_photo_id_array":[{"photo_id":"1331058785","filename":"file5"},{"photo_id":"1331058737","filename":"file2"},{"photo_id":"1331058773","filename":"file4"},{"photo_id":"1331058728","filename":"file1"},{"photo_id":"1331058727","filename":"file0"},{"photo_id":"1331058743","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331058727":["hashtag1","hashtag2"]},{"1331058785":["hashtag1","hashtag2"]},{"1331058743":["hashtag1","hashtag2"]},{"1331058773":["hashtag1","hashtag2"]},{"1331058728":["hashtag1","hashtag2"]},{"1331058737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331058727, 1331058785, 1331058743, 1331058773, 1331058728, 1331058737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.1546356678009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 14:00:42.109511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/01/image_24012025_13_01_02_424128_0000.jpg', '/home/pi/Desktop/images/24012025/13/01/image_24012025_13_01_02_424128_0001.jpg', '/home/pi/Desktop/images/24012025/13/01/image_24012025_13_01_02_424128_0002.jpg', '/home/pi/Desktop/images/24012025/13/01/image_24012025_13_01_02_424128_0003.jpg', '/home/pi/Desktop/images/24012025/13/02/image_24012025_13_02_02_668008_0000.jpg', '/home/pi/Desktop/images/24012025/13/02/image_24012025_13_02_02_668008_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/01/image_24012025_13_01_02_424128_0000.jpg
/home/pi/Desktop/images/24012025/13/01/image_24012025_13_01_02_424128_0001.jpg
/home/pi/Desktop/images/24012025/13/01/image_24012025_13_01_02_424128_0002.jpg
/home/pi/Desktop/images/24012025/13/01/image_24012025_13_01_02_424128_0003.jpg
/home/pi/Desktop/images/24012025/13/02/image_24012025_13_02_02_668008_0000.jpg
/home/pi/Desktop/images/24012025/13/02/image_24012025_13_02_02_668008_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331058856","1331058841","1331058922","1331058870","1331058864","1331058849"],"photo_ids_order":["1331058841","1331058849","1331058856","1331058864","1331058870","1331058922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e824ab3af61d9983fd58b294bbf686cc.jpg","text":"TemporaryFile(/tmp/multipartBody7650835855944678039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723747979,"filename":"image_24012025_13_01_02_424128_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af2993af48e0051f5f33588d5c3141dc.jpg","text":"TemporaryFile(/tmp/multipartBody3237156114991790375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723747979,"filename":"image_24012025_13_01_02_424128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c4575c576256f24a00a90f74f0e45d57.jpg","text":"TemporaryFile(/tmp/multipartBody749340709275922418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723747979,"filename":"image_24012025_13_02_02_668008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc45fb9394f6e7ec94c9e9a4be6c3da9.jpg","text":"TemporaryFile(/tmp/multipartBody3131429644649587191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723747979,"filename":"image_24012025_13_02_02_668008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f7eddea7100834681a89c1c6ef065f4.jpg","text":"TemporaryFile(/tmp/multipartBody8951146956528561228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723747979,"filename":"image_24012025_13_01_02_424128_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/521388c9f358a2410a2075a3b3660f4a.jpg","text":"TemporaryFile(/tmp/multipartBody7505366353609083117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723747979,"filename":"image_24012025_13_01_02_424128_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331058856","file1":"1331058849","file0":"1331058841","file4":"1331058870","file5":"1331058922","file3":"1331058864"},"map_files_photo_id_array":[{"photo_id":"1331058922","filename":"file5"},{"photo_id":"1331058856","filename":"file2"},{"photo_id":"1331058870","filename":"file4"},{"photo_id":"1331058849","filename":"file1"},{"photo_id":"1331058841","filename":"file0"},{"photo_id":"1331058864","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331058856":["hashtag1","hashtag2"]},{"1331058841":["hashtag1","hashtag2"]},{"1331058922":["hashtag1","hashtag2"]},{"1331058870":["hashtag1","hashtag2"]},{"1331058864":["hashtag1","hashtag2"]},{"1331058849":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331058856, 1331058841, 1331058922, 1331058870, 1331058864, 1331058849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.14473867416382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:02:22.254499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/02/image_24012025_13_02_02_668008_0002.jpg', '/home/pi/Desktop/images/24012025/13/02/image_24012025_13_02_02_668008_0003.jpg', '/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0000.jpg', '/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0001.jpg', '/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0002.jpg', '/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/02/image_24012025_13_02_02_668008_0002.jpg
/home/pi/Desktop/images/24012025/13/02/image_24012025_13_02_02_668008_0003.jpg
/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0000.jpg
/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0001.jpg
/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0002.jpg
/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0003.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 40.81332349777222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:03:22.554705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/02/image_24012025_13_02_02_668008_0002.jpg', '/home/pi/Desktop/images/24012025/13/02/image_24012025_13_02_02_668008_0003.jpg', '/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0000.jpg', '/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0001.jpg', '/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0002.jpg', '/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/02/image_24012025_13_02_02_668008_0002.jpg
/home/pi/Desktop/images/24012025/13/02/image_24012025_13_02_02_668008_0003.jpg
/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0000.jpg
/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0001.jpg
/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0002.jpg
/home/pi/Desktop/images/24012025/13/03/image_24012025_13_03_02_785715_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331059045","1331059024","1331059050","1331059038","1331059032","1331059019"],"photo_ids_order":["1331059019","1331059024","1331059032","1331059038","1331059045","1331059050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d04b5ed0c5bf1859d016f54993db158.jpg","text":"TemporaryFile(/tmp/multipartBody5283771610671847962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723893486,"filename":"image_24012025_13_03_02_785715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/17310c4010535c3974634ae9b045d384.jpg","text":"TemporaryFile(/tmp/multipartBody2672691668799282685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723893486,"filename":"image_24012025_13_02_02_668008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2f9d0541bf1a90adfc9f3995d0e81e72.jpg","text":"TemporaryFile(/tmp/multipartBody3578551970721851029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723893486,"filename":"image_24012025_13_03_02_785715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0bc3726c0a5e8604508f8bdd510a8760.jpg","text":"TemporaryFile(/tmp/multipartBody8869091981151738360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723893486,"filename":"image_24012025_13_03_02_785715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2bedc96e2d3b462cd17f252b9773b63b.jpg","text":"TemporaryFile(/tmp/multipartBody3360271638982113097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723893486,"filename":"image_24012025_13_03_02_785715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e3d05bb039f03913467c0741b293ef3.jpg","text":"TemporaryFile(/tmp/multipartBody4996416116456478531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737723893486,"filename":"image_24012025_13_02_02_668008_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331059032","file1":"1331059024","file0":"1331059019","file4":"1331059045","file5":"1331059050","file3":"1331059038"},"map_files_photo_id_array":[{"photo_id":"1331059050","filename":"file5"},{"photo_id":"1331059032","filename":"file2"},{"photo_id":"1331059045","filename":"file4"},{"photo_id":"1331059024","filename":"file1"},{"photo_id":"1331059019","filename":"file0"},{"photo_id":"1331059038","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331059045":["hashtag1","hashtag2"]},{"1331059024":["hashtag1","hashtag2"]},{"1331059050":["hashtag1","hashtag2"]},{"1331059038":["hashtag1","hashtag2"]},{"1331059032":["hashtag1","hashtag2"]},{"1331059019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331059045, 1331059024, 1331059050, 1331059038, 1331059032, 1331059019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.97795510292053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 14:04:52.702787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0000.jpg', '/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0001.jpg', '/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0002.jpg', '/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0003.jpg', '/home/pi/Desktop/images/24012025/13/05/image_24012025_13_05_03_110369_0000.jpg', '/home/pi/Desktop/images/24012025/13/05/image_24012025_13_05_03_110369_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0000.jpg
/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0001.jpg
/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0002.jpg
/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0003.jpg
/home/pi/Desktop/images/24012025/13/05/image_24012025_13_05_03_110369_0000.jpg
/home/pi/Desktop/images/24012025/13/05/image_24012025_13_05_03_110369_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 46.13365030288696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 14:05:41.898958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0000.jpg', '/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0001.jpg', '/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0002.jpg', '/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0003.jpg', '/home/pi/Desktop/images/24012025/13/05/image_24012025_13_05_03_110369_0000.jpg', '/home/pi/Desktop/images/24012025/13/05/image_24012025_13_05_03_110369_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0000.jpg
/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0001.jpg
/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0002.jpg
/home/pi/Desktop/images/24012025/13/04/image_24012025_13_04_02_954757_0003.jpg
/home/pi/Desktop/images/24012025/13/05/image_24012025_13_05_03_110369_0000.jpg
/home/pi/Desktop/images/24012025/13/05/image_24012025_13_05_03_110369_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331060047","1331059869","1331059865","1331060261","1331059885","1331060222"],"photo_ids_order":["1331059865","1331059869","1331059885","1331060047","1331060222","1331060261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb2e3cd6ac1d7b5beb2734d21adf34e3.jpg","text":"TemporaryFile(/tmp/multipartBody7799827297662285643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724037603,"filename":"image_24012025_13_04_02_954757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/97907a4ecfa19e54281ed52f70794139.jpg","text":"TemporaryFile(/tmp/multipartBody6455365611725673654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724037603,"filename":"image_24012025_13_04_02_954757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e7a6cc6996438b81da9015489b0d1eb8.jpg","text":"TemporaryFile(/tmp/multipartBody3717646261015791202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724037603,"filename":"image_24012025_13_04_02_954757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/663363798cf229c763f6807f3a587390.jpg","text":"TemporaryFile(/tmp/multipartBody898718892228998906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724037603,"filename":"image_24012025_13_05_03_110369_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55f66da7d7c8d8203b6e6a346cb4bd79.jpg","text":"TemporaryFile(/tmp/multipartBody2939814039584332749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724037603,"filename":"image_24012025_13_04_02_954757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/85e920adb0515238fe7ae4b55bfefa1d.jpg","text":"TemporaryFile(/tmp/multipartBody9167219022136718954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724037603,"filename":"image_24012025_13_05_03_110369_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331059885","file1":"1331059869","file0":"1331059865","file4":"1331060222","file5":"1331060261","file3":"1331060047"},"map_files_photo_id_array":[{"photo_id":"1331060261","filename":"file5"},{"photo_id":"1331059885","filename":"file2"},{"photo_id":"1331060222","filename":"file4"},{"photo_id":"1331059869","filename":"file1"},{"photo_id":"1331059865","filename":"file0"},{"photo_id":"1331060047","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331060047":["hashtag1","hashtag2"]},{"1331059869":["hashtag1","hashtag2"]},{"1331059865":["hashtag1","hashtag2"]},{"1331060261":["hashtag1","hashtag2"]},{"1331059885":["hashtag1","hashtag2"]},{"1331060222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331060047, 1331059869, 1331059865, 1331060261, 1331059885, 1331060222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.99709725379944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:07:22.152181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/05/image_24012025_13_05_03_110369_0002.jpg', '/home/pi/Desktop/images/24012025/13/05/image_24012025_13_05_03_110369_0003.jpg', '/home/pi/Desktop/images/24012025/13/06/image_24012025_13_06_02_271997_0000.jpg', '/home/pi/Desktop/images/24012025/13/06/image_24012025_13_06_02_271997_0001.jpg', '/home/pi/Desktop/images/24012025/13/06/image_24012025_13_06_02_271997_0002.jpg', '/home/pi/Desktop/images/24012025/13/06/image_24012025_13_06_02_271997_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/05/image_24012025_13_05_03_110369_0002.jpg
/home/pi/Desktop/images/24012025/13/05/image_24012025_13_05_03_110369_0003.jpg
/home/pi/Desktop/images/24012025/13/06/image_24012025_13_06_02_271997_0000.jpg
/home/pi/Desktop/images/24012025/13/06/image_24012025_13_06_02_271997_0001.jpg
/home/pi/Desktop/images/24012025/13/06/image_24012025_13_06_02_271997_0002.jpg
/home/pi/Desktop/images/24012025/13/06/image_24012025_13_06_02_271997_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331060635","1331060697","1331060670","1331060675","1331060651","1331060618"],"photo_ids_order":["1331060618","1331060635","1331060651","1331060670","1331060675","1331060697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/447b699e4a9dbf5cc381945b487cc576.jpg","text":"TemporaryFile(/tmp/multipartBody4638419451703416272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724156472,"filename":"image_24012025_13_05_03_110369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a54a1d3006309a2fef3c32bc409dd3ae.jpg","text":"TemporaryFile(/tmp/multipartBody8691154635293961173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724156472,"filename":"image_24012025_13_06_02_271997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48295d18950debabce73ea582790898c.jpg","text":"TemporaryFile(/tmp/multipartBody6110068403973747715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724156472,"filename":"image_24012025_13_06_02_271997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e68983f7afcffa9c7b4c527a669fda27.jpg","text":"TemporaryFile(/tmp/multipartBody3352312911409111691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724156472,"filename":"image_24012025_13_06_02_271997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cf8bb842e2fcfc6a05fb40ac56971694.jpg","text":"TemporaryFile(/tmp/multipartBody2015307116256393424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724156472,"filename":"image_24012025_13_06_02_271997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/103ce015a89a51d95ba962101e34d6aa.jpg","text":"TemporaryFile(/tmp/multipartBody2435684356619856548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724156472,"filename":"image_24012025_13_05_03_110369_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331060651","file1":"1331060635","file0":"1331060618","file4":"1331060675","file5":"1331060697","file3":"1331060670"},"map_files_photo_id_array":[{"photo_id":"1331060697","filename":"file5"},{"photo_id":"1331060651","filename":"file2"},{"photo_id":"1331060675","filename":"file4"},{"photo_id":"1331060635","filename":"file1"},{"photo_id":"1331060618","filename":"file0"},{"photo_id":"1331060670","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331060635":["hashtag1","hashtag2"]},{"1331060697":["hashtag1","hashtag2"]},{"1331060670":["hashtag1","hashtag2"]},{"1331060675":["hashtag1","hashtag2"]},{"1331060651":["hashtag1","hashtag2"]},{"1331060618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331060635, 1331060697, 1331060670, 1331060675, 1331060651, 1331060618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.08725094795227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:09:22.739199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/07/image_24012025_13_07_02_498954_0000.jpg', '/home/pi/Desktop/images/24012025/13/07/image_24012025_13_07_02_498954_0001.jpg', '/home/pi/Desktop/images/24012025/13/07/image_24012025_13_07_02_498954_0002.jpg', '/home/pi/Desktop/images/24012025/13/07/image_24012025_13_07_02_498954_0003.jpg', '/home/pi/Desktop/images/24012025/13/08/image_24012025_13_08_02_765251_0000.jpg', '/home/pi/Desktop/images/24012025/13/08/image_24012025_13_08_02_765251_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/07/image_24012025_13_07_02_498954_0000.jpg
/home/pi/Desktop/images/24012025/13/07/image_24012025_13_07_02_498954_0001.jpg
/home/pi/Desktop/images/24012025/13/07/image_24012025_13_07_02_498954_0002.jpg
/home/pi/Desktop/images/24012025/13/07/image_24012025_13_07_02_498954_0003.jpg
/home/pi/Desktop/images/24012025/13/08/image_24012025_13_08_02_765251_0000.jpg
/home/pi/Desktop/images/24012025/13/08/image_24012025_13_08_02_765251_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331060815","1331060781","1331060778","1331060832","1331060805","1331060822"],"photo_ids_order":["1331060778","1331060781","1331060805","1331060815","1331060822","1331060832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c8ae056508e52999bfe713b301329f9.jpg","text":"TemporaryFile(/tmp/multipartBody2104223375833020434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724262093,"filename":"image_24012025_13_07_02_498954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e070099708afdf26ead0e5ca8f2302f8.jpg","text":"TemporaryFile(/tmp/multipartBody7808688294080795373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724262093,"filename":"image_24012025_13_07_02_498954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/11d3235a9181a022119407fd1b3232e6.jpg","text":"TemporaryFile(/tmp/multipartBody2117470496369530193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724262093,"filename":"image_24012025_13_07_02_498954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/967c030f838bda7956d02fcbf5619554.jpg","text":"TemporaryFile(/tmp/multipartBody4737700050761021841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724262093,"filename":"image_24012025_13_08_02_765251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8e8b2c0824f6d95e118352d2556950eb.jpg","text":"TemporaryFile(/tmp/multipartBody4733709520398301879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724262093,"filename":"image_24012025_13_07_02_498954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/92a66e46d4945287f27613ad1c73d9ed.jpg","text":"TemporaryFile(/tmp/multipartBody9057286020266877074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724262093,"filename":"image_24012025_13_08_02_765251_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331060805","file1":"1331060781","file0":"1331060778","file4":"1331060822","file5":"1331060832","file3":"1331060815"},"map_files_photo_id_array":[{"photo_id":"1331060832","filename":"file5"},{"photo_id":"1331060805","filename":"file2"},{"photo_id":"1331060822","filename":"file4"},{"photo_id":"1331060781","filename":"file1"},{"photo_id":"1331060778","filename":"file0"},{"photo_id":"1331060815","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331060815":["hashtag1","hashtag2"]},{"1331060781":["hashtag1","hashtag2"]},{"1331060778":["hashtag1","hashtag2"]},{"1331060832":["hashtag1","hashtag2"]},{"1331060805":["hashtag1","hashtag2"]},{"1331060822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331060815, 1331060781, 1331060778, 1331060832, 1331060805, 1331060822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.75893950462341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 14:11:02.713111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/08/image_24012025_13_08_02_765251_0002.jpg', '/home/pi/Desktop/images/24012025/13/08/image_24012025_13_08_02_765251_0003.jpg', '/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0000.jpg', '/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0001.jpg', '/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0002.jpg', '/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/08/image_24012025_13_08_02_765251_0002.jpg
/home/pi/Desktop/images/24012025/13/08/image_24012025_13_08_02_765251_0003.jpg
/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0000.jpg
/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0001.jpg
/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0002.jpg
/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 36.89502167701721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 14:11:42.019330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/08/image_24012025_13_08_02_765251_0002.jpg', '/home/pi/Desktop/images/24012025/13/08/image_24012025_13_08_02_765251_0003.jpg', '/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0000.jpg', '/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0001.jpg', '/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0002.jpg', '/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/08/image_24012025_13_08_02_765251_0002.jpg
/home/pi/Desktop/images/24012025/13/08/image_24012025_13_08_02_765251_0003.jpg
/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0000.jpg
/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0001.jpg
/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0002.jpg
/home/pi/Desktop/images/24012025/13/09/image_24012025_13_09_02_907222_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331061079","1331061052","1331061048","1331061041","1331061035","1331061085"],"photo_ids_order":["1331061035","1331061041","1331061048","1331061052","1331061079","1331061085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f0697a612ee353524a2dd968b0f810b1.jpg","text":"TemporaryFile(/tmp/multipartBody1747291167381705419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724406523,"filename":"image_24012025_13_09_02_907222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/222e691602f0fe5ee53610aedccfc79f.jpg","text":"TemporaryFile(/tmp/multipartBody7236712526910398082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724406523,"filename":"image_24012025_13_09_02_907222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1f82210d28bf9fc38659b12831eb8e2.jpg","text":"TemporaryFile(/tmp/multipartBody8900719506207051718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724406523,"filename":"image_24012025_13_09_02_907222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/420d6736bfe4ef3e0f24dda175432240.jpg","text":"TemporaryFile(/tmp/multipartBody1339663649374095989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724406523,"filename":"image_24012025_13_08_02_765251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7cb5acfb4504bb9ae7bbbd1fb9f0622a.jpg","text":"TemporaryFile(/tmp/multipartBody4768409159556217637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724406523,"filename":"image_24012025_13_08_02_765251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bca398e390ead6cda13315616aea1a44.jpg","text":"TemporaryFile(/tmp/multipartBody4542878305611212870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724406523,"filename":"image_24012025_13_09_02_907222_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331061048","file1":"1331061041","file0":"1331061035","file4":"1331061079","file5":"1331061085","file3":"1331061052"},"map_files_photo_id_array":[{"photo_id":"1331061085","filename":"file5"},{"photo_id":"1331061048","filename":"file2"},{"photo_id":"1331061079","filename":"file4"},{"photo_id":"1331061041","filename":"file1"},{"photo_id":"1331061035","filename":"file0"},{"photo_id":"1331061052","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331061079":["hashtag1","hashtag2"]},{"1331061052":["hashtag1","hashtag2"]},{"1331061048":["hashtag1","hashtag2"]},{"1331061041":["hashtag1","hashtag2"]},{"1331061035":["hashtag1","hashtag2"]},{"1331061085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331061079, 1331061052, 1331061048, 1331061041, 1331061035, 1331061085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.5829017162323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 14:13:32.367785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/10/image_24012025_13_10_03_125855_0000.jpg', '/home/pi/Desktop/images/24012025/13/10/image_24012025_13_10_03_125855_0001.jpg', '/home/pi/Desktop/images/24012025/13/10/image_24012025_13_10_03_125855_0002.jpg', '/home/pi/Desktop/images/24012025/13/10/image_24012025_13_10_03_125855_0003.jpg', '/home/pi/Desktop/images/24012025/13/11/image_24012025_13_11_02_269359_0000.jpg', '/home/pi/Desktop/images/24012025/13/11/image_24012025_13_11_02_269359_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/10/image_24012025_13_10_03_125855_0000.jpg
/home/pi/Desktop/images/24012025/13/10/image_24012025_13_10_03_125855_0001.jpg
/home/pi/Desktop/images/24012025/13/10/image_24012025_13_10_03_125855_0002.jpg
/home/pi/Desktop/images/24012025/13/10/image_24012025_13_10_03_125855_0003.jpg
/home/pi/Desktop/images/24012025/13/11/image_24012025_13_11_02_269359_0000.jpg
/home/pi/Desktop/images/24012025/13/11/image_24012025_13_11_02_269359_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331061220","1331061208","1331061312","1331061260","1331061338","1331061245"],"photo_ids_order":["1331061208","1331061220","1331061245","1331061260","1331061312","1331061338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b722dbc8cf250637bed1dcee4fa81814.jpg","text":"TemporaryFile(/tmp/multipartBody54325294418335065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724524772,"filename":"image_24012025_13_10_03_125855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1bbe3a588b315c89a49d0f3d60a99ece.jpg","text":"TemporaryFile(/tmp/multipartBody5590476652712475769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724524772,"filename":"image_24012025_13_10_03_125855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/242e712c8113f65031542681f6886522.jpg","text":"TemporaryFile(/tmp/multipartBody132902078953579220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724524772,"filename":"image_24012025_13_11_02_269359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7fb48d1f0fc34567c6c135bc192d9b92.jpg","text":"TemporaryFile(/tmp/multipartBody9167320006145452472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724524772,"filename":"image_24012025_13_10_03_125855_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e613d1e32bf7e716223c326d684eadba.jpg","text":"TemporaryFile(/tmp/multipartBody7298603292368322525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724524772,"filename":"image_24012025_13_11_02_269359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/90e17a1e30e1e6a6bfb6baa57161743c.jpg","text":"TemporaryFile(/tmp/multipartBody7642196526510037096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724524772,"filename":"image_24012025_13_10_03_125855_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331061245","file1":"1331061220","file0":"1331061208","file4":"1331061312","file5":"1331061338","file3":"1331061260"},"map_files_photo_id_array":[{"photo_id":"1331061338","filename":"file5"},{"photo_id":"1331061245","filename":"file2"},{"photo_id":"1331061312","filename":"file4"},{"photo_id":"1331061220","filename":"file1"},{"photo_id":"1331061208","filename":"file0"},{"photo_id":"1331061260","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331061220":["hashtag1","hashtag2"]},{"1331061208":["hashtag1","hashtag2"]},{"1331061312":["hashtag1","hashtag2"]},{"1331061260":["hashtag1","hashtag2"]},{"1331061338":["hashtag1","hashtag2"]},{"1331061245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331061220, 1331061208, 1331061312, 1331061260, 1331061338, 1331061245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 109.88053226470947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 14:15:32.737422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/11/image_24012025_13_11_02_269359_0002.jpg', '/home/pi/Desktop/images/24012025/13/11/image_24012025_13_11_02_269359_0003.jpg', '/home/pi/Desktop/images/24012025/13/12/image_24012025_13_12_02_472545_0000.jpg', '/home/pi/Desktop/images/24012025/13/12/image_24012025_13_12_02_472545_0001.jpg', '/home/pi/Desktop/images/24012025/13/12/image_24012025_13_12_02_472545_0002.jpg', '/home/pi/Desktop/images/24012025/13/12/image_24012025_13_12_02_472545_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/11/image_24012025_13_11_02_269359_0002.jpg
/home/pi/Desktop/images/24012025/13/11/image_24012025_13_11_02_269359_0003.jpg
/home/pi/Desktop/images/24012025/13/12/image_24012025_13_12_02_472545_0000.jpg
/home/pi/Desktop/images/24012025/13/12/image_24012025_13_12_02_472545_0001.jpg
/home/pi/Desktop/images/24012025/13/12/image_24012025_13_12_02_472545_0002.jpg
/home/pi/Desktop/images/24012025/13/12/image_24012025_13_12_02_472545_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331061568","1331061604","1331061594","1331061572","1331061581","1331061554"],"photo_ids_order":["1331061554","1331061568","1331061572","1331061581","1331061594","1331061604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c020f269f9e4a8582f482228f899ff5.jpg","text":"TemporaryFile(/tmp/multipartBody5163199190368023138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724634118,"filename":"image_24012025_13_11_02_269359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eeaad936c3a4225fe9ce2019b8f5eac0.jpg","text":"TemporaryFile(/tmp/multipartBody3035479294616008963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724634118,"filename":"image_24012025_13_12_02_472545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2e57940cb9d37fa6317712f6a2b2b844.jpg","text":"TemporaryFile(/tmp/multipartBody7005064861202243722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724634118,"filename":"image_24012025_13_12_02_472545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dae6b3b0591719717aa522facb6a3660.jpg","text":"TemporaryFile(/tmp/multipartBody9131742899691729289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724634118,"filename":"image_24012025_13_12_02_472545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/674b29603419d287e8e7e1de60f37664.jpg","text":"TemporaryFile(/tmp/multipartBody327427176073754850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724634118,"filename":"image_24012025_13_12_02_472545_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d5718e87f941b8534dcb6a3126457a6e.jpg","text":"TemporaryFile(/tmp/multipartBody1596276603492152158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724634118,"filename":"image_24012025_13_11_02_269359_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331061572","file1":"1331061568","file0":"1331061554","file4":"1331061594","file5":"1331061604","file3":"1331061581"},"map_files_photo_id_array":[{"photo_id":"1331061604","filename":"file5"},{"photo_id":"1331061572","filename":"file2"},{"photo_id":"1331061594","filename":"file4"},{"photo_id":"1331061568","filename":"file1"},{"photo_id":"1331061554","filename":"file0"},{"photo_id":"1331061581","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331061568":["hashtag1","hashtag2"]},{"1331061604":["hashtag1","hashtag2"]},{"1331061594":["hashtag1","hashtag2"]},{"1331061572":["hashtag1","hashtag2"]},{"1331061581":["hashtag1","hashtag2"]},{"1331061554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331061568, 1331061604, 1331061594, 1331061572, 1331061581, 1331061554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.21553468704224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:17:22.138890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/13/image_24012025_13_13_02_742027_0000.jpg', '/home/pi/Desktop/images/24012025/13/13/image_24012025_13_13_02_742027_0001.jpg', '/home/pi/Desktop/images/24012025/13/13/image_24012025_13_13_02_742027_0002.jpg', '/home/pi/Desktop/images/24012025/13/13/image_24012025_13_13_02_742027_0003.jpg', '/home/pi/Desktop/images/24012025/13/14/image_24012025_13_14_02_894967_0000.jpg', '/home/pi/Desktop/images/24012025/13/14/image_24012025_13_14_02_894967_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/13/image_24012025_13_13_02_742027_0000.jpg
/home/pi/Desktop/images/24012025/13/13/image_24012025_13_13_02_742027_0001.jpg
/home/pi/Desktop/images/24012025/13/13/image_24012025_13_13_02_742027_0002.jpg
/home/pi/Desktop/images/24012025/13/13/image_24012025_13_13_02_742027_0003.jpg
/home/pi/Desktop/images/24012025/13/14/image_24012025_13_14_02_894967_0000.jpg
/home/pi/Desktop/images/24012025/13/14/image_24012025_13_14_02_894967_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331061963","1331061879","1331061933","1331061896","1331061956","1331061944"],"photo_ids_order":["1331061879","1331061896","1331061933","1331061944","1331061956","1331061963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/413fdbc42fa0a4e013e73a752ec7f5ae.jpg","text":"TemporaryFile(/tmp/multipartBody2536130283999570284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724751325,"filename":"image_24012025_13_14_02_894967_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5dfb0a21f1a8fdad178d3dc1cb0bab6e.jpg","text":"TemporaryFile(/tmp/multipartBody4674159658454269848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724751325,"filename":"image_24012025_13_13_02_742027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48da21a5a033c348fa2edfe1ed7b2cfc.jpg","text":"TemporaryFile(/tmp/multipartBody5492332997999840337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724751325,"filename":"image_24012025_13_13_02_742027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/86175a966f4ff361f723878e20e4950a.jpg","text":"TemporaryFile(/tmp/multipartBody5977619590701317024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724751325,"filename":"image_24012025_13_13_02_742027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/afb79cb451267ae1beb6afa4e223368a.jpg","text":"TemporaryFile(/tmp/multipartBody5748960057497527939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724751325,"filename":"image_24012025_13_14_02_894967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5aa8d17a0cb608eba58ccdbe54604208.jpg","text":"TemporaryFile(/tmp/multipartBody4460898568361960893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724751325,"filename":"image_24012025_13_13_02_742027_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331061933","file1":"1331061896","file0":"1331061879","file4":"1331061956","file5":"1331061963","file3":"1331061944"},"map_files_photo_id_array":[{"photo_id":"1331061963","filename":"file5"},{"photo_id":"1331061933","filename":"file2"},{"photo_id":"1331061956","filename":"file4"},{"photo_id":"1331061896","filename":"file1"},{"photo_id":"1331061879","filename":"file0"},{"photo_id":"1331061944","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331061963":["hashtag1","hashtag2"]},{"1331061879":["hashtag1","hashtag2"]},{"1331061933":["hashtag1","hashtag2"]},{"1331061896":["hashtag1","hashtag2"]},{"1331061956":["hashtag1","hashtag2"]},{"1331061944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331061963, 1331061879, 1331061933, 1331061896, 1331061956, 1331061944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.17137098312378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:19:22.650177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/14/image_24012025_13_14_02_894967_0002.jpg', '/home/pi/Desktop/images/24012025/13/14/image_24012025_13_14_02_894967_0003.jpg', '/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0000.jpg', '/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0001.jpg', '/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0002.jpg', '/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/14/image_24012025_13_14_02_894967_0002.jpg
/home/pi/Desktop/images/24012025/13/14/image_24012025_13_14_02_894967_0003.jpg
/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0000.jpg
/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0001.jpg
/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0002.jpg
/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0003.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 48.44622206687927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:20:22.763885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/14/image_24012025_13_14_02_894967_0002.jpg', '/home/pi/Desktop/images/24012025/13/14/image_24012025_13_14_02_894967_0003.jpg', '/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0000.jpg', '/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0001.jpg', '/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0002.jpg', '/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/14/image_24012025_13_14_02_894967_0002.jpg
/home/pi/Desktop/images/24012025/13/14/image_24012025_13_14_02_894967_0003.jpg
/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0000.jpg
/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0001.jpg
/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0002.jpg
/home/pi/Desktop/images/24012025/13/15/image_24012025_13_15_03_116679_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331062743","1331062488","1331063032","1331063029","1331062939","1331063040"],"photo_ids_order":["1331062488","1331062743","1331062939","1331063029","1331063032","1331063040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e858a0a0b9536a07c777744d68577e05.jpg","text":"TemporaryFile(/tmp/multipartBody3706813524652459450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724922378,"filename":"image_24012025_13_14_02_894967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6d656d26ad7f0015a7d402c4b81411f1.jpg","text":"TemporaryFile(/tmp/multipartBody958229105612658181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724922378,"filename":"image_24012025_13_14_02_894967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c0f21183f24a3eef9de8e82e83c7b31.jpg","text":"TemporaryFile(/tmp/multipartBody1702613102810765525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724922378,"filename":"image_24012025_13_15_03_116679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4da16e186dfdd6b3e42d3ff12a2c0e80.jpg","text":"TemporaryFile(/tmp/multipartBody5877853769006465442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724922378,"filename":"image_24012025_13_15_03_116679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bc76a353e328b433ce161bb5e3c93fdf.jpg","text":"TemporaryFile(/tmp/multipartBody8399324677380000742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724922378,"filename":"image_24012025_13_15_03_116679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ce6079fc90466cd90e04f67522c4ca7.jpg","text":"TemporaryFile(/tmp/multipartBody5835231668008396044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737724922378,"filename":"image_24012025_13_15_03_116679_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331062939","file1":"1331062743","file0":"1331062488","file4":"1331063032","file5":"1331063040","file3":"1331063029"},"map_files_photo_id_array":[{"photo_id":"1331063040","filename":"file5"},{"photo_id":"1331062939","filename":"file2"},{"photo_id":"1331063032","filename":"file4"},{"photo_id":"1331062743","filename":"file1"},{"photo_id":"1331062488","filename":"file0"},{"photo_id":"1331063029","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331062743":["hashtag1","hashtag2"]},{"1331062488":["hashtag1","hashtag2"]},{"1331063032":["hashtag1","hashtag2"]},{"1331063029":["hashtag1","hashtag2"]},{"1331062939":["hashtag1","hashtag2"]},{"1331063040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331062743, 1331062488, 1331063032, 1331063029, 1331062939, 1331063040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.44286966323853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 14:22:02.540494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/16/image_24012025_13_16_02_350016_0000.jpg', '/home/pi/Desktop/images/24012025/13/16/image_24012025_13_16_02_350016_0001.jpg', '/home/pi/Desktop/images/24012025/13/16/image_24012025_13_16_02_350016_0002.jpg', '/home/pi/Desktop/images/24012025/13/16/image_24012025_13_16_02_350016_0003.jpg', '/home/pi/Desktop/images/24012025/13/17/image_24012025_13_17_02_499108_0000.jpg', '/home/pi/Desktop/images/24012025/13/17/image_24012025_13_17_02_499108_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/16/image_24012025_13_16_02_350016_0000.jpg
/home/pi/Desktop/images/24012025/13/16/image_24012025_13_16_02_350016_0001.jpg
/home/pi/Desktop/images/24012025/13/16/image_24012025_13_16_02_350016_0002.jpg
/home/pi/Desktop/images/24012025/13/16/image_24012025_13_16_02_350016_0003.jpg
/home/pi/Desktop/images/24012025/13/17/image_24012025_13_17_02_499108_0000.jpg
/home/pi/Desktop/images/24012025/13/17/image_24012025_13_17_02_499108_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331063502","1331063510","1331063249","1331063431","1331063425","1331063410"],"photo_ids_order":["1331063249","1331063410","1331063425","1331063431","1331063502","1331063510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bad0be68458104592034ab4b56f6ac7e.jpg","text":"TemporaryFile(/tmp/multipartBody3580599439519338118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725023905,"filename":"image_24012025_13_17_02_499108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c4bc210d4b7cb1f371b70feba31afb39.jpg","text":"TemporaryFile(/tmp/multipartBody8913980156078281574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725023905,"filename":"image_24012025_13_17_02_499108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee2308f88265073eeff6e0aa746e98ed.jpg","text":"TemporaryFile(/tmp/multipartBody2815466203064595190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725023905,"filename":"image_24012025_13_16_02_350016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ffbecb307b5e122053e8b7fbb655046d.jpg","text":"TemporaryFile(/tmp/multipartBody4363749013265419239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725023905,"filename":"image_24012025_13_16_02_350016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/412ee554ce8dc703a8addb538d66bf35.jpg","text":"TemporaryFile(/tmp/multipartBody2431050321374974313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725023905,"filename":"image_24012025_13_16_02_350016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af75bea1f60224c434d924e4ba5c54b6.jpg","text":"TemporaryFile(/tmp/multipartBody4450410501937396732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725023905,"filename":"image_24012025_13_16_02_350016_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331063425","file1":"1331063410","file0":"1331063249","file4":"1331063502","file5":"1331063510","file3":"1331063431"},"map_files_photo_id_array":[{"photo_id":"1331063510","filename":"file5"},{"photo_id":"1331063425","filename":"file2"},{"photo_id":"1331063502","filename":"file4"},{"photo_id":"1331063410","filename":"file1"},{"photo_id":"1331063249","filename":"file0"},{"photo_id":"1331063431","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331063502":["hashtag1","hashtag2"]},{"1331063510":["hashtag1","hashtag2"]},{"1331063249":["hashtag1","hashtag2"]},{"1331063431":["hashtag1","hashtag2"]},{"1331063425":["hashtag1","hashtag2"]},{"1331063410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331063502, 1331063510, 1331063249, 1331063431, 1331063425, 1331063410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.16103219985962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 14:23:42.354744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/17/image_24012025_13_17_02_499108_0002.jpg', '/home/pi/Desktop/images/24012025/13/17/image_24012025_13_17_02_499108_0003.jpg', '/home/pi/Desktop/images/24012025/13/18/image_24012025_13_18_02_639162_0000.jpg', '/home/pi/Desktop/images/24012025/13/18/image_24012025_13_18_02_639162_0001.jpg', '/home/pi/Desktop/images/24012025/13/18/image_24012025_13_18_02_639162_0002.jpg', '/home/pi/Desktop/images/24012025/13/18/image_24012025_13_18_02_639162_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/17/image_24012025_13_17_02_499108_0002.jpg
/home/pi/Desktop/images/24012025/13/17/image_24012025_13_17_02_499108_0003.jpg
/home/pi/Desktop/images/24012025/13/18/image_24012025_13_18_02_639162_0000.jpg
/home/pi/Desktop/images/24012025/13/18/image_24012025_13_18_02_639162_0001.jpg
/home/pi/Desktop/images/24012025/13/18/image_24012025_13_18_02_639162_0002.jpg
/home/pi/Desktop/images/24012025/13/18/image_24012025_13_18_02_639162_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331063631","1331063628","1331063657","1331063645","1331063650","1331063637"],"photo_ids_order":["1331063628","1331063631","1331063637","1331063645","1331063650","1331063657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cbd0b207ec2420bd0f38af523950ed09.jpg","text":"TemporaryFile(/tmp/multipartBody1600617600527306024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725127158,"filename":"image_24012025_13_17_02_499108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc435a9fbeae95bd6f4f2c9d156d81b5.jpg","text":"TemporaryFile(/tmp/multipartBody1937262610843958481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725127158,"filename":"image_24012025_13_17_02_499108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/64c0b1fc40f79cd1458faa44c76bdf4c.jpg","text":"TemporaryFile(/tmp/multipartBody4216622309814384316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725127158,"filename":"image_24012025_13_18_02_639162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6bfd6ce751fe6434869d921e10df597b.jpg","text":"TemporaryFile(/tmp/multipartBody4474070814490594644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725127158,"filename":"image_24012025_13_18_02_639162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d764fff5bf1820b77840f4857fb14a9d.jpg","text":"TemporaryFile(/tmp/multipartBody3466234061280418723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725127158,"filename":"image_24012025_13_18_02_639162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0ac6328c5bd66f0623398a0c6799ef98.jpg","text":"TemporaryFile(/tmp/multipartBody5344039172905606866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725127158,"filename":"image_24012025_13_18_02_639162_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331063637","file1":"1331063631","file0":"1331063628","file4":"1331063650","file5":"1331063657","file3":"1331063645"},"map_files_photo_id_array":[{"photo_id":"1331063657","filename":"file5"},{"photo_id":"1331063637","filename":"file2"},{"photo_id":"1331063650","filename":"file4"},{"photo_id":"1331063631","filename":"file1"},{"photo_id":"1331063628","filename":"file0"},{"photo_id":"1331063645","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331063631":["hashtag1","hashtag2"]},{"1331063628":["hashtag1","hashtag2"]},{"1331063657":["hashtag1","hashtag2"]},{"1331063645":["hashtag1","hashtag2"]},{"1331063650":["hashtag1","hashtag2"]},{"1331063637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331063631, 1331063628, 1331063657, 1331063645, 1331063650, 1331063637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.1786847114563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 14:25:32.604549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/19/image_24012025_13_19_02_851080_0000.jpg', '/home/pi/Desktop/images/24012025/13/19/image_24012025_13_19_02_851080_0001.jpg', '/home/pi/Desktop/images/24012025/13/19/image_24012025_13_19_02_851080_0002.jpg', '/home/pi/Desktop/images/24012025/13/19/image_24012025_13_19_02_851080_0003.jpg', '/home/pi/Desktop/images/24012025/13/20/image_24012025_13_20_02_987873_0000.jpg', '/home/pi/Desktop/images/24012025/13/20/image_24012025_13_20_02_987873_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/19/image_24012025_13_19_02_851080_0000.jpg
/home/pi/Desktop/images/24012025/13/19/image_24012025_13_19_02_851080_0001.jpg
/home/pi/Desktop/images/24012025/13/19/image_24012025_13_19_02_851080_0002.jpg
/home/pi/Desktop/images/24012025/13/19/image_24012025_13_19_02_851080_0003.jpg
/home/pi/Desktop/images/24012025/13/20/image_24012025_13_20_02_987873_0000.jpg
/home/pi/Desktop/images/24012025/13/20/image_24012025_13_20_02_987873_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331063730","1331063748","1331063814","1331063723","1331063754","1331063778"],"photo_ids_order":["1331063723","1331063730","1331063748","1331063754","1331063778","1331063814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/81e5fe5b553d17a5765246fd25dacddc.jpg","text":"TemporaryFile(/tmp/multipartBody8170206886333451176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725231469,"filename":"image_24012025_13_19_02_851080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c90e8c0cadda1f2cb0d63c479c653f19.jpg","text":"TemporaryFile(/tmp/multipartBody7096340501419287156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725231469,"filename":"image_24012025_13_19_02_851080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed9bf0a164f92c3fecca763c310565e3.jpg","text":"TemporaryFile(/tmp/multipartBody6683043241307390829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725231469,"filename":"image_24012025_13_20_02_987873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4213aa503a58dee9814088844008f437.jpg","text":"TemporaryFile(/tmp/multipartBody5178356189360919086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725231469,"filename":"image_24012025_13_19_02_851080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/723909cc55e303bb5c4abcfcaaa9cd52.jpg","text":"TemporaryFile(/tmp/multipartBody7307617719319611476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725231469,"filename":"image_24012025_13_19_02_851080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6315de89213c195c8cbeb545dffb3c58.jpg","text":"TemporaryFile(/tmp/multipartBody3190490152778016127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725231469,"filename":"image_24012025_13_20_02_987873_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331063748","file1":"1331063730","file0":"1331063723","file4":"1331063778","file5":"1331063814","file3":"1331063754"},"map_files_photo_id_array":[{"photo_id":"1331063814","filename":"file5"},{"photo_id":"1331063748","filename":"file2"},{"photo_id":"1331063778","filename":"file4"},{"photo_id":"1331063730","filename":"file1"},{"photo_id":"1331063723","filename":"file0"},{"photo_id":"1331063754","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331063730":["hashtag1","hashtag2"]},{"1331063748":["hashtag1","hashtag2"]},{"1331063814":["hashtag1","hashtag2"]},{"1331063723":["hashtag1","hashtag2"]},{"1331063754":["hashtag1","hashtag2"]},{"1331063778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331063730, 1331063748, 1331063814, 1331063723, 1331063754, 1331063778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.38216066360474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:27:22.012785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/20/image_24012025_13_20_02_987873_0002.jpg', '/home/pi/Desktop/images/24012025/13/20/image_24012025_13_20_02_987873_0003.jpg', '/home/pi/Desktop/images/24012025/13/21/image_24012025_13_21_02_267136_0000.jpg', '/home/pi/Desktop/images/24012025/13/21/image_24012025_13_21_02_267136_0001.jpg', '/home/pi/Desktop/images/24012025/13/21/image_24012025_13_21_02_267136_0002.jpg', '/home/pi/Desktop/images/24012025/13/21/image_24012025_13_21_02_267136_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/20/image_24012025_13_20_02_987873_0002.jpg
/home/pi/Desktop/images/24012025/13/20/image_24012025_13_20_02_987873_0003.jpg
/home/pi/Desktop/images/24012025/13/21/image_24012025_13_21_02_267136_0000.jpg
/home/pi/Desktop/images/24012025/13/21/image_24012025_13_21_02_267136_0001.jpg
/home/pi/Desktop/images/24012025/13/21/image_24012025_13_21_02_267136_0002.jpg
/home/pi/Desktop/images/24012025/13/21/image_24012025_13_21_02_267136_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331064086","1331064119","1331064121","1331064070","1331064112","1331064117"],"photo_ids_order":["1331064070","1331064086","1331064112","1331064117","1331064119","1331064121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee422425e7ff3c5af2ebdb381510ddc5.jpg","text":"TemporaryFile(/tmp/multipartBody3739648113171850695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725357155,"filename":"image_24012025_13_20_02_987873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/31cc83bffe0cba0243b48358931fcee2.jpg","text":"TemporaryFile(/tmp/multipartBody2825547641837470530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725357155,"filename":"image_24012025_13_21_02_267136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c98f0624b08c52db3a72f674aecb34f.jpg","text":"TemporaryFile(/tmp/multipartBody2175707830836456916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725357155,"filename":"image_24012025_13_21_02_267136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/759f550001783ba6a8d40a096a4785b7.jpg","text":"TemporaryFile(/tmp/multipartBody4047681326510179056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725357155,"filename":"image_24012025_13_20_02_987873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e222f8fb206adeb716e4b4f44f708cdf.jpg","text":"TemporaryFile(/tmp/multipartBody275448153906009449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725357155,"filename":"image_24012025_13_21_02_267136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7fae4ea7087450539e02ac8fedf3e99d.jpg","text":"TemporaryFile(/tmp/multipartBody561877583911350934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725357155,"filename":"image_24012025_13_21_02_267136_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331064112","file1":"1331064086","file0":"1331064070","file4":"1331064119","file5":"1331064121","file3":"1331064117"},"map_files_photo_id_array":[{"photo_id":"1331064121","filename":"file5"},{"photo_id":"1331064112","filename":"file2"},{"photo_id":"1331064119","filename":"file4"},{"photo_id":"1331064086","filename":"file1"},{"photo_id":"1331064070","filename":"file0"},{"photo_id":"1331064117","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331064086":["hashtag1","hashtag2"]},{"1331064119":["hashtag1","hashtag2"]},{"1331064121":["hashtag1","hashtag2"]},{"1331064070":["hashtag1","hashtag2"]},{"1331064112":["hashtag1","hashtag2"]},{"1331064117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331064086, 1331064119, 1331064121, 1331064070, 1331064112, 1331064117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 112.2434983253479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:29:22.490910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/22/image_24012025_13_22_02_421024_0000.jpg', '/home/pi/Desktop/images/24012025/13/22/image_24012025_13_22_02_421024_0001.jpg', '/home/pi/Desktop/images/24012025/13/22/image_24012025_13_22_02_421024_0002.jpg', '/home/pi/Desktop/images/24012025/13/22/image_24012025_13_22_02_421024_0003.jpg', '/home/pi/Desktop/images/24012025/13/23/image_24012025_13_23_02_517846_0000.jpg', '/home/pi/Desktop/images/24012025/13/23/image_24012025_13_23_02_517846_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/22/image_24012025_13_22_02_421024_0000.jpg
/home/pi/Desktop/images/24012025/13/22/image_24012025_13_22_02_421024_0001.jpg
/home/pi/Desktop/images/24012025/13/22/image_24012025_13_22_02_421024_0002.jpg
/home/pi/Desktop/images/24012025/13/22/image_24012025_13_22_02_421024_0003.jpg
/home/pi/Desktop/images/24012025/13/23/image_24012025_13_23_02_517846_0000.jpg
/home/pi/Desktop/images/24012025/13/23/image_24012025_13_23_02_517846_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331064229","1331064304","1331064288","1331064267","1331064309","1331064299"],"photo_ids_order":["1331064229","1331064267","1331064288","1331064299","1331064304","1331064309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ba9e6ab954d457817453fd279cb38c16.jpg","text":"TemporaryFile(/tmp/multipartBody6800803778769741563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725466598,"filename":"image_24012025_13_22_02_421024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a7ef2b0e08fed492a09fe957efd42aa.jpg","text":"TemporaryFile(/tmp/multipartBody8264455788846247746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725466598,"filename":"image_24012025_13_23_02_517846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b4efe51b9ab239baecd584da801b8b8.jpg","text":"TemporaryFile(/tmp/multipartBody4796041622484438630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725466598,"filename":"image_24012025_13_22_02_421024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/80a4bbc37d0e352353aa9a3e05a50016.jpg","text":"TemporaryFile(/tmp/multipartBody6052362289305868388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725466598,"filename":"image_24012025_13_22_02_421024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2e5d3b8a545de96139669b7de10691db.jpg","text":"TemporaryFile(/tmp/multipartBody6290190281821246873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725466598,"filename":"image_24012025_13_23_02_517846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/758e804acced37754b6f745713fdff9c.jpg","text":"TemporaryFile(/tmp/multipartBody3362703452919928888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725466598,"filename":"image_24012025_13_22_02_421024_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331064288","file1":"1331064267","file0":"1331064229","file4":"1331064304","file5":"1331064309","file3":"1331064299"},"map_files_photo_id_array":[{"photo_id":"1331064309","filename":"file5"},{"photo_id":"1331064288","filename":"file2"},{"photo_id":"1331064304","filename":"file4"},{"photo_id":"1331064267","filename":"file1"},{"photo_id":"1331064229","filename":"file0"},{"photo_id":"1331064299","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331064229":["hashtag1","hashtag2"]},{"1331064304":["hashtag1","hashtag2"]},{"1331064288":["hashtag1","hashtag2"]},{"1331064267":["hashtag1","hashtag2"]},{"1331064309":["hashtag1","hashtag2"]},{"1331064299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331064229, 1331064304, 1331064288, 1331064267, 1331064309, 1331064299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.55771780014038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:31:22.791855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/23/image_24012025_13_23_02_517846_0002.jpg', '/home/pi/Desktop/images/24012025/13/23/image_24012025_13_23_02_517846_0003.jpg', '/home/pi/Desktop/images/24012025/13/24/image_24012025_13_24_02_818102_0000.jpg', '/home/pi/Desktop/images/24012025/13/24/image_24012025_13_24_02_818102_0001.jpg', '/home/pi/Desktop/images/24012025/13/24/image_24012025_13_24_02_818102_0002.jpg', '/home/pi/Desktop/images/24012025/13/24/image_24012025_13_24_02_818102_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/23/image_24012025_13_23_02_517846_0002.jpg
/home/pi/Desktop/images/24012025/13/23/image_24012025_13_23_02_517846_0003.jpg
/home/pi/Desktop/images/24012025/13/24/image_24012025_13_24_02_818102_0000.jpg
/home/pi/Desktop/images/24012025/13/24/image_24012025_13_24_02_818102_0001.jpg
/home/pi/Desktop/images/24012025/13/24/image_24012025_13_24_02_818102_0002.jpg
/home/pi/Desktop/images/24012025/13/24/image_24012025_13_24_02_818102_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331064386","1331064371","1331064350","1331064358","1331064381","1331064366"],"photo_ids_order":["1331064350","1331064358","1331064366","1331064371","1331064381","1331064386"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12aff9a87bd1c86a72469557e45fc553.jpg","text":"TemporaryFile(/tmp/multipartBody2280749125029622729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725596318,"filename":"image_24012025_13_24_02_818102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/abe8743116d5f30aa5cdc72ed7e08f62.jpg","text":"TemporaryFile(/tmp/multipartBody8463845707374900875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725596318,"filename":"image_24012025_13_24_02_818102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c4249f796dd46bd16fbc21c0424439a4.jpg","text":"TemporaryFile(/tmp/multipartBody3225177461586051651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725596318,"filename":"image_24012025_13_23_02_517846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da07eada24363cbccb7cfedb29f8f5e9.jpg","text":"TemporaryFile(/tmp/multipartBody6915573722397124308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725596318,"filename":"image_24012025_13_23_02_517846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab4bdc48f75bada79081f426db8bf313.jpg","text":"TemporaryFile(/tmp/multipartBody7820484419089897393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725596318,"filename":"image_24012025_13_24_02_818102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e872aae29b70fa11c613d5270c0decd.jpg","text":"TemporaryFile(/tmp/multipartBody1226174786075463252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725596318,"filename":"image_24012025_13_24_02_818102_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331064366","file1":"1331064358","file0":"1331064350","file4":"1331064381","file5":"1331064386","file3":"1331064371"},"map_files_photo_id_array":[{"photo_id":"1331064386","filename":"file5"},{"photo_id":"1331064366","filename":"file2"},{"photo_id":"1331064381","filename":"file4"},{"photo_id":"1331064358","filename":"file1"},{"photo_id":"1331064350","filename":"file0"},{"photo_id":"1331064371","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331064386":["hashtag1","hashtag2"]},{"1331064371":["hashtag1","hashtag2"]},{"1331064350":["hashtag1","hashtag2"]},{"1331064358":["hashtag1","hashtag2"]},{"1331064381":["hashtag1","hashtag2"]},{"1331064366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331064386, 1331064371, 1331064350, 1331064358, 1331064381, 1331064366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 110.49694848060608 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:33:22.165684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/25/image_24012025_13_25_02_956946_0000.jpg', '/home/pi/Desktop/images/24012025/13/25/image_24012025_13_25_02_956946_0001.jpg', '/home/pi/Desktop/images/24012025/13/25/image_24012025_13_25_02_956946_0002.jpg', '/home/pi/Desktop/images/24012025/13/25/image_24012025_13_25_02_956946_0003.jpg', '/home/pi/Desktop/images/24012025/13/26/image_24012025_13_26_03_108544_0000.jpg', '/home/pi/Desktop/images/24012025/13/26/image_24012025_13_26_03_108544_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/25/image_24012025_13_25_02_956946_0000.jpg
/home/pi/Desktop/images/24012025/13/25/image_24012025_13_25_02_956946_0001.jpg
/home/pi/Desktop/images/24012025/13/25/image_24012025_13_25_02_956946_0002.jpg
/home/pi/Desktop/images/24012025/13/25/image_24012025_13_25_02_956946_0003.jpg
/home/pi/Desktop/images/24012025/13/26/image_24012025_13_26_03_108544_0000.jpg
/home/pi/Desktop/images/24012025/13/26/image_24012025_13_26_03_108544_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331064431","1331064451","1331064442","1331064462","1331064456","1331064570"],"photo_ids_order":["1331064431","1331064442","1331064451","1331064456","1331064462","1331064570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9eb9469861cad19937066da60de507f1.jpg","text":"TemporaryFile(/tmp/multipartBody1592896145885015277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725715376,"filename":"image_24012025_13_25_02_956946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc0e07c6bdaa9b093e74fc242026b909.jpg","text":"TemporaryFile(/tmp/multipartBody8898741802401723124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725715376,"filename":"image_24012025_13_25_02_956946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0c7dfa45ef830c60f95b7d0cc3fde88.jpg","text":"TemporaryFile(/tmp/multipartBody7367314190678064577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725715376,"filename":"image_24012025_13_25_02_956946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/85e3d4c8bb8687ac894f6e6da0d91cb8.jpg","text":"TemporaryFile(/tmp/multipartBody6547262664984892954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725715376,"filename":"image_24012025_13_26_03_108544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f77282763ccd8e9d8b296efa07c0de19.jpg","text":"TemporaryFile(/tmp/multipartBody9020788857584540489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725715376,"filename":"image_24012025_13_25_02_956946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0e7e35d18c57ab43a1a81266224a5764.jpg","text":"TemporaryFile(/tmp/multipartBody6865394003987650130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725715376,"filename":"image_24012025_13_26_03_108544_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331064451","file1":"1331064442","file0":"1331064431","file4":"1331064462","file5":"1331064570","file3":"1331064456"},"map_files_photo_id_array":[{"photo_id":"1331064570","filename":"file5"},{"photo_id":"1331064451","filename":"file2"},{"photo_id":"1331064462","filename":"file4"},{"photo_id":"1331064442","filename":"file1"},{"photo_id":"1331064431","filename":"file0"},{"photo_id":"1331064456","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331064431":["hashtag1","hashtag2"]},{"1331064451":["hashtag1","hashtag2"]},{"1331064442":["hashtag1","hashtag2"]},{"1331064462":["hashtag1","hashtag2"]},{"1331064456":["hashtag1","hashtag2"]},{"1331064570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331064431, 1331064451, 1331064442, 1331064462, 1331064456, 1331064570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.7759439945221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:35:22.557518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/26/image_24012025_13_26_03_108544_0002.jpg', '/home/pi/Desktop/images/24012025/13/26/image_24012025_13_26_03_108544_0003.jpg', '/home/pi/Desktop/images/24012025/13/27/image_24012025_13_27_02_326195_0000.jpg', '/home/pi/Desktop/images/24012025/13/27/image_24012025_13_27_02_326195_0001.jpg', '/home/pi/Desktop/images/24012025/13/27/image_24012025_13_27_02_326195_0002.jpg', '/home/pi/Desktop/images/24012025/13/27/image_24012025_13_27_02_326195_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/26/image_24012025_13_26_03_108544_0002.jpg
/home/pi/Desktop/images/24012025/13/26/image_24012025_13_26_03_108544_0003.jpg
/home/pi/Desktop/images/24012025/13/27/image_24012025_13_27_02_326195_0000.jpg
/home/pi/Desktop/images/24012025/13/27/image_24012025_13_27_02_326195_0001.jpg
/home/pi/Desktop/images/24012025/13/27/image_24012025_13_27_02_326195_0002.jpg
/home/pi/Desktop/images/24012025/13/27/image_24012025_13_27_02_326195_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331065183","1331064926","1331064979","1331064955","1331065056","1331064897"],"photo_ids_order":["1331064897","1331064926","1331064955","1331064979","1331065056","1331065183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0637f222434a3e153c8c1c9069515a6.jpg","text":"TemporaryFile(/tmp/multipartBody381601801559903816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725825777,"filename":"image_24012025_13_27_02_326195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9aa4eb3c6896b497544f956942465fd8.jpg","text":"TemporaryFile(/tmp/multipartBody7990610161289119470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725825777,"filename":"image_24012025_13_26_03_108544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c624faf8ceb2d4d04df8766b72651967.jpg","text":"TemporaryFile(/tmp/multipartBody7275036203899752544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725825777,"filename":"image_24012025_13_27_02_326195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5146f110461ffdf6e436c7dd8bc0ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5634199318427562450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725825777,"filename":"image_24012025_13_27_02_326195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eb98161a4c975292d4b8b5f3e8c4c91d.jpg","text":"TemporaryFile(/tmp/multipartBody5317595814507786172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725825777,"filename":"image_24012025_13_27_02_326195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c398777adfe23ec27b4830eb7d098f79.jpg","text":"TemporaryFile(/tmp/multipartBody7769688264297888308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725825777,"filename":"image_24012025_13_26_03_108544_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331064955","file1":"1331064926","file0":"1331064897","file4":"1331065056","file5":"1331065183","file3":"1331064979"},"map_files_photo_id_array":[{"photo_id":"1331065183","filename":"file5"},{"photo_id":"1331064955","filename":"file2"},{"photo_id":"1331065056","filename":"file4"},{"photo_id":"1331064926","filename":"file1"},{"photo_id":"1331064897","filename":"file0"},{"photo_id":"1331064979","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331065183":["hashtag1","hashtag2"]},{"1331064926":["hashtag1","hashtag2"]},{"1331064979":["hashtag1","hashtag2"]},{"1331064955":["hashtag1","hashtag2"]},{"1331065056":["hashtag1","hashtag2"]},{"1331064897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331065183, 1331064926, 1331064979, 1331064955, 1331065056, 1331064897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.16297101974487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 14:37:02.407949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/28/image_24012025_13_28_02_487912_0000.jpg', '/home/pi/Desktop/images/24012025/13/28/image_24012025_13_28_02_487912_0001.jpg', '/home/pi/Desktop/images/24012025/13/28/image_24012025_13_28_02_487912_0002.jpg', '/home/pi/Desktop/images/24012025/13/28/image_24012025_13_28_02_487912_0003.jpg', '/home/pi/Desktop/images/24012025/13/29/image_24012025_13_29_02_673039_0000.jpg', '/home/pi/Desktop/images/24012025/13/29/image_24012025_13_29_02_673039_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/28/image_24012025_13_28_02_487912_0000.jpg
/home/pi/Desktop/images/24012025/13/28/image_24012025_13_28_02_487912_0001.jpg
/home/pi/Desktop/images/24012025/13/28/image_24012025_13_28_02_487912_0002.jpg
/home/pi/Desktop/images/24012025/13/28/image_24012025_13_28_02_487912_0003.jpg
/home/pi/Desktop/images/24012025/13/29/image_24012025_13_29_02_673039_0000.jpg
/home/pi/Desktop/images/24012025/13/29/image_24012025_13_29_02_673039_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331065405","1331065501","1331065386","1331065368","1331065347","1331065419"],"photo_ids_order":["1331065347","1331065368","1331065386","1331065405","1331065419","1331065501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63dcc52c7898a978decd7393a3f0de44.jpg","text":"TemporaryFile(/tmp/multipartBody3150814078695561855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725927553,"filename":"image_24012025_13_28_02_487912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6d269078a089896aa5007b4ea62639f2.jpg","text":"TemporaryFile(/tmp/multipartBody8739794883776739465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725927553,"filename":"image_24012025_13_29_02_673039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c3eb12ee41918623e1270deb5120c31a.jpg","text":"TemporaryFile(/tmp/multipartBody7101387696824275666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725927553,"filename":"image_24012025_13_28_02_487912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/238e2d6151928ae67176155d831c16ea.jpg","text":"TemporaryFile(/tmp/multipartBody6749387630443074726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725927553,"filename":"image_24012025_13_28_02_487912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/477250d6dbf7dc1a80e67e6c4f36cf4c.jpg","text":"TemporaryFile(/tmp/multipartBody5008678399865740261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725927553,"filename":"image_24012025_13_28_02_487912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39eaa8193a640681cba5d22e5a201d97.jpg","text":"TemporaryFile(/tmp/multipartBody404712250373418054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737725927553,"filename":"image_24012025_13_29_02_673039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331065386","file1":"1331065368","file0":"1331065347","file4":"1331065419","file5":"1331065501","file3":"1331065405"},"map_files_photo_id_array":[{"photo_id":"1331065501","filename":"file5"},{"photo_id":"1331065386","filename":"file2"},{"photo_id":"1331065419","filename":"file4"},{"photo_id":"1331065368","filename":"file1"},{"photo_id":"1331065347","filename":"file0"},{"photo_id":"1331065405","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331065405":["hashtag1","hashtag2"]},{"1331065501":["hashtag1","hashtag2"]},{"1331065386":["hashtag1","hashtag2"]},{"1331065368":["hashtag1","hashtag2"]},{"1331065347":["hashtag1","hashtag2"]},{"1331065419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331065405, 1331065501, 1331065386, 1331065368, 1331065347, 1331065419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.67593669891357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 14:38:51.935590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/29/image_24012025_13_29_02_673039_0002.jpg', '/home/pi/Desktop/images/24012025/13/29/image_24012025_13_29_02_673039_0003.jpg', '/home/pi/Desktop/images/24012025/13/30/image_24012025_13_30_02_877747_0000.jpg', '/home/pi/Desktop/images/24012025/13/30/image_24012025_13_30_02_877747_0001.jpg', '/home/pi/Desktop/images/24012025/13/30/image_24012025_13_30_02_877747_0002.jpg', '/home/pi/Desktop/images/24012025/13/30/image_24012025_13_30_02_877747_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/29/image_24012025_13_29_02_673039_0002.jpg
/home/pi/Desktop/images/24012025/13/29/image_24012025_13_29_02_673039_0003.jpg
/home/pi/Desktop/images/24012025/13/30/image_24012025_13_30_02_877747_0000.jpg
/home/pi/Desktop/images/24012025/13/30/image_24012025_13_30_02_877747_0001.jpg
/home/pi/Desktop/images/24012025/13/30/image_24012025_13_30_02_877747_0002.jpg
/home/pi/Desktop/images/24012025/13/30/image_24012025_13_30_02_877747_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331065709","1331065717","1331065689","1331065683","1331065665","1331065670"],"photo_ids_order":["1331065665","1331065670","1331065683","1331065689","1331065709","1331065717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d987771c006e9e105658563e1fa61ca.jpg","text":"TemporaryFile(/tmp/multipartBody3446704243933210911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726034373,"filename":"image_24012025_13_30_02_877747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f207b57765536f86e2eb2d2259a125d.jpg","text":"TemporaryFile(/tmp/multipartBody8235769489635547133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726034373,"filename":"image_24012025_13_30_02_877747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b052c6dac1e1e6ee1f51c467cb1d62a1.jpg","text":"TemporaryFile(/tmp/multipartBody1447778677298453816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726034373,"filename":"image_24012025_13_30_02_877747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/76f3c72c0822fc049f157030c45a1ad8.jpg","text":"TemporaryFile(/tmp/multipartBody3476802042873179945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726034373,"filename":"image_24012025_13_30_02_877747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/155fd8c91372ed065cbf7e1ee7a5c99e.jpg","text":"TemporaryFile(/tmp/multipartBody3143908124936992775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726034373,"filename":"image_24012025_13_29_02_673039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f93bfb7ae2e7ad2b5d7b02525174a27f.jpg","text":"TemporaryFile(/tmp/multipartBody4815419099970091025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726034373,"filename":"image_24012025_13_29_02_673039_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331065683","file1":"1331065670","file0":"1331065665","file4":"1331065709","file5":"1331065717","file3":"1331065689"},"map_files_photo_id_array":[{"photo_id":"1331065717","filename":"file5"},{"photo_id":"1331065683","filename":"file2"},{"photo_id":"1331065709","filename":"file4"},{"photo_id":"1331065670","filename":"file1"},{"photo_id":"1331065665","filename":"file0"},{"photo_id":"1331065689","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331065709":["hashtag1","hashtag2"]},{"1331065717":["hashtag1","hashtag2"]},{"1331065689":["hashtag1","hashtag2"]},{"1331065683":["hashtag1","hashtag2"]},{"1331065665":["hashtag1","hashtag2"]},{"1331065670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331065709, 1331065717, 1331065689, 1331065683, 1331065665, 1331065670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.03114032745361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 14:40:32.260657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/31/image_24012025_13_31_03_033033_0000.jpg', '/home/pi/Desktop/images/24012025/13/31/image_24012025_13_31_03_033033_0001.jpg', '/home/pi/Desktop/images/24012025/13/31/image_24012025_13_31_03_033033_0002.jpg', '/home/pi/Desktop/images/24012025/13/31/image_24012025_13_31_03_033033_0003.jpg', '/home/pi/Desktop/images/24012025/13/32/image_24012025_13_32_02_221465_0000.jpg', '/home/pi/Desktop/images/24012025/13/32/image_24012025_13_32_02_221465_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/31/image_24012025_13_31_03_033033_0000.jpg
/home/pi/Desktop/images/24012025/13/31/image_24012025_13_31_03_033033_0001.jpg
/home/pi/Desktop/images/24012025/13/31/image_24012025_13_31_03_033033_0002.jpg
/home/pi/Desktop/images/24012025/13/31/image_24012025_13_31_03_033033_0003.jpg
/home/pi/Desktop/images/24012025/13/32/image_24012025_13_32_02_221465_0000.jpg
/home/pi/Desktop/images/24012025/13/32/image_24012025_13_32_02_221465_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331065850","1331065832","1331065843","1331065839","1331065847","1331065856"],"photo_ids_order":["1331065832","1331065839","1331065843","1331065847","1331065850","1331065856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7a86b78ea236e5b06a1c2fd909f5116d.jpg","text":"TemporaryFile(/tmp/multipartBody4946889656918577577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726144227,"filename":"image_24012025_13_32_02_221465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd479adc8cddab6fddcd45b64369de94.jpg","text":"TemporaryFile(/tmp/multipartBody8313015571400487207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726144227,"filename":"image_24012025_13_31_03_033033_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0bef910c4150c433269a54e069b49e50.jpg","text":"TemporaryFile(/tmp/multipartBody9013944492466988409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726144227,"filename":"image_24012025_13_31_03_033033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/14e4f67d4bd4b1f9ff448a3cc2f25332.jpg","text":"TemporaryFile(/tmp/multipartBody1534938096270647568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726144227,"filename":"image_24012025_13_31_03_033033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d55ba87daa7f67b4e850b9c89ea1b3cc.jpg","text":"TemporaryFile(/tmp/multipartBody8675152940913543381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726144227,"filename":"image_24012025_13_31_03_033033_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23a865cc668a878ef71d9ab6564da27c.jpg","text":"TemporaryFile(/tmp/multipartBody2256108319315549883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726144227,"filename":"image_24012025_13_32_02_221465_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331065843","file1":"1331065839","file0":"1331065832","file4":"1331065850","file5":"1331065856","file3":"1331065847"},"map_files_photo_id_array":[{"photo_id":"1331065856","filename":"file5"},{"photo_id":"1331065843","filename":"file2"},{"photo_id":"1331065850","filename":"file4"},{"photo_id":"1331065839","filename":"file1"},{"photo_id":"1331065832","filename":"file0"},{"photo_id":"1331065847","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331065850":["hashtag1","hashtag2"]},{"1331065832":["hashtag1","hashtag2"]},{"1331065843":["hashtag1","hashtag2"]},{"1331065839":["hashtag1","hashtag2"]},{"1331065847":["hashtag1","hashtag2"]},{"1331065856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331065850, 1331065832, 1331065843, 1331065839, 1331065847, 1331065856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.83541226387024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:42:22.656933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/32/image_24012025_13_32_02_221465_0002.jpg', '/home/pi/Desktop/images/24012025/13/32/image_24012025_13_32_02_221465_0003.jpg', '/home/pi/Desktop/images/24012025/13/33/image_24012025_13_33_02_386360_0000.jpg', '/home/pi/Desktop/images/24012025/13/33/image_24012025_13_33_02_386360_0001.jpg', '/home/pi/Desktop/images/24012025/13/33/image_24012025_13_33_02_386360_0002.jpg', '/home/pi/Desktop/images/24012025/13/33/image_24012025_13_33_02_386360_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/32/image_24012025_13_32_02_221465_0002.jpg
/home/pi/Desktop/images/24012025/13/32/image_24012025_13_32_02_221465_0003.jpg
/home/pi/Desktop/images/24012025/13/33/image_24012025_13_33_02_386360_0000.jpg
/home/pi/Desktop/images/24012025/13/33/image_24012025_13_33_02_386360_0001.jpg
/home/pi/Desktop/images/24012025/13/33/image_24012025_13_33_02_386360_0002.jpg
/home/pi/Desktop/images/24012025/13/33/image_24012025_13_33_02_386360_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331065943","1331065937","1331065918","1331065926","1331065911","1331065905"],"photo_ids_order":["1331065905","1331065911","1331065918","1331065926","1331065937","1331065943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff1bdd5eae61575807a2543d57de763f.jpg","text":"TemporaryFile(/tmp/multipartBody6123179018175282544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726235926,"filename":"image_24012025_13_33_02_386360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/56b175cf91dc9cf39dced8fc886ac2ff.jpg","text":"TemporaryFile(/tmp/multipartBody3392498092065348642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726235926,"filename":"image_24012025_13_33_02_386360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d4769dd1c1acab25057841d514260586.jpg","text":"TemporaryFile(/tmp/multipartBody1865482840995618950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726235926,"filename":"image_24012025_13_33_02_386360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/008aa91c74be2f912e1b66976903f6d2.jpg","text":"TemporaryFile(/tmp/multipartBody2943130034352408154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726235926,"filename":"image_24012025_13_33_02_386360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12aae1019f88285d09406401297d98c2.jpg","text":"TemporaryFile(/tmp/multipartBody4827762777705297518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726235926,"filename":"image_24012025_13_32_02_221465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4890bd0fe955ccc3ecbc327a95cb4cb1.jpg","text":"TemporaryFile(/tmp/multipartBody7242529065446809608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726235926,"filename":"image_24012025_13_32_02_221465_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331065918","file1":"1331065911","file0":"1331065905","file4":"1331065937","file5":"1331065943","file3":"1331065926"},"map_files_photo_id_array":[{"photo_id":"1331065943","filename":"file5"},{"photo_id":"1331065918","filename":"file2"},{"photo_id":"1331065937","filename":"file4"},{"photo_id":"1331065911","filename":"file1"},{"photo_id":"1331065905","filename":"file0"},{"photo_id":"1331065926","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331065943":["hashtag1","hashtag2"]},{"1331065937":["hashtag1","hashtag2"]},{"1331065918":["hashtag1","hashtag2"]},{"1331065926":["hashtag1","hashtag2"]},{"1331065911":["hashtag1","hashtag2"]},{"1331065905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331065943, 1331065937, 1331065918, 1331065926, 1331065911, 1331065905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.22062826156616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 14:43:51.857629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/34/image_24012025_13_34_02_678885_0000.jpg', '/home/pi/Desktop/images/24012025/13/34/image_24012025_13_34_02_678885_0001.jpg', '/home/pi/Desktop/images/24012025/13/34/image_24012025_13_34_02_678885_0002.jpg', '/home/pi/Desktop/images/24012025/13/34/image_24012025_13_34_02_678885_0003.jpg', '/home/pi/Desktop/images/24012025/13/35/image_24012025_13_35_02_739017_0000.jpg', '/home/pi/Desktop/images/24012025/13/35/image_24012025_13_35_02_739017_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/34/image_24012025_13_34_02_678885_0000.jpg
/home/pi/Desktop/images/24012025/13/34/image_24012025_13_34_02_678885_0001.jpg
/home/pi/Desktop/images/24012025/13/34/image_24012025_13_34_02_678885_0002.jpg
/home/pi/Desktop/images/24012025/13/34/image_24012025_13_34_02_678885_0003.jpg
/home/pi/Desktop/images/24012025/13/35/image_24012025_13_35_02_739017_0000.jpg
/home/pi/Desktop/images/24012025/13/35/image_24012025_13_35_02_739017_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331066005","1331066022","1331066013","1331066036","1331066030","1331066018"],"photo_ids_order":["1331066005","1331066013","1331066018","1331066022","1331066030","1331066036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5a0ee27cb351c01b1b0fc64ab859e95.jpg","text":"TemporaryFile(/tmp/multipartBody119853013146216128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726330476,"filename":"image_24012025_13_34_02_678885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e9d64c6884f214d44af95017ae6d6601.jpg","text":"TemporaryFile(/tmp/multipartBody7459464995437412132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726330476,"filename":"image_24012025_13_34_02_678885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28b306d97d7318d10a8ce24d0a32f0ef.jpg","text":"TemporaryFile(/tmp/multipartBody378952300972493293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726330476,"filename":"image_24012025_13_34_02_678885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c8b1429bdfd3208319ff374ddb686db1.jpg","text":"TemporaryFile(/tmp/multipartBody684594336775326508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726330476,"filename":"image_24012025_13_35_02_739017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5bf479c5eabbbfad8edd8e8cc8f745ae.jpg","text":"TemporaryFile(/tmp/multipartBody4741545833969025374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726330476,"filename":"image_24012025_13_35_02_739017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/02c9bd04537e07ecd272e63561972641.jpg","text":"TemporaryFile(/tmp/multipartBody6643208069095957569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726330476,"filename":"image_24012025_13_34_02_678885_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331066018","file1":"1331066013","file0":"1331066005","file4":"1331066030","file5":"1331066036","file3":"1331066022"},"map_files_photo_id_array":[{"photo_id":"1331066036","filename":"file5"},{"photo_id":"1331066018","filename":"file2"},{"photo_id":"1331066030","filename":"file4"},{"photo_id":"1331066013","filename":"file1"},{"photo_id":"1331066005","filename":"file0"},{"photo_id":"1331066022","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331066005":["hashtag1","hashtag2"]},{"1331066022":["hashtag1","hashtag2"]},{"1331066013":["hashtag1","hashtag2"]},{"1331066036":["hashtag1","hashtag2"]},{"1331066030":["hashtag1","hashtag2"]},{"1331066018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331066005, 1331066022, 1331066013, 1331066036, 1331066030, 1331066018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.5812156200409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 14:45:32.276725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/35/image_24012025_13_35_02_739017_0002.jpg', '/home/pi/Desktop/images/24012025/13/35/image_24012025_13_35_02_739017_0003.jpg', '/home/pi/Desktop/images/24012025/13/36/image_24012025_13_36_02_905747_0000.jpg', '/home/pi/Desktop/images/24012025/13/36/image_24012025_13_36_02_905747_0001.jpg', '/home/pi/Desktop/images/24012025/13/36/image_24012025_13_36_02_905747_0002.jpg', '/home/pi/Desktop/images/24012025/13/36/image_24012025_13_36_02_905747_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/35/image_24012025_13_35_02_739017_0002.jpg
/home/pi/Desktop/images/24012025/13/35/image_24012025_13_35_02_739017_0003.jpg
/home/pi/Desktop/images/24012025/13/36/image_24012025_13_36_02_905747_0000.jpg
/home/pi/Desktop/images/24012025/13/36/image_24012025_13_36_02_905747_0001.jpg
/home/pi/Desktop/images/24012025/13/36/image_24012025_13_36_02_905747_0002.jpg
/home/pi/Desktop/images/24012025/13/36/image_24012025_13_36_02_905747_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331066110","1331066286","1331066328","1331066241","1331066121","1331066310"],"photo_ids_order":["1331066110","1331066121","1331066241","1331066286","1331066310","1331066328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65ddeb870ba85f31a0267db13c58a168.jpg","text":"TemporaryFile(/tmp/multipartBody7667078515768792235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726442925,"filename":"image_24012025_13_35_02_739017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ced779edae80340d8c30b0796c8d23f.jpg","text":"TemporaryFile(/tmp/multipartBody3643956204934558793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726442925,"filename":"image_24012025_13_36_02_905747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cd7f89c382fadd31b45d537b37c7f4bd.jpg","text":"TemporaryFile(/tmp/multipartBody2547333497482989239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726442925,"filename":"image_24012025_13_36_02_905747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9920650feb52384fb16d0cf7aa02fe21.jpg","text":"TemporaryFile(/tmp/multipartBody5373900724501074387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726442925,"filename":"image_24012025_13_36_02_905747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/290acc0545fe0b808e5d28d6d8e68b5d.jpg","text":"TemporaryFile(/tmp/multipartBody4216130150577655910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726442925,"filename":"image_24012025_13_35_02_739017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c1e5f4e721a162a57e7fc8b24d3b4514.jpg","text":"TemporaryFile(/tmp/multipartBody2006658143818930440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726442925,"filename":"image_24012025_13_36_02_905747_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331066241","file1":"1331066121","file0":"1331066110","file4":"1331066310","file5":"1331066328","file3":"1331066286"},"map_files_photo_id_array":[{"photo_id":"1331066328","filename":"file5"},{"photo_id":"1331066241","filename":"file2"},{"photo_id":"1331066310","filename":"file4"},{"photo_id":"1331066121","filename":"file1"},{"photo_id":"1331066110","filename":"file0"},{"photo_id":"1331066286","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331066110":["hashtag1","hashtag2"]},{"1331066286":["hashtag1","hashtag2"]},{"1331066328":["hashtag1","hashtag2"]},{"1331066241":["hashtag1","hashtag2"]},{"1331066121":["hashtag1","hashtag2"]},{"1331066310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331066110, 1331066286, 1331066328, 1331066241, 1331066121, 1331066310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.70956325531006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:47:22.641343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/37/image_24012025_13_37_03_074466_0000.jpg', '/home/pi/Desktop/images/24012025/13/37/image_24012025_13_37_03_074466_0001.jpg', '/home/pi/Desktop/images/24012025/13/37/image_24012025_13_37_03_074466_0002.jpg', '/home/pi/Desktop/images/24012025/13/37/image_24012025_13_37_03_074466_0003.jpg', '/home/pi/Desktop/images/24012025/13/38/image_24012025_13_38_02_214628_0000.jpg', '/home/pi/Desktop/images/24012025/13/38/image_24012025_13_38_02_214628_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/37/image_24012025_13_37_03_074466_0000.jpg
/home/pi/Desktop/images/24012025/13/37/image_24012025_13_37_03_074466_0001.jpg
/home/pi/Desktop/images/24012025/13/37/image_24012025_13_37_03_074466_0002.jpg
/home/pi/Desktop/images/24012025/13/37/image_24012025_13_37_03_074466_0003.jpg
/home/pi/Desktop/images/24012025/13/38/image_24012025_13_38_02_214628_0000.jpg
/home/pi/Desktop/images/24012025/13/38/image_24012025_13_38_02_214628_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331066458","1331066469","1331066463","1331066448","1331066471","1331066453"],"photo_ids_order":["1331066448","1331066453","1331066458","1331066463","1331066469","1331066471"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9a11fa25b3377bf5fe8a0847c6e3590b.jpg","text":"TemporaryFile(/tmp/multipartBody986888936994410087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726553942,"filename":"image_24012025_13_37_03_074466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/930173d46408eace5e8dbf6685d158c1.jpg","text":"TemporaryFile(/tmp/multipartBody2972883865432019919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726553942,"filename":"image_24012025_13_38_02_214628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/345b4f4b0dd2bcb9bd4169c41496c3eb.jpg","text":"TemporaryFile(/tmp/multipartBody1043747217782799696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726553942,"filename":"image_24012025_13_37_03_074466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f8620f5f9da881243c8f48ef95895d05.jpg","text":"TemporaryFile(/tmp/multipartBody273780269897910017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726553942,"filename":"image_24012025_13_37_03_074466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/07bf7481095def831ab8703ded0fca68.jpg","text":"TemporaryFile(/tmp/multipartBody3880252932715519292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726553942,"filename":"image_24012025_13_38_02_214628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/653f8ddb3505bd56657f64da3598782f.jpg","text":"TemporaryFile(/tmp/multipartBody4749072821917085927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726553942,"filename":"image_24012025_13_37_03_074466_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331066458","file1":"1331066453","file0":"1331066448","file4":"1331066469","file5":"1331066471","file3":"1331066463"},"map_files_photo_id_array":[{"photo_id":"1331066471","filename":"file5"},{"photo_id":"1331066458","filename":"file2"},{"photo_id":"1331066469","filename":"file4"},{"photo_id":"1331066453","filename":"file1"},{"photo_id":"1331066448","filename":"file0"},{"photo_id":"1331066463","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331066458":["hashtag1","hashtag2"]},{"1331066469":["hashtag1","hashtag2"]},{"1331066463":["hashtag1","hashtag2"]},{"1331066448":["hashtag1","hashtag2"]},{"1331066471":["hashtag1","hashtag2"]},{"1331066453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331066458, 1331066469, 1331066463, 1331066448, 1331066471, 1331066453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.98761129379272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:49:22.020786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/38/image_24012025_13_38_02_214628_0002.jpg', '/home/pi/Desktop/images/24012025/13/38/image_24012025_13_38_02_214628_0003.jpg', '/home/pi/Desktop/images/24012025/13/39/image_24012025_13_39_02_445904_0000.jpg', '/home/pi/Desktop/images/24012025/13/39/image_24012025_13_39_02_445904_0001.jpg', '/home/pi/Desktop/images/24012025/13/39/image_24012025_13_39_02_445904_0002.jpg', '/home/pi/Desktop/images/24012025/13/39/image_24012025_13_39_02_445904_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/38/image_24012025_13_38_02_214628_0002.jpg
/home/pi/Desktop/images/24012025/13/38/image_24012025_13_38_02_214628_0003.jpg
/home/pi/Desktop/images/24012025/13/39/image_24012025_13_39_02_445904_0000.jpg
/home/pi/Desktop/images/24012025/13/39/image_24012025_13_39_02_445904_0001.jpg
/home/pi/Desktop/images/24012025/13/39/image_24012025_13_39_02_445904_0002.jpg
/home/pi/Desktop/images/24012025/13/39/image_24012025_13_39_02_445904_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331066557","1331066562","1331066544","1331066535","1331066534","1331066531"],"photo_ids_order":["1331066531","1331066534","1331066535","1331066544","1331066557","1331066562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9226d3b91e1cd0e19dab80c4b70995d4.jpg","text":"TemporaryFile(/tmp/multipartBody6096967652943239880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726642754,"filename":"image_24012025_13_39_02_445904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a167d97a1df46395a10d421f23cb8881.jpg","text":"TemporaryFile(/tmp/multipartBody2878583676320495303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726642754,"filename":"image_24012025_13_39_02_445904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d6575cef12ed5ba8f3ff180e8f9f6ad2.jpg","text":"TemporaryFile(/tmp/multipartBody6356548621061788777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726642754,"filename":"image_24012025_13_39_02_445904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/639b7f7cf87e112376256c415c737951.jpg","text":"TemporaryFile(/tmp/multipartBody1662189528853033455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726642754,"filename":"image_24012025_13_39_02_445904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c1b7d91a0a1f56f3a0844c7cc9cab8c2.jpg","text":"TemporaryFile(/tmp/multipartBody9113294184268845799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726642754,"filename":"image_24012025_13_38_02_214628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b13bc023c12ebc29611c2c59d2b809d2.jpg","text":"TemporaryFile(/tmp/multipartBody1209742505551863867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726642754,"filename":"image_24012025_13_38_02_214628_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331066535","file1":"1331066534","file0":"1331066531","file4":"1331066557","file5":"1331066562","file3":"1331066544"},"map_files_photo_id_array":[{"photo_id":"1331066562","filename":"file5"},{"photo_id":"1331066535","filename":"file2"},{"photo_id":"1331066557","filename":"file4"},{"photo_id":"1331066534","filename":"file1"},{"photo_id":"1331066531","filename":"file0"},{"photo_id":"1331066544","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331066557":["hashtag1","hashtag2"]},{"1331066562":["hashtag1","hashtag2"]},{"1331066544":["hashtag1","hashtag2"]},{"1331066535":["hashtag1","hashtag2"]},{"1331066534":["hashtag1","hashtag2"]},{"1331066531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331066557, 1331066562, 1331066544, 1331066535, 1331066534, 1331066531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.23496699333191 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 14:50:42.191582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/40/image_24012025_13_40_02_568225_0000.jpg', '/home/pi/Desktop/images/24012025/13/40/image_24012025_13_40_02_568225_0001.jpg', '/home/pi/Desktop/images/24012025/13/40/image_24012025_13_40_02_568225_0002.jpg', '/home/pi/Desktop/images/24012025/13/40/image_24012025_13_40_02_568225_0003.jpg', '/home/pi/Desktop/images/24012025/13/41/image_24012025_13_41_02_811736_0000.jpg', '/home/pi/Desktop/images/24012025/13/41/image_24012025_13_41_02_811736_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/40/image_24012025_13_40_02_568225_0000.jpg
/home/pi/Desktop/images/24012025/13/40/image_24012025_13_40_02_568225_0001.jpg
/home/pi/Desktop/images/24012025/13/40/image_24012025_13_40_02_568225_0002.jpg
/home/pi/Desktop/images/24012025/13/40/image_24012025_13_40_02_568225_0003.jpg
/home/pi/Desktop/images/24012025/13/41/image_24012025_13_41_02_811736_0000.jpg
/home/pi/Desktop/images/24012025/13/41/image_24012025_13_41_02_811736_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331067381","1331066790","1331066697","1331066676","1331067071","1331066692"],"photo_ids_order":["1331066676","1331066692","1331066697","1331066790","1331067071","1331067381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/be494d4aa4c35f15e20ede2a12ec1598.jpg","text":"TemporaryFile(/tmp/multipartBody2086907621785930944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726753910,"filename":"image_24012025_13_41_02_811736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48092324afaa4e00d5ee0b54e6ba18c2.jpg","text":"TemporaryFile(/tmp/multipartBody4682797653618243839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726753910,"filename":"image_24012025_13_40_02_568225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a387ff1d0b760a847a5c3b65bae973e7.jpg","text":"TemporaryFile(/tmp/multipartBody7731083995859299460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726753910,"filename":"image_24012025_13_40_02_568225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8d532874f0d98b9506a9ad0c0893b6f.jpg","text":"TemporaryFile(/tmp/multipartBody4738371285475486415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726753910,"filename":"image_24012025_13_40_02_568225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/060d3d66edd39ec576bfa85833daf1fc.jpg","text":"TemporaryFile(/tmp/multipartBody3385333318948527689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726753910,"filename":"image_24012025_13_41_02_811736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ffe4f5aa66a7a2c8b2ef6209ca4dfcd0.jpg","text":"TemporaryFile(/tmp/multipartBody664861829215981586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726753910,"filename":"image_24012025_13_40_02_568225_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331066697","file1":"1331066692","file0":"1331066676","file4":"1331067071","file5":"1331067381","file3":"1331066790"},"map_files_photo_id_array":[{"photo_id":"1331067381","filename":"file5"},{"photo_id":"1331066697","filename":"file2"},{"photo_id":"1331067071","filename":"file4"},{"photo_id":"1331066692","filename":"file1"},{"photo_id":"1331066676","filename":"file0"},{"photo_id":"1331066790","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331067381":["hashtag1","hashtag2"]},{"1331066790":["hashtag1","hashtag2"]},{"1331066697":["hashtag1","hashtag2"]},{"1331066676":["hashtag1","hashtag2"]},{"1331067071":["hashtag1","hashtag2"]},{"1331066692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331067381, 1331066790, 1331066697, 1331066676, 1331067071, 1331066692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.93810939788818 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 14:52:32.662259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/41/image_24012025_13_41_02_811736_0002.jpg', '/home/pi/Desktop/images/24012025/13/41/image_24012025_13_41_02_811736_0003.jpg', '/home/pi/Desktop/images/24012025/13/42/image_24012025_13_42_02_973273_0000.jpg', '/home/pi/Desktop/images/24012025/13/42/image_24012025_13_42_02_973273_0001.jpg', '/home/pi/Desktop/images/24012025/13/42/image_24012025_13_42_02_973273_0002.jpg', '/home/pi/Desktop/images/24012025/13/42/image_24012025_13_42_02_973273_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/41/image_24012025_13_41_02_811736_0002.jpg
/home/pi/Desktop/images/24012025/13/41/image_24012025_13_41_02_811736_0003.jpg
/home/pi/Desktop/images/24012025/13/42/image_24012025_13_42_02_973273_0000.jpg
/home/pi/Desktop/images/24012025/13/42/image_24012025_13_42_02_973273_0001.jpg
/home/pi/Desktop/images/24012025/13/42/image_24012025_13_42_02_973273_0002.jpg
/home/pi/Desktop/images/24012025/13/42/image_24012025_13_42_02_973273_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331068041","1331068052","1331067935","1331068150","1331067976","1331067722"],"photo_ids_order":["1331067722","1331067935","1331067976","1331068041","1331068052","1331068150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/778009bd9b50f1fbcc8411b283ad7fc8.jpg","text":"TemporaryFile(/tmp/multipartBody1847337958063900003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726853722,"filename":"image_24012025_13_42_02_973273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f96355a930305e645625450e6814f995.jpg","text":"TemporaryFile(/tmp/multipartBody7058427079567832984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726853722,"filename":"image_24012025_13_42_02_973273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e384bf69625455866702b807dea96617.jpg","text":"TemporaryFile(/tmp/multipartBody1757971701793545250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726853722,"filename":"image_24012025_13_41_02_811736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ca49a267ef449e6437700eb4f9b7e45.jpg","text":"TemporaryFile(/tmp/multipartBody85206212982727476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726853722,"filename":"image_24012025_13_42_02_973273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aeb89af983f9d19c6985178f7b4a174c.jpg","text":"TemporaryFile(/tmp/multipartBody1144599285676880238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726853722,"filename":"image_24012025_13_42_02_973273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1442d77204d246d757eefa6ab5278966.jpg","text":"TemporaryFile(/tmp/multipartBody5890005387917571977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726853722,"filename":"image_24012025_13_41_02_811736_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331067976","file1":"1331067935","file0":"1331067722","file4":"1331068052","file5":"1331068150","file3":"1331068041"},"map_files_photo_id_array":[{"photo_id":"1331068150","filename":"file5"},{"photo_id":"1331067976","filename":"file2"},{"photo_id":"1331068052","filename":"file4"},{"photo_id":"1331067935","filename":"file1"},{"photo_id":"1331067722","filename":"file0"},{"photo_id":"1331068041","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331068041":["hashtag1","hashtag2"]},{"1331068052":["hashtag1","hashtag2"]},{"1331067935":["hashtag1","hashtag2"]},{"1331068150":["hashtag1","hashtag2"]},{"1331067976":["hashtag1","hashtag2"]},{"1331067722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331068041, 1331068052, 1331067935, 1331068150, 1331067976, 1331067722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.74025869369507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:54:21.970915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/43/image_24012025_13_43_03_088565_0000.jpg', '/home/pi/Desktop/images/24012025/13/43/image_24012025_13_43_03_088565_0001.jpg', '/home/pi/Desktop/images/24012025/13/43/image_24012025_13_43_03_088565_0002.jpg', '/home/pi/Desktop/images/24012025/13/43/image_24012025_13_43_03_088565_0003.jpg', '/home/pi/Desktop/images/24012025/13/44/image_24012025_13_44_02_348777_0000.jpg', '/home/pi/Desktop/images/24012025/13/44/image_24012025_13_44_02_348777_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/43/image_24012025_13_43_03_088565_0000.jpg
/home/pi/Desktop/images/24012025/13/43/image_24012025_13_43_03_088565_0001.jpg
/home/pi/Desktop/images/24012025/13/43/image_24012025_13_43_03_088565_0002.jpg
/home/pi/Desktop/images/24012025/13/43/image_24012025_13_43_03_088565_0003.jpg
/home/pi/Desktop/images/24012025/13/44/image_24012025_13_44_02_348777_0000.jpg
/home/pi/Desktop/images/24012025/13/44/image_24012025_13_44_02_348777_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331068548","1331068536","1331068589","1331068582","1331068564","1331068525"],"photo_ids_order":["1331068525","1331068536","1331068548","1331068564","1331068582","1331068589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5397530dfb7dfa6e73db167319bfdfcf.jpg","text":"TemporaryFile(/tmp/multipartBody1188318002344703583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726974890,"filename":"image_24012025_13_43_03_088565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7989847836cce91e936ba2e194c68256.jpg","text":"TemporaryFile(/tmp/multipartBody1480356563124673684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726974890,"filename":"image_24012025_13_43_03_088565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7ecd6e1ce84e73d82ca01aaf2e82484.jpg","text":"TemporaryFile(/tmp/multipartBody8380727141885510544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726974890,"filename":"image_24012025_13_44_02_348777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/008e8d1f99897eae9d2a4563840b804b.jpg","text":"TemporaryFile(/tmp/multipartBody5376286840703422573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726974890,"filename":"image_24012025_13_44_02_348777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/46dc41c836f6d4cfe2c3209a6fe2a110.jpg","text":"TemporaryFile(/tmp/multipartBody455125091501654704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726974890,"filename":"image_24012025_13_43_03_088565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9506f6752e23b24e99d5ce19f56a616e.jpg","text":"TemporaryFile(/tmp/multipartBody941755151331491158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737726974890,"filename":"image_24012025_13_43_03_088565_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331068548","file1":"1331068536","file0":"1331068525","file4":"1331068582","file5":"1331068589","file3":"1331068564"},"map_files_photo_id_array":[{"photo_id":"1331068589","filename":"file5"},{"photo_id":"1331068548","filename":"file2"},{"photo_id":"1331068582","filename":"file4"},{"photo_id":"1331068536","filename":"file1"},{"photo_id":"1331068525","filename":"file0"},{"photo_id":"1331068564","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331068548":["hashtag1","hashtag2"]},{"1331068536":["hashtag1","hashtag2"]},{"1331068589":["hashtag1","hashtag2"]},{"1331068582":["hashtag1","hashtag2"]},{"1331068564":["hashtag1","hashtag2"]},{"1331068525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331068548, 1331068536, 1331068589, 1331068582, 1331068564, 1331068525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 111.51579165458679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 14:56:22.409833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/44/image_24012025_13_44_02_348777_0002.jpg', '/home/pi/Desktop/images/24012025/13/44/image_24012025_13_44_02_348777_0003.jpg', '/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0000.jpg', '/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0001.jpg', '/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0002.jpg', '/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/44/image_24012025_13_44_02_348777_0002.jpg
/home/pi/Desktop/images/24012025/13/44/image_24012025_13_44_02_348777_0003.jpg
/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0000.jpg
/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0001.jpg
/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0002.jpg
/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0003.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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 14:59:02.615656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/44/image_24012025_13_44_02_348777_0002.jpg', '/home/pi/Desktop/images/24012025/13/44/image_24012025_13_44_02_348777_0003.jpg', '/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0000.jpg', '/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0001.jpg', '/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0002.jpg', '/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/44/image_24012025_13_44_02_348777_0002.jpg
/home/pi/Desktop/images/24012025/13/44/image_24012025_13_44_02_348777_0003.jpg
/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0000.jpg
/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0001.jpg
/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0002.jpg
/home/pi/Desktop/images/24012025/13/45/image_24012025_13_45_02_440546_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331068778","1331068850","1331068793","1331068820","1331068858","1331068786"],"photo_ids_order":["1331068778","1331068786","1331068793","1331068820","1331068850","1331068858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab07d302a2369e43dca6341ffe736258.jpg","text":"TemporaryFile(/tmp/multipartBody6224562015497500404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727240426,"filename":"image_24012025_13_44_02_348777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c9a9e74260cdc9c13d55ac0ee1da89b7.jpg","text":"TemporaryFile(/tmp/multipartBody4929666854369876946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727240426,"filename":"image_24012025_13_45_02_440546_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dbae2bb123e9c1611d63868e4f401dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6099639892994516143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727240426,"filename":"image_24012025_13_45_02_440546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce09ac56c18df70eec4fbfd146269f41.jpg","text":"TemporaryFile(/tmp/multipartBody495716167846253002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727240426,"filename":"image_24012025_13_45_02_440546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/871e3baa424cae34a3f86290aaf0be18.jpg","text":"TemporaryFile(/tmp/multipartBody7639091244954187431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727240426,"filename":"image_24012025_13_45_02_440546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3618d657fdbf18088c0884f352779077.jpg","text":"TemporaryFile(/tmp/multipartBody8932051427480088875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727240426,"filename":"image_24012025_13_44_02_348777_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331068793","file1":"1331068786","file0":"1331068778","file4":"1331068850","file5":"1331068858","file3":"1331068820"},"map_files_photo_id_array":[{"photo_id":"1331068858","filename":"file5"},{"photo_id":"1331068793","filename":"file2"},{"photo_id":"1331068850","filename":"file4"},{"photo_id":"1331068786","filename":"file1"},{"photo_id":"1331068778","filename":"file0"},{"photo_id":"1331068820","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331068778":["hashtag1","hashtag2"]},{"1331068850":["hashtag1","hashtag2"]},{"1331068793":["hashtag1","hashtag2"]},{"1331068820":["hashtag1","hashtag2"]},{"1331068858":["hashtag1","hashtag2"]},{"1331068786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331068778, 1331068850, 1331068793, 1331068820, 1331068858, 1331068786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.6061429977417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 15:00:42.053773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/46/image_24012025_13_46_02_623085_0000.jpg', '/home/pi/Desktop/images/24012025/13/46/image_24012025_13_46_02_623085_0001.jpg', '/home/pi/Desktop/images/24012025/13/46/image_24012025_13_46_02_623085_0002.jpg', '/home/pi/Desktop/images/24012025/13/46/image_24012025_13_46_02_623085_0003.jpg', '/home/pi/Desktop/images/24012025/13/47/image_24012025_13_47_02_730435_0000.jpg', '/home/pi/Desktop/images/24012025/13/47/image_24012025_13_47_02_730435_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/46/image_24012025_13_46_02_623085_0000.jpg
/home/pi/Desktop/images/24012025/13/46/image_24012025_13_46_02_623085_0001.jpg
/home/pi/Desktop/images/24012025/13/46/image_24012025_13_46_02_623085_0002.jpg
/home/pi/Desktop/images/24012025/13/46/image_24012025_13_46_02_623085_0003.jpg
/home/pi/Desktop/images/24012025/13/47/image_24012025_13_47_02_730435_0000.jpg
/home/pi/Desktop/images/24012025/13/47/image_24012025_13_47_02_730435_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331068917","1331068926","1331068905","1331068934","1331068910","1331068900"],"photo_ids_order":["1331068900","1331068905","1331068910","1331068917","1331068926","1331068934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e91fef74a55cb64973d43fe621fa7f4.jpg","text":"TemporaryFile(/tmp/multipartBody8490085170006194902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727324468,"filename":"image_24012025_13_46_02_623085_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/116f41ff59a90bbe7b4e97c0f290bc00.jpg","text":"TemporaryFile(/tmp/multipartBody5793019647611718673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727324468,"filename":"image_24012025_13_47_02_730435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/810f51d760eab0fbdd9a48d1a1bc591d.jpg","text":"TemporaryFile(/tmp/multipartBody4537806768201099828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727324468,"filename":"image_24012025_13_46_02_623085_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd361d6d09416a4d8623afd1bbb894b4.jpg","text":"TemporaryFile(/tmp/multipartBody4297094328743071941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727324468,"filename":"image_24012025_13_47_02_730435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7b7b28bfbd1c04b16ea832a0829743df.jpg","text":"TemporaryFile(/tmp/multipartBody3997775994737465714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727324468,"filename":"image_24012025_13_46_02_623085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/124ebd5db2a3a8da40638632d5196cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1470895428885679039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727324468,"filename":"image_24012025_13_46_02_623085_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331068910","file1":"1331068905","file0":"1331068900","file4":"1331068926","file5":"1331068934","file3":"1331068917"},"map_files_photo_id_array":[{"photo_id":"1331068934","filename":"file5"},{"photo_id":"1331068910","filename":"file2"},{"photo_id":"1331068926","filename":"file4"},{"photo_id":"1331068905","filename":"file1"},{"photo_id":"1331068900","filename":"file0"},{"photo_id":"1331068917","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331068917":["hashtag1","hashtag2"]},{"1331068926":["hashtag1","hashtag2"]},{"1331068905":["hashtag1","hashtag2"]},{"1331068934":["hashtag1","hashtag2"]},{"1331068910":["hashtag1","hashtag2"]},{"1331068900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331068917, 1331068926, 1331068905, 1331068934, 1331068910, 1331068900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.46765112876892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 15:02:02.859872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/47/image_24012025_13_47_02_730435_0002.jpg', '/home/pi/Desktop/images/24012025/13/47/image_24012025_13_47_02_730435_0003.jpg', '/home/pi/Desktop/images/24012025/13/48/image_24012025_13_48_02_992866_0000.jpg', '/home/pi/Desktop/images/24012025/13/48/image_24012025_13_48_02_992866_0001.jpg', '/home/pi/Desktop/images/24012025/13/48/image_24012025_13_48_02_992866_0002.jpg', '/home/pi/Desktop/images/24012025/13/48/image_24012025_13_48_02_992866_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/47/image_24012025_13_47_02_730435_0002.jpg
/home/pi/Desktop/images/24012025/13/47/image_24012025_13_47_02_730435_0003.jpg
/home/pi/Desktop/images/24012025/13/48/image_24012025_13_48_02_992866_0000.jpg
/home/pi/Desktop/images/24012025/13/48/image_24012025_13_48_02_992866_0001.jpg
/home/pi/Desktop/images/24012025/13/48/image_24012025_13_48_02_992866_0002.jpg
/home/pi/Desktop/images/24012025/13/48/image_24012025_13_48_02_992866_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331068989","1331069007","1331068994","1331069012","1331069000","1331069020"],"photo_ids_order":["1331068989","1331068994","1331069000","1331069007","1331069012","1331069020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34b890117555f5a84ee860a0876cbbd7.jpg","text":"TemporaryFile(/tmp/multipartBody2988230191865763929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727426893,"filename":"image_24012025_13_47_02_730435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/339a48f2f05644204b40c987202f81a0.jpg","text":"TemporaryFile(/tmp/multipartBody3201734906235925493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727426893,"filename":"image_24012025_13_48_02_992866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd9d598b11549650a6a1696120583006.jpg","text":"TemporaryFile(/tmp/multipartBody6925478670968854685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727426893,"filename":"image_24012025_13_47_02_730435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4108ec63ddab978763292db6221efa13.jpg","text":"TemporaryFile(/tmp/multipartBody5486608072343375236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727426893,"filename":"image_24012025_13_48_02_992866_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/71ee99afdb252651076d49d1cc0b78d3.jpg","text":"TemporaryFile(/tmp/multipartBody5555400049191195827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727426893,"filename":"image_24012025_13_48_02_992866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ffdfad3be84e102242afb0292cb1f729.jpg","text":"TemporaryFile(/tmp/multipartBody8036956580614891669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727426893,"filename":"image_24012025_13_48_02_992866_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331069000","file1":"1331068994","file0":"1331068989","file4":"1331069012","file5":"1331069020","file3":"1331069007"},"map_files_photo_id_array":[{"photo_id":"1331069020","filename":"file5"},{"photo_id":"1331069000","filename":"file2"},{"photo_id":"1331069012","filename":"file4"},{"photo_id":"1331068994","filename":"file1"},{"photo_id":"1331068989","filename":"file0"},{"photo_id":"1331069007","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331068989":["hashtag1","hashtag2"]},{"1331069007":["hashtag1","hashtag2"]},{"1331068994":["hashtag1","hashtag2"]},{"1331069012":["hashtag1","hashtag2"]},{"1331069000":["hashtag1","hashtag2"]},{"1331069020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331068989, 1331069007, 1331068994, 1331069012, 1331069000, 1331069020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.54105639457703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:03:52.571882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/49/image_24012025_13_49_02_214393_0000.jpg', '/home/pi/Desktop/images/24012025/13/49/image_24012025_13_49_02_214393_0001.jpg', '/home/pi/Desktop/images/24012025/13/49/image_24012025_13_49_02_214393_0002.jpg', '/home/pi/Desktop/images/24012025/13/49/image_24012025_13_49_02_214393_0003.jpg', '/home/pi/Desktop/images/24012025/13/50/image_24012025_13_50_02_360374_0000.jpg', '/home/pi/Desktop/images/24012025/13/50/image_24012025_13_50_02_360374_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/49/image_24012025_13_49_02_214393_0000.jpg
/home/pi/Desktop/images/24012025/13/49/image_24012025_13_49_02_214393_0001.jpg
/home/pi/Desktop/images/24012025/13/49/image_24012025_13_49_02_214393_0002.jpg
/home/pi/Desktop/images/24012025/13/49/image_24012025_13_49_02_214393_0003.jpg
/home/pi/Desktop/images/24012025/13/50/image_24012025_13_50_02_360374_0000.jpg
/home/pi/Desktop/images/24012025/13/50/image_24012025_13_50_02_360374_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331069084","1331069056","1331069073","1331069067","1331069052","1331069061"],"photo_ids_order":["1331069052","1331069056","1331069061","1331069067","1331069073","1331069084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b2a85bf7d0e7a7aac6e277ca27645acd.jpg","text":"TemporaryFile(/tmp/multipartBody4779874093061429377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727525770,"filename":"image_24012025_13_50_02_360374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a0c9696f12f89ed98768517b6b4b004.jpg","text":"TemporaryFile(/tmp/multipartBody5005494901237334625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727525770,"filename":"image_24012025_13_49_02_214393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8d255de4d72f92426aad1f0cec0c6a82.jpg","text":"TemporaryFile(/tmp/multipartBody1709679132193935653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727525770,"filename":"image_24012025_13_50_02_360374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/384b31b3f7df23a904463281dc97d0eb.jpg","text":"TemporaryFile(/tmp/multipartBody5554798648523533120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727525770,"filename":"image_24012025_13_49_02_214393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/84cb70378d097ddf5202499f0c397d50.jpg","text":"TemporaryFile(/tmp/multipartBody1358584399293178927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727525770,"filename":"image_24012025_13_49_02_214393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/08c013c8ab8a4c3643c74a15a913644c.jpg","text":"TemporaryFile(/tmp/multipartBody8491467776793660976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727525770,"filename":"image_24012025_13_49_02_214393_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331069061","file1":"1331069056","file0":"1331069052","file4":"1331069073","file5":"1331069084","file3":"1331069067"},"map_files_photo_id_array":[{"photo_id":"1331069084","filename":"file5"},{"photo_id":"1331069061","filename":"file2"},{"photo_id":"1331069073","filename":"file4"},{"photo_id":"1331069056","filename":"file1"},{"photo_id":"1331069052","filename":"file0"},{"photo_id":"1331069067","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331069084":["hashtag1","hashtag2"]},{"1331069056":["hashtag1","hashtag2"]},{"1331069073":["hashtag1","hashtag2"]},{"1331069067":["hashtag1","hashtag2"]},{"1331069052":["hashtag1","hashtag2"]},{"1331069061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331069084, 1331069056, 1331069073, 1331069067, 1331069052, 1331069061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.3209958076477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:05:21.956638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/50/image_24012025_13_50_02_360374_0002.jpg', '/home/pi/Desktop/images/24012025/13/50/image_24012025_13_50_02_360374_0003.jpg', '/home/pi/Desktop/images/24012025/13/51/image_24012025_13_51_02_574442_0000.jpg', '/home/pi/Desktop/images/24012025/13/51/image_24012025_13_51_02_574442_0001.jpg', '/home/pi/Desktop/images/24012025/13/51/image_24012025_13_51_02_574442_0002.jpg', '/home/pi/Desktop/images/24012025/13/51/image_24012025_13_51_02_574442_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/50/image_24012025_13_50_02_360374_0002.jpg
/home/pi/Desktop/images/24012025/13/50/image_24012025_13_50_02_360374_0003.jpg
/home/pi/Desktop/images/24012025/13/51/image_24012025_13_51_02_574442_0000.jpg
/home/pi/Desktop/images/24012025/13/51/image_24012025_13_51_02_574442_0001.jpg
/home/pi/Desktop/images/24012025/13/51/image_24012025_13_51_02_574442_0002.jpg
/home/pi/Desktop/images/24012025/13/51/image_24012025_13_51_02_574442_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331069205","1331069168","1331069185","1331069194","1331069176","1331069200"],"photo_ids_order":["1331069168","1331069176","1331069185","1331069194","1331069200","1331069205"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47aad06485d9e2fb616ad82254c9c695.jpg","text":"TemporaryFile(/tmp/multipartBody6137450616323742760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727624878,"filename":"image_24012025_13_51_02_574442_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/489a733ee23feb0c19a61c906beea4ac.jpg","text":"TemporaryFile(/tmp/multipartBody3783650053603242194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727624878,"filename":"image_24012025_13_50_02_360374_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06bb4ca4eb6aee928e7e240d66f9b960.jpg","text":"TemporaryFile(/tmp/multipartBody1426290876494871947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727624878,"filename":"image_24012025_13_51_02_574442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9e91cc9066fe234597a85e4eaea99979.jpg","text":"TemporaryFile(/tmp/multipartBody6030928122803214780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727624878,"filename":"image_24012025_13_51_02_574442_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b40ddd6413de39644cfe105333320a0b.jpg","text":"TemporaryFile(/tmp/multipartBody7835245250713881639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727624878,"filename":"image_24012025_13_50_02_360374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7be823ba8b68201e7cc892d1a7dad804.jpg","text":"TemporaryFile(/tmp/multipartBody4163965984741604640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727624878,"filename":"image_24012025_13_51_02_574442_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331069185","file1":"1331069176","file0":"1331069168","file4":"1331069200","file5":"1331069205","file3":"1331069194"},"map_files_photo_id_array":[{"photo_id":"1331069205","filename":"file5"},{"photo_id":"1331069185","filename":"file2"},{"photo_id":"1331069200","filename":"file4"},{"photo_id":"1331069176","filename":"file1"},{"photo_id":"1331069168","filename":"file0"},{"photo_id":"1331069194","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331069205":["hashtag1","hashtag2"]},{"1331069168":["hashtag1","hashtag2"]},{"1331069185":["hashtag1","hashtag2"]},{"1331069194":["hashtag1","hashtag2"]},{"1331069176":["hashtag1","hashtag2"]},{"1331069200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331069205, 1331069168, 1331069185, 1331069194, 1331069176, 1331069200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.2512001991272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 15:07:03.094606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/52/image_24012025_13_52_02_673631_0000.jpg', '/home/pi/Desktop/images/24012025/13/52/image_24012025_13_52_02_673631_0001.jpg', '/home/pi/Desktop/images/24012025/13/52/image_24012025_13_52_02_673631_0002.jpg', '/home/pi/Desktop/images/24012025/13/52/image_24012025_13_52_02_673631_0003.jpg', '/home/pi/Desktop/images/24012025/13/53/image_24012025_13_53_02_858639_0000.jpg', '/home/pi/Desktop/images/24012025/13/53/image_24012025_13_53_02_858639_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/52/image_24012025_13_52_02_673631_0000.jpg
/home/pi/Desktop/images/24012025/13/52/image_24012025_13_52_02_673631_0001.jpg
/home/pi/Desktop/images/24012025/13/52/image_24012025_13_52_02_673631_0002.jpg
/home/pi/Desktop/images/24012025/13/52/image_24012025_13_52_02_673631_0003.jpg
/home/pi/Desktop/images/24012025/13/53/image_24012025_13_53_02_858639_0000.jpg
/home/pi/Desktop/images/24012025/13/53/image_24012025_13_53_02_858639_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331069340","1331069378","1331069371","1331069323","1331069373","1331069367"],"photo_ids_order":["1331069323","1331069340","1331069367","1331069371","1331069373","1331069378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c2187ead3e19ad86603ea7c81d14cef3.jpg","text":"TemporaryFile(/tmp/multipartBody9006709063933519479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727708542,"filename":"image_24012025_13_52_02_673631_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/073fc4d8e9474342bb7a6ac23161abf2.jpg","text":"TemporaryFile(/tmp/multipartBody5569051110980293962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727708542,"filename":"image_24012025_13_53_02_858639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdce004f9cb603e56a5526706e106900.jpg","text":"TemporaryFile(/tmp/multipartBody7416542654384250099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727708542,"filename":"image_24012025_13_52_02_673631_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ab95f84c7ecff45456cf105c8f0c30f.jpg","text":"TemporaryFile(/tmp/multipartBody7959945299517270459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727708542,"filename":"image_24012025_13_52_02_673631_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32b679118a94c64f39da1dc0ce7fdda2.jpg","text":"TemporaryFile(/tmp/multipartBody4564368260478886071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727708542,"filename":"image_24012025_13_53_02_858639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0743a28305cfde5323785fd4c9345afd.jpg","text":"TemporaryFile(/tmp/multipartBody7932765919564846605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727708542,"filename":"image_24012025_13_52_02_673631_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331069367","file1":"1331069340","file0":"1331069323","file4":"1331069373","file5":"1331069378","file3":"1331069371"},"map_files_photo_id_array":[{"photo_id":"1331069378","filename":"file5"},{"photo_id":"1331069367","filename":"file2"},{"photo_id":"1331069373","filename":"file4"},{"photo_id":"1331069340","filename":"file1"},{"photo_id":"1331069323","filename":"file0"},{"photo_id":"1331069371","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331069340":["hashtag1","hashtag2"]},{"1331069378":["hashtag1","hashtag2"]},{"1331069371":["hashtag1","hashtag2"]},{"1331069323":["hashtag1","hashtag2"]},{"1331069373":["hashtag1","hashtag2"]},{"1331069367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331069340, 1331069378, 1331069371, 1331069323, 1331069373, 1331069367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.65617990493774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:08:32.532073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/53/image_24012025_13_53_02_858639_0002.jpg', '/home/pi/Desktop/images/24012025/13/53/image_24012025_13_53_02_858639_0003.jpg', '/home/pi/Desktop/images/24012025/13/54/image_24012025_13_54_03_097890_0000.jpg', '/home/pi/Desktop/images/24012025/13/54/image_24012025_13_54_03_097890_0001.jpg', '/home/pi/Desktop/images/24012025/13/54/image_24012025_13_54_03_097890_0002.jpg', '/home/pi/Desktop/images/24012025/13/54/image_24012025_13_54_03_097890_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/53/image_24012025_13_53_02_858639_0002.jpg
/home/pi/Desktop/images/24012025/13/53/image_24012025_13_53_02_858639_0003.jpg
/home/pi/Desktop/images/24012025/13/54/image_24012025_13_54_03_097890_0000.jpg
/home/pi/Desktop/images/24012025/13/54/image_24012025_13_54_03_097890_0001.jpg
/home/pi/Desktop/images/24012025/13/54/image_24012025_13_54_03_097890_0002.jpg
/home/pi/Desktop/images/24012025/13/54/image_24012025_13_54_03_097890_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331069508","1331069564","1331069563","1331069554","1331069559","1331069544"],"photo_ids_order":["1331069508","1331069544","1331069554","1331069559","1331069563","1331069564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d72f7e6b6dd41c8312e7175c90926579.jpg","text":"TemporaryFile(/tmp/multipartBody7445166422577881193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727815525,"filename":"image_24012025_13_53_02_858639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fddc3cdba6f496092e49460fa11219c4.jpg","text":"TemporaryFile(/tmp/multipartBody4291615794751745508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727815525,"filename":"image_24012025_13_54_03_097890_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf1b7c685619789feeaf08ab96fe7dbc.jpg","text":"TemporaryFile(/tmp/multipartBody5949371785606588165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727815525,"filename":"image_24012025_13_54_03_097890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/05fd4fbd041d93ad52236fd19bfb8f86.jpg","text":"TemporaryFile(/tmp/multipartBody1241835202656873862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727815525,"filename":"image_24012025_13_54_03_097890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/04de410aba42a291aa9f3e01ea04a9fc.jpg","text":"TemporaryFile(/tmp/multipartBody1446518347043001559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727815525,"filename":"image_24012025_13_54_03_097890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/02ca8cf4576eb5f110a1c06d08d0789e.jpg","text":"TemporaryFile(/tmp/multipartBody8276681999397835980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727815525,"filename":"image_24012025_13_53_02_858639_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331069554","file1":"1331069544","file0":"1331069508","file4":"1331069563","file5":"1331069564","file3":"1331069559"},"map_files_photo_id_array":[{"photo_id":"1331069564","filename":"file5"},{"photo_id":"1331069554","filename":"file2"},{"photo_id":"1331069563","filename":"file4"},{"photo_id":"1331069544","filename":"file1"},{"photo_id":"1331069508","filename":"file0"},{"photo_id":"1331069559","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331069508":["hashtag1","hashtag2"]},{"1331069564":["hashtag1","hashtag2"]},{"1331069563":["hashtag1","hashtag2"]},{"1331069554":["hashtag1","hashtag2"]},{"1331069559":["hashtag1","hashtag2"]},{"1331069544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331069508, 1331069564, 1331069563, 1331069554, 1331069559, 1331069544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.57358980178833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:10:21.965459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/55/image_24012025_13_55_02_206295_0000.jpg', '/home/pi/Desktop/images/24012025/13/55/image_24012025_13_55_02_206295_0001.jpg', '/home/pi/Desktop/images/24012025/13/55/image_24012025_13_55_02_206295_0002.jpg', '/home/pi/Desktop/images/24012025/13/55/image_24012025_13_55_02_206295_0003.jpg', '/home/pi/Desktop/images/24012025/13/56/image_24012025_13_56_02_503892_0000.jpg', '/home/pi/Desktop/images/24012025/13/56/image_24012025_13_56_02_503892_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/55/image_24012025_13_55_02_206295_0000.jpg
/home/pi/Desktop/images/24012025/13/55/image_24012025_13_55_02_206295_0001.jpg
/home/pi/Desktop/images/24012025/13/55/image_24012025_13_55_02_206295_0002.jpg
/home/pi/Desktop/images/24012025/13/55/image_24012025_13_55_02_206295_0003.jpg
/home/pi/Desktop/images/24012025/13/56/image_24012025_13_56_02_503892_0000.jpg
/home/pi/Desktop/images/24012025/13/56/image_24012025_13_56_02_503892_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331069627","1331069609","1331069639","1331069632","1331069620","1331069614"],"photo_ids_order":["1331069609","1331069614","1331069620","1331069627","1331069632","1331069639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a35bc44861b2eaa1adee42a46280523.jpg","text":"TemporaryFile(/tmp/multipartBody1185907859382784729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727934167,"filename":"image_24012025_13_55_02_206295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3cf294ba1c73dcbc795a56b7f01255d6.jpg","text":"TemporaryFile(/tmp/multipartBody5195548383400099257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727934167,"filename":"image_24012025_13_55_02_206295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a141ad44cb7d8365102f8a7227f0702.jpg","text":"TemporaryFile(/tmp/multipartBody1777142166079769547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727934167,"filename":"image_24012025_13_56_02_503892_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23c6ee6042f709a3f337850119b31351.jpg","text":"TemporaryFile(/tmp/multipartBody7761743701342627179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727934167,"filename":"image_24012025_13_56_02_503892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fdbe7236ce5f0aad082a05ef685a5179.jpg","text":"TemporaryFile(/tmp/multipartBody7301948754601369294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727934167,"filename":"image_24012025_13_55_02_206295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2edbdebbdb6c6ccbb50537aa9ff099ee.jpg","text":"TemporaryFile(/tmp/multipartBody6721945026512789024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737727934167,"filename":"image_24012025_13_55_02_206295_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331069620","file1":"1331069614","file0":"1331069609","file4":"1331069632","file5":"1331069639","file3":"1331069627"},"map_files_photo_id_array":[{"photo_id":"1331069639","filename":"file5"},{"photo_id":"1331069620","filename":"file2"},{"photo_id":"1331069632","filename":"file4"},{"photo_id":"1331069614","filename":"file1"},{"photo_id":"1331069609","filename":"file0"},{"photo_id":"1331069627","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331069627":["hashtag1","hashtag2"]},{"1331069609":["hashtag1","hashtag2"]},{"1331069639":["hashtag1","hashtag2"]},{"1331069632":["hashtag1","hashtag2"]},{"1331069620":["hashtag1","hashtag2"]},{"1331069614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331069627, 1331069609, 1331069639, 1331069632, 1331069620, 1331069614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.7820394039154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:12:22.261598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/56/image_24012025_13_56_02_503892_0002.jpg', '/home/pi/Desktop/images/24012025/13/56/image_24012025_13_56_02_503892_0003.jpg', '/home/pi/Desktop/images/24012025/13/57/image_24012025_13_57_02_615513_0000.jpg', '/home/pi/Desktop/images/24012025/13/57/image_24012025_13_57_02_615513_0001.jpg', '/home/pi/Desktop/images/24012025/13/57/image_24012025_13_57_02_615513_0002.jpg', '/home/pi/Desktop/images/24012025/13/57/image_24012025_13_57_02_615513_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/56/image_24012025_13_56_02_503892_0002.jpg
/home/pi/Desktop/images/24012025/13/56/image_24012025_13_56_02_503892_0003.jpg
/home/pi/Desktop/images/24012025/13/57/image_24012025_13_57_02_615513_0000.jpg
/home/pi/Desktop/images/24012025/13/57/image_24012025_13_57_02_615513_0001.jpg
/home/pi/Desktop/images/24012025/13/57/image_24012025_13_57_02_615513_0002.jpg
/home/pi/Desktop/images/24012025/13/57/image_24012025_13_57_02_615513_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331069702","1331069711","1331069680","1331069698","1331069707","1331069931"],"photo_ids_order":["1331069680","1331069698","1331069702","1331069707","1331069711","1331069931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0d355d89430008138cdebb7d47183c3.jpg","text":"TemporaryFile(/tmp/multipartBody1433716569240868700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728033393,"filename":"image_24012025_13_57_02_615513_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/acef51e8d5bf3419dfdc0e585b1d8621.jpg","text":"TemporaryFile(/tmp/multipartBody3321143033211719502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728033393,"filename":"image_24012025_13_57_02_615513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1fff4cede26cd31c1adda588b06849b6.jpg","text":"TemporaryFile(/tmp/multipartBody7488793016278606933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728033393,"filename":"image_24012025_13_56_02_503892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c4ef4526ff644bacbc4d6b8214122b6a.jpg","text":"TemporaryFile(/tmp/multipartBody5010019242527041048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728033393,"filename":"image_24012025_13_56_02_503892_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/62f761a23542307248b7a2bb043d53a6.jpg","text":"TemporaryFile(/tmp/multipartBody1326204213846483568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728033393,"filename":"image_24012025_13_57_02_615513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b6b59502fdc934d453160318dda7b4f.jpg","text":"TemporaryFile(/tmp/multipartBody2356019086921702262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728033393,"filename":"image_24012025_13_57_02_615513_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331069702","file1":"1331069698","file0":"1331069680","file4":"1331069711","file5":"1331069931","file3":"1331069707"},"map_files_photo_id_array":[{"photo_id":"1331069931","filename":"file5"},{"photo_id":"1331069702","filename":"file2"},{"photo_id":"1331069711","filename":"file4"},{"photo_id":"1331069698","filename":"file1"},{"photo_id":"1331069680","filename":"file0"},{"photo_id":"1331069707","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331069702":["hashtag1","hashtag2"]},{"1331069711":["hashtag1","hashtag2"]},{"1331069680":["hashtag1","hashtag2"]},{"1331069698":["hashtag1","hashtag2"]},{"1331069707":["hashtag1","hashtag2"]},{"1331069931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331069702, 1331069711, 1331069680, 1331069698, 1331069707, 1331069931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.52271771430969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:13:52.404338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0000.jpg', '/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0001.jpg', '/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0002.jpg', '/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0003.jpg', '/home/pi/Desktop/images/24012025/13/59/image_24012025_13_59_02_992228_0000.jpg', '/home/pi/Desktop/images/24012025/13/59/image_24012025_13_59_02_992228_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0000.jpg
/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0001.jpg
/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0002.jpg
/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0003.jpg
/home/pi/Desktop/images/24012025/13/59/image_24012025_13_59_02_992228_0000.jpg
/home/pi/Desktop/images/24012025/13/59/image_24012025_13_59_02_992228_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 39.43283295631409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:14:32.542304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0000.jpg', '/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0001.jpg', '/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0002.jpg', '/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0003.jpg', '/home/pi/Desktop/images/24012025/13/59/image_24012025_13_59_02_992228_0000.jpg', '/home/pi/Desktop/images/24012025/13/59/image_24012025_13_59_02_992228_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0000.jpg
/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0001.jpg
/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0002.jpg
/home/pi/Desktop/images/24012025/13/58/image_24012025_13_58_02_856929_0003.jpg
/home/pi/Desktop/images/24012025/13/59/image_24012025_13_59_02_992228_0000.jpg
/home/pi/Desktop/images/24012025/13/59/image_24012025_13_59_02_992228_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331070732","1331070735","1331070691","1331070727","1331070712","1331070678"],"photo_ids_order":["1331070678","1331070691","1331070712","1331070727","1331070732","1331070735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e63fa99472c528d2a8d71a641cc37d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6817249848514349397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728179759,"filename":"image_24012025_13_59_02_992228_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0fee9c80fefb801c66d8691a27f1cc95.jpg","text":"TemporaryFile(/tmp/multipartBody1495459936024037453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728179759,"filename":"image_24012025_13_59_02_992228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7069e077b1beaf814e19a5993f4f065.jpg","text":"TemporaryFile(/tmp/multipartBody912811080924191153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728179759,"filename":"image_24012025_13_58_02_856929_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb64260342228cf8dc182b0e693f35a6.jpg","text":"TemporaryFile(/tmp/multipartBody374058953096549227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728179759,"filename":"image_24012025_13_58_02_856929_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/113cb80748d73d9e3e715f5910cf2f8f.jpg","text":"TemporaryFile(/tmp/multipartBody3092152715389376622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728179759,"filename":"image_24012025_13_58_02_856929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/67566b73abf04c4b5ddcee8eac52cefc.jpg","text":"TemporaryFile(/tmp/multipartBody533819617368251659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728179759,"filename":"image_24012025_13_58_02_856929_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331070712","file1":"1331070691","file0":"1331070678","file4":"1331070732","file5":"1331070735","file3":"1331070727"},"map_files_photo_id_array":[{"photo_id":"1331070735","filename":"file5"},{"photo_id":"1331070712","filename":"file2"},{"photo_id":"1331070732","filename":"file4"},{"photo_id":"1331070691","filename":"file1"},{"photo_id":"1331070678","filename":"file0"},{"photo_id":"1331070727","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331070732":["hashtag1","hashtag2"]},{"1331070735":["hashtag1","hashtag2"]},{"1331070691":["hashtag1","hashtag2"]},{"1331070727":["hashtag1","hashtag2"]},{"1331070712":["hashtag1","hashtag2"]},{"1331070678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331070732, 1331070735, 1331070691, 1331070727, 1331070712, 1331070678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.16731476783752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:16:21.986100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/13/59/image_24012025_13_59_02_992228_0002.jpg', '/home/pi/Desktop/images/24012025/13/59/image_24012025_13_59_02_992228_0003.jpg', '/home/pi/Desktop/images/24012025/14/00/image_24012025_14_00_02_287160_0000.jpg', '/home/pi/Desktop/images/24012025/14/00/image_24012025_14_00_02_287160_0001.jpg', '/home/pi/Desktop/images/24012025/14/00/image_24012025_14_00_02_287160_0002.jpg', '/home/pi/Desktop/images/24012025/14/00/image_24012025_14_00_02_287160_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/13/59/image_24012025_13_59_02_992228_0002.jpg
/home/pi/Desktop/images/24012025/13/59/image_24012025_13_59_02_992228_0003.jpg
/home/pi/Desktop/images/24012025/14/00/image_24012025_14_00_02_287160_0000.jpg
/home/pi/Desktop/images/24012025/14/00/image_24012025_14_00_02_287160_0001.jpg
/home/pi/Desktop/images/24012025/14/00/image_24012025_14_00_02_287160_0002.jpg
/home/pi/Desktop/images/24012025/14/00/image_24012025_14_00_02_287160_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331070771","1331070762","1331070791","1331070789","1331070783","1331070777"],"photo_ids_order":["1331070762","1331070771","1331070777","1331070783","1331070789","1331070791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65bd935b0be20fac4a32eb880f2c5adc.jpg","text":"TemporaryFile(/tmp/multipartBody3330955170919061999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728272002,"filename":"image_24012025_13_59_02_992228_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1cedcc0739dec91f22f371b5e6b01c6.jpg","text":"TemporaryFile(/tmp/multipartBody8079734754444698724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728272002,"filename":"image_24012025_13_59_02_992228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/84b111818acc08c8f9bcbd49fac60de2.jpg","text":"TemporaryFile(/tmp/multipartBody6074635114256483022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728272002,"filename":"image_24012025_14_00_02_287160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48a13b282c28baa89b94bd1f1367325e.jpg","text":"TemporaryFile(/tmp/multipartBody4847019994801041357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728272002,"filename":"image_24012025_14_00_02_287160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1f67cf1462c5296253968048856207c.jpg","text":"TemporaryFile(/tmp/multipartBody1039366478087813586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728272002,"filename":"image_24012025_14_00_02_287160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/79fea103ed4cea9becabb7701f955737.jpg","text":"TemporaryFile(/tmp/multipartBody6786483147479571463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728272002,"filename":"image_24012025_14_00_02_287160_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331070777","file1":"1331070771","file0":"1331070762","file4":"1331070789","file5":"1331070791","file3":"1331070783"},"map_files_photo_id_array":[{"photo_id":"1331070791","filename":"file5"},{"photo_id":"1331070777","filename":"file2"},{"photo_id":"1331070789","filename":"file4"},{"photo_id":"1331070771","filename":"file1"},{"photo_id":"1331070762","filename":"file0"},{"photo_id":"1331070783","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331070771":["hashtag1","hashtag2"]},{"1331070762":["hashtag1","hashtag2"]},{"1331070791":["hashtag1","hashtag2"]},{"1331070789":["hashtag1","hashtag2"]},{"1331070783":["hashtag1","hashtag2"]},{"1331070777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331070771, 1331070762, 1331070791, 1331070789, 1331070783, 1331070777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.03432559967041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:17:52.056717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/01/image_24012025_14_01_02_364881_0000.jpg', '/home/pi/Desktop/images/24012025/14/01/image_24012025_14_01_02_364881_0001.jpg', '/home/pi/Desktop/images/24012025/14/01/image_24012025_14_01_02_364881_0002.jpg', '/home/pi/Desktop/images/24012025/14/01/image_24012025_14_01_02_364881_0003.jpg', '/home/pi/Desktop/images/24012025/14/02/image_24012025_14_02_02_499562_0000.jpg', '/home/pi/Desktop/images/24012025/14/02/image_24012025_14_02_02_499562_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/01/image_24012025_14_01_02_364881_0000.jpg
/home/pi/Desktop/images/24012025/14/01/image_24012025_14_01_02_364881_0001.jpg
/home/pi/Desktop/images/24012025/14/01/image_24012025_14_01_02_364881_0002.jpg
/home/pi/Desktop/images/24012025/14/01/image_24012025_14_01_02_364881_0003.jpg
/home/pi/Desktop/images/24012025/14/02/image_24012025_14_02_02_499562_0000.jpg
/home/pi/Desktop/images/24012025/14/02/image_24012025_14_02_02_499562_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331070875","1331070905","1331070871","1331070889","1331070826","1331070861"],"photo_ids_order":["1331070826","1331070861","1331070871","1331070875","1331070889","1331070905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fadec6b2303bba77c2d889002f1aa1ed.jpg","text":"TemporaryFile(/tmp/multipartBody8890617084672581730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728374058,"filename":"image_24012025_14_01_02_364881_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fea686cb8f74d2fb35de071c832ead90.jpg","text":"TemporaryFile(/tmp/multipartBody8151366848717168262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728374058,"filename":"image_24012025_14_02_02_499562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b21c86585ecb02b4bc1c9d7d135618c5.jpg","text":"TemporaryFile(/tmp/multipartBody5118527552438297751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728374058,"filename":"image_24012025_14_01_02_364881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/93fc5b84a134654317e03bab9cb6f500.jpg","text":"TemporaryFile(/tmp/multipartBody5291074301675713219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728374058,"filename":"image_24012025_14_02_02_499562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7fdc3fdae7ed57ccdc64f228d234c3bf.jpg","text":"TemporaryFile(/tmp/multipartBody1538666705430269256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728374058,"filename":"image_24012025_14_01_02_364881_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2440157f8bb08805f85a75ef473cc256.jpg","text":"TemporaryFile(/tmp/multipartBody8964365315332014654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728374058,"filename":"image_24012025_14_01_02_364881_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331070871","file1":"1331070861","file0":"1331070826","file4":"1331070889","file5":"1331070905","file3":"1331070875"},"map_files_photo_id_array":[{"photo_id":"1331070905","filename":"file5"},{"photo_id":"1331070871","filename":"file2"},{"photo_id":"1331070889","filename":"file4"},{"photo_id":"1331070861","filename":"file1"},{"photo_id":"1331070826","filename":"file0"},{"photo_id":"1331070875","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331070875":["hashtag1","hashtag2"]},{"1331070905":["hashtag1","hashtag2"]},{"1331070871":["hashtag1","hashtag2"]},{"1331070889":["hashtag1","hashtag2"]},{"1331070826":["hashtag1","hashtag2"]},{"1331070861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331070875, 1331070905, 1331070871, 1331070889, 1331070826, 1331070861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.90450549125671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:19:32.449080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/02/image_24012025_14_02_02_499562_0002.jpg', '/home/pi/Desktop/images/24012025/14/02/image_24012025_14_02_02_499562_0003.jpg', '/home/pi/Desktop/images/24012025/14/03/image_24012025_14_03_02_732912_0000.jpg', '/home/pi/Desktop/images/24012025/14/03/image_24012025_14_03_02_732912_0001.jpg', '/home/pi/Desktop/images/24012025/14/03/image_24012025_14_03_02_732912_0002.jpg', '/home/pi/Desktop/images/24012025/14/03/image_24012025_14_03_02_732912_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/02/image_24012025_14_02_02_499562_0002.jpg
/home/pi/Desktop/images/24012025/14/02/image_24012025_14_02_02_499562_0003.jpg
/home/pi/Desktop/images/24012025/14/03/image_24012025_14_03_02_732912_0000.jpg
/home/pi/Desktop/images/24012025/14/03/image_24012025_14_03_02_732912_0001.jpg
/home/pi/Desktop/images/24012025/14/03/image_24012025_14_03_02_732912_0002.jpg
/home/pi/Desktop/images/24012025/14/03/image_24012025_14_03_02_732912_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331071200","1331071192","1331071180","1331071186","1331071210","1331071176"],"photo_ids_order":["1331071176","1331071180","1331071186","1331071192","1331071200","1331071210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/581149832d1dddc6799cc467badf2869.jpg","text":"TemporaryFile(/tmp/multipartBody3448986405449771908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728472443,"filename":"image_24012025_14_03_02_732912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5221e6efc24db025fcf52f6cc8b1a59.jpg","text":"TemporaryFile(/tmp/multipartBody173724940901107836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728472443,"filename":"image_24012025_14_03_02_732912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a96588bef52d1168da657b0dbdad80a2.jpg","text":"TemporaryFile(/tmp/multipartBody4696432955068932827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728472443,"filename":"image_24012025_14_02_02_499562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b2b45281a3a899cdf8022fe6ca121e9.jpg","text":"TemporaryFile(/tmp/multipartBody8923961866323166021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728472443,"filename":"image_24012025_14_03_02_732912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a180b64c6f8b11ac6ea2366b26d6e5a9.jpg","text":"TemporaryFile(/tmp/multipartBody3821756853989365365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728472443,"filename":"image_24012025_14_03_02_732912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd5ef6db895b6304919d9660fb03be5b.jpg","text":"TemporaryFile(/tmp/multipartBody1336275628605752518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728472443,"filename":"image_24012025_14_02_02_499562_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331071186","file1":"1331071180","file0":"1331071176","file4":"1331071200","file5":"1331071210","file3":"1331071192"},"map_files_photo_id_array":[{"photo_id":"1331071210","filename":"file5"},{"photo_id":"1331071186","filename":"file2"},{"photo_id":"1331071200","filename":"file4"},{"photo_id":"1331071180","filename":"file1"},{"photo_id":"1331071176","filename":"file0"},{"photo_id":"1331071192","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331071200":["hashtag1","hashtag2"]},{"1331071192":["hashtag1","hashtag2"]},{"1331071180":["hashtag1","hashtag2"]},{"1331071186":["hashtag1","hashtag2"]},{"1331071210":["hashtag1","hashtag2"]},{"1331071176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331071200, 1331071192, 1331071180, 1331071186, 1331071210, 1331071176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.20350885391235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 15:21:02.420916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/04/image_24012025_14_04_02_928442_0000.jpg', '/home/pi/Desktop/images/24012025/14/04/image_24012025_14_04_02_928442_0001.jpg', '/home/pi/Desktop/images/24012025/14/04/image_24012025_14_04_02_928442_0002.jpg', '/home/pi/Desktop/images/24012025/14/04/image_24012025_14_04_02_928442_0003.jpg', '/home/pi/Desktop/images/24012025/14/05/image_24012025_14_05_03_151449_0000.jpg', '/home/pi/Desktop/images/24012025/14/05/image_24012025_14_05_03_151449_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/04/image_24012025_14_04_02_928442_0000.jpg
/home/pi/Desktop/images/24012025/14/04/image_24012025_14_04_02_928442_0001.jpg
/home/pi/Desktop/images/24012025/14/04/image_24012025_14_04_02_928442_0002.jpg
/home/pi/Desktop/images/24012025/14/04/image_24012025_14_04_02_928442_0003.jpg
/home/pi/Desktop/images/24012025/14/05/image_24012025_14_05_03_151449_0000.jpg
/home/pi/Desktop/images/24012025/14/05/image_24012025_14_05_03_151449_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331071250","1331071247","1331071993","1331071684","1331071372","1331071986"],"photo_ids_order":["1331071247","1331071250","1331071372","1331071684","1331071986","1331071993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/709744dcca15304adbef7d8505670077.jpg","text":"TemporaryFile(/tmp/multipartBody6860866464016786847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728559332,"filename":"image_24012025_14_04_02_928442_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34f5bddf5a0ec33a03d08376a599b276.jpg","text":"TemporaryFile(/tmp/multipartBody1878431377521048317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728559332,"filename":"image_24012025_14_04_02_928442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8aecfd8b765d3031291618febbbc20c3.jpg","text":"TemporaryFile(/tmp/multipartBody6456117364180635496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728559332,"filename":"image_24012025_14_05_03_151449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3067afa3729429634054382c9ec6e105.jpg","text":"TemporaryFile(/tmp/multipartBody8736820801270332129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728559332,"filename":"image_24012025_14_04_02_928442_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30c7a889018244ab4012615703054093.jpg","text":"TemporaryFile(/tmp/multipartBody3497411589177305141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728559332,"filename":"image_24012025_14_04_02_928442_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed22ecb164b0731b8efad73c1de87f7a.jpg","text":"TemporaryFile(/tmp/multipartBody5815724747360774375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728559332,"filename":"image_24012025_14_05_03_151449_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331071372","file1":"1331071250","file0":"1331071247","file4":"1331071986","file5":"1331071993","file3":"1331071684"},"map_files_photo_id_array":[{"photo_id":"1331071993","filename":"file5"},{"photo_id":"1331071372","filename":"file2"},{"photo_id":"1331071986","filename":"file4"},{"photo_id":"1331071250","filename":"file1"},{"photo_id":"1331071247","filename":"file0"},{"photo_id":"1331071684","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331071250":["hashtag1","hashtag2"]},{"1331071247":["hashtag1","hashtag2"]},{"1331071993":["hashtag1","hashtag2"]},{"1331071684":["hashtag1","hashtag2"]},{"1331071372":["hashtag1","hashtag2"]},{"1331071986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331071250, 1331071247, 1331071993, 1331071684, 1331071372, 1331071986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.14194107055664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 15:22:41.973961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/05/image_24012025_14_05_03_151449_0002.jpg', '/home/pi/Desktop/images/24012025/14/05/image_24012025_14_05_03_151449_0003.jpg', '/home/pi/Desktop/images/24012025/14/06/image_24012025_14_06_02_246063_0000.jpg', '/home/pi/Desktop/images/24012025/14/06/image_24012025_14_06_02_246063_0001.jpg', '/home/pi/Desktop/images/24012025/14/06/image_24012025_14_06_02_246063_0002.jpg', '/home/pi/Desktop/images/24012025/14/06/image_24012025_14_06_02_246063_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/05/image_24012025_14_05_03_151449_0002.jpg
/home/pi/Desktop/images/24012025/14/05/image_24012025_14_05_03_151449_0003.jpg
/home/pi/Desktop/images/24012025/14/06/image_24012025_14_06_02_246063_0000.jpg
/home/pi/Desktop/images/24012025/14/06/image_24012025_14_06_02_246063_0001.jpg
/home/pi/Desktop/images/24012025/14/06/image_24012025_14_06_02_246063_0002.jpg
/home/pi/Desktop/images/24012025/14/06/image_24012025_14_06_02_246063_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331072258","1331072324","1331072312","1331072321","1331072295","1331072316"],"photo_ids_order":["1331072258","1331072295","1331072312","1331072316","1331072321","1331072324"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec0ab6b0e8f5f927a619e18a4a5d6a9e.jpg","text":"TemporaryFile(/tmp/multipartBody7312173794518148399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728655231,"filename":"image_24012025_14_05_03_151449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f552ceb8d24f8fed7e31cea99d81493b.jpg","text":"TemporaryFile(/tmp/multipartBody895874525696786803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728655231,"filename":"image_24012025_14_06_02_246063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1859d13ce4efe2adf6dfa32f0bd98456.jpg","text":"TemporaryFile(/tmp/multipartBody4444906250983720878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728655231,"filename":"image_24012025_14_06_02_246063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a3ec4de351a9477b8db2c9f433275dad.jpg","text":"TemporaryFile(/tmp/multipartBody580854903611019029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728655231,"filename":"image_24012025_14_06_02_246063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55517d5d1a873fcd734317b0ba456c70.jpg","text":"TemporaryFile(/tmp/multipartBody7505786921934641217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728655231,"filename":"image_24012025_14_05_03_151449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1b24c681994b3d52ea13df230b59427e.jpg","text":"TemporaryFile(/tmp/multipartBody5772964365195204527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728655231,"filename":"image_24012025_14_06_02_246063_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331072312","file1":"1331072295","file0":"1331072258","file4":"1331072321","file5":"1331072324","file3":"1331072316"},"map_files_photo_id_array":[{"photo_id":"1331072324","filename":"file5"},{"photo_id":"1331072312","filename":"file2"},{"photo_id":"1331072321","filename":"file4"},{"photo_id":"1331072295","filename":"file1"},{"photo_id":"1331072258","filename":"file0"},{"photo_id":"1331072316","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331072258":["hashtag1","hashtag2"]},{"1331072324":["hashtag1","hashtag2"]},{"1331072312":["hashtag1","hashtag2"]},{"1331072321":["hashtag1","hashtag2"]},{"1331072295":["hashtag1","hashtag2"]},{"1331072316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331072258, 1331072324, 1331072312, 1331072321, 1331072295, 1331072316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.46728277206421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:24:22.334244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/07/image_24012025_14_07_02_359861_0000.jpg', '/home/pi/Desktop/images/24012025/14/07/image_24012025_14_07_02_359861_0001.jpg', '/home/pi/Desktop/images/24012025/14/07/image_24012025_14_07_02_359861_0002.jpg', '/home/pi/Desktop/images/24012025/14/07/image_24012025_14_07_02_359861_0003.jpg', '/home/pi/Desktop/images/24012025/14/08/image_24012025_14_08_02_505994_0000.jpg', '/home/pi/Desktop/images/24012025/14/08/image_24012025_14_08_02_505994_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/07/image_24012025_14_07_02_359861_0000.jpg
/home/pi/Desktop/images/24012025/14/07/image_24012025_14_07_02_359861_0001.jpg
/home/pi/Desktop/images/24012025/14/07/image_24012025_14_07_02_359861_0002.jpg
/home/pi/Desktop/images/24012025/14/07/image_24012025_14_07_02_359861_0003.jpg
/home/pi/Desktop/images/24012025/14/08/image_24012025_14_08_02_505994_0000.jpg
/home/pi/Desktop/images/24012025/14/08/image_24012025_14_08_02_505994_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331072426","1331072411","1331072442","1331072445","1331072436","1331072418"],"photo_ids_order":["1331072411","1331072418","1331072426","1331072436","1331072442","1331072445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a533f3e2082b681a6585c6280112eb9e.jpg","text":"TemporaryFile(/tmp/multipartBody5140060405752018916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728755335,"filename":"image_24012025_14_07_02_359861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac74f57a26a6934130744f6c96b06e30.jpg","text":"TemporaryFile(/tmp/multipartBody3592603772860402417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728755335,"filename":"image_24012025_14_07_02_359861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/03d291912cd924adb8ddb08d47fe9350.jpg","text":"TemporaryFile(/tmp/multipartBody7869832631273028614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728755335,"filename":"image_24012025_14_08_02_505994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/36b9dfa8fea14e7544615ff13f663de0.jpg","text":"TemporaryFile(/tmp/multipartBody6455987289634041317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728755335,"filename":"image_24012025_14_08_02_505994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/647cb84f70940d71b293284f912ceaa6.jpg","text":"TemporaryFile(/tmp/multipartBody96384232767221113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728755335,"filename":"image_24012025_14_07_02_359861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/08c3fb042de3064fedec61546b0986a4.jpg","text":"TemporaryFile(/tmp/multipartBody1073556166182061071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728755335,"filename":"image_24012025_14_07_02_359861_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331072426","file1":"1331072418","file0":"1331072411","file4":"1331072442","file5":"1331072445","file3":"1331072436"},"map_files_photo_id_array":[{"photo_id":"1331072445","filename":"file5"},{"photo_id":"1331072426","filename":"file2"},{"photo_id":"1331072442","filename":"file4"},{"photo_id":"1331072418","filename":"file1"},{"photo_id":"1331072411","filename":"file0"},{"photo_id":"1331072436","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331072426":["hashtag1","hashtag2"]},{"1331072411":["hashtag1","hashtag2"]},{"1331072442":["hashtag1","hashtag2"]},{"1331072445":["hashtag1","hashtag2"]},{"1331072436":["hashtag1","hashtag2"]},{"1331072418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331072426, 1331072411, 1331072442, 1331072445, 1331072436, 1331072418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.34997487068176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:25:52.512551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/08/image_24012025_14_08_02_505994_0002.jpg', '/home/pi/Desktop/images/24012025/14/08/image_24012025_14_08_02_505994_0003.jpg', '/home/pi/Desktop/images/24012025/14/09/image_24012025_14_09_02_860960_0000.jpg', '/home/pi/Desktop/images/24012025/14/09/image_24012025_14_09_02_860960_0001.jpg', '/home/pi/Desktop/images/24012025/14/09/image_24012025_14_09_02_860960_0002.jpg', '/home/pi/Desktop/images/24012025/14/09/image_24012025_14_09_02_860960_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/08/image_24012025_14_08_02_505994_0002.jpg
/home/pi/Desktop/images/24012025/14/08/image_24012025_14_08_02_505994_0003.jpg
/home/pi/Desktop/images/24012025/14/09/image_24012025_14_09_02_860960_0000.jpg
/home/pi/Desktop/images/24012025/14/09/image_24012025_14_09_02_860960_0001.jpg
/home/pi/Desktop/images/24012025/14/09/image_24012025_14_09_02_860960_0002.jpg
/home/pi/Desktop/images/24012025/14/09/image_24012025_14_09_02_860960_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331072540","1331072525","1331072506","1331072550","1331072547","1331072529"],"photo_ids_order":["1331072506","1331072525","1331072529","1331072540","1331072547","1331072550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/67e70ad851af87481dccc052815a16c1.jpg","text":"TemporaryFile(/tmp/multipartBody3373000525973027599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728839660,"filename":"image_24012025_14_09_02_860960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/717cc71c79e863d32313cf583873864c.jpg","text":"TemporaryFile(/tmp/multipartBody6332019118062768962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728839660,"filename":"image_24012025_14_08_02_505994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b9417d28f5e48ef143be31848580bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4566865510479761731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728839660,"filename":"image_24012025_14_08_02_505994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/682b969d35a47bc623c6e2b5780609d2.jpg","text":"TemporaryFile(/tmp/multipartBody8275746829575216498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728839660,"filename":"image_24012025_14_09_02_860960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/743f4504b880d6c16eaf07d970e9f29f.jpg","text":"TemporaryFile(/tmp/multipartBody3118859076752977110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728839660,"filename":"image_24012025_14_09_02_860960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/262b466b0d4559ccb6e2b0f82c497278.jpg","text":"TemporaryFile(/tmp/multipartBody3951886908798572888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728839660,"filename":"image_24012025_14_09_02_860960_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331072529","file1":"1331072525","file0":"1331072506","file4":"1331072547","file5":"1331072550","file3":"1331072540"},"map_files_photo_id_array":[{"photo_id":"1331072550","filename":"file5"},{"photo_id":"1331072529","filename":"file2"},{"photo_id":"1331072547","filename":"file4"},{"photo_id":"1331072525","filename":"file1"},{"photo_id":"1331072506","filename":"file0"},{"photo_id":"1331072540","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331072540":["hashtag1","hashtag2"]},{"1331072525":["hashtag1","hashtag2"]},{"1331072506":["hashtag1","hashtag2"]},{"1331072550":["hashtag1","hashtag2"]},{"1331072547":["hashtag1","hashtag2"]},{"1331072529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331072540, 1331072525, 1331072506, 1331072550, 1331072547, 1331072529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.5212550163269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:27:21.927324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/10/image_24012025_14_10_03_094718_0000.jpg', '/home/pi/Desktop/images/24012025/14/10/image_24012025_14_10_03_094718_0001.jpg', '/home/pi/Desktop/images/24012025/14/10/image_24012025_14_10_03_094718_0002.jpg', '/home/pi/Desktop/images/24012025/14/10/image_24012025_14_10_03_094718_0003.jpg', '/home/pi/Desktop/images/24012025/14/11/image_24012025_14_11_02_190501_0000.jpg', '/home/pi/Desktop/images/24012025/14/11/image_24012025_14_11_02_190501_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/10/image_24012025_14_10_03_094718_0000.jpg
/home/pi/Desktop/images/24012025/14/10/image_24012025_14_10_03_094718_0001.jpg
/home/pi/Desktop/images/24012025/14/10/image_24012025_14_10_03_094718_0002.jpg
/home/pi/Desktop/images/24012025/14/10/image_24012025_14_10_03_094718_0003.jpg
/home/pi/Desktop/images/24012025/14/11/image_24012025_14_11_02_190501_0000.jpg
/home/pi/Desktop/images/24012025/14/11/image_24012025_14_11_02_190501_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331072689","1331072698","1331072704","1331072667","1331072678","1331072663"],"photo_ids_order":["1331072663","1331072667","1331072678","1331072689","1331072698","1331072704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e3b91b3272c0340b5663b3648d475fdd.jpg","text":"TemporaryFile(/tmp/multipartBody5300640982959680139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728930652,"filename":"image_24012025_14_10_03_094718_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d285a88254cda641f2b9d2e8f495ceeb.jpg","text":"TemporaryFile(/tmp/multipartBody2135564814925560036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728930652,"filename":"image_24012025_14_11_02_190501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/767756a7d7357d00bf77f7e06ac0b59a.jpg","text":"TemporaryFile(/tmp/multipartBody3122281877056840876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728930652,"filename":"image_24012025_14_11_02_190501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c2f1307c3d6b8b581727bdf082f31af.jpg","text":"TemporaryFile(/tmp/multipartBody1878196297487412160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728930652,"filename":"image_24012025_14_10_03_094718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab6cf139f314d31ced332ee812e3204b.jpg","text":"TemporaryFile(/tmp/multipartBody462393062719719191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728930652,"filename":"image_24012025_14_10_03_094718_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0fd235ef7846caabd6d6e33d3aa4f497.jpg","text":"TemporaryFile(/tmp/multipartBody3414113942088785428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737728930652,"filename":"image_24012025_14_10_03_094718_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331072678","file1":"1331072667","file0":"1331072663","file4":"1331072698","file5":"1331072704","file3":"1331072689"},"map_files_photo_id_array":[{"photo_id":"1331072704","filename":"file5"},{"photo_id":"1331072678","filename":"file2"},{"photo_id":"1331072698","filename":"file4"},{"photo_id":"1331072667","filename":"file1"},{"photo_id":"1331072663","filename":"file0"},{"photo_id":"1331072689","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331072689":["hashtag1","hashtag2"]},{"1331072698":["hashtag1","hashtag2"]},{"1331072704":["hashtag1","hashtag2"]},{"1331072667":["hashtag1","hashtag2"]},{"1331072678":["hashtag1","hashtag2"]},{"1331072663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331072689, 1331072698, 1331072704, 1331072667, 1331072678, 1331072663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.90893292427063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:28:52.142122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/11/image_24012025_14_11_02_190501_0002.jpg', '/home/pi/Desktop/images/24012025/14/11/image_24012025_14_11_02_190501_0003.jpg', '/home/pi/Desktop/images/24012025/14/12/image_24012025_14_12_02_356149_0000.jpg', '/home/pi/Desktop/images/24012025/14/12/image_24012025_14_12_02_356149_0001.jpg', '/home/pi/Desktop/images/24012025/14/12/image_24012025_14_12_02_356149_0002.jpg', '/home/pi/Desktop/images/24012025/14/12/image_24012025_14_12_02_356149_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/11/image_24012025_14_11_02_190501_0002.jpg
/home/pi/Desktop/images/24012025/14/11/image_24012025_14_11_02_190501_0003.jpg
/home/pi/Desktop/images/24012025/14/12/image_24012025_14_12_02_356149_0000.jpg
/home/pi/Desktop/images/24012025/14/12/image_24012025_14_12_02_356149_0001.jpg
/home/pi/Desktop/images/24012025/14/12/image_24012025_14_12_02_356149_0002.jpg
/home/pi/Desktop/images/24012025/14/12/image_24012025_14_12_02_356149_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331072791","1331072758","1331072784","1331072766","1331072748","1331072762"],"photo_ids_order":["1331072748","1331072758","1331072762","1331072766","1331072784","1331072791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c9e7bfae08f765d6c6135a764174e7a9.jpg","text":"TemporaryFile(/tmp/multipartBody7239479683837252238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729025191,"filename":"image_24012025_14_12_02_356149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/70c553b22251aa278620d3ecb8ce80f2.jpg","text":"TemporaryFile(/tmp/multipartBody4865517264772684744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729025191,"filename":"image_24012025_14_11_02_190501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/776d3954f8136a2320752a26bee60753.jpg","text":"TemporaryFile(/tmp/multipartBody8205429255510637761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729025191,"filename":"image_24012025_14_12_02_356149_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2bdc4efd7a5bd7c99fb310963f398d5e.jpg","text":"TemporaryFile(/tmp/multipartBody5301533048556984508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729025191,"filename":"image_24012025_14_12_02_356149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8d32816e9e2b125344e9c074447d6841.jpg","text":"TemporaryFile(/tmp/multipartBody4968410261687025976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729025191,"filename":"image_24012025_14_11_02_190501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/69362ffd2c9fc4f4b6e1b5da6e679dbe.jpg","text":"TemporaryFile(/tmp/multipartBody1026225654593278772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729025191,"filename":"image_24012025_14_12_02_356149_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331072762","file1":"1331072758","file0":"1331072748","file4":"1331072784","file5":"1331072791","file3":"1331072766"},"map_files_photo_id_array":[{"photo_id":"1331072791","filename":"file5"},{"photo_id":"1331072762","filename":"file2"},{"photo_id":"1331072784","filename":"file4"},{"photo_id":"1331072758","filename":"file1"},{"photo_id":"1331072748","filename":"file0"},{"photo_id":"1331072766","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331072791":["hashtag1","hashtag2"]},{"1331072758":["hashtag1","hashtag2"]},{"1331072784":["hashtag1","hashtag2"]},{"1331072766":["hashtag1","hashtag2"]},{"1331072748":["hashtag1","hashtag2"]},{"1331072762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331072791, 1331072758, 1331072784, 1331072766, 1331072748, 1331072762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.26428818702698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:30:22.527234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/13/image_24012025_14_13_02_595829_0000.jpg', '/home/pi/Desktop/images/24012025/14/13/image_24012025_14_13_02_595829_0001.jpg', '/home/pi/Desktop/images/24012025/14/13/image_24012025_14_13_02_595829_0002.jpg', '/home/pi/Desktop/images/24012025/14/13/image_24012025_14_13_02_595829_0003.jpg', '/home/pi/Desktop/images/24012025/14/14/image_24012025_14_14_02_755041_0000.jpg', '/home/pi/Desktop/images/24012025/14/14/image_24012025_14_14_02_755041_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/13/image_24012025_14_13_02_595829_0000.jpg
/home/pi/Desktop/images/24012025/14/13/image_24012025_14_13_02_595829_0001.jpg
/home/pi/Desktop/images/24012025/14/13/image_24012025_14_13_02_595829_0002.jpg
/home/pi/Desktop/images/24012025/14/13/image_24012025_14_13_02_595829_0003.jpg
/home/pi/Desktop/images/24012025/14/14/image_24012025_14_14_02_755041_0000.jpg
/home/pi/Desktop/images/24012025/14/14/image_24012025_14_14_02_755041_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331072951","1331072935","1331072946","1331072961","1331072913","1331072975"],"photo_ids_order":["1331072913","1331072935","1331072946","1331072951","1331072961","1331072975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7fa9f6c789122f350dbe3c4707eb30e4.jpg","text":"TemporaryFile(/tmp/multipartBody1496071663425031031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729113658,"filename":"image_24012025_14_13_02_595829_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/35441752d17e4fe998872b85bd1b7faf.jpg","text":"TemporaryFile(/tmp/multipartBody2415057631074374355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729113658,"filename":"image_24012025_14_13_02_595829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f3bfa1f651e5abef4e9c4c14d0bf0d6f.jpg","text":"TemporaryFile(/tmp/multipartBody3728301073979144360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729113658,"filename":"image_24012025_14_13_02_595829_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/055170fbd1741c591f51bfdbd53fa3dd.jpg","text":"TemporaryFile(/tmp/multipartBody117164004818166068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729113658,"filename":"image_24012025_14_14_02_755041_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/581ec1f4b208a59b70c4edd8dd171695.jpg","text":"TemporaryFile(/tmp/multipartBody6654218520352669857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729113658,"filename":"image_24012025_14_13_02_595829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e25a09d182ea6e16d051445d0600f756.jpg","text":"TemporaryFile(/tmp/multipartBody9124673864534342178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729113658,"filename":"image_24012025_14_14_02_755041_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331072946","file1":"1331072935","file0":"1331072913","file4":"1331072961","file5":"1331072975","file3":"1331072951"},"map_files_photo_id_array":[{"photo_id":"1331072975","filename":"file5"},{"photo_id":"1331072946","filename":"file2"},{"photo_id":"1331072961","filename":"file4"},{"photo_id":"1331072935","filename":"file1"},{"photo_id":"1331072913","filename":"file0"},{"photo_id":"1331072951","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331072951":["hashtag1","hashtag2"]},{"1331072935":["hashtag1","hashtag2"]},{"1331072946":["hashtag1","hashtag2"]},{"1331072961":["hashtag1","hashtag2"]},{"1331072913":["hashtag1","hashtag2"]},{"1331072975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331072951, 1331072935, 1331072946, 1331072961, 1331072913, 1331072975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.4191484451294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:31:52.636357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/14/image_24012025_14_14_02_755041_0002.jpg', '/home/pi/Desktop/images/24012025/14/14/image_24012025_14_14_02_755041_0003.jpg', '/home/pi/Desktop/images/24012025/14/15/image_24012025_14_15_02_977081_0000.jpg', '/home/pi/Desktop/images/24012025/14/15/image_24012025_14_15_02_977081_0001.jpg', '/home/pi/Desktop/images/24012025/14/15/image_24012025_14_15_02_977081_0002.jpg', '/home/pi/Desktop/images/24012025/14/15/image_24012025_14_15_02_977081_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/14/image_24012025_14_14_02_755041_0002.jpg
/home/pi/Desktop/images/24012025/14/14/image_24012025_14_14_02_755041_0003.jpg
/home/pi/Desktop/images/24012025/14/15/image_24012025_14_15_02_977081_0000.jpg
/home/pi/Desktop/images/24012025/14/15/image_24012025_14_15_02_977081_0001.jpg
/home/pi/Desktop/images/24012025/14/15/image_24012025_14_15_02_977081_0002.jpg
/home/pi/Desktop/images/24012025/14/15/image_24012025_14_15_02_977081_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331073011","1331073020","1331073037","1331073033","1331073027","1331073006"],"photo_ids_order":["1331073006","1331073011","1331073020","1331073027","1331073033","1331073037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e79ea4e04a0f56eeaeda5750d70299b8.jpg","text":"TemporaryFile(/tmp/multipartBody3050073452918380158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729200109,"filename":"image_24012025_14_14_02_755041_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da95da1e5647b651e76c6c14b45b38a4.jpg","text":"TemporaryFile(/tmp/multipartBody3861135757185868627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729200109,"filename":"image_24012025_14_15_02_977081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b83b8a27cc6fcd305a3acd17a5439244.jpg","text":"TemporaryFile(/tmp/multipartBody1618909464662770362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729200109,"filename":"image_24012025_14_15_02_977081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7fde8abc4074419346ed3477e2add3c.jpg","text":"TemporaryFile(/tmp/multipartBody7019748465106862980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729200109,"filename":"image_24012025_14_15_02_977081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1dc692ebf87090d90bd1071170179d18.jpg","text":"TemporaryFile(/tmp/multipartBody1985691921448810435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729200109,"filename":"image_24012025_14_15_02_977081_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c8b91d21b4b2adb20c24ca8b782b21aa.jpg","text":"TemporaryFile(/tmp/multipartBody4271638749268420443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729200109,"filename":"image_24012025_14_14_02_755041_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331073020","file1":"1331073011","file0":"1331073006","file4":"1331073033","file5":"1331073037","file3":"1331073027"},"map_files_photo_id_array":[{"photo_id":"1331073037","filename":"file5"},{"photo_id":"1331073020","filename":"file2"},{"photo_id":"1331073033","filename":"file4"},{"photo_id":"1331073011","filename":"file1"},{"photo_id":"1331073006","filename":"file0"},{"photo_id":"1331073027","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331073011":["hashtag1","hashtag2"]},{"1331073020":["hashtag1","hashtag2"]},{"1331073037":["hashtag1","hashtag2"]},{"1331073033":["hashtag1","hashtag2"]},{"1331073027":["hashtag1","hashtag2"]},{"1331073006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331073011, 1331073020, 1331073037, 1331073033, 1331073027, 1331073006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.8852059841156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:33:22.035670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/16/image_24012025_14_16_03_091938_0000.jpg', '/home/pi/Desktop/images/24012025/14/16/image_24012025_14_16_03_091938_0001.jpg', '/home/pi/Desktop/images/24012025/14/16/image_24012025_14_16_03_091938_0002.jpg', '/home/pi/Desktop/images/24012025/14/16/image_24012025_14_16_03_091938_0003.jpg', '/home/pi/Desktop/images/24012025/14/17/image_24012025_14_17_02_311014_0000.jpg', '/home/pi/Desktop/images/24012025/14/17/image_24012025_14_17_02_311014_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/16/image_24012025_14_16_03_091938_0000.jpg
/home/pi/Desktop/images/24012025/14/16/image_24012025_14_16_03_091938_0001.jpg
/home/pi/Desktop/images/24012025/14/16/image_24012025_14_16_03_091938_0002.jpg
/home/pi/Desktop/images/24012025/14/16/image_24012025_14_16_03_091938_0003.jpg
/home/pi/Desktop/images/24012025/14/17/image_24012025_14_17_02_311014_0000.jpg
/home/pi/Desktop/images/24012025/14/17/image_24012025_14_17_02_311014_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331073119","1331073079","1331073088","1331073109","1331073114","1331073083"],"photo_ids_order":["1331073079","1331073083","1331073088","1331073109","1331073114","1331073119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c7dcac6abd8899d8cd2bac4e758affcc.jpg","text":"TemporaryFile(/tmp/multipartBody761477165276667473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729296088,"filename":"image_24012025_14_17_02_311014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e645872e65d33d167f92ac46d691f2e7.jpg","text":"TemporaryFile(/tmp/multipartBody7026286015637645442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729296088,"filename":"image_24012025_14_16_03_091938_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/56b94f0c02fdf37e5c45d73ee2e1d61e.jpg","text":"TemporaryFile(/tmp/multipartBody9080001971009973967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729296088,"filename":"image_24012025_14_16_03_091938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5baf513629fb9c7cc57e1900fdb255a4.jpg","text":"TemporaryFile(/tmp/multipartBody3545961717311884263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729296088,"filename":"image_24012025_14_16_03_091938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cfca422e39978e5bed153e1f990c9792.jpg","text":"TemporaryFile(/tmp/multipartBody977556802149607479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729296088,"filename":"image_24012025_14_17_02_311014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2b4af055ee0ce095ef7494fe0afd5a6e.jpg","text":"TemporaryFile(/tmp/multipartBody8760524156988857777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729296088,"filename":"image_24012025_14_16_03_091938_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331073088","file1":"1331073083","file0":"1331073079","file4":"1331073114","file5":"1331073119","file3":"1331073109"},"map_files_photo_id_array":[{"photo_id":"1331073119","filename":"file5"},{"photo_id":"1331073088","filename":"file2"},{"photo_id":"1331073114","filename":"file4"},{"photo_id":"1331073083","filename":"file1"},{"photo_id":"1331073079","filename":"file0"},{"photo_id":"1331073109","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331073119":["hashtag1","hashtag2"]},{"1331073079":["hashtag1","hashtag2"]},{"1331073088":["hashtag1","hashtag2"]},{"1331073109":["hashtag1","hashtag2"]},{"1331073114":["hashtag1","hashtag2"]},{"1331073083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331073119, 1331073079, 1331073088, 1331073109, 1331073114, 1331073083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.65702319145203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:34:52.206345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/17/image_24012025_14_17_02_311014_0002.jpg', '/home/pi/Desktop/images/24012025/14/17/image_24012025_14_17_02_311014_0003.jpg', '/home/pi/Desktop/images/24012025/14/18/image_24012025_14_18_02_503145_0000.jpg', '/home/pi/Desktop/images/24012025/14/18/image_24012025_14_18_02_503145_0001.jpg', '/home/pi/Desktop/images/24012025/14/18/image_24012025_14_18_02_503145_0002.jpg', '/home/pi/Desktop/images/24012025/14/18/image_24012025_14_18_02_503145_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/17/image_24012025_14_17_02_311014_0002.jpg
/home/pi/Desktop/images/24012025/14/17/image_24012025_14_17_02_311014_0003.jpg
/home/pi/Desktop/images/24012025/14/18/image_24012025_14_18_02_503145_0000.jpg
/home/pi/Desktop/images/24012025/14/18/image_24012025_14_18_02_503145_0001.jpg
/home/pi/Desktop/images/24012025/14/18/image_24012025_14_18_02_503145_0002.jpg
/home/pi/Desktop/images/24012025/14/18/image_24012025_14_18_02_503145_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331073307","1331073297","1331073321","1331073315","1331073300","1331073287"],"photo_ids_order":["1331073287","1331073297","1331073300","1331073307","1331073315","1331073321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c1d15c1ae0b3515842e0ec343dfe957d.jpg","text":"TemporaryFile(/tmp/multipartBody1962822262381418684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729374574,"filename":"image_24012025_14_18_02_503145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bbcc7b086bdee30933c7029af64eedd8.jpg","text":"TemporaryFile(/tmp/multipartBody3843364819637457151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729374574,"filename":"image_24012025_14_17_02_311014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1211cf1dea181ca85bd641051f183288.jpg","text":"TemporaryFile(/tmp/multipartBody419035914769550330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729374574,"filename":"image_24012025_14_18_02_503145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3776e073e78084eafb17bd7932f72c28.jpg","text":"TemporaryFile(/tmp/multipartBody1506794524883195112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729374574,"filename":"image_24012025_14_18_02_503145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb792598ed0f4bf1843cd9c9c936ef5a.jpg","text":"TemporaryFile(/tmp/multipartBody3450756185354745252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729374574,"filename":"image_24012025_14_18_02_503145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f101a4615ef4989276c653bbf02ea0d.jpg","text":"TemporaryFile(/tmp/multipartBody3999483840941827804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729374574,"filename":"image_24012025_14_17_02_311014_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331073300","file1":"1331073297","file0":"1331073287","file4":"1331073315","file5":"1331073321","file3":"1331073307"},"map_files_photo_id_array":[{"photo_id":"1331073321","filename":"file5"},{"photo_id":"1331073300","filename":"file2"},{"photo_id":"1331073315","filename":"file4"},{"photo_id":"1331073297","filename":"file1"},{"photo_id":"1331073287","filename":"file0"},{"photo_id":"1331073307","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331073307":["hashtag1","hashtag2"]},{"1331073297":["hashtag1","hashtag2"]},{"1331073321":["hashtag1","hashtag2"]},{"1331073315":["hashtag1","hashtag2"]},{"1331073300":["hashtag1","hashtag2"]},{"1331073287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331073307, 1331073297, 1331073321, 1331073315, 1331073300, 1331073287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.74185037612915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:36:22.595554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/19/image_24012025_14_19_02_705725_0000.jpg', '/home/pi/Desktop/images/24012025/14/19/image_24012025_14_19_02_705725_0001.jpg', '/home/pi/Desktop/images/24012025/14/19/image_24012025_14_19_02_705725_0002.jpg', '/home/pi/Desktop/images/24012025/14/19/image_24012025_14_19_02_705725_0003.jpg', '/home/pi/Desktop/images/24012025/14/20/image_24012025_14_20_02_929793_0000.jpg', '/home/pi/Desktop/images/24012025/14/20/image_24012025_14_20_02_929793_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/19/image_24012025_14_19_02_705725_0000.jpg
/home/pi/Desktop/images/24012025/14/19/image_24012025_14_19_02_705725_0001.jpg
/home/pi/Desktop/images/24012025/14/19/image_24012025_14_19_02_705725_0002.jpg
/home/pi/Desktop/images/24012025/14/19/image_24012025_14_19_02_705725_0003.jpg
/home/pi/Desktop/images/24012025/14/20/image_24012025_14_20_02_929793_0000.jpg
/home/pi/Desktop/images/24012025/14/20/image_24012025_14_20_02_929793_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331073401","1331073397","1331073390","1331073383","1331073374","1331073368"],"photo_ids_order":["1331073368","1331073374","1331073383","1331073390","1331073397","1331073401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/099ea6558387ed3184e7d8bb507088a1.jpg","text":"TemporaryFile(/tmp/multipartBody7560797086126833814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729476646,"filename":"image_24012025_14_20_02_929793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/046bcae5c453c09477a543d6114ab277.jpg","text":"TemporaryFile(/tmp/multipartBody6518307482716329913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729476646,"filename":"image_24012025_14_20_02_929793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34a3d569620c1ba4814e5684dbfb7259.jpg","text":"TemporaryFile(/tmp/multipartBody9020435558272473524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729476646,"filename":"image_24012025_14_19_02_705725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5fab3ec848efd78bea419de735e09b6b.jpg","text":"TemporaryFile(/tmp/multipartBody6654297592056941703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729476646,"filename":"image_24012025_14_19_02_705725_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f0ad0460912e22871800325dad53bc4.jpg","text":"TemporaryFile(/tmp/multipartBody1107709701545200949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729476646,"filename":"image_24012025_14_19_02_705725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bef4ad87de9254c7b86f0ed9b63ec9dc.jpg","text":"TemporaryFile(/tmp/multipartBody6746746695625209603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729476646,"filename":"image_24012025_14_19_02_705725_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331073383","file1":"1331073374","file0":"1331073368","file4":"1331073397","file5":"1331073401","file3":"1331073390"},"map_files_photo_id_array":[{"photo_id":"1331073401","filename":"file5"},{"photo_id":"1331073383","filename":"file2"},{"photo_id":"1331073397","filename":"file4"},{"photo_id":"1331073374","filename":"file1"},{"photo_id":"1331073368","filename":"file0"},{"photo_id":"1331073390","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331073401":["hashtag1","hashtag2"]},{"1331073397":["hashtag1","hashtag2"]},{"1331073390":["hashtag1","hashtag2"]},{"1331073383":["hashtag1","hashtag2"]},{"1331073374":["hashtag1","hashtag2"]},{"1331073368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331073401, 1331073397, 1331073390, 1331073383, 1331073374, 1331073368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.14148259162903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:37:52.748451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/20/image_24012025_14_20_02_929793_0002.jpg', '/home/pi/Desktop/images/24012025/14/20/image_24012025_14_20_02_929793_0003.jpg', '/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0000.jpg', '/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0001.jpg', '/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0002.jpg', '/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/20/image_24012025_14_20_02_929793_0002.jpg
/home/pi/Desktop/images/24012025/14/20/image_24012025_14_20_02_929793_0003.jpg
/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0000.jpg
/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0001.jpg
/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0002.jpg
/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 44.58833909034729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 15:38:42.008479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/20/image_24012025_14_20_02_929793_0002.jpg', '/home/pi/Desktop/images/24012025/14/20/image_24012025_14_20_02_929793_0003.jpg', '/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0000.jpg', '/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0001.jpg', '/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0002.jpg', '/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/20/image_24012025_14_20_02_929793_0002.jpg
/home/pi/Desktop/images/24012025/14/20/image_24012025_14_20_02_929793_0003.jpg
/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0000.jpg
/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0001.jpg
/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0002.jpg
/home/pi/Desktop/images/24012025/14/21/image_24012025_14_21_03_184200_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331073542","1331073493","1331073496","1331073550","1331073546","1331073548"],"photo_ids_order":["1331073493","1331073496","1331073542","1331073546","1331073548","1331073550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7304530854321869da4656e28e507d2.jpg","text":"TemporaryFile(/tmp/multipartBody8985803037116227759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729622648,"filename":"image_24012025_14_21_03_184200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ff8a30a5868e3afe6e15f27c6d23573.jpg","text":"TemporaryFile(/tmp/multipartBody195798674538894458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729622648,"filename":"image_24012025_14_20_02_929793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0c4f879862f9d94c4eb4578c6713e59.jpg","text":"TemporaryFile(/tmp/multipartBody2144215101566110756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729622648,"filename":"image_24012025_14_20_02_929793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/536c1db64ac727d869289dde1ab8c13d.jpg","text":"TemporaryFile(/tmp/multipartBody1611602905114835573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729622648,"filename":"image_24012025_14_21_03_184200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5a33e091e748daa86a2080b1ca83f19c.jpg","text":"TemporaryFile(/tmp/multipartBody3117124763941154969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729622648,"filename":"image_24012025_14_21_03_184200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d6972b9008a077fdd72b99ac247d8beb.jpg","text":"TemporaryFile(/tmp/multipartBody15877693305131148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729622648,"filename":"image_24012025_14_21_03_184200_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331073542","file1":"1331073496","file0":"1331073493","file4":"1331073548","file5":"1331073550","file3":"1331073546"},"map_files_photo_id_array":[{"photo_id":"1331073550","filename":"file5"},{"photo_id":"1331073542","filename":"file2"},{"photo_id":"1331073548","filename":"file4"},{"photo_id":"1331073496","filename":"file1"},{"photo_id":"1331073493","filename":"file0"},{"photo_id":"1331073546","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331073542":["hashtag1","hashtag2"]},{"1331073493":["hashtag1","hashtag2"]},{"1331073496":["hashtag1","hashtag2"]},{"1331073550":["hashtag1","hashtag2"]},{"1331073546":["hashtag1","hashtag2"]},{"1331073548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331073542, 1331073493, 1331073496, 1331073550, 1331073546, 1331073548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.74921298027039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:40:22.347103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/22/image_24012025_14_22_02_390778_0000.jpg', '/home/pi/Desktop/images/24012025/14/22/image_24012025_14_22_02_390778_0001.jpg', '/home/pi/Desktop/images/24012025/14/22/image_24012025_14_22_02_390778_0002.jpg', '/home/pi/Desktop/images/24012025/14/22/image_24012025_14_22_02_390778_0003.jpg', '/home/pi/Desktop/images/24012025/14/23/image_24012025_14_23_02_512688_0000.jpg', '/home/pi/Desktop/images/24012025/14/23/image_24012025_14_23_02_512688_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/22/image_24012025_14_22_02_390778_0000.jpg
/home/pi/Desktop/images/24012025/14/22/image_24012025_14_22_02_390778_0001.jpg
/home/pi/Desktop/images/24012025/14/22/image_24012025_14_22_02_390778_0002.jpg
/home/pi/Desktop/images/24012025/14/22/image_24012025_14_22_02_390778_0003.jpg
/home/pi/Desktop/images/24012025/14/23/image_24012025_14_23_02_512688_0000.jpg
/home/pi/Desktop/images/24012025/14/23/image_24012025_14_23_02_512688_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331073617","1331074126","1331073859","1331073622","1331073613","1331073606"],"photo_ids_order":["1331073606","1331073613","1331073617","1331073622","1331073859","1331074126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a78c8fa9f309858ddfe309dc4ffb396e.jpg","text":"TemporaryFile(/tmp/multipartBody1471644147881202380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729723022,"filename":"image_24012025_14_22_02_390778_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0be0ed83df50a460f1f78ef8b925fce2.jpg","text":"TemporaryFile(/tmp/multipartBody2223123377519522916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729723022,"filename":"image_24012025_14_23_02_512688_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1d279c3d120e847e1ca120495412451d.jpg","text":"TemporaryFile(/tmp/multipartBody8217398803735835985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729723022,"filename":"image_24012025_14_23_02_512688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/75eb4b0cec40b48df41b4585a5815671.jpg","text":"TemporaryFile(/tmp/multipartBody4764014323434311049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729723022,"filename":"image_24012025_14_22_02_390778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b3fe20fba36bc6467aff3f8c00f2f3c2.jpg","text":"TemporaryFile(/tmp/multipartBody220994713699163108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729723022,"filename":"image_24012025_14_22_02_390778_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c5fcb4cecba1ccf7d8384b6e9e5a6268.jpg","text":"TemporaryFile(/tmp/multipartBody1697366674446670198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729723022,"filename":"image_24012025_14_22_02_390778_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331073617","file1":"1331073613","file0":"1331073606","file4":"1331073859","file5":"1331074126","file3":"1331073622"},"map_files_photo_id_array":[{"photo_id":"1331074126","filename":"file5"},{"photo_id":"1331073617","filename":"file2"},{"photo_id":"1331073859","filename":"file4"},{"photo_id":"1331073613","filename":"file1"},{"photo_id":"1331073606","filename":"file0"},{"photo_id":"1331073622","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331073617":["hashtag1","hashtag2"]},{"1331074126":["hashtag1","hashtag2"]},{"1331073859":["hashtag1","hashtag2"]},{"1331073622":["hashtag1","hashtag2"]},{"1331073613":["hashtag1","hashtag2"]},{"1331073606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331073617, 1331074126, 1331073859, 1331073622, 1331073613, 1331073606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.81663393974304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 15:42:03.048348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/23/image_24012025_14_23_02_512688_0002.jpg', '/home/pi/Desktop/images/24012025/14/23/image_24012025_14_23_02_512688_0003.jpg', '/home/pi/Desktop/images/24012025/14/24/image_24012025_14_24_02_738091_0000.jpg', '/home/pi/Desktop/images/24012025/14/24/image_24012025_14_24_02_738091_0001.jpg', '/home/pi/Desktop/images/24012025/14/24/image_24012025_14_24_02_738091_0002.jpg', '/home/pi/Desktop/images/24012025/14/24/image_24012025_14_24_02_738091_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/23/image_24012025_14_23_02_512688_0002.jpg
/home/pi/Desktop/images/24012025/14/23/image_24012025_14_23_02_512688_0003.jpg
/home/pi/Desktop/images/24012025/14/24/image_24012025_14_24_02_738091_0000.jpg
/home/pi/Desktop/images/24012025/14/24/image_24012025_14_24_02_738091_0001.jpg
/home/pi/Desktop/images/24012025/14/24/image_24012025_14_24_02_738091_0002.jpg
/home/pi/Desktop/images/24012025/14/24/image_24012025_14_24_02_738091_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331074330","1331074695","1331074683","1331074647","1331074562","1331074690"],"photo_ids_order":["1331074330","1331074562","1331074647","1331074683","1331074690","1331074695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c7baace054d6d94f5f33e02453584428.jpg","text":"TemporaryFile(/tmp/multipartBody295087708395741664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729829903,"filename":"image_24012025_14_23_02_512688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8ce77e2692a483721b1d3046e9816a68.jpg","text":"TemporaryFile(/tmp/multipartBody3462663074966738202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729829903,"filename":"image_24012025_14_24_02_738091_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a043203a321b2e2452c2dc815b22c20.jpg","text":"TemporaryFile(/tmp/multipartBody7575065205143440544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729829903,"filename":"image_24012025_14_24_02_738091_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/91e49e3ffb2a964e7a69ba99733d7ee4.jpg","text":"TemporaryFile(/tmp/multipartBody4781969094304730963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729829903,"filename":"image_24012025_14_24_02_738091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f8f834b200c57d4770e18cf51a953e8.jpg","text":"TemporaryFile(/tmp/multipartBody8148637904677269334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729829903,"filename":"image_24012025_14_23_02_512688_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/828084c1b67d8f46545f16654b90b651.jpg","text":"TemporaryFile(/tmp/multipartBody5732133388287221023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729829903,"filename":"image_24012025_14_24_02_738091_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331074647","file1":"1331074562","file0":"1331074330","file4":"1331074690","file5":"1331074695","file3":"1331074683"},"map_files_photo_id_array":[{"photo_id":"1331074695","filename":"file5"},{"photo_id":"1331074647","filename":"file2"},{"photo_id":"1331074690","filename":"file4"},{"photo_id":"1331074562","filename":"file1"},{"photo_id":"1331074330","filename":"file0"},{"photo_id":"1331074683","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331074330":["hashtag1","hashtag2"]},{"1331074695":["hashtag1","hashtag2"]},{"1331074683":["hashtag1","hashtag2"]},{"1331074647":["hashtag1","hashtag2"]},{"1331074562":["hashtag1","hashtag2"]},{"1331074690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331074330, 1331074695, 1331074683, 1331074647, 1331074562, 1331074690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.5746009349823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:43:51.775222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/25/image_24012025_14_25_02_955947_0000.jpg', '/home/pi/Desktop/images/24012025/14/25/image_24012025_14_25_02_955947_0001.jpg', '/home/pi/Desktop/images/24012025/14/25/image_24012025_14_25_02_955947_0002.jpg', '/home/pi/Desktop/images/24012025/14/25/image_24012025_14_25_02_955947_0003.jpg', '/home/pi/Desktop/images/24012025/14/26/image_24012025_14_26_03_014825_0000.jpg', '/home/pi/Desktop/images/24012025/14/26/image_24012025_14_26_03_014825_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/25/image_24012025_14_25_02_955947_0000.jpg
/home/pi/Desktop/images/24012025/14/25/image_24012025_14_25_02_955947_0001.jpg
/home/pi/Desktop/images/24012025/14/25/image_24012025_14_25_02_955947_0002.jpg
/home/pi/Desktop/images/24012025/14/25/image_24012025_14_25_02_955947_0003.jpg
/home/pi/Desktop/images/24012025/14/26/image_24012025_14_26_03_014825_0000.jpg
/home/pi/Desktop/images/24012025/14/26/image_24012025_14_26_03_014825_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331074837","1331074948","1331074887","1331074845","1331074891","1331074904"],"photo_ids_order":["1331074837","1331074845","1331074887","1331074891","1331074904","1331074948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b6d0f7ee569d3aff9d144fa1d8af0e51.jpg","text":"TemporaryFile(/tmp/multipartBody1992701397998417740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729932471,"filename":"image_24012025_14_25_02_955947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c3600159f6a9f871d6bec5329bbdd875.jpg","text":"TemporaryFile(/tmp/multipartBody438722853948980287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729932471,"filename":"image_24012025_14_26_03_014825_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6dcee344e57288a36a83d35fd1990c84.jpg","text":"TemporaryFile(/tmp/multipartBody9120531033249374357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729932471,"filename":"image_24012025_14_25_02_955947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/64c56831c814b3c976a383cf552396c5.jpg","text":"TemporaryFile(/tmp/multipartBody4583017712474217777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729932471,"filename":"image_24012025_14_25_02_955947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0b98441a4011e407f938f6663e3726af.jpg","text":"TemporaryFile(/tmp/multipartBody1478745225773070439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729932471,"filename":"image_24012025_14_25_02_955947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/19db4ccea7438a8c0518ca1054d243de.jpg","text":"TemporaryFile(/tmp/multipartBody564638115352065630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737729932471,"filename":"image_24012025_14_26_03_014825_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331074887","file1":"1331074845","file0":"1331074837","file4":"1331074904","file5":"1331074948","file3":"1331074891"},"map_files_photo_id_array":[{"photo_id":"1331074948","filename":"file5"},{"photo_id":"1331074887","filename":"file2"},{"photo_id":"1331074904","filename":"file4"},{"photo_id":"1331074845","filename":"file1"},{"photo_id":"1331074837","filename":"file0"},{"photo_id":"1331074891","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331074837":["hashtag1","hashtag2"]},{"1331074948":["hashtag1","hashtag2"]},{"1331074887":["hashtag1","hashtag2"]},{"1331074845":["hashtag1","hashtag2"]},{"1331074891":["hashtag1","hashtag2"]},{"1331074904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331074837, 1331074948, 1331074887, 1331074845, 1331074891, 1331074904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.6723837852478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:45:32.182111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/26/image_24012025_14_26_03_014825_0002.jpg', '/home/pi/Desktop/images/24012025/14/26/image_24012025_14_26_03_014825_0003.jpg', '/home/pi/Desktop/images/24012025/14/27/image_24012025_14_27_02_245731_0000.jpg', '/home/pi/Desktop/images/24012025/14/27/image_24012025_14_27_02_245731_0001.jpg', '/home/pi/Desktop/images/24012025/14/27/image_24012025_14_27_02_245731_0002.jpg', '/home/pi/Desktop/images/24012025/14/27/image_24012025_14_27_02_245731_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/26/image_24012025_14_26_03_014825_0002.jpg
/home/pi/Desktop/images/24012025/14/26/image_24012025_14_26_03_014825_0003.jpg
/home/pi/Desktop/images/24012025/14/27/image_24012025_14_27_02_245731_0000.jpg
/home/pi/Desktop/images/24012025/14/27/image_24012025_14_27_02_245731_0001.jpg
/home/pi/Desktop/images/24012025/14/27/image_24012025_14_27_02_245731_0002.jpg
/home/pi/Desktop/images/24012025/14/27/image_24012025_14_27_02_245731_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331075268","1331075349","1331075400","1331075429","1331075389","1331075413"],"photo_ids_order":["1331075268","1331075349","1331075389","1331075400","1331075413","1331075429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8c1ae1d91576f4d2d152c6dd771d091d.jpg","text":"TemporaryFile(/tmp/multipartBody3437739255275111024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730040585,"filename":"image_24012025_14_26_03_014825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ef6944ff95ed550b6e083dfe10f7c30.jpg","text":"TemporaryFile(/tmp/multipartBody6092671016427815434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730040585,"filename":"image_24012025_14_26_03_014825_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/956a03f0c9f133622fbbdbd46bf134d3.jpg","text":"TemporaryFile(/tmp/multipartBody8198319380955632363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730040585,"filename":"image_24012025_14_27_02_245731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8fa1db514145116c5da1d2b752fb3799.jpg","text":"TemporaryFile(/tmp/multipartBody6566600163388084774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730040585,"filename":"image_24012025_14_27_02_245731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c895f455ac0171f7f2b155cfb820a967.jpg","text":"TemporaryFile(/tmp/multipartBody2484677837645978700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730040585,"filename":"image_24012025_14_27_02_245731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/14da83455624af9e24fc93867c47ae78.jpg","text":"TemporaryFile(/tmp/multipartBody4261651928346989104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730040585,"filename":"image_24012025_14_27_02_245731_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331075389","file1":"1331075349","file0":"1331075268","file4":"1331075413","file5":"1331075429","file3":"1331075400"},"map_files_photo_id_array":[{"photo_id":"1331075429","filename":"file5"},{"photo_id":"1331075389","filename":"file2"},{"photo_id":"1331075413","filename":"file4"},{"photo_id":"1331075349","filename":"file1"},{"photo_id":"1331075268","filename":"file0"},{"photo_id":"1331075400","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331075268":["hashtag1","hashtag2"]},{"1331075349":["hashtag1","hashtag2"]},{"1331075400":["hashtag1","hashtag2"]},{"1331075429":["hashtag1","hashtag2"]},{"1331075389":["hashtag1","hashtag2"]},{"1331075413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331075268, 1331075349, 1331075400, 1331075429, 1331075389, 1331075413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.84096622467041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:47:22.566032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/28/image_24012025_14_28_02_322001_0000.jpg', '/home/pi/Desktop/images/24012025/14/28/image_24012025_14_28_02_322001_0001.jpg', '/home/pi/Desktop/images/24012025/14/28/image_24012025_14_28_02_322001_0002.jpg', '/home/pi/Desktop/images/24012025/14/28/image_24012025_14_28_02_322001_0003.jpg', '/home/pi/Desktop/images/24012025/14/29/image_24012025_14_29_02_542678_0000.jpg', '/home/pi/Desktop/images/24012025/14/29/image_24012025_14_29_02_542678_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/28/image_24012025_14_28_02_322001_0000.jpg
/home/pi/Desktop/images/24012025/14/28/image_24012025_14_28_02_322001_0001.jpg
/home/pi/Desktop/images/24012025/14/28/image_24012025_14_28_02_322001_0002.jpg
/home/pi/Desktop/images/24012025/14/28/image_24012025_14_28_02_322001_0003.jpg
/home/pi/Desktop/images/24012025/14/29/image_24012025_14_29_02_542678_0000.jpg
/home/pi/Desktop/images/24012025/14/29/image_24012025_14_29_02_542678_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331075521","1331075547","1331075508","1331075552","1331075497","1331075491"],"photo_ids_order":["1331075491","1331075497","1331075508","1331075521","1331075547","1331075552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8e78ea46b17f0f9d1c588473d7a5e8da.jpg","text":"TemporaryFile(/tmp/multipartBody5800761415555327122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730154324,"filename":"image_24012025_14_28_02_322001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7454253ce70da39fdc778a4eefe2046a.jpg","text":"TemporaryFile(/tmp/multipartBody8923324116743671492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730154324,"filename":"image_24012025_14_29_02_542678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff8447d06965e391e6ce993c9626902c.jpg","text":"TemporaryFile(/tmp/multipartBody1100176784483288248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730154324,"filename":"image_24012025_14_28_02_322001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb348c307053bc0a6e2cb426ecb002eb.jpg","text":"TemporaryFile(/tmp/multipartBody7620716998846642036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730154324,"filename":"image_24012025_14_29_02_542678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/918d75674555ad8483c6f83f41747004.jpg","text":"TemporaryFile(/tmp/multipartBody5749510666280099700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730154324,"filename":"image_24012025_14_28_02_322001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/81146e8eca12405b7fb1632cff11ddba.jpg","text":"TemporaryFile(/tmp/multipartBody6143253455662375792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730154324,"filename":"image_24012025_14_28_02_322001_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331075508","file1":"1331075497","file0":"1331075491","file4":"1331075547","file5":"1331075552","file3":"1331075521"},"map_files_photo_id_array":[{"photo_id":"1331075552","filename":"file5"},{"photo_id":"1331075508","filename":"file2"},{"photo_id":"1331075547","filename":"file4"},{"photo_id":"1331075497","filename":"file1"},{"photo_id":"1331075491","filename":"file0"},{"photo_id":"1331075521","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331075521":["hashtag1","hashtag2"]},{"1331075547":["hashtag1","hashtag2"]},{"1331075508":["hashtag1","hashtag2"]},{"1331075552":["hashtag1","hashtag2"]},{"1331075497":["hashtag1","hashtag2"]},{"1331075491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331075521, 1331075547, 1331075508, 1331075552, 1331075497, 1331075491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.16016578674316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:49:21.968958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/29/image_24012025_14_29_02_542678_0002.jpg', '/home/pi/Desktop/images/24012025/14/29/image_24012025_14_29_02_542678_0003.jpg', '/home/pi/Desktop/images/24012025/14/30/image_24012025_14_30_02_744346_0000.jpg', '/home/pi/Desktop/images/24012025/14/30/image_24012025_14_30_02_744346_0001.jpg', '/home/pi/Desktop/images/24012025/14/30/image_24012025_14_30_02_744346_0002.jpg', '/home/pi/Desktop/images/24012025/14/30/image_24012025_14_30_02_744346_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/29/image_24012025_14_29_02_542678_0002.jpg
/home/pi/Desktop/images/24012025/14/29/image_24012025_14_29_02_542678_0003.jpg
/home/pi/Desktop/images/24012025/14/30/image_24012025_14_30_02_744346_0000.jpg
/home/pi/Desktop/images/24012025/14/30/image_24012025_14_30_02_744346_0001.jpg
/home/pi/Desktop/images/24012025/14/30/image_24012025_14_30_02_744346_0002.jpg
/home/pi/Desktop/images/24012025/14/30/image_24012025_14_30_02_744346_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331075598","1331075694","1331075595","1331075601","1331075867","1331075816"],"photo_ids_order":["1331075595","1331075598","1331075601","1331075694","1331075816","1331075867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/efca335a0b1e0f65a801255870a11246.jpg","text":"TemporaryFile(/tmp/multipartBody3922380445501691092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730253869,"filename":"image_24012025_14_29_02_542678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9500f32d2be19c76fd1146f3dd6e2fbc.jpg","text":"TemporaryFile(/tmp/multipartBody1977254583981668016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730253869,"filename":"image_24012025_14_30_02_744346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bdf3b9496212888d4d2c64a0196cf4cf.jpg","text":"TemporaryFile(/tmp/multipartBody7089193794563622146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730253869,"filename":"image_24012025_14_29_02_542678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e622e9ebe5ca56fc0699ee7c1023ccec.jpg","text":"TemporaryFile(/tmp/multipartBody2873070875301908394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730253869,"filename":"image_24012025_14_30_02_744346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2251e69278415fd69a3316a3c51136d3.jpg","text":"TemporaryFile(/tmp/multipartBody8554483117332066111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730253869,"filename":"image_24012025_14_30_02_744346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c2b595b7fbd03cd7b379932e25b6a2d.jpg","text":"TemporaryFile(/tmp/multipartBody5894359593203456479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730253869,"filename":"image_24012025_14_30_02_744346_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331075601","file1":"1331075598","file0":"1331075595","file4":"1331075816","file5":"1331075867","file3":"1331075694"},"map_files_photo_id_array":[{"photo_id":"1331075867","filename":"file5"},{"photo_id":"1331075601","filename":"file2"},{"photo_id":"1331075816","filename":"file4"},{"photo_id":"1331075598","filename":"file1"},{"photo_id":"1331075595","filename":"file0"},{"photo_id":"1331075694","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331075598":["hashtag1","hashtag2"]},{"1331075694":["hashtag1","hashtag2"]},{"1331075595":["hashtag1","hashtag2"]},{"1331075601":["hashtag1","hashtag2"]},{"1331075867":["hashtag1","hashtag2"]},{"1331075816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331075598, 1331075694, 1331075595, 1331075601, 1331075867, 1331075816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.02632021903992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 15:50:52.126050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/31/image_24012025_14_31_02_987982_0000.jpg', '/home/pi/Desktop/images/24012025/14/31/image_24012025_14_31_02_987982_0001.jpg', '/home/pi/Desktop/images/24012025/14/31/image_24012025_14_31_02_987982_0002.jpg', '/home/pi/Desktop/images/24012025/14/31/image_24012025_14_31_02_987982_0003.jpg', '/home/pi/Desktop/images/24012025/14/32/image_24012025_14_32_03_150047_0000.jpg', '/home/pi/Desktop/images/24012025/14/32/image_24012025_14_32_03_150047_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/31/image_24012025_14_31_02_987982_0000.jpg
/home/pi/Desktop/images/24012025/14/31/image_24012025_14_31_02_987982_0001.jpg
/home/pi/Desktop/images/24012025/14/31/image_24012025_14_31_02_987982_0002.jpg
/home/pi/Desktop/images/24012025/14/31/image_24012025_14_31_02_987982_0003.jpg
/home/pi/Desktop/images/24012025/14/32/image_24012025_14_32_03_150047_0000.jpg
/home/pi/Desktop/images/24012025/14/32/image_24012025_14_32_03_150047_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331076018","1331075928","1331075966","1331075974","1331075947","1331075938"],"photo_ids_order":["1331075928","1331075938","1331075947","1331075966","1331075974","1331076018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39da07022abc83a814cc3e7df24d4fa9.jpg","text":"TemporaryFile(/tmp/multipartBody2917003034118193364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730333174,"filename":"image_24012025_14_32_03_150047_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b617881d62097943173edb115ff1dde.jpg","text":"TemporaryFile(/tmp/multipartBody8922782251635593840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730333174,"filename":"image_24012025_14_31_02_987982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/70663a4f546de9eb1440f73317cb0669.jpg","text":"TemporaryFile(/tmp/multipartBody219496637221639503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730333174,"filename":"image_24012025_14_31_02_987982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac03341ca023ae55529c0edc478b101e.jpg","text":"TemporaryFile(/tmp/multipartBody2743456095564453028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730333174,"filename":"image_24012025_14_32_03_150047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7b0c95af8fc9cbfd6584b691284168e4.jpg","text":"TemporaryFile(/tmp/multipartBody3887461274926461508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730333174,"filename":"image_24012025_14_31_02_987982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ff9169e9b96431714f251a99d18662f.jpg","text":"TemporaryFile(/tmp/multipartBody2015897100785832273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730333174,"filename":"image_24012025_14_31_02_987982_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331075947","file1":"1331075938","file0":"1331075928","file4":"1331075974","file5":"1331076018","file3":"1331075966"},"map_files_photo_id_array":[{"photo_id":"1331076018","filename":"file5"},{"photo_id":"1331075947","filename":"file2"},{"photo_id":"1331075974","filename":"file4"},{"photo_id":"1331075938","filename":"file1"},{"photo_id":"1331075928","filename":"file0"},{"photo_id":"1331075966","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331076018":["hashtag1","hashtag2"]},{"1331075928":["hashtag1","hashtag2"]},{"1331075966":["hashtag1","hashtag2"]},{"1331075974":["hashtag1","hashtag2"]},{"1331075947":["hashtag1","hashtag2"]},{"1331075938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331076018, 1331075928, 1331075966, 1331075974, 1331075947, 1331075938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.82365369796753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:52:22.512868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/32/image_24012025_14_32_03_150047_0002.jpg', '/home/pi/Desktop/images/24012025/14/32/image_24012025_14_32_03_150047_0003.jpg', '/home/pi/Desktop/images/24012025/14/33/image_24012025_14_33_02_322023_0000.jpg', '/home/pi/Desktop/images/24012025/14/33/image_24012025_14_33_02_322023_0001.jpg', '/home/pi/Desktop/images/24012025/14/33/image_24012025_14_33_02_322023_0002.jpg', '/home/pi/Desktop/images/24012025/14/33/image_24012025_14_33_02_322023_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/32/image_24012025_14_32_03_150047_0002.jpg
/home/pi/Desktop/images/24012025/14/32/image_24012025_14_32_03_150047_0003.jpg
/home/pi/Desktop/images/24012025/14/33/image_24012025_14_33_02_322023_0000.jpg
/home/pi/Desktop/images/24012025/14/33/image_24012025_14_33_02_322023_0001.jpg
/home/pi/Desktop/images/24012025/14/33/image_24012025_14_33_02_322023_0002.jpg
/home/pi/Desktop/images/24012025/14/33/image_24012025_14_33_02_322023_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331076098","1331076092","1331076137","1331076125","1331076070","1331076106"],"photo_ids_order":["1331076070","1331076092","1331076098","1331076106","1331076125","1331076137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f152aa37172eb78c34f5547b94ca7a3.jpg","text":"TemporaryFile(/tmp/multipartBody6482249029322266411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730458066,"filename":"image_24012025_14_33_02_322023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cb6921fe39707c62da93619983668069.jpg","text":"TemporaryFile(/tmp/multipartBody7412022970607727224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730458066,"filename":"image_24012025_14_32_03_150047_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9f58d27fa0dca81d0ba98dbd1557b007.jpg","text":"TemporaryFile(/tmp/multipartBody4403772350987730987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730458066,"filename":"image_24012025_14_33_02_322023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fe55350c1c7ced84a87de916d0d1b745.jpg","text":"TemporaryFile(/tmp/multipartBody455644399768904594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730458066,"filename":"image_24012025_14_33_02_322023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dea6727462beeea8b7d8a1bf2f1afb88.jpg","text":"TemporaryFile(/tmp/multipartBody5872372302682880695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730458066,"filename":"image_24012025_14_32_03_150047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63b0e3f869284d99e7977935ee3608b0.jpg","text":"TemporaryFile(/tmp/multipartBody7164594438065781845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730458066,"filename":"image_24012025_14_33_02_322023_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331076098","file1":"1331076092","file0":"1331076070","file4":"1331076125","file5":"1331076137","file3":"1331076106"},"map_files_photo_id_array":[{"photo_id":"1331076137","filename":"file5"},{"photo_id":"1331076098","filename":"file2"},{"photo_id":"1331076125","filename":"file4"},{"photo_id":"1331076092","filename":"file1"},{"photo_id":"1331076070","filename":"file0"},{"photo_id":"1331076106","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331076098":["hashtag1","hashtag2"]},{"1331076092":["hashtag1","hashtag2"]},{"1331076137":["hashtag1","hashtag2"]},{"1331076125":["hashtag1","hashtag2"]},{"1331076070":["hashtag1","hashtag2"]},{"1331076106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331076098, 1331076092, 1331076137, 1331076125, 1331076070, 1331076106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 109.77340936660767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:54:21.917886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/34/image_24012025_14_34_02_444028_0000.jpg', '/home/pi/Desktop/images/24012025/14/34/image_24012025_14_34_02_444028_0001.jpg', '/home/pi/Desktop/images/24012025/14/34/image_24012025_14_34_02_444028_0002.jpg', '/home/pi/Desktop/images/24012025/14/34/image_24012025_14_34_02_444028_0003.jpg', '/home/pi/Desktop/images/24012025/14/35/image_24012025_14_35_02_641241_0000.jpg', '/home/pi/Desktop/images/24012025/14/35/image_24012025_14_35_02_641241_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/34/image_24012025_14_34_02_444028_0000.jpg
/home/pi/Desktop/images/24012025/14/34/image_24012025_14_34_02_444028_0001.jpg
/home/pi/Desktop/images/24012025/14/34/image_24012025_14_34_02_444028_0002.jpg
/home/pi/Desktop/images/24012025/14/34/image_24012025_14_34_02_444028_0003.jpg
/home/pi/Desktop/images/24012025/14/35/image_24012025_14_35_02_641241_0000.jpg
/home/pi/Desktop/images/24012025/14/35/image_24012025_14_35_02_641241_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331076297","1331076258","1331076242","1331076227","1331076206","1331076200"],"photo_ids_order":["1331076200","1331076206","1331076227","1331076242","1331076258","1331076297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1c58511207675617a3625aa66ecb4b45.jpg","text":"TemporaryFile(/tmp/multipartBody1789978260939546205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730578545,"filename":"image_24012025_14_35_02_641241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bca662c835b449a555aacb882248f456.jpg","text":"TemporaryFile(/tmp/multipartBody242949208750620700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730578545,"filename":"image_24012025_14_35_02_641241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ed95c27f12b53cebdda82d0d07abbe0.jpg","text":"TemporaryFile(/tmp/multipartBody6690348574071209908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730578545,"filename":"image_24012025_14_34_02_444028_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/edd6b8c2dd409a2be3a5b1e41832830d.jpg","text":"TemporaryFile(/tmp/multipartBody3017469227497774947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730578545,"filename":"image_24012025_14_34_02_444028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a837fdcd7f667a35904ec99e3bd8e6e4.jpg","text":"TemporaryFile(/tmp/multipartBody1476998614436943252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730578545,"filename":"image_24012025_14_34_02_444028_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ba05163c860c929ed2a75b210510bfdb.jpg","text":"TemporaryFile(/tmp/multipartBody3443995370016769475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730578545,"filename":"image_24012025_14_34_02_444028_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331076227","file1":"1331076206","file0":"1331076200","file4":"1331076258","file5":"1331076297","file3":"1331076242"},"map_files_photo_id_array":[{"photo_id":"1331076297","filename":"file5"},{"photo_id":"1331076227","filename":"file2"},{"photo_id":"1331076258","filename":"file4"},{"photo_id":"1331076206","filename":"file1"},{"photo_id":"1331076200","filename":"file0"},{"photo_id":"1331076242","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331076297":["hashtag1","hashtag2"]},{"1331076258":["hashtag1","hashtag2"]},{"1331076242":["hashtag1","hashtag2"]},{"1331076227":["hashtag1","hashtag2"]},{"1331076206":["hashtag1","hashtag2"]},{"1331076200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331076297, 1331076258, 1331076242, 1331076227, 1331076206, 1331076200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 113.17356038093567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 15:56:22.315397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/35/image_24012025_14_35_02_641241_0002.jpg', '/home/pi/Desktop/images/24012025/14/35/image_24012025_14_35_02_641241_0003.jpg', '/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0000.jpg', '/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0001.jpg', '/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0002.jpg', '/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/35/image_24012025_14_35_02_641241_0002.jpg
/home/pi/Desktop/images/24012025/14/35/image_24012025_14_35_02_641241_0003.jpg
/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0000.jpg
/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0001.jpg
/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0002.jpg
/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0003.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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 15:59:02.565767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/35/image_24012025_14_35_02_641241_0002.jpg', '/home/pi/Desktop/images/24012025/14/35/image_24012025_14_35_02_641241_0003.jpg', '/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0000.jpg', '/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0001.jpg', '/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0002.jpg', '/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/35/image_24012025_14_35_02_641241_0002.jpg
/home/pi/Desktop/images/24012025/14/35/image_24012025_14_35_02_641241_0003.jpg
/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0000.jpg
/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0001.jpg
/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0002.jpg
/home/pi/Desktop/images/24012025/14/36/image_24012025_14_36_02_817822_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331076507","1331076497","1331076542","1331076533","1331076518","1331076503"],"photo_ids_order":["1331076497","1331076503","1331076507","1331076518","1331076533","1331076542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48f0d86e984868b4f0cf2e8fb30c70fa.jpg","text":"TemporaryFile(/tmp/multipartBody6657413148065678059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730839548,"filename":"image_24012025_14_36_02_817822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7dfdeacbb20506e9b85038f2412dd7d7.jpg","text":"TemporaryFile(/tmp/multipartBody4847715956929212154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730839548,"filename":"image_24012025_14_35_02_641241_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2f4a325e2aac5e6be5e8c74479a8738c.jpg","text":"TemporaryFile(/tmp/multipartBody4964788373008630767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730839548,"filename":"image_24012025_14_36_02_817822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0aeccb4daf602a0b06efcce18878c13.jpg","text":"TemporaryFile(/tmp/multipartBody359565510243391753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730839548,"filename":"image_24012025_14_36_02_817822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4fb3b1c6140147b1f811468e129d0e03.jpg","text":"TemporaryFile(/tmp/multipartBody4883625921225650935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730839548,"filename":"image_24012025_14_36_02_817822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b4b85b3cde4132a82b10d863e318565.jpg","text":"TemporaryFile(/tmp/multipartBody4135410292330669595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730839548,"filename":"image_24012025_14_35_02_641241_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331076507","file1":"1331076503","file0":"1331076497","file4":"1331076533","file5":"1331076542","file3":"1331076518"},"map_files_photo_id_array":[{"photo_id":"1331076542","filename":"file5"},{"photo_id":"1331076507","filename":"file2"},{"photo_id":"1331076533","filename":"file4"},{"photo_id":"1331076503","filename":"file1"},{"photo_id":"1331076497","filename":"file0"},{"photo_id":"1331076518","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331076507":["hashtag1","hashtag2"]},{"1331076497":["hashtag1","hashtag2"]},{"1331076542":["hashtag1","hashtag2"]},{"1331076533":["hashtag1","hashtag2"]},{"1331076518":["hashtag1","hashtag2"]},{"1331076503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331076507, 1331076497, 1331076542, 1331076533, 1331076518, 1331076503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.08105182647705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 16:00:42.162110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/37/image_24012025_14_37_02_973878_0000.jpg', '/home/pi/Desktop/images/24012025/14/37/image_24012025_14_37_02_973878_0001.jpg', '/home/pi/Desktop/images/24012025/14/37/image_24012025_14_37_02_973878_0002.jpg', '/home/pi/Desktop/images/24012025/14/37/image_24012025_14_37_02_973878_0003.jpg', '/home/pi/Desktop/images/24012025/14/38/image_24012025_14_38_02_182169_0000.jpg', '/home/pi/Desktop/images/24012025/14/38/image_24012025_14_38_02_182169_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/37/image_24012025_14_37_02_973878_0000.jpg
/home/pi/Desktop/images/24012025/14/37/image_24012025_14_37_02_973878_0001.jpg
/home/pi/Desktop/images/24012025/14/37/image_24012025_14_37_02_973878_0002.jpg
/home/pi/Desktop/images/24012025/14/37/image_24012025_14_37_02_973878_0003.jpg
/home/pi/Desktop/images/24012025/14/38/image_24012025_14_38_02_182169_0000.jpg
/home/pi/Desktop/images/24012025/14/38/image_24012025_14_38_02_182169_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331076645","1331076642","1331076636","1331076649","1331076619","1331076628"],"photo_ids_order":["1331076619","1331076628","1331076636","1331076642","1331076645","1331076649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc953382ce8c2ed0f00e839923cd2bb1.jpg","text":"TemporaryFile(/tmp/multipartBody4009311224826111389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730944401,"filename":"image_24012025_14_38_02_182169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/73adbe870478b868724c6bfae346b5ed.jpg","text":"TemporaryFile(/tmp/multipartBody1151517529075175517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730944401,"filename":"image_24012025_14_37_02_973878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/97352af1dc82ee82fc21bf5495496b1b.jpg","text":"TemporaryFile(/tmp/multipartBody4130774193942235601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730944401,"filename":"image_24012025_14_37_02_973878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aee55a16f47251a3c5588e728297c018.jpg","text":"TemporaryFile(/tmp/multipartBody5766800592448159065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730944401,"filename":"image_24012025_14_38_02_182169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0adb21c874d5f55eba149e98744f320a.jpg","text":"TemporaryFile(/tmp/multipartBody7818762259264472877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730944401,"filename":"image_24012025_14_37_02_973878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e00457e83e75c43adb38a713476ef41d.jpg","text":"TemporaryFile(/tmp/multipartBody8342941533490178222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737730944401,"filename":"image_24012025_14_37_02_973878_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331076636","file1":"1331076628","file0":"1331076619","file4":"1331076645","file5":"1331076649","file3":"1331076642"},"map_files_photo_id_array":[{"photo_id":"1331076649","filename":"file5"},{"photo_id":"1331076636","filename":"file2"},{"photo_id":"1331076645","filename":"file4"},{"photo_id":"1331076628","filename":"file1"},{"photo_id":"1331076619","filename":"file0"},{"photo_id":"1331076642","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331076645":["hashtag1","hashtag2"]},{"1331076642":["hashtag1","hashtag2"]},{"1331076636":["hashtag1","hashtag2"]},{"1331076649":["hashtag1","hashtag2"]},{"1331076619":["hashtag1","hashtag2"]},{"1331076628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331076645, 1331076642, 1331076636, 1331076649, 1331076619, 1331076628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.76028394699097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:02:22.699967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/38/image_24012025_14_38_02_182169_0002.jpg', '/home/pi/Desktop/images/24012025/14/38/image_24012025_14_38_02_182169_0003.jpg', '/home/pi/Desktop/images/24012025/14/39/image_24012025_14_39_02_338784_0000.jpg', '/home/pi/Desktop/images/24012025/14/39/image_24012025_14_39_02_338784_0001.jpg', '/home/pi/Desktop/images/24012025/14/39/image_24012025_14_39_02_338784_0002.jpg', '/home/pi/Desktop/images/24012025/14/39/image_24012025_14_39_02_338784_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/38/image_24012025_14_38_02_182169_0002.jpg
/home/pi/Desktop/images/24012025/14/38/image_24012025_14_38_02_182169_0003.jpg
/home/pi/Desktop/images/24012025/14/39/image_24012025_14_39_02_338784_0000.jpg
/home/pi/Desktop/images/24012025/14/39/image_24012025_14_39_02_338784_0001.jpg
/home/pi/Desktop/images/24012025/14/39/image_24012025_14_39_02_338784_0002.jpg
/home/pi/Desktop/images/24012025/14/39/image_24012025_14_39_02_338784_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331076714","1331076692","1331076704","1331076697","1331076701","1331076721"],"photo_ids_order":["1331076692","1331076697","1331076701","1331076704","1331076714","1331076721"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b1b552a4cb469156ea379574a125244a.jpg","text":"TemporaryFile(/tmp/multipartBody4871943581753949975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731041051,"filename":"image_24012025_14_39_02_338784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d698fa6752bf50df68150f959f03c5f.jpg","text":"TemporaryFile(/tmp/multipartBody973641502220538724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731041051,"filename":"image_24012025_14_38_02_182169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5cba15b5c9a60df20857e8df0955dd4f.jpg","text":"TemporaryFile(/tmp/multipartBody7627224268123085617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731041051,"filename":"image_24012025_14_39_02_338784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2cf195346c0fa531e2c520de089fd3ab.jpg","text":"TemporaryFile(/tmp/multipartBody2148124469650554815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731041051,"filename":"image_24012025_14_38_02_182169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6c286912acb7ac378d669b3e1852fbb3.jpg","text":"TemporaryFile(/tmp/multipartBody3541044316334883891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731041051,"filename":"image_24012025_14_39_02_338784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5780fadbeeba2ce01f06c7116f6e9e57.jpg","text":"TemporaryFile(/tmp/multipartBody1986663288842954857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731041051,"filename":"image_24012025_14_39_02_338784_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331076701","file1":"1331076697","file0":"1331076692","file4":"1331076714","file5":"1331076721","file3":"1331076704"},"map_files_photo_id_array":[{"photo_id":"1331076721","filename":"file5"},{"photo_id":"1331076701","filename":"file2"},{"photo_id":"1331076714","filename":"file4"},{"photo_id":"1331076697","filename":"file1"},{"photo_id":"1331076692","filename":"file0"},{"photo_id":"1331076704","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331076714":["hashtag1","hashtag2"]},{"1331076692":["hashtag1","hashtag2"]},{"1331076704":["hashtag1","hashtag2"]},{"1331076697":["hashtag1","hashtag2"]},{"1331076701":["hashtag1","hashtag2"]},{"1331076721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331076714, 1331076692, 1331076704, 1331076697, 1331076701, 1331076721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.12941312789917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 16:04:02.477073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/40/image_24012025_14_40_02_577809_0000.jpg', '/home/pi/Desktop/images/24012025/14/40/image_24012025_14_40_02_577809_0001.jpg', '/home/pi/Desktop/images/24012025/14/40/image_24012025_14_40_02_577809_0002.jpg', '/home/pi/Desktop/images/24012025/14/40/image_24012025_14_40_02_577809_0003.jpg', '/home/pi/Desktop/images/24012025/14/41/image_24012025_14_41_02_669786_0000.jpg', '/home/pi/Desktop/images/24012025/14/41/image_24012025_14_41_02_669786_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/40/image_24012025_14_40_02_577809_0000.jpg
/home/pi/Desktop/images/24012025/14/40/image_24012025_14_40_02_577809_0001.jpg
/home/pi/Desktop/images/24012025/14/40/image_24012025_14_40_02_577809_0002.jpg
/home/pi/Desktop/images/24012025/14/40/image_24012025_14_40_02_577809_0003.jpg
/home/pi/Desktop/images/24012025/14/41/image_24012025_14_41_02_669786_0000.jpg
/home/pi/Desktop/images/24012025/14/41/image_24012025_14_41_02_669786_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331076842","1331076803","1331076827","1331076766","1331076873","1331076780"],"photo_ids_order":["1331076766","1331076780","1331076803","1331076827","1331076842","1331076873"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d2675f7d4f45e099a4c89435b20716ce.jpg","text":"TemporaryFile(/tmp/multipartBody1128125787611845406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731131165,"filename":"image_24012025_14_41_02_669786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ecd5554a1b644fdf797aa56bcf93a328.jpg","text":"TemporaryFile(/tmp/multipartBody2826402997161369106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731131165,"filename":"image_24012025_14_40_02_577809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3681ab88d327cc4a259333bc514310b5.jpg","text":"TemporaryFile(/tmp/multipartBody6679195729710099380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731131165,"filename":"image_24012025_14_40_02_577809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa27ce0e93f9a087b5303a2d421bf887.jpg","text":"TemporaryFile(/tmp/multipartBody5792363545185990579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731131165,"filename":"image_24012025_14_40_02_577809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cf444be7221809d84bc55b6a8a616458.jpg","text":"TemporaryFile(/tmp/multipartBody2765950311048914078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731131165,"filename":"image_24012025_14_41_02_669786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98d7f96e3174205495781875f135cd0e.jpg","text":"TemporaryFile(/tmp/multipartBody6330259730338243781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731131165,"filename":"image_24012025_14_40_02_577809_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331076803","file1":"1331076780","file0":"1331076766","file4":"1331076842","file5":"1331076873","file3":"1331076827"},"map_files_photo_id_array":[{"photo_id":"1331076873","filename":"file5"},{"photo_id":"1331076803","filename":"file2"},{"photo_id":"1331076842","filename":"file4"},{"photo_id":"1331076780","filename":"file1"},{"photo_id":"1331076766","filename":"file0"},{"photo_id":"1331076827","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331076842":["hashtag1","hashtag2"]},{"1331076803":["hashtag1","hashtag2"]},{"1331076827":["hashtag1","hashtag2"]},{"1331076766":["hashtag1","hashtag2"]},{"1331076873":["hashtag1","hashtag2"]},{"1331076780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331076842, 1331076803, 1331076827, 1331076766, 1331076873, 1331076780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.08923745155334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 16:05:32.155236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/41/image_24012025_14_41_02_669786_0002.jpg', '/home/pi/Desktop/images/24012025/14/41/image_24012025_14_41_02_669786_0003.jpg', '/home/pi/Desktop/images/24012025/14/42/image_24012025_14_42_02_971647_0000.jpg', '/home/pi/Desktop/images/24012025/14/42/image_24012025_14_42_02_971647_0001.jpg', '/home/pi/Desktop/images/24012025/14/42/image_24012025_14_42_02_971647_0002.jpg', '/home/pi/Desktop/images/24012025/14/42/image_24012025_14_42_02_971647_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/41/image_24012025_14_41_02_669786_0002.jpg
/home/pi/Desktop/images/24012025/14/41/image_24012025_14_41_02_669786_0003.jpg
/home/pi/Desktop/images/24012025/14/42/image_24012025_14_42_02_971647_0000.jpg
/home/pi/Desktop/images/24012025/14/42/image_24012025_14_42_02_971647_0001.jpg
/home/pi/Desktop/images/24012025/14/42/image_24012025_14_42_02_971647_0002.jpg
/home/pi/Desktop/images/24012025/14/42/image_24012025_14_42_02_971647_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331077014","1331076947","1331077019","1331076935","1331076952","1331076940"],"photo_ids_order":["1331076935","1331076940","1331076947","1331076952","1331077014","1331077019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ba6191d0cec2dc6ed3ac33853dd595e.jpg","text":"TemporaryFile(/tmp/multipartBody4521387653226231431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731243936,"filename":"image_24012025_14_42_02_971647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21ff39d361e0fdf243a0fab51c88798f.jpg","text":"TemporaryFile(/tmp/multipartBody7619681096422535720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731243936,"filename":"image_24012025_14_42_02_971647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b65f35719f51c46d93a79ec6313a0ed.jpg","text":"TemporaryFile(/tmp/multipartBody3109502544283898395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731243936,"filename":"image_24012025_14_42_02_971647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e44db0aadd58a97672a1fe0a7853b3c0.jpg","text":"TemporaryFile(/tmp/multipartBody5897933694012351577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731243936,"filename":"image_24012025_14_41_02_669786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bdc58c8a4709fa076f790a63ab255c89.jpg","text":"TemporaryFile(/tmp/multipartBody1582850236556699678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731243936,"filename":"image_24012025_14_42_02_971647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e5da19b4b15a142b7c911065e5f3bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2982956900972416436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731243936,"filename":"image_24012025_14_41_02_669786_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331076947","file1":"1331076940","file0":"1331076935","file4":"1331077014","file5":"1331077019","file3":"1331076952"},"map_files_photo_id_array":[{"photo_id":"1331077019","filename":"file5"},{"photo_id":"1331076947","filename":"file2"},{"photo_id":"1331077014","filename":"file4"},{"photo_id":"1331076940","filename":"file1"},{"photo_id":"1331076935","filename":"file0"},{"photo_id":"1331076952","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331077014":["hashtag1","hashtag2"]},{"1331076947":["hashtag1","hashtag2"]},{"1331077019":["hashtag1","hashtag2"]},{"1331076935":["hashtag1","hashtag2"]},{"1331076952":["hashtag1","hashtag2"]},{"1331076940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331077014, 1331076947, 1331077019, 1331076935, 1331076952, 1331076940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.1195559501648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:07:22.648221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/43/image_24012025_14_43_03_022735_0000.jpg', '/home/pi/Desktop/images/24012025/14/43/image_24012025_14_43_03_022735_0001.jpg', '/home/pi/Desktop/images/24012025/14/43/image_24012025_14_43_03_022735_0002.jpg', '/home/pi/Desktop/images/24012025/14/43/image_24012025_14_43_03_022735_0003.jpg', '/home/pi/Desktop/images/24012025/14/44/image_24012025_14_44_02_258196_0000.jpg', '/home/pi/Desktop/images/24012025/14/44/image_24012025_14_44_02_258196_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/43/image_24012025_14_43_03_022735_0000.jpg
/home/pi/Desktop/images/24012025/14/43/image_24012025_14_43_03_022735_0001.jpg
/home/pi/Desktop/images/24012025/14/43/image_24012025_14_43_03_022735_0002.jpg
/home/pi/Desktop/images/24012025/14/43/image_24012025_14_43_03_022735_0003.jpg
/home/pi/Desktop/images/24012025/14/44/image_24012025_14_44_02_258196_0000.jpg
/home/pi/Desktop/images/24012025/14/44/image_24012025_14_44_02_258196_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331077190","1331077186","1331077162","1331077201","1331077194","1331077152"],"photo_ids_order":["1331077152","1331077162","1331077186","1331077190","1331077194","1331077201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/903aee76c7538c0364599b31c55baa6e.jpg","text":"TemporaryFile(/tmp/multipartBody1829451249466095066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731331549,"filename":"image_24012025_14_43_03_022735_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b03eb99abe4f14ff443f1f8e453be66.jpg","text":"TemporaryFile(/tmp/multipartBody6154079109997875518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731331549,"filename":"image_24012025_14_43_03_022735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2c61d5430143de77ccf5f604fec8d8d7.jpg","text":"TemporaryFile(/tmp/multipartBody8038553076566043786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731331549,"filename":"image_24012025_14_43_03_022735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f837858ee3a6926d81b59b93d6b06666.jpg","text":"TemporaryFile(/tmp/multipartBody3980329761138818139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731331549,"filename":"image_24012025_14_44_02_258196_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cfb228d82c9e9bde025b98547c49d7d3.jpg","text":"TemporaryFile(/tmp/multipartBody3830945182079985788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731331549,"filename":"image_24012025_14_44_02_258196_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/423c516de17aa9f5e63863af2fc50f15.jpg","text":"TemporaryFile(/tmp/multipartBody4257520788891377662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731331549,"filename":"image_24012025_14_43_03_022735_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331077186","file1":"1331077162","file0":"1331077152","file4":"1331077194","file5":"1331077201","file3":"1331077190"},"map_files_photo_id_array":[{"photo_id":"1331077201","filename":"file5"},{"photo_id":"1331077186","filename":"file2"},{"photo_id":"1331077194","filename":"file4"},{"photo_id":"1331077162","filename":"file1"},{"photo_id":"1331077152","filename":"file0"},{"photo_id":"1331077190","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331077190":["hashtag1","hashtag2"]},{"1331077186":["hashtag1","hashtag2"]},{"1331077162":["hashtag1","hashtag2"]},{"1331077201":["hashtag1","hashtag2"]},{"1331077194":["hashtag1","hashtag2"]},{"1331077152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331077190, 1331077186, 1331077162, 1331077201, 1331077194, 1331077152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.90472626686096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 16:08:52.667949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/44/image_24012025_14_44_02_258196_0002.jpg', '/home/pi/Desktop/images/24012025/14/44/image_24012025_14_44_02_258196_0003.jpg', '/home/pi/Desktop/images/24012025/14/45/image_24012025_14_45_02_440285_0000.jpg', '/home/pi/Desktop/images/24012025/14/45/image_24012025_14_45_02_440285_0001.jpg', '/home/pi/Desktop/images/24012025/14/45/image_24012025_14_45_02_440285_0002.jpg', '/home/pi/Desktop/images/24012025/14/45/image_24012025_14_45_02_440285_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/44/image_24012025_14_44_02_258196_0002.jpg
/home/pi/Desktop/images/24012025/14/44/image_24012025_14_44_02_258196_0003.jpg
/home/pi/Desktop/images/24012025/14/45/image_24012025_14_45_02_440285_0000.jpg
/home/pi/Desktop/images/24012025/14/45/image_24012025_14_45_02_440285_0001.jpg
/home/pi/Desktop/images/24012025/14/45/image_24012025_14_45_02_440285_0002.jpg
/home/pi/Desktop/images/24012025/14/45/image_24012025_14_45_02_440285_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331077298","1331077385","1331077390","1331077381","1331077318","1331077309"],"photo_ids_order":["1331077298","1331077309","1331077318","1331077381","1331077385","1331077390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2524952408de29aaa045f37389697577.jpg","text":"TemporaryFile(/tmp/multipartBody7852263513401305881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731437742,"filename":"image_24012025_14_44_02_258196_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1aa6bfa1eb9845e7d092cf4c11dae11e.jpg","text":"TemporaryFile(/tmp/multipartBody3138218279893825127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731437742,"filename":"image_24012025_14_45_02_440285_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/86cbd6e34a835d178b433699bc9b0629.jpg","text":"TemporaryFile(/tmp/multipartBody8023503053844123864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731437742,"filename":"image_24012025_14_45_02_440285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9195e72ea70d838d1a12620a136bba1b.jpg","text":"TemporaryFile(/tmp/multipartBody5418396259644607226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731437742,"filename":"image_24012025_14_45_02_440285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e66eb3402bd83a66aa5da5f61c67a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2577441716091309145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731437742,"filename":"image_24012025_14_45_02_440285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f4a600e6c8437bfbc9b24d662640327.jpg","text":"TemporaryFile(/tmp/multipartBody1437159743676577562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731437742,"filename":"image_24012025_14_44_02_258196_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331077318","file1":"1331077309","file0":"1331077298","file4":"1331077385","file5":"1331077390","file3":"1331077381"},"map_files_photo_id_array":[{"photo_id":"1331077390","filename":"file5"},{"photo_id":"1331077318","filename":"file2"},{"photo_id":"1331077385","filename":"file4"},{"photo_id":"1331077309","filename":"file1"},{"photo_id":"1331077298","filename":"file0"},{"photo_id":"1331077381","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331077298":["hashtag1","hashtag2"]},{"1331077385":["hashtag1","hashtag2"]},{"1331077390":["hashtag1","hashtag2"]},{"1331077381":["hashtag1","hashtag2"]},{"1331077318":["hashtag1","hashtag2"]},{"1331077309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331077298, 1331077385, 1331077390, 1331077381, 1331077318, 1331077309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.38954377174377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 16:10:42.435156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/46/image_24012025_14_46_02_739607_0000.jpg', '/home/pi/Desktop/images/24012025/14/46/image_24012025_14_46_02_739607_0001.jpg', '/home/pi/Desktop/images/24012025/14/46/image_24012025_14_46_02_739607_0002.jpg', '/home/pi/Desktop/images/24012025/14/46/image_24012025_14_46_02_739607_0003.jpg', '/home/pi/Desktop/images/24012025/14/47/image_24012025_14_47_02_848567_0000.jpg', '/home/pi/Desktop/images/24012025/14/47/image_24012025_14_47_02_848567_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/46/image_24012025_14_46_02_739607_0000.jpg
/home/pi/Desktop/images/24012025/14/46/image_24012025_14_46_02_739607_0001.jpg
/home/pi/Desktop/images/24012025/14/46/image_24012025_14_46_02_739607_0002.jpg
/home/pi/Desktop/images/24012025/14/46/image_24012025_14_46_02_739607_0003.jpg
/home/pi/Desktop/images/24012025/14/47/image_24012025_14_47_02_848567_0000.jpg
/home/pi/Desktop/images/24012025/14/47/image_24012025_14_47_02_848567_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331078339","1331078380","1331078362","1331078392","1331078293","1331078346"],"photo_ids_order":["1331078293","1331078339","1331078346","1331078362","1331078380","1331078392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ae782fa8ccf35ebd4ac29358388055b.jpg","text":"TemporaryFile(/tmp/multipartBody2917507338100691379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731549794,"filename":"image_24012025_14_46_02_739607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/795420745a751848e9c97f7155f21bf7.jpg","text":"TemporaryFile(/tmp/multipartBody7489310706853009345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731549794,"filename":"image_24012025_14_47_02_848567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/174ea14b1e701788cb43ae8686703d27.jpg","text":"TemporaryFile(/tmp/multipartBody6790034070703913383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731549794,"filename":"image_24012025_14_46_02_739607_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/403a047e3456d840cc28519ad4ac62ba.jpg","text":"TemporaryFile(/tmp/multipartBody5233095126504666603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731549794,"filename":"image_24012025_14_47_02_848567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ef3a1469e37309e59a71eb6156f8f1c.jpg","text":"TemporaryFile(/tmp/multipartBody8112233318465044912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731549794,"filename":"image_24012025_14_46_02_739607_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9cee81a77f69b1ae6e224f9ea503f9a8.jpg","text":"TemporaryFile(/tmp/multipartBody6246805969447225095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731549794,"filename":"image_24012025_14_46_02_739607_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331078346","file1":"1331078339","file0":"1331078293","file4":"1331078380","file5":"1331078392","file3":"1331078362"},"map_files_photo_id_array":[{"photo_id":"1331078392","filename":"file5"},{"photo_id":"1331078346","filename":"file2"},{"photo_id":"1331078380","filename":"file4"},{"photo_id":"1331078339","filename":"file1"},{"photo_id":"1331078293","filename":"file0"},{"photo_id":"1331078362","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331078339":["hashtag1","hashtag2"]},{"1331078380":["hashtag1","hashtag2"]},{"1331078362":["hashtag1","hashtag2"]},{"1331078392":["hashtag1","hashtag2"]},{"1331078293":["hashtag1","hashtag2"]},{"1331078346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331078339, 1331078380, 1331078362, 1331078392, 1331078293, 1331078346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.29112553596497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 16:12:31.777611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/47/image_24012025_14_47_02_848567_0002.jpg', '/home/pi/Desktop/images/24012025/14/47/image_24012025_14_47_02_848567_0003.jpg', '/home/pi/Desktop/images/24012025/14/48/image_24012025_14_48_03_038546_0000.jpg', '/home/pi/Desktop/images/24012025/14/48/image_24012025_14_48_03_038546_0001.jpg', '/home/pi/Desktop/images/24012025/14/48/image_24012025_14_48_03_038546_0002.jpg', '/home/pi/Desktop/images/24012025/14/48/image_24012025_14_48_03_038546_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/47/image_24012025_14_47_02_848567_0002.jpg
/home/pi/Desktop/images/24012025/14/47/image_24012025_14_47_02_848567_0003.jpg
/home/pi/Desktop/images/24012025/14/48/image_24012025_14_48_03_038546_0000.jpg
/home/pi/Desktop/images/24012025/14/48/image_24012025_14_48_03_038546_0001.jpg
/home/pi/Desktop/images/24012025/14/48/image_24012025_14_48_03_038546_0002.jpg
/home/pi/Desktop/images/24012025/14/48/image_24012025_14_48_03_038546_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331078945","1331079013","1331078917","1331079033","1331078589","1331079029"],"photo_ids_order":["1331078589","1331078917","1331078945","1331079013","1331079029","1331079033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f879e6ad1ddf8e5091d6a5a6eccb37f.jpg","text":"TemporaryFile(/tmp/multipartBody7120011210587329765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731661881,"filename":"image_24012025_14_48_03_038546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ecbc85ff59355e7d18821c557ee0393e.jpg","text":"TemporaryFile(/tmp/multipartBody1919674213327287577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731661881,"filename":"image_24012025_14_48_03_038546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b4fae1cb2903033916b5b0f709207f48.jpg","text":"TemporaryFile(/tmp/multipartBody4211626715319569352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731661881,"filename":"image_24012025_14_47_02_848567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5cc063e3a94d46a6f9e453be2f9c6f95.jpg","text":"TemporaryFile(/tmp/multipartBody3802802692888672968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731661881,"filename":"image_24012025_14_48_03_038546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4652b22d03cf0170c75a9ffc2aec7df1.jpg","text":"TemporaryFile(/tmp/multipartBody2749879890325136288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731661881,"filename":"image_24012025_14_47_02_848567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc5bc067c2ecdb4c206d461ef4512e73.jpg","text":"TemporaryFile(/tmp/multipartBody7119507658588256931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731661881,"filename":"image_24012025_14_48_03_038546_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331078945","file1":"1331078917","file0":"1331078589","file4":"1331079029","file5":"1331079033","file3":"1331079013"},"map_files_photo_id_array":[{"photo_id":"1331079033","filename":"file5"},{"photo_id":"1331078945","filename":"file2"},{"photo_id":"1331079029","filename":"file4"},{"photo_id":"1331078917","filename":"file1"},{"photo_id":"1331078589","filename":"file0"},{"photo_id":"1331079013","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331078945":["hashtag1","hashtag2"]},{"1331079013":["hashtag1","hashtag2"]},{"1331078917":["hashtag1","hashtag2"]},{"1331079033":["hashtag1","hashtag2"]},{"1331078589":["hashtag1","hashtag2"]},{"1331079029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331078945, 1331079013, 1331078917, 1331079033, 1331078589, 1331079029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.16050314903259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:14:22.317102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/49/image_24012025_14_49_02_195193_0000.jpg', '/home/pi/Desktop/images/24012025/14/49/image_24012025_14_49_02_195193_0001.jpg', '/home/pi/Desktop/images/24012025/14/49/image_24012025_14_49_02_195193_0002.jpg', '/home/pi/Desktop/images/24012025/14/49/image_24012025_14_49_02_195193_0003.jpg', '/home/pi/Desktop/images/24012025/14/50/image_24012025_14_50_02_342684_0000.jpg', '/home/pi/Desktop/images/24012025/14/50/image_24012025_14_50_02_342684_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/49/image_24012025_14_49_02_195193_0000.jpg
/home/pi/Desktop/images/24012025/14/49/image_24012025_14_49_02_195193_0001.jpg
/home/pi/Desktop/images/24012025/14/49/image_24012025_14_49_02_195193_0002.jpg
/home/pi/Desktop/images/24012025/14/49/image_24012025_14_49_02_195193_0003.jpg
/home/pi/Desktop/images/24012025/14/50/image_24012025_14_50_02_342684_0000.jpg
/home/pi/Desktop/images/24012025/14/50/image_24012025_14_50_02_342684_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331079184","1331079211","1331079189","1331079227","1331079242","1331079200"],"photo_ids_order":["1331079184","1331079189","1331079200","1331079211","1331079227","1331079242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d8e542639ae5ddd7ae16986a51702d1.jpg","text":"TemporaryFile(/tmp/multipartBody5894417718998803711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731755157,"filename":"image_24012025_14_49_02_195193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b66052a4c06dae8559e34c0f9c8e25dd.jpg","text":"TemporaryFile(/tmp/multipartBody8858235970602721387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731755157,"filename":"image_24012025_14_49_02_195193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6a99826dec9c20fd529473f2a4ed3dc2.jpg","text":"TemporaryFile(/tmp/multipartBody401218312736376009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731755157,"filename":"image_24012025_14_49_02_195193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/981f4f55d58436bec4fe625b47ab9afe.jpg","text":"TemporaryFile(/tmp/multipartBody3740434358642064979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731755157,"filename":"image_24012025_14_50_02_342684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c423d82618dc692180ecfac47c33aa3.jpg","text":"TemporaryFile(/tmp/multipartBody3155187690784839351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731755157,"filename":"image_24012025_14_50_02_342684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c265f3d6a639aad4aeb6930c781a7a60.jpg","text":"TemporaryFile(/tmp/multipartBody4698453704921420355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731755157,"filename":"image_24012025_14_49_02_195193_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331079200","file1":"1331079189","file0":"1331079184","file4":"1331079227","file5":"1331079242","file3":"1331079211"},"map_files_photo_id_array":[{"photo_id":"1331079242","filename":"file5"},{"photo_id":"1331079200","filename":"file2"},{"photo_id":"1331079227","filename":"file4"},{"photo_id":"1331079189","filename":"file1"},{"photo_id":"1331079184","filename":"file0"},{"photo_id":"1331079211","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331079184":["hashtag1","hashtag2"]},{"1331079211":["hashtag1","hashtag2"]},{"1331079189":["hashtag1","hashtag2"]},{"1331079227":["hashtag1","hashtag2"]},{"1331079242":["hashtag1","hashtag2"]},{"1331079200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331079184, 1331079211, 1331079189, 1331079227, 1331079242, 1331079200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.76298832893372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 16:16:03.034893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/50/image_24012025_14_50_02_342684_0002.jpg', '/home/pi/Desktop/images/24012025/14/50/image_24012025_14_50_02_342684_0003.jpg', '/home/pi/Desktop/images/24012025/14/51/image_24012025_14_51_02_554716_0000.jpg', '/home/pi/Desktop/images/24012025/14/51/image_24012025_14_51_02_554716_0001.jpg', '/home/pi/Desktop/images/24012025/14/51/image_24012025_14_51_02_554716_0002.jpg', '/home/pi/Desktop/images/24012025/14/51/image_24012025_14_51_02_554716_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/50/image_24012025_14_50_02_342684_0002.jpg
/home/pi/Desktop/images/24012025/14/50/image_24012025_14_50_02_342684_0003.jpg
/home/pi/Desktop/images/24012025/14/51/image_24012025_14_51_02_554716_0000.jpg
/home/pi/Desktop/images/24012025/14/51/image_24012025_14_51_02_554716_0001.jpg
/home/pi/Desktop/images/24012025/14/51/image_24012025_14_51_02_554716_0002.jpg
/home/pi/Desktop/images/24012025/14/51/image_24012025_14_51_02_554716_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331079500","1331079493","1331079495","1331079522","1331079482","1331079518"],"photo_ids_order":["1331079482","1331079493","1331079495","1331079500","1331079518","1331079522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4dc337f9bdd6f72c7d3d88699d075384.jpg","text":"TemporaryFile(/tmp/multipartBody2845261762214502315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731870247,"filename":"image_24012025_14_51_02_554716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7564ea87b545d001ca5f6ccb45197c8c.jpg","text":"TemporaryFile(/tmp/multipartBody3723644005299407550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731870247,"filename":"image_24012025_14_50_02_342684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c61129043eed1b6f46d2339864c65395.jpg","text":"TemporaryFile(/tmp/multipartBody7489304046311328598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731870247,"filename":"image_24012025_14_51_02_554716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac2f1da309d6a9e2bd1e45db25a5d1b4.jpg","text":"TemporaryFile(/tmp/multipartBody4489252320359700149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731870247,"filename":"image_24012025_14_51_02_554716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/50c21d07e2932f8585a51777dd8921cb.jpg","text":"TemporaryFile(/tmp/multipartBody3285303141211430129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731870247,"filename":"image_24012025_14_50_02_342684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a5f46a2fb73a50b615dca59924cd60a2.jpg","text":"TemporaryFile(/tmp/multipartBody752425436340245127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731870247,"filename":"image_24012025_14_51_02_554716_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331079495","file1":"1331079493","file0":"1331079482","file4":"1331079518","file5":"1331079522","file3":"1331079500"},"map_files_photo_id_array":[{"photo_id":"1331079522","filename":"file5"},{"photo_id":"1331079495","filename":"file2"},{"photo_id":"1331079518","filename":"file4"},{"photo_id":"1331079493","filename":"file1"},{"photo_id":"1331079482","filename":"file0"},{"photo_id":"1331079500","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331079500":["hashtag1","hashtag2"]},{"1331079493":["hashtag1","hashtag2"]},{"1331079495":["hashtag1","hashtag2"]},{"1331079522":["hashtag1","hashtag2"]},{"1331079482":["hashtag1","hashtag2"]},{"1331079518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331079500, 1331079493, 1331079495, 1331079522, 1331079482, 1331079518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.5950813293457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 16:17:52.693696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/52/image_24012025_14_52_02_738675_0000.jpg', '/home/pi/Desktop/images/24012025/14/52/image_24012025_14_52_02_738675_0001.jpg', '/home/pi/Desktop/images/24012025/14/52/image_24012025_14_52_02_738675_0002.jpg', '/home/pi/Desktop/images/24012025/14/52/image_24012025_14_52_02_738675_0003.jpg', '/home/pi/Desktop/images/24012025/14/53/image_24012025_14_53_02_926693_0000.jpg', '/home/pi/Desktop/images/24012025/14/53/image_24012025_14_53_02_926693_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/52/image_24012025_14_52_02_738675_0000.jpg
/home/pi/Desktop/images/24012025/14/52/image_24012025_14_52_02_738675_0001.jpg
/home/pi/Desktop/images/24012025/14/52/image_24012025_14_52_02_738675_0002.jpg
/home/pi/Desktop/images/24012025/14/52/image_24012025_14_52_02_738675_0003.jpg
/home/pi/Desktop/images/24012025/14/53/image_24012025_14_53_02_926693_0000.jpg
/home/pi/Desktop/images/24012025/14/53/image_24012025_14_53_02_926693_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331079598","1331079679","1331079592","1331079676","1331079681","1331079606"],"photo_ids_order":["1331079592","1331079598","1331079606","1331079676","1331079679","1331079681"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d714dd9d4df4d3971b6f01bf3aa5dc3c.jpg","text":"TemporaryFile(/tmp/multipartBody7218584756885380289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731976602,"filename":"image_24012025_14_52_02_738675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3c12b139dc20a8585f33722970b25068.jpg","text":"TemporaryFile(/tmp/multipartBody8280146641748265344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731976602,"filename":"image_24012025_14_53_02_926693_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3db2bd9fbd555b2e9d02cc530a68fb4b.jpg","text":"TemporaryFile(/tmp/multipartBody3552052089955474200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731976602,"filename":"image_24012025_14_52_02_738675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/69f9306c6103d254d219a6b6fdbf41ab.jpg","text":"TemporaryFile(/tmp/multipartBody2503657866997599771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731976602,"filename":"image_24012025_14_52_02_738675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/292d1fe51c98df19124719ef9d23dbeb.jpg","text":"TemporaryFile(/tmp/multipartBody529033544057977639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731976602,"filename":"image_24012025_14_53_02_926693_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4778f19bfe0792ea368da9a00fb219cb.jpg","text":"TemporaryFile(/tmp/multipartBody2871806712193054179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737731976602,"filename":"image_24012025_14_52_02_738675_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331079606","file1":"1331079598","file0":"1331079592","file4":"1331079679","file5":"1331079681","file3":"1331079676"},"map_files_photo_id_array":[{"photo_id":"1331079681","filename":"file5"},{"photo_id":"1331079606","filename":"file2"},{"photo_id":"1331079679","filename":"file4"},{"photo_id":"1331079598","filename":"file1"},{"photo_id":"1331079592","filename":"file0"},{"photo_id":"1331079676","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331079598":["hashtag1","hashtag2"]},{"1331079679":["hashtag1","hashtag2"]},{"1331079592":["hashtag1","hashtag2"]},{"1331079676":["hashtag1","hashtag2"]},{"1331079681":["hashtag1","hashtag2"]},{"1331079606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331079598, 1331079679, 1331079592, 1331079676, 1331079681, 1331079606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.61958456039429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 16:19:32.089555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/53/image_24012025_14_53_02_926693_0002.jpg', '/home/pi/Desktop/images/24012025/14/53/image_24012025_14_53_02_926693_0003.jpg', '/home/pi/Desktop/images/24012025/14/54/image_24012025_14_54_02_163473_0000.jpg', '/home/pi/Desktop/images/24012025/14/54/image_24012025_14_54_02_163473_0001.jpg', '/home/pi/Desktop/images/24012025/14/54/image_24012025_14_54_02_163473_0002.jpg', '/home/pi/Desktop/images/24012025/14/54/image_24012025_14_54_02_163473_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/53/image_24012025_14_53_02_926693_0002.jpg
/home/pi/Desktop/images/24012025/14/53/image_24012025_14_53_02_926693_0003.jpg
/home/pi/Desktop/images/24012025/14/54/image_24012025_14_54_02_163473_0000.jpg
/home/pi/Desktop/images/24012025/14/54/image_24012025_14_54_02_163473_0001.jpg
/home/pi/Desktop/images/24012025/14/54/image_24012025_14_54_02_163473_0002.jpg
/home/pi/Desktop/images/24012025/14/54/image_24012025_14_54_02_163473_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331079827","1331079763","1331079808","1331079759","1331079749","1331079830"],"photo_ids_order":["1331079749","1331079759","1331079763","1331079808","1331079827","1331079830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/53bf37a3bda5566d5869851b9df8e5e7.jpg","text":"TemporaryFile(/tmp/multipartBody1962385004797099408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732078197,"filename":"image_24012025_14_54_02_163473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f853eaef593654e0429831171fd0040a.jpg","text":"TemporaryFile(/tmp/multipartBody7449529482672208951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732078197,"filename":"image_24012025_14_54_02_163473_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/46817902568f5534f4999dd3c6b3ffb1.jpg","text":"TemporaryFile(/tmp/multipartBody4396202121243587379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732078197,"filename":"image_24012025_14_54_02_163473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c240f85c5febf9b8ff35c57d89d441e3.jpg","text":"TemporaryFile(/tmp/multipartBody7280267323884152316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732078197,"filename":"image_24012025_14_53_02_926693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0c66725069294932fa9b6075ba131232.jpg","text":"TemporaryFile(/tmp/multipartBody6127627615590957302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732078197,"filename":"image_24012025_14_53_02_926693_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/083a5b3875ca1dfc92671941287cc23a.jpg","text":"TemporaryFile(/tmp/multipartBody4225059022534163132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732078197,"filename":"image_24012025_14_54_02_163473_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331079763","file1":"1331079759","file0":"1331079749","file4":"1331079827","file5":"1331079830","file3":"1331079808"},"map_files_photo_id_array":[{"photo_id":"1331079830","filename":"file5"},{"photo_id":"1331079763","filename":"file2"},{"photo_id":"1331079827","filename":"file4"},{"photo_id":"1331079759","filename":"file1"},{"photo_id":"1331079749","filename":"file0"},{"photo_id":"1331079808","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331079827":["hashtag1","hashtag2"]},{"1331079763":["hashtag1","hashtag2"]},{"1331079808":["hashtag1","hashtag2"]},{"1331079759":["hashtag1","hashtag2"]},{"1331079749":["hashtag1","hashtag2"]},{"1331079830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331079827, 1331079763, 1331079808, 1331079759, 1331079749, 1331079830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.147136926651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:21:22.381469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/55/image_24012025_14_55_02_425515_0000.jpg', '/home/pi/Desktop/images/24012025/14/55/image_24012025_14_55_02_425515_0001.jpg', '/home/pi/Desktop/images/24012025/14/55/image_24012025_14_55_02_425515_0002.jpg', '/home/pi/Desktop/images/24012025/14/55/image_24012025_14_55_02_425515_0003.jpg', '/home/pi/Desktop/images/24012025/14/56/image_24012025_14_56_02_588270_0000.jpg', '/home/pi/Desktop/images/24012025/14/56/image_24012025_14_56_02_588270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/55/image_24012025_14_55_02_425515_0000.jpg
/home/pi/Desktop/images/24012025/14/55/image_24012025_14_55_02_425515_0001.jpg
/home/pi/Desktop/images/24012025/14/55/image_24012025_14_55_02_425515_0002.jpg
/home/pi/Desktop/images/24012025/14/55/image_24012025_14_55_02_425515_0003.jpg
/home/pi/Desktop/images/24012025/14/56/image_24012025_14_56_02_588270_0000.jpg
/home/pi/Desktop/images/24012025/14/56/image_24012025_14_56_02_588270_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331079961","1331079928","1331079954","1331079945","1331079991","1331079923"],"photo_ids_order":["1331079923","1331079928","1331079945","1331079954","1331079961","1331079991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/878bc1c3adc38b63549e373971a64af7.jpg","text":"TemporaryFile(/tmp/multipartBody7196396849526036129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732193935,"filename":"image_24012025_14_56_02_588270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7684465046bf51193c2bec101bfe1bdc.jpg","text":"TemporaryFile(/tmp/multipartBody8855904405158302241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732193935,"filename":"image_24012025_14_55_02_425515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e762ce64f21fa93a2bdf8ed42a7eedb6.jpg","text":"TemporaryFile(/tmp/multipartBody7020326533060422884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732193935,"filename":"image_24012025_14_55_02_425515_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/925886f40bcd7ab2bb6d2e025723b52d.jpg","text":"TemporaryFile(/tmp/multipartBody8899889130879778705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732193935,"filename":"image_24012025_14_55_02_425515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e5b8ce34db69832113c13a3fe723420.jpg","text":"TemporaryFile(/tmp/multipartBody9072565342285066747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732193935,"filename":"image_24012025_14_56_02_588270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9986964b1c7c00820a963121c7f38ac8.jpg","text":"TemporaryFile(/tmp/multipartBody908813511931933680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732193935,"filename":"image_24012025_14_55_02_425515_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331079945","file1":"1331079928","file0":"1331079923","file4":"1331079961","file5":"1331079991","file3":"1331079954"},"map_files_photo_id_array":[{"photo_id":"1331079991","filename":"file5"},{"photo_id":"1331079945","filename":"file2"},{"photo_id":"1331079961","filename":"file4"},{"photo_id":"1331079928","filename":"file1"},{"photo_id":"1331079923","filename":"file0"},{"photo_id":"1331079954","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331079961":["hashtag1","hashtag2"]},{"1331079928":["hashtag1","hashtag2"]},{"1331079954":["hashtag1","hashtag2"]},{"1331079945":["hashtag1","hashtag2"]},{"1331079991":["hashtag1","hashtag2"]},{"1331079923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331079961, 1331079928, 1331079954, 1331079945, 1331079991, 1331079923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.01625537872314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:23:21.832535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/56/image_24012025_14_56_02_588270_0002.jpg', '/home/pi/Desktop/images/24012025/14/56/image_24012025_14_56_02_588270_0003.jpg', '/home/pi/Desktop/images/24012025/14/57/image_24012025_14_57_02_673007_0000.jpg', '/home/pi/Desktop/images/24012025/14/57/image_24012025_14_57_02_673007_0001.jpg', '/home/pi/Desktop/images/24012025/14/57/image_24012025_14_57_02_673007_0002.jpg', '/home/pi/Desktop/images/24012025/14/57/image_24012025_14_57_02_673007_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/56/image_24012025_14_56_02_588270_0002.jpg
/home/pi/Desktop/images/24012025/14/56/image_24012025_14_56_02_588270_0003.jpg
/home/pi/Desktop/images/24012025/14/57/image_24012025_14_57_02_673007_0000.jpg
/home/pi/Desktop/images/24012025/14/57/image_24012025_14_57_02_673007_0001.jpg
/home/pi/Desktop/images/24012025/14/57/image_24012025_14_57_02_673007_0002.jpg
/home/pi/Desktop/images/24012025/14/57/image_24012025_14_57_02_673007_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331080115","1331080118","1331080106","1331080111","1331080143","1331080128"],"photo_ids_order":["1331080106","1331080111","1331080115","1331080118","1331080128","1331080143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55fa69e7fe83776f48d999772c0fb786.jpg","text":"TemporaryFile(/tmp/multipartBody5997966120876990136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732304101,"filename":"image_24012025_14_57_02_673007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0f693db308f6acef201d9f198925cefd.jpg","text":"TemporaryFile(/tmp/multipartBody1699137577640529918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732304101,"filename":"image_24012025_14_57_02_673007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fac47dd33247a4729524dc900a08b460.jpg","text":"TemporaryFile(/tmp/multipartBody7606028258959893696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732304101,"filename":"image_24012025_14_56_02_588270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e821e9059b0b56411e17f6058275f21.jpg","text":"TemporaryFile(/tmp/multipartBody5217744838084718103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732304101,"filename":"image_24012025_14_56_02_588270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51525cd9fb8fd3733b0e593d83d8f786.jpg","text":"TemporaryFile(/tmp/multipartBody688991274365172831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732304101,"filename":"image_24012025_14_57_02_673007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/266a5b6ad6b60e597919ec647dca38e3.jpg","text":"TemporaryFile(/tmp/multipartBody8437342999760752826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732304101,"filename":"image_24012025_14_57_02_673007_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331080115","file1":"1331080111","file0":"1331080106","file4":"1331080128","file5":"1331080143","file3":"1331080118"},"map_files_photo_id_array":[{"photo_id":"1331080143","filename":"file5"},{"photo_id":"1331080115","filename":"file2"},{"photo_id":"1331080128","filename":"file4"},{"photo_id":"1331080111","filename":"file1"},{"photo_id":"1331080106","filename":"file0"},{"photo_id":"1331080118","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331080115":["hashtag1","hashtag2"]},{"1331080118":["hashtag1","hashtag2"]},{"1331080106":["hashtag1","hashtag2"]},{"1331080111":["hashtag1","hashtag2"]},{"1331080143":["hashtag1","hashtag2"]},{"1331080128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331080115, 1331080118, 1331080106, 1331080111, 1331080143, 1331080128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.42812609672546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 16:25:02.850417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/58/image_24012025_14_58_02_910607_0000.jpg', '/home/pi/Desktop/images/24012025/14/58/image_24012025_14_58_02_910607_0001.jpg', '/home/pi/Desktop/images/24012025/14/58/image_24012025_14_58_02_910607_0002.jpg', '/home/pi/Desktop/images/24012025/14/58/image_24012025_14_58_02_910607_0003.jpg', '/home/pi/Desktop/images/24012025/14/59/image_24012025_14_59_03_027040_0000.jpg', '/home/pi/Desktop/images/24012025/14/59/image_24012025_14_59_03_027040_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/58/image_24012025_14_58_02_910607_0000.jpg
/home/pi/Desktop/images/24012025/14/58/image_24012025_14_58_02_910607_0001.jpg
/home/pi/Desktop/images/24012025/14/58/image_24012025_14_58_02_910607_0002.jpg
/home/pi/Desktop/images/24012025/14/58/image_24012025_14_58_02_910607_0003.jpg
/home/pi/Desktop/images/24012025/14/59/image_24012025_14_59_03_027040_0000.jpg
/home/pi/Desktop/images/24012025/14/59/image_24012025_14_59_03_027040_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331081575","1331081590","1331081562","1331081538","1331081555","1331081549"],"photo_ids_order":["1331081538","1331081549","1331081555","1331081562","1331081575","1331081590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c284f378a9e7584d6ac7a1442a9772ec.jpg","text":"TemporaryFile(/tmp/multipartBody7646659946307348812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732400276,"filename":"image_24012025_14_59_03_027040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3dd3c60f8d7d5e5888d71c5d61752a53.jpg","text":"TemporaryFile(/tmp/multipartBody3360657472335127521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732400276,"filename":"image_24012025_14_59_03_027040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b801bef3b3f07fcd45788381d2a6c663.jpg","text":"TemporaryFile(/tmp/multipartBody1166264200799459516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732400276,"filename":"image_24012025_14_58_02_910607_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5afd2bd91ab6a6beb98038a22e7e8d78.jpg","text":"TemporaryFile(/tmp/multipartBody6213613409969540098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732400276,"filename":"image_24012025_14_58_02_910607_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ac9730b6d7e123b6d65cf84ef4fa6d5.jpg","text":"TemporaryFile(/tmp/multipartBody7516488219470349941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732400276,"filename":"image_24012025_14_58_02_910607_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eb1d970f8feaf842f0cebf18c3d66143.jpg","text":"TemporaryFile(/tmp/multipartBody4155626127626383340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732400276,"filename":"image_24012025_14_58_02_910607_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331081555","file1":"1331081549","file0":"1331081538","file4":"1331081575","file5":"1331081590","file3":"1331081562"},"map_files_photo_id_array":[{"photo_id":"1331081590","filename":"file5"},{"photo_id":"1331081555","filename":"file2"},{"photo_id":"1331081575","filename":"file4"},{"photo_id":"1331081549","filename":"file1"},{"photo_id":"1331081538","filename":"file0"},{"photo_id":"1331081562","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331081575":["hashtag1","hashtag2"]},{"1331081590":["hashtag1","hashtag2"]},{"1331081562":["hashtag1","hashtag2"]},{"1331081538":["hashtag1","hashtag2"]},{"1331081555":["hashtag1","hashtag2"]},{"1331081549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331081575, 1331081590, 1331081562, 1331081538, 1331081555, 1331081549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.05088186264038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 16:26:42.401964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/14/59/image_24012025_14_59_03_027040_0002.jpg', '/home/pi/Desktop/images/24012025/14/59/image_24012025_14_59_03_027040_0003.jpg', '/home/pi/Desktop/images/24012025/15/00/image_24012025_15_00_02_241665_0000.jpg', '/home/pi/Desktop/images/24012025/15/00/image_24012025_15_00_02_241665_0001.jpg', '/home/pi/Desktop/images/24012025/15/00/image_24012025_15_00_02_241665_0002.jpg', '/home/pi/Desktop/images/24012025/15/00/image_24012025_15_00_02_241665_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/14/59/image_24012025_14_59_03_027040_0002.jpg
/home/pi/Desktop/images/24012025/14/59/image_24012025_14_59_03_027040_0003.jpg
/home/pi/Desktop/images/24012025/15/00/image_24012025_15_00_02_241665_0000.jpg
/home/pi/Desktop/images/24012025/15/00/image_24012025_15_00_02_241665_0001.jpg
/home/pi/Desktop/images/24012025/15/00/image_24012025_15_00_02_241665_0002.jpg
/home/pi/Desktop/images/24012025/15/00/image_24012025_15_00_02_241665_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331082223","1331082246","1331082153","1331082251","1331082275","1331082157"],"photo_ids_order":["1331082153","1331082157","1331082223","1331082246","1331082251","1331082275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/73dac5832d8504719e107b2b4870b6bf.jpg","text":"TemporaryFile(/tmp/multipartBody2595286717044088719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732510619,"filename":"image_24012025_15_00_02_241665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34ba222f9cad0b8fdbdc6eb4baf8e774.jpg","text":"TemporaryFile(/tmp/multipartBody4073618795197409937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732510619,"filename":"image_24012025_15_00_02_241665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98667e1c5fbe913dc601ecb46ffc9e66.jpg","text":"TemporaryFile(/tmp/multipartBody8101531148865147018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732510619,"filename":"image_24012025_14_59_03_027040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/feb7fbcf2aba0b09b922ec102495c9ba.jpg","text":"TemporaryFile(/tmp/multipartBody1710648000078212890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732510619,"filename":"image_24012025_15_00_02_241665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cf5262b4e25aa3a908ae56bafe313f19.jpg","text":"TemporaryFile(/tmp/multipartBody580627099699053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732510619,"filename":"image_24012025_15_00_02_241665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e74ec8a41b41a14a839264bbbb18ab01.jpg","text":"TemporaryFile(/tmp/multipartBody5369678934751701086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732510619,"filename":"image_24012025_14_59_03_027040_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331082223","file1":"1331082157","file0":"1331082153","file4":"1331082251","file5":"1331082275","file3":"1331082246"},"map_files_photo_id_array":[{"photo_id":"1331082275","filename":"file5"},{"photo_id":"1331082223","filename":"file2"},{"photo_id":"1331082251","filename":"file4"},{"photo_id":"1331082157","filename":"file1"},{"photo_id":"1331082153","filename":"file0"},{"photo_id":"1331082246","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331082223":["hashtag1","hashtag2"]},{"1331082246":["hashtag1","hashtag2"]},{"1331082153":["hashtag1","hashtag2"]},{"1331082251":["hashtag1","hashtag2"]},{"1331082275":["hashtag1","hashtag2"]},{"1331082157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331082223, 1331082246, 1331082153, 1331082251, 1331082275, 1331082157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.56696271896362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 16:28:32.798488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/01/image_24012025_15_01_02_466773_0000.jpg', '/home/pi/Desktop/images/24012025/15/01/image_24012025_15_01_02_466773_0001.jpg', '/home/pi/Desktop/images/24012025/15/01/image_24012025_15_01_02_466773_0002.jpg', '/home/pi/Desktop/images/24012025/15/01/image_24012025_15_01_02_466773_0003.jpg', '/home/pi/Desktop/images/24012025/15/02/image_24012025_15_02_02_655481_0000.jpg', '/home/pi/Desktop/images/24012025/15/02/image_24012025_15_02_02_655481_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/01/image_24012025_15_01_02_466773_0000.jpg
/home/pi/Desktop/images/24012025/15/01/image_24012025_15_01_02_466773_0001.jpg
/home/pi/Desktop/images/24012025/15/01/image_24012025_15_01_02_466773_0002.jpg
/home/pi/Desktop/images/24012025/15/01/image_24012025_15_01_02_466773_0003.jpg
/home/pi/Desktop/images/24012025/15/02/image_24012025_15_02_02_655481_0000.jpg
/home/pi/Desktop/images/24012025/15/02/image_24012025_15_02_02_655481_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331082364","1331082390","1331082384","1331082368","1331082394","1331082376"],"photo_ids_order":["1331082364","1331082368","1331082376","1331082384","1331082390","1331082394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/161a44de34524721113b38aa42f7f09f.jpg","text":"TemporaryFile(/tmp/multipartBody7178900966761432237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732620227,"filename":"image_24012025_15_01_02_466773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/14f2814cf0f80f97972a981f7469a63e.jpg","text":"TemporaryFile(/tmp/multipartBody8926836208692880340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732620227,"filename":"image_24012025_15_02_02_655481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae48a4cc8e1b6114f92b27f2aa20640a.jpg","text":"TemporaryFile(/tmp/multipartBody8904895301212245025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732620227,"filename":"image_24012025_15_01_02_466773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db6a0e3d59854c30719feb050d6bca17.jpg","text":"TemporaryFile(/tmp/multipartBody8814838467888750577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732620227,"filename":"image_24012025_15_01_02_466773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/14bb791127fbc1405db2345848119f56.jpg","text":"TemporaryFile(/tmp/multipartBody796882901973819019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732620227,"filename":"image_24012025_15_02_02_655481_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65dbea7de3b3f432e2b0bd4c28e543ab.jpg","text":"TemporaryFile(/tmp/multipartBody8303036391483993591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732620227,"filename":"image_24012025_15_01_02_466773_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331082376","file1":"1331082368","file0":"1331082364","file4":"1331082390","file5":"1331082394","file3":"1331082384"},"map_files_photo_id_array":[{"photo_id":"1331082394","filename":"file5"},{"photo_id":"1331082376","filename":"file2"},{"photo_id":"1331082390","filename":"file4"},{"photo_id":"1331082368","filename":"file1"},{"photo_id":"1331082364","filename":"file0"},{"photo_id":"1331082384","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331082364":["hashtag1","hashtag2"]},{"1331082390":["hashtag1","hashtag2"]},{"1331082384":["hashtag1","hashtag2"]},{"1331082368":["hashtag1","hashtag2"]},{"1331082394":["hashtag1","hashtag2"]},{"1331082376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331082364, 1331082390, 1331082384, 1331082368, 1331082394, 1331082376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.4838216304779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:30:22.130940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/02/image_24012025_15_02_02_655481_0002.jpg', '/home/pi/Desktop/images/24012025/15/02/image_24012025_15_02_02_655481_0003.jpg', '/home/pi/Desktop/images/24012025/15/03/image_24012025_15_03_02_794315_0000.jpg', '/home/pi/Desktop/images/24012025/15/03/image_24012025_15_03_02_794315_0001.jpg', '/home/pi/Desktop/images/24012025/15/03/image_24012025_15_03_02_794315_0002.jpg', '/home/pi/Desktop/images/24012025/15/03/image_24012025_15_03_02_794315_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/02/image_24012025_15_02_02_655481_0002.jpg
/home/pi/Desktop/images/24012025/15/02/image_24012025_15_02_02_655481_0003.jpg
/home/pi/Desktop/images/24012025/15/03/image_24012025_15_03_02_794315_0000.jpg
/home/pi/Desktop/images/24012025/15/03/image_24012025_15_03_02_794315_0001.jpg
/home/pi/Desktop/images/24012025/15/03/image_24012025_15_03_02_794315_0002.jpg
/home/pi/Desktop/images/24012025/15/03/image_24012025_15_03_02_794315_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331082733","1331082715","1331082744","1331082852","1331082845","1331082707"],"photo_ids_order":["1331082707","1331082715","1331082733","1331082744","1331082845","1331082852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9853d97948b37f3de8287b8868224eb0.jpg","text":"TemporaryFile(/tmp/multipartBody1515077199791188269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732730398,"filename":"image_24012025_15_03_02_794315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6477391e0aa76d9e6b600c7f7b68eec8.jpg","text":"TemporaryFile(/tmp/multipartBody6089609366576879279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732730398,"filename":"image_24012025_15_02_02_655481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5adb42af12f72a774cc4c8d9aea2578d.jpg","text":"TemporaryFile(/tmp/multipartBody5469308285087772018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732730398,"filename":"image_24012025_15_03_02_794315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/633be334484a5e45c4ca43a397c5539b.jpg","text":"TemporaryFile(/tmp/multipartBody6796103917286536125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732730398,"filename":"image_24012025_15_03_02_794315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c5ab2c51676f4fb294c7df2a65278197.jpg","text":"TemporaryFile(/tmp/multipartBody8378247531600239763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732730398,"filename":"image_24012025_15_03_02_794315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/41e9b5bc84a8613c705d07e5c3837c0e.jpg","text":"TemporaryFile(/tmp/multipartBody9108157269696951924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732730398,"filename":"image_24012025_15_02_02_655481_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331082733","file1":"1331082715","file0":"1331082707","file4":"1331082845","file5":"1331082852","file3":"1331082744"},"map_files_photo_id_array":[{"photo_id":"1331082852","filename":"file5"},{"photo_id":"1331082733","filename":"file2"},{"photo_id":"1331082845","filename":"file4"},{"photo_id":"1331082715","filename":"file1"},{"photo_id":"1331082707","filename":"file0"},{"photo_id":"1331082744","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331082733":["hashtag1","hashtag2"]},{"1331082715":["hashtag1","hashtag2"]},{"1331082744":["hashtag1","hashtag2"]},{"1331082852":["hashtag1","hashtag2"]},{"1331082845":["hashtag1","hashtag2"]},{"1331082707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331082733, 1331082715, 1331082744, 1331082852, 1331082845, 1331082707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 111.78334474563599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:32:22.485354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/04/image_24012025_15_04_03_031476_0000.jpg', '/home/pi/Desktop/images/24012025/15/04/image_24012025_15_04_03_031476_0001.jpg', '/home/pi/Desktop/images/24012025/15/04/image_24012025_15_04_03_031476_0002.jpg', '/home/pi/Desktop/images/24012025/15/04/image_24012025_15_04_03_031476_0003.jpg', '/home/pi/Desktop/images/24012025/15/05/image_24012025_15_05_03_118579_0000.jpg', '/home/pi/Desktop/images/24012025/15/05/image_24012025_15_05_03_118579_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/04/image_24012025_15_04_03_031476_0000.jpg
/home/pi/Desktop/images/24012025/15/04/image_24012025_15_04_03_031476_0001.jpg
/home/pi/Desktop/images/24012025/15/04/image_24012025_15_04_03_031476_0002.jpg
/home/pi/Desktop/images/24012025/15/04/image_24012025_15_04_03_031476_0003.jpg
/home/pi/Desktop/images/24012025/15/05/image_24012025_15_05_03_118579_0000.jpg
/home/pi/Desktop/images/24012025/15/05/image_24012025_15_05_03_118579_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331082907","1331082912","1331082896","1331082893","1331082917","1331082902"],"photo_ids_order":["1331082893","1331082896","1331082902","1331082907","1331082912","1331082917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/392bf518138146acc1a40a5c75aa83e8.jpg","text":"TemporaryFile(/tmp/multipartBody3074664724394672711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732863478,"filename":"image_24012025_15_04_03_031476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cae67b8c58b2b950e697217ad5f1475e.jpg","text":"TemporaryFile(/tmp/multipartBody1600825848108622007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732863478,"filename":"image_24012025_15_05_03_118579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9fa94f9bbc0b073478e67585246bf517.jpg","text":"TemporaryFile(/tmp/multipartBody2442819750492838486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732863478,"filename":"image_24012025_15_04_03_031476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4695f4ea346c9748245a584bedabafa3.jpg","text":"TemporaryFile(/tmp/multipartBody8877517224406500370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732863478,"filename":"image_24012025_15_04_03_031476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b59ca76d617074a9d7e678da5157b8c.jpg","text":"TemporaryFile(/tmp/multipartBody8809497052726238309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732863478,"filename":"image_24012025_15_05_03_118579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/327346cf2fcb9ede83394183e77b06c1.jpg","text":"TemporaryFile(/tmp/multipartBody2597754640092463444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732863478,"filename":"image_24012025_15_04_03_031476_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331082902","file1":"1331082896","file0":"1331082893","file4":"1331082912","file5":"1331082917","file3":"1331082907"},"map_files_photo_id_array":[{"photo_id":"1331082917","filename":"file5"},{"photo_id":"1331082902","filename":"file2"},{"photo_id":"1331082912","filename":"file4"},{"photo_id":"1331082896","filename":"file1"},{"photo_id":"1331082893","filename":"file0"},{"photo_id":"1331082907","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331082907":["hashtag1","hashtag2"]},{"1331082912":["hashtag1","hashtag2"]},{"1331082896":["hashtag1","hashtag2"]},{"1331082893":["hashtag1","hashtag2"]},{"1331082917":["hashtag1","hashtag2"]},{"1331082902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331082907, 1331082912, 1331082896, 1331082893, 1331082917, 1331082902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 113.79806685447693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:34:21.895739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/05/image_24012025_15_05_03_118579_0002.jpg', '/home/pi/Desktop/images/24012025/15/05/image_24012025_15_05_03_118579_0003.jpg', '/home/pi/Desktop/images/24012025/15/06/image_24012025_15_06_02_298896_0000.jpg', '/home/pi/Desktop/images/24012025/15/06/image_24012025_15_06_02_298896_0001.jpg', '/home/pi/Desktop/images/24012025/15/06/image_24012025_15_06_02_298896_0002.jpg', '/home/pi/Desktop/images/24012025/15/06/image_24012025_15_06_02_298896_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/05/image_24012025_15_05_03_118579_0002.jpg
/home/pi/Desktop/images/24012025/15/05/image_24012025_15_05_03_118579_0003.jpg
/home/pi/Desktop/images/24012025/15/06/image_24012025_15_06_02_298896_0000.jpg
/home/pi/Desktop/images/24012025/15/06/image_24012025_15_06_02_298896_0001.jpg
/home/pi/Desktop/images/24012025/15/06/image_24012025_15_06_02_298896_0002.jpg
/home/pi/Desktop/images/24012025/15/06/image_24012025_15_06_02_298896_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331083036","1331083041","1331083029","1331083023","1331083011","1331083016"],"photo_ids_order":["1331083011","1331083016","1331083023","1331083029","1331083036","1331083041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b249e91e6034d08e128570ab72efb9bb.jpg","text":"TemporaryFile(/tmp/multipartBody2919458324324094372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732976489,"filename":"image_24012025_15_06_02_298896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ff6d81369386b515aa0ddfa19243323.jpg","text":"TemporaryFile(/tmp/multipartBody1368897525431732863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732976489,"filename":"image_24012025_15_06_02_298896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c6d791f002e2b44f70ab9dba10c83b52.jpg","text":"TemporaryFile(/tmp/multipartBody3733684622349552628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732976489,"filename":"image_24012025_15_06_02_298896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51dbb64f5a938b708a9b65b57eac8ba2.jpg","text":"TemporaryFile(/tmp/multipartBody8807090120649693867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732976489,"filename":"image_24012025_15_06_02_298896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fbaaf9260608fbcda8651a0dd7f124ee.jpg","text":"TemporaryFile(/tmp/multipartBody2220357690635140372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732976489,"filename":"image_24012025_15_05_03_118579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3122a56c49b93b626c1e9dbea49f986d.jpg","text":"TemporaryFile(/tmp/multipartBody2792082467605048479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737732976489,"filename":"image_24012025_15_05_03_118579_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331083023","file1":"1331083016","file0":"1331083011","file4":"1331083036","file5":"1331083041","file3":"1331083029"},"map_files_photo_id_array":[{"photo_id":"1331083041","filename":"file5"},{"photo_id":"1331083023","filename":"file2"},{"photo_id":"1331083036","filename":"file4"},{"photo_id":"1331083016","filename":"file1"},{"photo_id":"1331083011","filename":"file0"},{"photo_id":"1331083029","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331083036":["hashtag1","hashtag2"]},{"1331083041":["hashtag1","hashtag2"]},{"1331083029":["hashtag1","hashtag2"]},{"1331083023":["hashtag1","hashtag2"]},{"1331083011":["hashtag1","hashtag2"]},{"1331083016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331083036, 1331083041, 1331083029, 1331083023, 1331083011, 1331083016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.62170839309692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:36:22.282119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/07/image_24012025_15_07_02_512936_0000.jpg', '/home/pi/Desktop/images/24012025/15/07/image_24012025_15_07_02_512936_0001.jpg', '/home/pi/Desktop/images/24012025/15/07/image_24012025_15_07_02_512936_0002.jpg', '/home/pi/Desktop/images/24012025/15/07/image_24012025_15_07_02_512936_0003.jpg', '/home/pi/Desktop/images/24012025/15/08/image_24012025_15_08_02_790210_0000.jpg', '/home/pi/Desktop/images/24012025/15/08/image_24012025_15_08_02_790210_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/07/image_24012025_15_07_02_512936_0000.jpg
/home/pi/Desktop/images/24012025/15/07/image_24012025_15_07_02_512936_0001.jpg
/home/pi/Desktop/images/24012025/15/07/image_24012025_15_07_02_512936_0002.jpg
/home/pi/Desktop/images/24012025/15/07/image_24012025_15_07_02_512936_0003.jpg
/home/pi/Desktop/images/24012025/15/08/image_24012025_15_08_02_790210_0000.jpg
/home/pi/Desktop/images/24012025/15/08/image_24012025_15_08_02_790210_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331083184","1331083180","1331083174","1331083168","1331083141","1331083111"],"photo_ids_order":["1331083111","1331083141","1331083168","1331083174","1331083180","1331083184"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12cfc4eef26c421213e3746e78ba6e3c.jpg","text":"TemporaryFile(/tmp/multipartBody4458583539352264705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733097317,"filename":"image_24012025_15_08_02_790210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/03991d9a2101072bebf12b8d31c1336c.jpg","text":"TemporaryFile(/tmp/multipartBody2920945463829491234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733097317,"filename":"image_24012025_15_08_02_790210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45ba0877796f83644f094ca5a43117a9.jpg","text":"TemporaryFile(/tmp/multipartBody5889463455214137710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733097317,"filename":"image_24012025_15_07_02_512936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f12c6a4ae2c5006ded69d2caab899147.jpg","text":"TemporaryFile(/tmp/multipartBody7867016882464336871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733097317,"filename":"image_24012025_15_07_02_512936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb37ba433afa0a8241c886a67d87eb1e.jpg","text":"TemporaryFile(/tmp/multipartBody9105058464521633516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733097317,"filename":"image_24012025_15_07_02_512936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac477458410d582063846db805ad9c2d.jpg","text":"TemporaryFile(/tmp/multipartBody6379692386498415884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733097317,"filename":"image_24012025_15_07_02_512936_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331083168","file1":"1331083141","file0":"1331083111","file4":"1331083180","file5":"1331083184","file3":"1331083174"},"map_files_photo_id_array":[{"photo_id":"1331083184","filename":"file5"},{"photo_id":"1331083168","filename":"file2"},{"photo_id":"1331083180","filename":"file4"},{"photo_id":"1331083141","filename":"file1"},{"photo_id":"1331083111","filename":"file0"},{"photo_id":"1331083174","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331083184":["hashtag1","hashtag2"]},{"1331083180":["hashtag1","hashtag2"]},{"1331083174":["hashtag1","hashtag2"]},{"1331083168":["hashtag1","hashtag2"]},{"1331083141":["hashtag1","hashtag2"]},{"1331083111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331083184, 1331083180, 1331083174, 1331083168, 1331083141, 1331083111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.835618019104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:38:22.582221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/08/image_24012025_15_08_02_790210_0002.jpg', '/home/pi/Desktop/images/24012025/15/08/image_24012025_15_08_02_790210_0003.jpg', '/home/pi/Desktop/images/24012025/15/09/image_24012025_15_09_02_925137_0000.jpg', '/home/pi/Desktop/images/24012025/15/09/image_24012025_15_09_02_925137_0001.jpg', '/home/pi/Desktop/images/24012025/15/09/image_24012025_15_09_02_925137_0002.jpg', '/home/pi/Desktop/images/24012025/15/09/image_24012025_15_09_02_925137_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/08/image_24012025_15_08_02_790210_0002.jpg
/home/pi/Desktop/images/24012025/15/08/image_24012025_15_08_02_790210_0003.jpg
/home/pi/Desktop/images/24012025/15/09/image_24012025_15_09_02_925137_0000.jpg
/home/pi/Desktop/images/24012025/15/09/image_24012025_15_09_02_925137_0001.jpg
/home/pi/Desktop/images/24012025/15/09/image_24012025_15_09_02_925137_0002.jpg
/home/pi/Desktop/images/24012025/15/09/image_24012025_15_09_02_925137_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331083377","1331083484","1331083451","1331083427","1331083459","1331083438"],"photo_ids_order":["1331083377","1331083427","1331083438","1331083451","1331083459","1331083484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f96f6562ce0551099e51e9525a369da2.jpg","text":"TemporaryFile(/tmp/multipartBody639123000997936075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733209088,"filename":"image_24012025_15_08_02_790210_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/36e0e1743544cf82a9b477cefcb53bcc.jpg","text":"TemporaryFile(/tmp/multipartBody3907741050678654499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733209088,"filename":"image_24012025_15_09_02_925137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e0a7037186f0b304208f825bf76de3be.jpg","text":"TemporaryFile(/tmp/multipartBody1619282742513249372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733209088,"filename":"image_24012025_15_09_02_925137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a5400cbc7cec1848ae2e9e1e4648bf5.jpg","text":"TemporaryFile(/tmp/multipartBody7755602555647972229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733209088,"filename":"image_24012025_15_08_02_790210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8cfcb48ba0f30b3aaa9046e4d1e4ad39.jpg","text":"TemporaryFile(/tmp/multipartBody5517955255572272500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733209088,"filename":"image_24012025_15_09_02_925137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b546c40c028dfb509ac6881932563b80.jpg","text":"TemporaryFile(/tmp/multipartBody376442531992040240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733209088,"filename":"image_24012025_15_09_02_925137_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331083438","file1":"1331083427","file0":"1331083377","file4":"1331083459","file5":"1331083484","file3":"1331083451"},"map_files_photo_id_array":[{"photo_id":"1331083484","filename":"file5"},{"photo_id":"1331083438","filename":"file2"},{"photo_id":"1331083459","filename":"file4"},{"photo_id":"1331083427","filename":"file1"},{"photo_id":"1331083377","filename":"file0"},{"photo_id":"1331083451","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331083377":["hashtag1","hashtag2"]},{"1331083484":["hashtag1","hashtag2"]},{"1331083451":["hashtag1","hashtag2"]},{"1331083427":["hashtag1","hashtag2"]},{"1331083459":["hashtag1","hashtag2"]},{"1331083438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331083377, 1331083484, 1331083451, 1331083427, 1331083459, 1331083438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.39573502540588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:40:21.943830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/10/image_24012025_15_10_03_097201_0000.jpg', '/home/pi/Desktop/images/24012025/15/10/image_24012025_15_10_03_097201_0001.jpg', '/home/pi/Desktop/images/24012025/15/10/image_24012025_15_10_03_097201_0002.jpg', '/home/pi/Desktop/images/24012025/15/10/image_24012025_15_10_03_097201_0003.jpg', '/home/pi/Desktop/images/24012025/15/11/image_24012025_15_11_02_210182_0000.jpg', '/home/pi/Desktop/images/24012025/15/11/image_24012025_15_11_02_210182_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/10/image_24012025_15_10_03_097201_0000.jpg
/home/pi/Desktop/images/24012025/15/10/image_24012025_15_10_03_097201_0001.jpg
/home/pi/Desktop/images/24012025/15/10/image_24012025_15_10_03_097201_0002.jpg
/home/pi/Desktop/images/24012025/15/10/image_24012025_15_10_03_097201_0003.jpg
/home/pi/Desktop/images/24012025/15/11/image_24012025_15_11_02_210182_0000.jpg
/home/pi/Desktop/images/24012025/15/11/image_24012025_15_11_02_210182_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331083605","1331083556","1331083538","1331083570","1331083590","1331083543"],"photo_ids_order":["1331083538","1331083543","1331083556","1331083570","1331083590","1331083605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/295cdb030f1480a194e9f7b237529b58.jpg","text":"TemporaryFile(/tmp/multipartBody8059527120156826715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733326206,"filename":"image_24012025_15_11_02_210182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c54bf9906e8c84c678d317e49a46bbc9.jpg","text":"TemporaryFile(/tmp/multipartBody516319035545957117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733326206,"filename":"image_24012025_15_10_03_097201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/02cab98faaa5f9674cdceab25ead623d.jpg","text":"TemporaryFile(/tmp/multipartBody6364338890568264130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733326206,"filename":"image_24012025_15_10_03_097201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d137916036970c30fdba90c118c4cf39.jpg","text":"TemporaryFile(/tmp/multipartBody458594002702708235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733326206,"filename":"image_24012025_15_10_03_097201_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/985380744dfd6111742c40abbb3af65f.jpg","text":"TemporaryFile(/tmp/multipartBody6648060873777505074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733326206,"filename":"image_24012025_15_11_02_210182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00c5f806cbf540d65c8c73fbd442eabd.jpg","text":"TemporaryFile(/tmp/multipartBody2430044169753834523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733326206,"filename":"image_24012025_15_10_03_097201_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331083556","file1":"1331083543","file0":"1331083538","file4":"1331083590","file5":"1331083605","file3":"1331083570"},"map_files_photo_id_array":[{"photo_id":"1331083605","filename":"file5"},{"photo_id":"1331083556","filename":"file2"},{"photo_id":"1331083590","filename":"file4"},{"photo_id":"1331083543","filename":"file1"},{"photo_id":"1331083538","filename":"file0"},{"photo_id":"1331083570","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331083605":["hashtag1","hashtag2"]},{"1331083556":["hashtag1","hashtag2"]},{"1331083538":["hashtag1","hashtag2"]},{"1331083570":["hashtag1","hashtag2"]},{"1331083590":["hashtag1","hashtag2"]},{"1331083543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331083605, 1331083556, 1331083538, 1331083570, 1331083590, 1331083543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.18733382225037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:42:22.297554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/11/image_24012025_15_11_02_210182_0002.jpg', '/home/pi/Desktop/images/24012025/15/11/image_24012025_15_11_02_210182_0003.jpg', '/home/pi/Desktop/images/24012025/15/12/image_24012025_15_12_02_382123_0000.jpg', '/home/pi/Desktop/images/24012025/15/12/image_24012025_15_12_02_382123_0001.jpg', '/home/pi/Desktop/images/24012025/15/12/image_24012025_15_12_02_382123_0002.jpg', '/home/pi/Desktop/images/24012025/15/12/image_24012025_15_12_02_382123_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/11/image_24012025_15_11_02_210182_0002.jpg
/home/pi/Desktop/images/24012025/15/11/image_24012025_15_11_02_210182_0003.jpg
/home/pi/Desktop/images/24012025/15/12/image_24012025_15_12_02_382123_0000.jpg
/home/pi/Desktop/images/24012025/15/12/image_24012025_15_12_02_382123_0001.jpg
/home/pi/Desktop/images/24012025/15/12/image_24012025_15_12_02_382123_0002.jpg
/home/pi/Desktop/images/24012025/15/12/image_24012025_15_12_02_382123_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331084966","1331084957","1331084942","1331084992","1331085022","1331084982"],"photo_ids_order":["1331084942","1331084957","1331084966","1331084982","1331084992","1331085022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f020dde7d24c4e8179980dedaf38ac1d.jpg","text":"TemporaryFile(/tmp/multipartBody4250706371090355415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733450870,"filename":"image_24012025_15_12_02_382123_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d2f5183d64edcd9f455dee83c7a97a15.jpg","text":"TemporaryFile(/tmp/multipartBody2970681127715508927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733450870,"filename":"image_24012025_15_11_02_210182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e37b6e54275b0c82eab02962887eb8e9.jpg","text":"TemporaryFile(/tmp/multipartBody8690710909579074029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733450870,"filename":"image_24012025_15_11_02_210182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c8763db96ee8fbba9325e3df3680cf93.jpg","text":"TemporaryFile(/tmp/multipartBody8795725693104464191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733450870,"filename":"image_24012025_15_12_02_382123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d567d99e4fe3b3632ccfd0e966f7af17.jpg","text":"TemporaryFile(/tmp/multipartBody5850983225764882106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733450870,"filename":"image_24012025_15_12_02_382123_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/106aa7366d382ca405ab4c5b792684c1.jpg","text":"TemporaryFile(/tmp/multipartBody7099496982609349553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733450870,"filename":"image_24012025_15_12_02_382123_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331084966","file1":"1331084957","file0":"1331084942","file4":"1331084992","file5":"1331085022","file3":"1331084982"},"map_files_photo_id_array":[{"photo_id":"1331085022","filename":"file5"},{"photo_id":"1331084966","filename":"file2"},{"photo_id":"1331084992","filename":"file4"},{"photo_id":"1331084957","filename":"file1"},{"photo_id":"1331084942","filename":"file0"},{"photo_id":"1331084982","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331084966":["hashtag1","hashtag2"]},{"1331084957":["hashtag1","hashtag2"]},{"1331084942":["hashtag1","hashtag2"]},{"1331084992":["hashtag1","hashtag2"]},{"1331085022":["hashtag1","hashtag2"]},{"1331084982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331084966, 1331084957, 1331084942, 1331084992, 1331085022, 1331084982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.84040069580078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:44:22.686010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/13/image_24012025_15_13_02_616864_0000.jpg', '/home/pi/Desktop/images/24012025/15/13/image_24012025_15_13_02_616864_0001.jpg', '/home/pi/Desktop/images/24012025/15/13/image_24012025_15_13_02_616864_0002.jpg', '/home/pi/Desktop/images/24012025/15/13/image_24012025_15_13_02_616864_0003.jpg', '/home/pi/Desktop/images/24012025/15/14/image_24012025_15_14_02_869530_0000.jpg', '/home/pi/Desktop/images/24012025/15/14/image_24012025_15_14_02_869530_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/13/image_24012025_15_13_02_616864_0000.jpg
/home/pi/Desktop/images/24012025/15/13/image_24012025_15_13_02_616864_0001.jpg
/home/pi/Desktop/images/24012025/15/13/image_24012025_15_13_02_616864_0002.jpg
/home/pi/Desktop/images/24012025/15/13/image_24012025_15_13_02_616864_0003.jpg
/home/pi/Desktop/images/24012025/15/14/image_24012025_15_14_02_869530_0000.jpg
/home/pi/Desktop/images/24012025/15/14/image_24012025_15_14_02_869530_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331085488","1331085461","1331085493","1331085481","1331085511","1331085471"],"photo_ids_order":["1331085461","1331085471","1331085481","1331085488","1331085493","1331085511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f68914e800914ec47d09dc155cac63f2.jpg","text":"TemporaryFile(/tmp/multipartBody4851316446927509162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733566650,"filename":"image_24012025_15_13_02_616864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d46db93278ab1363cf481bc1a3eeb658.jpg","text":"TemporaryFile(/tmp/multipartBody4682890496580771032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733566650,"filename":"image_24012025_15_13_02_616864_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/92f1ebdadaa197a0577dc7858bed52da.jpg","text":"TemporaryFile(/tmp/multipartBody2142713834678940488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733566650,"filename":"image_24012025_15_14_02_869530_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bebd696c5be7af48a8c9fb00ba73817e.jpg","text":"TemporaryFile(/tmp/multipartBody6079597014349441995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733566650,"filename":"image_24012025_15_13_02_616864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/71c9858bc6070a188b991bb5999197b4.jpg","text":"TemporaryFile(/tmp/multipartBody3148124050488374877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733566650,"filename":"image_24012025_15_14_02_869530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b0832a1db14af68b9fd3c2cbe40d6b0.jpg","text":"TemporaryFile(/tmp/multipartBody3107310568594543074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733566650,"filename":"image_24012025_15_13_02_616864_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331085481","file1":"1331085471","file0":"1331085461","file4":"1331085493","file5":"1331085511","file3":"1331085488"},"map_files_photo_id_array":[{"photo_id":"1331085511","filename":"file5"},{"photo_id":"1331085481","filename":"file2"},{"photo_id":"1331085493","filename":"file4"},{"photo_id":"1331085471","filename":"file1"},{"photo_id":"1331085461","filename":"file0"},{"photo_id":"1331085488","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331085488":["hashtag1","hashtag2"]},{"1331085461":["hashtag1","hashtag2"]},{"1331085493":["hashtag1","hashtag2"]},{"1331085481":["hashtag1","hashtag2"]},{"1331085511":["hashtag1","hashtag2"]},{"1331085471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331085488, 1331085461, 1331085493, 1331085481, 1331085511, 1331085471)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 98.81845045089722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:46:21.995853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/14/image_24012025_15_14_02_869530_0002.jpg', '/home/pi/Desktop/images/24012025/15/14/image_24012025_15_14_02_869530_0003.jpg', '/home/pi/Desktop/images/24012025/15/15/image_24012025_15_15_02_908134_0000.jpg', '/home/pi/Desktop/images/24012025/15/15/image_24012025_15_15_02_908134_0001.jpg', '/home/pi/Desktop/images/24012025/15/15/image_24012025_15_15_02_908134_0002.jpg', '/home/pi/Desktop/images/24012025/15/15/image_24012025_15_15_02_908134_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/14/image_24012025_15_14_02_869530_0002.jpg
/home/pi/Desktop/images/24012025/15/14/image_24012025_15_14_02_869530_0003.jpg
/home/pi/Desktop/images/24012025/15/15/image_24012025_15_15_02_908134_0000.jpg
/home/pi/Desktop/images/24012025/15/15/image_24012025_15_15_02_908134_0001.jpg
/home/pi/Desktop/images/24012025/15/15/image_24012025_15_15_02_908134_0002.jpg
/home/pi/Desktop/images/24012025/15/15/image_24012025_15_15_02_908134_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331086034","1331085908","1331085917","1331085795","1331085921","1331086058"],"photo_ids_order":["1331085795","1331085908","1331085917","1331085921","1331086034","1331086058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b60649b91a533c3b7dd4a6c2e0e492b.jpg","text":"TemporaryFile(/tmp/multipartBody2644711249587964969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733690569,"filename":"image_24012025_15_15_02_908134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9565fd01678ce5359a6327dc55e893df.jpg","text":"TemporaryFile(/tmp/multipartBody1935498547310893363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733690569,"filename":"image_24012025_15_14_02_869530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8d9e1f42f87907a46ecbf737fa587aa0.jpg","text":"TemporaryFile(/tmp/multipartBody286140875632321677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733690569,"filename":"image_24012025_15_15_02_908134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cbcfdf6e29ef4633d624ff3d717fbae3.jpg","text":"TemporaryFile(/tmp/multipartBody3151853405808510548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733690569,"filename":"image_24012025_15_14_02_869530_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/26d55a81ae60edd5b64e5ac8dbe3e065.jpg","text":"TemporaryFile(/tmp/multipartBody5078276563033526503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733690569,"filename":"image_24012025_15_15_02_908134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad86497eea9760fc7c9cb78e766ad00f.jpg","text":"TemporaryFile(/tmp/multipartBody6606751169009281523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733690569,"filename":"image_24012025_15_15_02_908134_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331085917","file1":"1331085908","file0":"1331085795","file4":"1331086034","file5":"1331086058","file3":"1331085921"},"map_files_photo_id_array":[{"photo_id":"1331086058","filename":"file5"},{"photo_id":"1331085917","filename":"file2"},{"photo_id":"1331086034","filename":"file4"},{"photo_id":"1331085908","filename":"file1"},{"photo_id":"1331085795","filename":"file0"},{"photo_id":"1331085921","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331086034":["hashtag1","hashtag2"]},{"1331085908":["hashtag1","hashtag2"]},{"1331085917":["hashtag1","hashtag2"]},{"1331085795":["hashtag1","hashtag2"]},{"1331085921":["hashtag1","hashtag2"]},{"1331086058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331086034, 1331085908, 1331085917, 1331085795, 1331085921, 1331086058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.09308457374573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:48:22.336853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/16/image_24012025_15_16_02_141637_0000.jpg', '/home/pi/Desktop/images/24012025/15/16/image_24012025_15_16_02_141637_0001.jpg', '/home/pi/Desktop/images/24012025/15/16/image_24012025_15_16_02_141637_0002.jpg', '/home/pi/Desktop/images/24012025/15/16/image_24012025_15_16_02_141637_0003.jpg', '/home/pi/Desktop/images/24012025/15/17/image_24012025_15_17_02_313783_0000.jpg', '/home/pi/Desktop/images/24012025/15/17/image_24012025_15_17_02_313783_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/16/image_24012025_15_16_02_141637_0000.jpg
/home/pi/Desktop/images/24012025/15/16/image_24012025_15_16_02_141637_0001.jpg
/home/pi/Desktop/images/24012025/15/16/image_24012025_15_16_02_141637_0002.jpg
/home/pi/Desktop/images/24012025/15/16/image_24012025_15_16_02_141637_0003.jpg
/home/pi/Desktop/images/24012025/15/17/image_24012025_15_17_02_313783_0000.jpg
/home/pi/Desktop/images/24012025/15/17/image_24012025_15_17_02_313783_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331086447","1331086432","1331086464","1331086458","1331086467","1331086410"],"photo_ids_order":["1331086410","1331086432","1331086447","1331086458","1331086464","1331086467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a38438d734b7582b761cb8f3aedc9d1e.jpg","text":"TemporaryFile(/tmp/multipartBody4465978919410080943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733808150,"filename":"image_24012025_15_16_02_141637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/324078835e5010f9b0e95d2a3ad54f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8234409457707298302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733808150,"filename":"image_24012025_15_16_02_141637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf770a805615b08eddb8c548265102bc.jpg","text":"TemporaryFile(/tmp/multipartBody8587873689922947295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733808150,"filename":"image_24012025_15_17_02_313783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b2ed0415040e1b636983317fb5ebb5c0.jpg","text":"TemporaryFile(/tmp/multipartBody6918080261296869634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733808150,"filename":"image_24012025_15_16_02_141637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e989893a22791e35c7e2db1092e3a2b6.jpg","text":"TemporaryFile(/tmp/multipartBody6429199961923269207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733808150,"filename":"image_24012025_15_17_02_313783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b9ef7974f2854ef52bc7755b2adf3b19.jpg","text":"TemporaryFile(/tmp/multipartBody8476879074511942931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733808150,"filename":"image_24012025_15_16_02_141637_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331086447","file1":"1331086432","file0":"1331086410","file4":"1331086464","file5":"1331086467","file3":"1331086458"},"map_files_photo_id_array":[{"photo_id":"1331086467","filename":"file5"},{"photo_id":"1331086447","filename":"file2"},{"photo_id":"1331086464","filename":"file4"},{"photo_id":"1331086432","filename":"file1"},{"photo_id":"1331086410","filename":"file0"},{"photo_id":"1331086458","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331086447":["hashtag1","hashtag2"]},{"1331086432":["hashtag1","hashtag2"]},{"1331086464":["hashtag1","hashtag2"]},{"1331086458":["hashtag1","hashtag2"]},{"1331086467":["hashtag1","hashtag2"]},{"1331086410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331086447, 1331086432, 1331086464, 1331086458, 1331086467, 1331086410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.49953532218933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:50:22.691897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/17/image_24012025_15_17_02_313783_0002.jpg', '/home/pi/Desktop/images/24012025/15/17/image_24012025_15_17_02_313783_0003.jpg', '/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0000.jpg', '/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0001.jpg', '/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0002.jpg', '/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/17/image_24012025_15_17_02_313783_0002.jpg
/home/pi/Desktop/images/24012025/15/17/image_24012025_15_17_02_313783_0003.jpg
/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0000.jpg
/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0001.jpg
/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0002.jpg
/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0003.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 41.23719835281372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:51:21.893032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/17/image_24012025_15_17_02_313783_0002.jpg', '/home/pi/Desktop/images/24012025/15/17/image_24012025_15_17_02_313783_0003.jpg', '/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0000.jpg', '/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0001.jpg', '/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0002.jpg', '/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/17/image_24012025_15_17_02_313783_0002.jpg
/home/pi/Desktop/images/24012025/15/17/image_24012025_15_17_02_313783_0003.jpg
/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0000.jpg
/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0001.jpg
/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0002.jpg
/home/pi/Desktop/images/24012025/15/18/image_24012025_15_18_02_451648_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331086634","1331086630","1331086665","1331086647","1331086679","1331086652"],"photo_ids_order":["1331086630","1331086634","1331086647","1331086652","1331086665","1331086679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f05104a574b115ab0a56deead50d2a2f.jpg","text":"TemporaryFile(/tmp/multipartBody57098709703150638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733984804,"filename":"image_24012025_15_17_02_313783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec6d791a1ee342d59db17be600843e21.jpg","text":"TemporaryFile(/tmp/multipartBody742165351882929995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733984804,"filename":"image_24012025_15_17_02_313783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/183f88ba5428d7c2fdd2baa7271eaba7.jpg","text":"TemporaryFile(/tmp/multipartBody9059721398356563423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733984804,"filename":"image_24012025_15_18_02_451648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af96131588bdcae410d52414f3e23529.jpg","text":"TemporaryFile(/tmp/multipartBody7270692077305997298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733984804,"filename":"image_24012025_15_18_02_451648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/547ad1245445fa633b50e4e6e96d6b00.jpg","text":"TemporaryFile(/tmp/multipartBody704215326308011990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733984804,"filename":"image_24012025_15_18_02_451648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/271e755e0d67ab53d26d01e0309bdb73.jpg","text":"TemporaryFile(/tmp/multipartBody1484159264346167705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737733984804,"filename":"image_24012025_15_18_02_451648_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331086647","file1":"1331086634","file0":"1331086630","file4":"1331086665","file5":"1331086679","file3":"1331086652"},"map_files_photo_id_array":[{"photo_id":"1331086679","filename":"file5"},{"photo_id":"1331086647","filename":"file2"},{"photo_id":"1331086665","filename":"file4"},{"photo_id":"1331086634","filename":"file1"},{"photo_id":"1331086630","filename":"file0"},{"photo_id":"1331086652","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331086634":["hashtag1","hashtag2"]},{"1331086630":["hashtag1","hashtag2"]},{"1331086665":["hashtag1","hashtag2"]},{"1331086647":["hashtag1","hashtag2"]},{"1331086679":["hashtag1","hashtag2"]},{"1331086652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331086634, 1331086630, 1331086665, 1331086647, 1331086679, 1331086652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.5830020904541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 16:53:02.966939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0000.jpg', '/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0001.jpg', '/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0002.jpg', '/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0003.jpg', '/home/pi/Desktop/images/24012025/15/20/image_24012025_15_20_02_863778_0000.jpg', '/home/pi/Desktop/images/24012025/15/20/image_24012025_15_20_02_863778_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0000.jpg
/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0001.jpg
/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0002.jpg
/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0003.jpg
/home/pi/Desktop/images/24012025/15/20/image_24012025_15_20_02_863778_0000.jpg
/home/pi/Desktop/images/24012025/15/20/image_24012025_15_20_02_863778_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 44.9433434009552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 16:53:52.248615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0000.jpg', '/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0001.jpg', '/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0002.jpg', '/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0003.jpg', '/home/pi/Desktop/images/24012025/15/20/image_24012025_15_20_02_863778_0000.jpg', '/home/pi/Desktop/images/24012025/15/20/image_24012025_15_20_02_863778_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0000.jpg
/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0001.jpg
/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0002.jpg
/home/pi/Desktop/images/24012025/15/19/image_24012025_15_19_02_625491_0003.jpg
/home/pi/Desktop/images/24012025/15/20/image_24012025_15_20_02_863778_0000.jpg
/home/pi/Desktop/images/24012025/15/20/image_24012025_15_20_02_863778_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331086894","1331086918","1331086927","1331086923","1331086911","1331086883"],"photo_ids_order":["1331086883","1331086894","1331086911","1331086918","1331086923","1331086927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0c8e3baf45fc5b8a2f13b066973b0f58.jpg","text":"TemporaryFile(/tmp/multipartBody6478703734389155647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734123112,"filename":"image_24012025_15_19_02_625491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ffeb739ea2a1ba9718302e7c04cdef77.jpg","text":"TemporaryFile(/tmp/multipartBody7335104852997743552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734123112,"filename":"image_24012025_15_19_02_625491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0b128fc61e41925c16f23fc0023cb35.jpg","text":"TemporaryFile(/tmp/multipartBody5150970562601352629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734123112,"filename":"image_24012025_15_20_02_863778_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/94ca3aa79ddf42b72afad057ce20bfd3.jpg","text":"TemporaryFile(/tmp/multipartBody1443257364877728143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734123112,"filename":"image_24012025_15_20_02_863778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/22dd86680f8b8905921f7bdd0a1d5794.jpg","text":"TemporaryFile(/tmp/multipartBody8256748384136691120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734123112,"filename":"image_24012025_15_19_02_625491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e3ddc91932071d90d3b2bf4200297b9.jpg","text":"TemporaryFile(/tmp/multipartBody7964863295851389574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734123112,"filename":"image_24012025_15_19_02_625491_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331086911","file1":"1331086894","file0":"1331086883","file4":"1331086923","file5":"1331086927","file3":"1331086918"},"map_files_photo_id_array":[{"photo_id":"1331086927","filename":"file5"},{"photo_id":"1331086911","filename":"file2"},{"photo_id":"1331086923","filename":"file4"},{"photo_id":"1331086894","filename":"file1"},{"photo_id":"1331086883","filename":"file0"},{"photo_id":"1331086918","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331086894":["hashtag1","hashtag2"]},{"1331086918":["hashtag1","hashtag2"]},{"1331086927":["hashtag1","hashtag2"]},{"1331086923":["hashtag1","hashtag2"]},{"1331086911":["hashtag1","hashtag2"]},{"1331086883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331086894, 1331086918, 1331086927, 1331086923, 1331086911, 1331086883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.0238938331604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:55:22.677094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/20/image_24012025_15_20_02_863778_0002.jpg', '/home/pi/Desktop/images/24012025/15/20/image_24012025_15_20_02_863778_0003.jpg', '/home/pi/Desktop/images/24012025/15/21/image_24012025_15_21_03_042771_0000.jpg', '/home/pi/Desktop/images/24012025/15/21/image_24012025_15_21_03_042771_0001.jpg', '/home/pi/Desktop/images/24012025/15/21/image_24012025_15_21_03_042771_0002.jpg', '/home/pi/Desktop/images/24012025/15/21/image_24012025_15_21_03_042771_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/20/image_24012025_15_20_02_863778_0002.jpg
/home/pi/Desktop/images/24012025/15/20/image_24012025_15_20_02_863778_0003.jpg
/home/pi/Desktop/images/24012025/15/21/image_24012025_15_21_03_042771_0000.jpg
/home/pi/Desktop/images/24012025/15/21/image_24012025_15_21_03_042771_0001.jpg
/home/pi/Desktop/images/24012025/15/21/image_24012025_15_21_03_042771_0002.jpg
/home/pi/Desktop/images/24012025/15/21/image_24012025_15_21_03_042771_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331087015","1331086996","1331086991","1331086988","1331087024","1331087006"],"photo_ids_order":["1331086988","1331086991","1331086996","1331087006","1331087015","1331087024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0001347da4e8805c222b2f04f5fdba9d.jpg","text":"TemporaryFile(/tmp/multipartBody1725792123247817412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734229408,"filename":"image_24012025_15_21_03_042771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bc034d97939d59021765b1a9a949d779.jpg","text":"TemporaryFile(/tmp/multipartBody3776676924765673618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734229408,"filename":"image_24012025_15_21_03_042771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7e03733f7192d7922e64aab2128cbdaf.jpg","text":"TemporaryFile(/tmp/multipartBody2915617882324721446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734229408,"filename":"image_24012025_15_20_02_863778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/87aae3f59872b78391ff329d71a11e9c.jpg","text":"TemporaryFile(/tmp/multipartBody6387354534412918449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734229408,"filename":"image_24012025_15_20_02_863778_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/01a6c94cbea7465f2f13363c5218e58f.jpg","text":"TemporaryFile(/tmp/multipartBody5455354865392350448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734229408,"filename":"image_24012025_15_21_03_042771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8938132c98017ec8af1bfb3f26ebe010.jpg","text":"TemporaryFile(/tmp/multipartBody4574895025174806254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734229408,"filename":"image_24012025_15_21_03_042771_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331086996","file1":"1331086991","file0":"1331086988","file4":"1331087015","file5":"1331087024","file3":"1331087006"},"map_files_photo_id_array":[{"photo_id":"1331087024","filename":"file5"},{"photo_id":"1331086996","filename":"file2"},{"photo_id":"1331087015","filename":"file4"},{"photo_id":"1331086991","filename":"file1"},{"photo_id":"1331086988","filename":"file0"},{"photo_id":"1331087006","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331087015":["hashtag1","hashtag2"]},{"1331086996":["hashtag1","hashtag2"]},{"1331086991":["hashtag1","hashtag2"]},{"1331086988":["hashtag1","hashtag2"]},{"1331087024":["hashtag1","hashtag2"]},{"1331087006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331087015, 1331086996, 1331086991, 1331086988, 1331087024, 1331087006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.80508708953857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 16:57:22.170069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0000.jpg', '/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0001.jpg', '/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0002.jpg', '/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0003.jpg', '/home/pi/Desktop/images/24012025/15/23/image_24012025_15_23_02_326698_0000.jpg', '/home/pi/Desktop/images/24012025/15/23/image_24012025_15_23_02_326698_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0000.jpg
/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0001.jpg
/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0002.jpg
/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0003.jpg
/home/pi/Desktop/images/24012025/15/23/image_24012025_15_23_02_326698_0000.jpg
/home/pi/Desktop/images/24012025/15/23/image_24012025_15_23_02_326698_0001.jpg
 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 refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 16:59:02.986623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0000.jpg', '/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0001.jpg', '/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0002.jpg', '/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0003.jpg', '/home/pi/Desktop/images/24012025/15/23/image_24012025_15_23_02_326698_0000.jpg', '/home/pi/Desktop/images/24012025/15/23/image_24012025_15_23_02_326698_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0000.jpg
/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0001.jpg
/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0002.jpg
/home/pi/Desktop/images/24012025/15/22/image_24012025_15_22_02_100157_0003.jpg
/home/pi/Desktop/images/24012025/15/23/image_24012025_15_23_02_326698_0000.jpg
/home/pi/Desktop/images/24012025/15/23/image_24012025_15_23_02_326698_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331087605","1331087583","1331087571","1331087568","1331087562","1331087594"],"photo_ids_order":["1331087562","1331087568","1331087571","1331087583","1331087594","1331087605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a506a391aac7491049fd8dc3c275d011.jpg","text":"TemporaryFile(/tmp/multipartBody130325009779259975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734442273,"filename":"image_24012025_15_23_02_326698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/718282aff80bcad1a2407a9547a43d0f.jpg","text":"TemporaryFile(/tmp/multipartBody168046556237869697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734442273,"filename":"image_24012025_15_22_02_100157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c44932a290d8b4b00560491b5d950298.jpg","text":"TemporaryFile(/tmp/multipartBody7025747754235060560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734442273,"filename":"image_24012025_15_22_02_100157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7e1188721e8fe6b9f76b26a3983045ae.jpg","text":"TemporaryFile(/tmp/multipartBody2461807759105076648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734442273,"filename":"image_24012025_15_22_02_100157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ee95a30be095da21d70333259e8e196.jpg","text":"TemporaryFile(/tmp/multipartBody7382460967165572070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734442273,"filename":"image_24012025_15_22_02_100157_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/18a856660171af5b4ce7ed0bb7db5d77.jpg","text":"TemporaryFile(/tmp/multipartBody7657019166607155900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734442273,"filename":"image_24012025_15_23_02_326698_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331087571","file1":"1331087568","file0":"1331087562","file4":"1331087594","file5":"1331087605","file3":"1331087583"},"map_files_photo_id_array":[{"photo_id":"1331087605","filename":"file5"},{"photo_id":"1331087571","filename":"file2"},{"photo_id":"1331087594","filename":"file4"},{"photo_id":"1331087568","filename":"file1"},{"photo_id":"1331087562","filename":"file0"},{"photo_id":"1331087583","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331087605":["hashtag1","hashtag2"]},{"1331087583":["hashtag1","hashtag2"]},{"1331087571":["hashtag1","hashtag2"]},{"1331087568":["hashtag1","hashtag2"]},{"1331087562":["hashtag1","hashtag2"]},{"1331087594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331087605, 1331087583, 1331087571, 1331087568, 1331087562, 1331087594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.9606101512909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 17:00:42.568057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/23/image_24012025_15_23_02_326698_0002.jpg', '/home/pi/Desktop/images/24012025/15/23/image_24012025_15_23_02_326698_0003.jpg', '/home/pi/Desktop/images/24012025/15/24/image_24012025_15_24_02_523920_0000.jpg', '/home/pi/Desktop/images/24012025/15/24/image_24012025_15_24_02_523920_0001.jpg', '/home/pi/Desktop/images/24012025/15/24/image_24012025_15_24_02_523920_0002.jpg', '/home/pi/Desktop/images/24012025/15/24/image_24012025_15_24_02_523920_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/23/image_24012025_15_23_02_326698_0002.jpg
/home/pi/Desktop/images/24012025/15/23/image_24012025_15_23_02_326698_0003.jpg
/home/pi/Desktop/images/24012025/15/24/image_24012025_15_24_02_523920_0000.jpg
/home/pi/Desktop/images/24012025/15/24/image_24012025_15_24_02_523920_0001.jpg
/home/pi/Desktop/images/24012025/15/24/image_24012025_15_24_02_523920_0002.jpg
/home/pi/Desktop/images/24012025/15/24/image_24012025_15_24_02_523920_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331087974","1331087734","1331087664","1331088098","1331087939","1331087828"],"photo_ids_order":["1331087664","1331087734","1331087828","1331087939","1331087974","1331088098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cf1254718bd395d4a4c83a31d86960ef.jpg","text":"TemporaryFile(/tmp/multipartBody514064108759890717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734537081,"filename":"image_24012025_15_24_02_523920_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2097d18ba44fa346f2b4d1c401b57727.jpg","text":"TemporaryFile(/tmp/multipartBody2013408047622510511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734537081,"filename":"image_24012025_15_23_02_326698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0b6d811bd71c7539aa76b14a09cdba7d.jpg","text":"TemporaryFile(/tmp/multipartBody5737620199408855686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734537081,"filename":"image_24012025_15_23_02_326698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dde00ed54929200d1d3e42c64cd19b43.jpg","text":"TemporaryFile(/tmp/multipartBody6340327293683220074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734537081,"filename":"image_24012025_15_24_02_523920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/256a5ad5a0001e642eb5e0cf8fc86679.jpg","text":"TemporaryFile(/tmp/multipartBody8829217112162724250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734537081,"filename":"image_24012025_15_24_02_523920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0dc4ee3c72dcf34790f893c82f84053.jpg","text":"TemporaryFile(/tmp/multipartBody4223142322652700974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734537081,"filename":"image_24012025_15_24_02_523920_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331087828","file1":"1331087734","file0":"1331087664","file4":"1331087974","file5":"1331088098","file3":"1331087939"},"map_files_photo_id_array":[{"photo_id":"1331088098","filename":"file5"},{"photo_id":"1331087828","filename":"file2"},{"photo_id":"1331087974","filename":"file4"},{"photo_id":"1331087734","filename":"file1"},{"photo_id":"1331087664","filename":"file0"},{"photo_id":"1331087939","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331087974":["hashtag1","hashtag2"]},{"1331087734":["hashtag1","hashtag2"]},{"1331087664":["hashtag1","hashtag2"]},{"1331088098":["hashtag1","hashtag2"]},{"1331087939":["hashtag1","hashtag2"]},{"1331087828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331087974, 1331087734, 1331087664, 1331088098, 1331087939, 1331087828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.82225227355957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:02:22.002638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/25/image_24012025_15_25_02_693659_0000.jpg', '/home/pi/Desktop/images/24012025/15/25/image_24012025_15_25_02_693659_0001.jpg', '/home/pi/Desktop/images/24012025/15/25/image_24012025_15_25_02_693659_0002.jpg', '/home/pi/Desktop/images/24012025/15/25/image_24012025_15_25_02_693659_0003.jpg', '/home/pi/Desktop/images/24012025/15/26/image_24012025_15_26_02_854972_0000.jpg', '/home/pi/Desktop/images/24012025/15/26/image_24012025_15_26_02_854972_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/25/image_24012025_15_25_02_693659_0000.jpg
/home/pi/Desktop/images/24012025/15/25/image_24012025_15_25_02_693659_0001.jpg
/home/pi/Desktop/images/24012025/15/25/image_24012025_15_25_02_693659_0002.jpg
/home/pi/Desktop/images/24012025/15/25/image_24012025_15_25_02_693659_0003.jpg
/home/pi/Desktop/images/24012025/15/26/image_24012025_15_26_02_854972_0000.jpg
/home/pi/Desktop/images/24012025/15/26/image_24012025_15_26_02_854972_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331088234","1331088222","1331088225","1331088230","1331088320","1331088274"],"photo_ids_order":["1331088222","1331088225","1331088230","1331088234","1331088274","1331088320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ffe53676bcd26ae99cf68636ffc69d90.jpg","text":"TemporaryFile(/tmp/multipartBody1081501683953851007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734630312,"filename":"image_24012025_15_25_02_693659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d82791dba4ef063bf6b6f373fd6f0804.jpg","text":"TemporaryFile(/tmp/multipartBody712082308089901679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734630312,"filename":"image_24012025_15_25_02_693659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0589802e2c1eedb50df199a7b456b8b1.jpg","text":"TemporaryFile(/tmp/multipartBody1382903646605099778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734630312,"filename":"image_24012025_15_25_02_693659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51e7f62ae41a2a37e6228bac5d39b9a3.jpg","text":"TemporaryFile(/tmp/multipartBody4284174537900097551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734630312,"filename":"image_24012025_15_25_02_693659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4513ae11a450da021b8bacc780757cda.jpg","text":"TemporaryFile(/tmp/multipartBody3997748521700067974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734630312,"filename":"image_24012025_15_26_02_854972_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c332c8f2b53c81d5ddd48a6d016745d6.jpg","text":"TemporaryFile(/tmp/multipartBody1667711005260061450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734630312,"filename":"image_24012025_15_26_02_854972_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331088230","file1":"1331088225","file0":"1331088222","file4":"1331088274","file5":"1331088320","file3":"1331088234"},"map_files_photo_id_array":[{"photo_id":"1331088320","filename":"file5"},{"photo_id":"1331088230","filename":"file2"},{"photo_id":"1331088274","filename":"file4"},{"photo_id":"1331088225","filename":"file1"},{"photo_id":"1331088222","filename":"file0"},{"photo_id":"1331088234","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331088234":["hashtag1","hashtag2"]},{"1331088222":["hashtag1","hashtag2"]},{"1331088225":["hashtag1","hashtag2"]},{"1331088230":["hashtag1","hashtag2"]},{"1331088320":["hashtag1","hashtag2"]},{"1331088274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331088234, 1331088222, 1331088225, 1331088230, 1331088320, 1331088274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.00075602531433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 17:03:52.133296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/26/image_24012025_15_26_02_854972_0002.jpg', '/home/pi/Desktop/images/24012025/15/26/image_24012025_15_26_02_854972_0003.jpg', '/home/pi/Desktop/images/24012025/15/27/image_24012025_15_27_03_059439_0000.jpg', '/home/pi/Desktop/images/24012025/15/27/image_24012025_15_27_03_059439_0001.jpg', '/home/pi/Desktop/images/24012025/15/27/image_24012025_15_27_03_059439_0002.jpg', '/home/pi/Desktop/images/24012025/15/27/image_24012025_15_27_03_059439_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/26/image_24012025_15_26_02_854972_0002.jpg
/home/pi/Desktop/images/24012025/15/26/image_24012025_15_26_02_854972_0003.jpg
/home/pi/Desktop/images/24012025/15/27/image_24012025_15_27_03_059439_0000.jpg
/home/pi/Desktop/images/24012025/15/27/image_24012025_15_27_03_059439_0001.jpg
/home/pi/Desktop/images/24012025/15/27/image_24012025_15_27_03_059439_0002.jpg
/home/pi/Desktop/images/24012025/15/27/image_24012025_15_27_03_059439_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331088502","1331088429","1331088491","1331088510","1331088461","1331088452"],"photo_ids_order":["1331088429","1331088452","1331088461","1331088491","1331088502","1331088510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/894d1fb5059596107ad3d465f3340f95.jpg","text":"TemporaryFile(/tmp/multipartBody6270206029611858942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734723055,"filename":"image_24012025_15_27_03_059439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b9c16e2f0d7a8987f05dc5e6b62c08e4.jpg","text":"TemporaryFile(/tmp/multipartBody5751626451507179929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734723055,"filename":"image_24012025_15_26_02_854972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/168c281b4d591bb1321d9021e40dac49.jpg","text":"TemporaryFile(/tmp/multipartBody5793231375780534869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734723055,"filename":"image_24012025_15_27_03_059439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cf68438c96a657ccc954871405c5b094.jpg","text":"TemporaryFile(/tmp/multipartBody791829399796877352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734723055,"filename":"image_24012025_15_27_03_059439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1db71137e7c947ee82cd6e2ade47d8c9.jpg","text":"TemporaryFile(/tmp/multipartBody8833821396738050293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734723055,"filename":"image_24012025_15_27_03_059439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c005ab4c0b6e021e167e8ee7dc67d99b.jpg","text":"TemporaryFile(/tmp/multipartBody6825367392640436050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734723055,"filename":"image_24012025_15_26_02_854972_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331088461","file1":"1331088452","file0":"1331088429","file4":"1331088502","file5":"1331088510","file3":"1331088491"},"map_files_photo_id_array":[{"photo_id":"1331088510","filename":"file5"},{"photo_id":"1331088461","filename":"file2"},{"photo_id":"1331088502","filename":"file4"},{"photo_id":"1331088452","filename":"file1"},{"photo_id":"1331088429","filename":"file0"},{"photo_id":"1331088491","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331088502":["hashtag1","hashtag2"]},{"1331088429":["hashtag1","hashtag2"]},{"1331088491":["hashtag1","hashtag2"]},{"1331088510":["hashtag1","hashtag2"]},{"1331088461":["hashtag1","hashtag2"]},{"1331088452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331088502, 1331088429, 1331088491, 1331088510, 1331088461, 1331088452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.71454167366028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 17:05:32.533119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/28/image_24012025_15_28_02_348218_0000.jpg', '/home/pi/Desktop/images/24012025/15/28/image_24012025_15_28_02_348218_0001.jpg', '/home/pi/Desktop/images/24012025/15/28/image_24012025_15_28_02_348218_0002.jpg', '/home/pi/Desktop/images/24012025/15/28/image_24012025_15_28_02_348218_0003.jpg', '/home/pi/Desktop/images/24012025/15/29/image_24012025_15_29_02_599039_0000.jpg', '/home/pi/Desktop/images/24012025/15/29/image_24012025_15_29_02_599039_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/28/image_24012025_15_28_02_348218_0000.jpg
/home/pi/Desktop/images/24012025/15/28/image_24012025_15_28_02_348218_0001.jpg
/home/pi/Desktop/images/24012025/15/28/image_24012025_15_28_02_348218_0002.jpg
/home/pi/Desktop/images/24012025/15/28/image_24012025_15_28_02_348218_0003.jpg
/home/pi/Desktop/images/24012025/15/29/image_24012025_15_29_02_599039_0000.jpg
/home/pi/Desktop/images/24012025/15/29/image_24012025_15_29_02_599039_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331089263","1331089332","1331089314","1331089343","1331089328","1331089195"],"photo_ids_order":["1331089195","1331089263","1331089314","1331089328","1331089332","1331089343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a8927cddd813144745dd6f4ee2ec344.jpg","text":"TemporaryFile(/tmp/multipartBody854838446323800081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734835939,"filename":"image_24012025_15_28_02_348218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/229126e95170784dedd60bb989cf9553.jpg","text":"TemporaryFile(/tmp/multipartBody4745276224123334712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734835939,"filename":"image_24012025_15_29_02_599039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0c4c137c2fb30f24e091822332595a97.jpg","text":"TemporaryFile(/tmp/multipartBody6858983126964818828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734835939,"filename":"image_24012025_15_28_02_348218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3c92d5158dfd19f8661e2081721cbe58.jpg","text":"TemporaryFile(/tmp/multipartBody1839662340639552004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734835939,"filename":"image_24012025_15_29_02_599039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f54cc9d3b80f4207eab68a21fbda8f6.jpg","text":"TemporaryFile(/tmp/multipartBody836339548716667091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734835939,"filename":"image_24012025_15_28_02_348218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/05bbb7b0ccf6c9b7ba8d747f6202d829.jpg","text":"TemporaryFile(/tmp/multipartBody2403937352113122244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734835939,"filename":"image_24012025_15_28_02_348218_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331089314","file1":"1331089263","file0":"1331089195","file4":"1331089332","file5":"1331089343","file3":"1331089328"},"map_files_photo_id_array":[{"photo_id":"1331089343","filename":"file5"},{"photo_id":"1331089314","filename":"file2"},{"photo_id":"1331089332","filename":"file4"},{"photo_id":"1331089263","filename":"file1"},{"photo_id":"1331089195","filename":"file0"},{"photo_id":"1331089328","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331089263":["hashtag1","hashtag2"]},{"1331089332":["hashtag1","hashtag2"]},{"1331089314":["hashtag1","hashtag2"]},{"1331089343":["hashtag1","hashtag2"]},{"1331089328":["hashtag1","hashtag2"]},{"1331089195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331089263, 1331089332, 1331089314, 1331089343, 1331089328, 1331089195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.69094347953796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:07:21.937718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/29/image_24012025_15_29_02_599039_0002.jpg', '/home/pi/Desktop/images/24012025/15/29/image_24012025_15_29_02_599039_0003.jpg', '/home/pi/Desktop/images/24012025/15/30/image_24012025_15_30_02_744421_0000.jpg', '/home/pi/Desktop/images/24012025/15/30/image_24012025_15_30_02_744421_0001.jpg', '/home/pi/Desktop/images/24012025/15/30/image_24012025_15_30_02_744421_0002.jpg', '/home/pi/Desktop/images/24012025/15/30/image_24012025_15_30_02_744421_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/29/image_24012025_15_29_02_599039_0002.jpg
/home/pi/Desktop/images/24012025/15/29/image_24012025_15_29_02_599039_0003.jpg
/home/pi/Desktop/images/24012025/15/30/image_24012025_15_30_02_744421_0000.jpg
/home/pi/Desktop/images/24012025/15/30/image_24012025_15_30_02_744421_0001.jpg
/home/pi/Desktop/images/24012025/15/30/image_24012025_15_30_02_744421_0002.jpg
/home/pi/Desktop/images/24012025/15/30/image_24012025_15_30_02_744421_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331089380","1331089397","1331089391","1331089385","1331089375","1331089417"],"photo_ids_order":["1331089375","1331089380","1331089385","1331089391","1331089397","1331089417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c611b6222d364cbaed0840491aac9dc1.jpg","text":"TemporaryFile(/tmp/multipartBody5347073674857066522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734949463,"filename":"image_24012025_15_29_02_599039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3f605ca1deaad44c111371079d1ab091.jpg","text":"TemporaryFile(/tmp/multipartBody6731331386013691188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734949463,"filename":"image_24012025_15_30_02_744421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12fcda68295ec20a08279c607f3f94b7.jpg","text":"TemporaryFile(/tmp/multipartBody7537727053970109097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734949463,"filename":"image_24012025_15_30_02_744421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40e4b888992d4e1b28c0e4716e4cf1f1.jpg","text":"TemporaryFile(/tmp/multipartBody482374790407973279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734949463,"filename":"image_24012025_15_30_02_744421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9a88c6850e97a5bd6e76cd4b76e7c372.jpg","text":"TemporaryFile(/tmp/multipartBody8801421432520237463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734949463,"filename":"image_24012025_15_29_02_599039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/54b325fb999eb587049865a8238fd624.jpg","text":"TemporaryFile(/tmp/multipartBody5916275461084371269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737734949463,"filename":"image_24012025_15_30_02_744421_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331089385","file1":"1331089380","file0":"1331089375","file4":"1331089397","file5":"1331089417","file3":"1331089391"},"map_files_photo_id_array":[{"photo_id":"1331089417","filename":"file5"},{"photo_id":"1331089385","filename":"file2"},{"photo_id":"1331089397","filename":"file4"},{"photo_id":"1331089380","filename":"file1"},{"photo_id":"1331089375","filename":"file0"},{"photo_id":"1331089391","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331089380":["hashtag1","hashtag2"]},{"1331089397":["hashtag1","hashtag2"]},{"1331089391":["hashtag1","hashtag2"]},{"1331089385":["hashtag1","hashtag2"]},{"1331089375":["hashtag1","hashtag2"]},{"1331089417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331089380, 1331089397, 1331089391, 1331089385, 1331089375, 1331089417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.30135941505432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:09:22.397874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/31/image_24012025_15_31_02_833433_0000.jpg', '/home/pi/Desktop/images/24012025/15/31/image_24012025_15_31_02_833433_0001.jpg', '/home/pi/Desktop/images/24012025/15/31/image_24012025_15_31_02_833433_0002.jpg', '/home/pi/Desktop/images/24012025/15/31/image_24012025_15_31_02_833433_0003.jpg', '/home/pi/Desktop/images/24012025/15/32/image_24012025_15_32_03_057624_0000.jpg', '/home/pi/Desktop/images/24012025/15/32/image_24012025_15_32_03_057624_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/31/image_24012025_15_31_02_833433_0000.jpg
/home/pi/Desktop/images/24012025/15/31/image_24012025_15_31_02_833433_0001.jpg
/home/pi/Desktop/images/24012025/15/31/image_24012025_15_31_02_833433_0002.jpg
/home/pi/Desktop/images/24012025/15/31/image_24012025_15_31_02_833433_0003.jpg
/home/pi/Desktop/images/24012025/15/32/image_24012025_15_32_03_057624_0000.jpg
/home/pi/Desktop/images/24012025/15/32/image_24012025_15_32_03_057624_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331089563","1331089757","1331089523","1331089642","1331089531","1331089720"],"photo_ids_order":["1331089523","1331089531","1331089563","1331089642","1331089720","1331089757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6134e176f9c808b2413f7edfd5eb8658.jpg","text":"TemporaryFile(/tmp/multipartBody8107298188245180687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735061095,"filename":"image_24012025_15_31_02_833433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/75094d39a593453037e2025153c54c80.jpg","text":"TemporaryFile(/tmp/multipartBody8311086593161235214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735061095,"filename":"image_24012025_15_32_03_057624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3bfaf94af78e2f3149b416fb5cbd4f50.jpg","text":"TemporaryFile(/tmp/multipartBody5835771922686309660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735061095,"filename":"image_24012025_15_31_02_833433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a9a1a304aaf9f4ba82f0715631ea3c65.jpg","text":"TemporaryFile(/tmp/multipartBody8200342260832949956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735061095,"filename":"image_24012025_15_31_02_833433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/871e25753f8d1a589de5647324d65895.jpg","text":"TemporaryFile(/tmp/multipartBody6272717376784733060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735061095,"filename":"image_24012025_15_31_02_833433_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec0d7d6a24938e34cebff719767a511f.jpg","text":"TemporaryFile(/tmp/multipartBody3674352211444455383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735061095,"filename":"image_24012025_15_32_03_057624_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331089563","file1":"1331089531","file0":"1331089523","file4":"1331089720","file5":"1331089757","file3":"1331089642"},"map_files_photo_id_array":[{"photo_id":"1331089757","filename":"file5"},{"photo_id":"1331089563","filename":"file2"},{"photo_id":"1331089720","filename":"file4"},{"photo_id":"1331089531","filename":"file1"},{"photo_id":"1331089523","filename":"file0"},{"photo_id":"1331089642","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331089563":["hashtag1","hashtag2"]},{"1331089757":["hashtag1","hashtag2"]},{"1331089523":["hashtag1","hashtag2"]},{"1331089642":["hashtag1","hashtag2"]},{"1331089531":["hashtag1","hashtag2"]},{"1331089720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331089563, 1331089757, 1331089523, 1331089642, 1331089531, 1331089720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.44568109512329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:11:22.744450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/32/image_24012025_15_32_03_057624_0002.jpg', '/home/pi/Desktop/images/24012025/15/32/image_24012025_15_32_03_057624_0003.jpg', '/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0000.jpg', '/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0001.jpg', '/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0002.jpg', '/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/32/image_24012025_15_32_03_057624_0002.jpg
/home/pi/Desktop/images/24012025/15/32/image_24012025_15_32_03_057624_0003.jpg
/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0000.jpg
/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0001.jpg
/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0002.jpg
/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0003.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 46.73565316200256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:12:21.889846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/32/image_24012025_15_32_03_057624_0002.jpg', '/home/pi/Desktop/images/24012025/15/32/image_24012025_15_32_03_057624_0003.jpg', '/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0000.jpg', '/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0001.jpg', '/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0002.jpg', '/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/32/image_24012025_15_32_03_057624_0002.jpg
/home/pi/Desktop/images/24012025/15/32/image_24012025_15_32_03_057624_0003.jpg
/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0000.jpg
/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0001.jpg
/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0002.jpg
/home/pi/Desktop/images/24012025/15/33/image_24012025_15_33_02_161568_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331090206","1331090151","1331090208","1331090144","1331090201","1331090158"],"photo_ids_order":["1331090144","1331090151","1331090158","1331090201","1331090206","1331090208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0b9a3d3c112244a4d6626dd5d20d8ff1.jpg","text":"TemporaryFile(/tmp/multipartBody7504104793497094715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735250259,"filename":"image_24012025_15_33_02_161568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/edee35beba78b9b69d43589000a7e050.jpg","text":"TemporaryFile(/tmp/multipartBody419703289373527893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735250259,"filename":"image_24012025_15_32_03_057624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec3be00c3461e6cebf68a6e69785cbe6.jpg","text":"TemporaryFile(/tmp/multipartBody3367691726844488328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735250259,"filename":"image_24012025_15_33_02_161568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3bf81dac61fda616c5ec184a6f267d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1466282829025278353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735250259,"filename":"image_24012025_15_32_03_057624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/733ab6fe92eafed0eca51dbc85c2187d.jpg","text":"TemporaryFile(/tmp/multipartBody7455063188858415583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735250259,"filename":"image_24012025_15_33_02_161568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ec682ae3c2efa1c0f271b4608f994b5.jpg","text":"TemporaryFile(/tmp/multipartBody8589375603521107415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735250259,"filename":"image_24012025_15_33_02_161568_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331090158","file1":"1331090151","file0":"1331090144","file4":"1331090206","file5":"1331090208","file3":"1331090201"},"map_files_photo_id_array":[{"photo_id":"1331090208","filename":"file5"},{"photo_id":"1331090158","filename":"file2"},{"photo_id":"1331090206","filename":"file4"},{"photo_id":"1331090151","filename":"file1"},{"photo_id":"1331090144","filename":"file0"},{"photo_id":"1331090201","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331090206":["hashtag1","hashtag2"]},{"1331090151":["hashtag1","hashtag2"]},{"1331090208":["hashtag1","hashtag2"]},{"1331090144":["hashtag1","hashtag2"]},{"1331090201":["hashtag1","hashtag2"]},{"1331090158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331090206, 1331090151, 1331090208, 1331090144, 1331090201, 1331090158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.6853699684143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:14:22.211919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/34/image_24012025_15_34_02_360031_0000.jpg', '/home/pi/Desktop/images/24012025/15/34/image_24012025_15_34_02_360031_0001.jpg', '/home/pi/Desktop/images/24012025/15/34/image_24012025_15_34_02_360031_0002.jpg', '/home/pi/Desktop/images/24012025/15/34/image_24012025_15_34_02_360031_0003.jpg', '/home/pi/Desktop/images/24012025/15/35/image_24012025_15_35_02_662059_0000.jpg', '/home/pi/Desktop/images/24012025/15/35/image_24012025_15_35_02_662059_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/34/image_24012025_15_34_02_360031_0000.jpg
/home/pi/Desktop/images/24012025/15/34/image_24012025_15_34_02_360031_0001.jpg
/home/pi/Desktop/images/24012025/15/34/image_24012025_15_34_02_360031_0002.jpg
/home/pi/Desktop/images/24012025/15/34/image_24012025_15_34_02_360031_0003.jpg
/home/pi/Desktop/images/24012025/15/35/image_24012025_15_35_02_662059_0000.jpg
/home/pi/Desktop/images/24012025/15/35/image_24012025_15_35_02_662059_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331090595","1331090486","1331090456","1331090417","1331090554","1331090464"],"photo_ids_order":["1331090417","1331090456","1331090464","1331090486","1331090554","1331090595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d64da13942301ecf721b08948dc7bff7.jpg","text":"TemporaryFile(/tmp/multipartBody7239987823826157253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735367350,"filename":"image_24012025_15_35_02_662059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/296b34518312c9cda3e6689132837a76.jpg","text":"TemporaryFile(/tmp/multipartBody6601199065189710555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735367350,"filename":"image_24012025_15_34_02_360031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d92152c544200b1f835e315196f63283.jpg","text":"TemporaryFile(/tmp/multipartBody1064223886127424026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735367350,"filename":"image_24012025_15_34_02_360031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/13077f4488a1c09547288191f8af9481.jpg","text":"TemporaryFile(/tmp/multipartBody684410708842866064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735367350,"filename":"image_24012025_15_34_02_360031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc26672f9fbc20c7a85c487cb5e0e247.jpg","text":"TemporaryFile(/tmp/multipartBody2549270386496661034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735367350,"filename":"image_24012025_15_35_02_662059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a91ade4e22d5923ebab0e297a665c73.jpg","text":"TemporaryFile(/tmp/multipartBody699691418078645783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735367350,"filename":"image_24012025_15_34_02_360031_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331090464","file1":"1331090456","file0":"1331090417","file4":"1331090554","file5":"1331090595","file3":"1331090486"},"map_files_photo_id_array":[{"photo_id":"1331090595","filename":"file5"},{"photo_id":"1331090464","filename":"file2"},{"photo_id":"1331090554","filename":"file4"},{"photo_id":"1331090456","filename":"file1"},{"photo_id":"1331090417","filename":"file0"},{"photo_id":"1331090486","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331090595":["hashtag1","hashtag2"]},{"1331090486":["hashtag1","hashtag2"]},{"1331090456":["hashtag1","hashtag2"]},{"1331090417":["hashtag1","hashtag2"]},{"1331090554":["hashtag1","hashtag2"]},{"1331090464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331090595, 1331090486, 1331090456, 1331090417, 1331090554, 1331090464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.32540678977966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:16:22.586756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/35/image_24012025_15_35_02_662059_0002.jpg', '/home/pi/Desktop/images/24012025/15/35/image_24012025_15_35_02_662059_0003.jpg', '/home/pi/Desktop/images/24012025/15/36/image_24012025_15_36_02_899601_0000.jpg', '/home/pi/Desktop/images/24012025/15/36/image_24012025_15_36_02_899601_0001.jpg', '/home/pi/Desktop/images/24012025/15/36/image_24012025_15_36_02_899601_0002.jpg', '/home/pi/Desktop/images/24012025/15/36/image_24012025_15_36_02_899601_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/35/image_24012025_15_35_02_662059_0002.jpg
/home/pi/Desktop/images/24012025/15/35/image_24012025_15_35_02_662059_0003.jpg
/home/pi/Desktop/images/24012025/15/36/image_24012025_15_36_02_899601_0000.jpg
/home/pi/Desktop/images/24012025/15/36/image_24012025_15_36_02_899601_0001.jpg
/home/pi/Desktop/images/24012025/15/36/image_24012025_15_36_02_899601_0002.jpg
/home/pi/Desktop/images/24012025/15/36/image_24012025_15_36_02_899601_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331090835","1331090829","1331090820","1331090817","1331090822","1331090846"],"photo_ids_order":["1331090817","1331090820","1331090822","1331090829","1331090835","1331090846"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc8d7959c8d486d3920a0d784217ccf0.jpg","text":"TemporaryFile(/tmp/multipartBody4421599551698857794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735461358,"filename":"image_24012025_15_36_02_899601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/489c34ea5ca9bcfac20032a689d3b445.jpg","text":"TemporaryFile(/tmp/multipartBody2898022779191959636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735461358,"filename":"image_24012025_15_36_02_899601_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/681cb24f1b8397797b7096e32fedd840.jpg","text":"TemporaryFile(/tmp/multipartBody983858579838468888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735461358,"filename":"image_24012025_15_35_02_662059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/834731d55837316075098eaf7aba99aa.jpg","text":"TemporaryFile(/tmp/multipartBody337083003581348693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735461358,"filename":"image_24012025_15_35_02_662059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55fc9112d63457a0ec41390debcdbb58.jpg","text":"TemporaryFile(/tmp/multipartBody8895558671990452429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735461358,"filename":"image_24012025_15_36_02_899601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/524a06f160baf7efa71128176dc4632c.jpg","text":"TemporaryFile(/tmp/multipartBody4411673961022100992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735461358,"filename":"image_24012025_15_36_02_899601_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331090822","file1":"1331090820","file0":"1331090817","file4":"1331090835","file5":"1331090846","file3":"1331090829"},"map_files_photo_id_array":[{"photo_id":"1331090846","filename":"file5"},{"photo_id":"1331090822","filename":"file2"},{"photo_id":"1331090835","filename":"file4"},{"photo_id":"1331090820","filename":"file1"},{"photo_id":"1331090817","filename":"file0"},{"photo_id":"1331090829","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331090835":["hashtag1","hashtag2"]},{"1331090829":["hashtag1","hashtag2"]},{"1331090820":["hashtag1","hashtag2"]},{"1331090817":["hashtag1","hashtag2"]},{"1331090822":["hashtag1","hashtag2"]},{"1331090846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331090835, 1331090829, 1331090820, 1331090817, 1331090822, 1331090846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.33855152130127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 17:17:42.690011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/37/image_24012025_15_37_02_941854_0000.jpg', '/home/pi/Desktop/images/24012025/15/37/image_24012025_15_37_02_941854_0001.jpg', '/home/pi/Desktop/images/24012025/15/37/image_24012025_15_37_02_941854_0002.jpg', '/home/pi/Desktop/images/24012025/15/37/image_24012025_15_37_02_941854_0003.jpg', '/home/pi/Desktop/images/24012025/15/38/image_24012025_15_38_03_088208_0000.jpg', '/home/pi/Desktop/images/24012025/15/38/image_24012025_15_38_03_088208_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/37/image_24012025_15_37_02_941854_0000.jpg
/home/pi/Desktop/images/24012025/15/37/image_24012025_15_37_02_941854_0001.jpg
/home/pi/Desktop/images/24012025/15/37/image_24012025_15_37_02_941854_0002.jpg
/home/pi/Desktop/images/24012025/15/37/image_24012025_15_37_02_941854_0003.jpg
/home/pi/Desktop/images/24012025/15/38/image_24012025_15_38_03_088208_0000.jpg
/home/pi/Desktop/images/24012025/15/38/image_24012025_15_38_03_088208_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331091060","1331090955","1331091006","1331090925","1331090934","1331090930"],"photo_ids_order":["1331090925","1331090930","1331090934","1331090955","1331091006","1331091060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a129c07af5374e714e8369805a5c9215.jpg","text":"TemporaryFile(/tmp/multipartBody222903382300599838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735578598,"filename":"image_24012025_15_38_03_088208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/50b33a973be0f99bad8387ba9acee2e4.jpg","text":"TemporaryFile(/tmp/multipartBody926867623188548351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735578598,"filename":"image_24012025_15_37_02_941854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b24f89121b384e1b12b125e668a74f1.jpg","text":"TemporaryFile(/tmp/multipartBody7337553343742329901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735578598,"filename":"image_24012025_15_38_03_088208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd0c5b3086933f306134f6093ccf6e4c.jpg","text":"TemporaryFile(/tmp/multipartBody3682533138778388079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735578598,"filename":"image_24012025_15_37_02_941854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7cbecf55b87e44b67624282b6f6f1b4.jpg","text":"TemporaryFile(/tmp/multipartBody8272540353495296837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735578598,"filename":"image_24012025_15_37_02_941854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8199ce390cc2482dfab7bd33bede94ff.jpg","text":"TemporaryFile(/tmp/multipartBody4441204679640239793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735578598,"filename":"image_24012025_15_37_02_941854_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331090934","file1":"1331090930","file0":"1331090925","file4":"1331091006","file5":"1331091060","file3":"1331090955"},"map_files_photo_id_array":[{"photo_id":"1331091060","filename":"file5"},{"photo_id":"1331090934","filename":"file2"},{"photo_id":"1331091006","filename":"file4"},{"photo_id":"1331090930","filename":"file1"},{"photo_id":"1331090925","filename":"file0"},{"photo_id":"1331090955","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331091060":["hashtag1","hashtag2"]},{"1331090955":["hashtag1","hashtag2"]},{"1331091006":["hashtag1","hashtag2"]},{"1331090925":["hashtag1","hashtag2"]},{"1331090934":["hashtag1","hashtag2"]},{"1331090930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331091060, 1331090955, 1331091006, 1331090925, 1331090934, 1331090930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 121.93018770217896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 17:19:51.999101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/38/image_24012025_15_38_03_088208_0002.jpg', '/home/pi/Desktop/images/24012025/15/38/image_24012025_15_38_03_088208_0003.jpg', '/home/pi/Desktop/images/24012025/15/39/image_24012025_15_39_02_278515_0000.jpg', '/home/pi/Desktop/images/24012025/15/39/image_24012025_15_39_02_278515_0001.jpg', '/home/pi/Desktop/images/24012025/15/39/image_24012025_15_39_02_278515_0002.jpg', '/home/pi/Desktop/images/24012025/15/39/image_24012025_15_39_02_278515_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/38/image_24012025_15_38_03_088208_0002.jpg
/home/pi/Desktop/images/24012025/15/38/image_24012025_15_38_03_088208_0003.jpg
/home/pi/Desktop/images/24012025/15/39/image_24012025_15_39_02_278515_0000.jpg
/home/pi/Desktop/images/24012025/15/39/image_24012025_15_39_02_278515_0001.jpg
/home/pi/Desktop/images/24012025/15/39/image_24012025_15_39_02_278515_0002.jpg
/home/pi/Desktop/images/24012025/15/39/image_24012025_15_39_02_278515_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331091118","1331091093","1331091177","1331091197","1331091172","1331091145"],"photo_ids_order":["1331091093","1331091118","1331091145","1331091172","1331091177","1331091197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e490f8b495a18dd20d86ed4e9df5da0.jpg","text":"TemporaryFile(/tmp/multipartBody6870750502018944098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735684049,"filename":"image_24012025_15_38_03_088208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0b21312ee5a7205bf5483caef059989a.jpg","text":"TemporaryFile(/tmp/multipartBody1112546488526209311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735684049,"filename":"image_24012025_15_38_03_088208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e031914da9fd0fa3286d172ee118e02f.jpg","text":"TemporaryFile(/tmp/multipartBody1860815415599059103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735684049,"filename":"image_24012025_15_39_02_278515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ef5dbb47d073d31502339279be33ce9f.jpg","text":"TemporaryFile(/tmp/multipartBody2415773528968279418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735684049,"filename":"image_24012025_15_39_02_278515_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/71abee9e4c9dc8d945b0988457cbaa52.jpg","text":"TemporaryFile(/tmp/multipartBody3466535600990810216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735684049,"filename":"image_24012025_15_39_02_278515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/377f88d86822b5a067a104dcf1992443.jpg","text":"TemporaryFile(/tmp/multipartBody775922250569267333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735684049,"filename":"image_24012025_15_39_02_278515_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331091145","file1":"1331091118","file0":"1331091093","file4":"1331091177","file5":"1331091197","file3":"1331091172"},"map_files_photo_id_array":[{"photo_id":"1331091197","filename":"file5"},{"photo_id":"1331091145","filename":"file2"},{"photo_id":"1331091177","filename":"file4"},{"photo_id":"1331091118","filename":"file1"},{"photo_id":"1331091093","filename":"file0"},{"photo_id":"1331091172","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331091118":["hashtag1","hashtag2"]},{"1331091093":["hashtag1","hashtag2"]},{"1331091177":["hashtag1","hashtag2"]},{"1331091197":["hashtag1","hashtag2"]},{"1331091172":["hashtag1","hashtag2"]},{"1331091145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331091118, 1331091093, 1331091177, 1331091197, 1331091172, 1331091145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.59056210517883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 17:21:32.359732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/40/image_24012025_15_40_02_461161_0000.jpg', '/home/pi/Desktop/images/24012025/15/40/image_24012025_15_40_02_461161_0001.jpg', '/home/pi/Desktop/images/24012025/15/40/image_24012025_15_40_02_461161_0002.jpg', '/home/pi/Desktop/images/24012025/15/40/image_24012025_15_40_02_461161_0003.jpg', '/home/pi/Desktop/images/24012025/15/41/image_24012025_15_41_02_723680_0000.jpg', '/home/pi/Desktop/images/24012025/15/41/image_24012025_15_41_02_723680_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/40/image_24012025_15_40_02_461161_0000.jpg
/home/pi/Desktop/images/24012025/15/40/image_24012025_15_40_02_461161_0001.jpg
/home/pi/Desktop/images/24012025/15/40/image_24012025_15_40_02_461161_0002.jpg
/home/pi/Desktop/images/24012025/15/40/image_24012025_15_40_02_461161_0003.jpg
/home/pi/Desktop/images/24012025/15/41/image_24012025_15_41_02_723680_0000.jpg
/home/pi/Desktop/images/24012025/15/41/image_24012025_15_41_02_723680_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331091329","1331091320","1331091314","1331091302","1331091343","1331091337"],"photo_ids_order":["1331091302","1331091314","1331091320","1331091329","1331091337","1331091343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e6afad3fabdecb156532668f1bd23117.jpg","text":"TemporaryFile(/tmp/multipartBody4961637903410311119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735802740,"filename":"image_24012025_15_40_02_461161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5790bda09ecca9bde876607edf073b30.jpg","text":"TemporaryFile(/tmp/multipartBody7931318929884220216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735802740,"filename":"image_24012025_15_40_02_461161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b76da771aee4849884204c53923e74d.jpg","text":"TemporaryFile(/tmp/multipartBody7770599164997242860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735802740,"filename":"image_24012025_15_40_02_461161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aaa151f2c8a9430aa8652ddd69551d1b.jpg","text":"TemporaryFile(/tmp/multipartBody546063986433706515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735802740,"filename":"image_24012025_15_40_02_461161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d007af3dcad64ae9c8deaf9eb25da3df.jpg","text":"TemporaryFile(/tmp/multipartBody7145483076947323808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735802740,"filename":"image_24012025_15_41_02_723680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/882186a8dce7a90e8d2f43ddccdbc82e.jpg","text":"TemporaryFile(/tmp/multipartBody5302160274601520687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735802740,"filename":"image_24012025_15_41_02_723680_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331091320","file1":"1331091314","file0":"1331091302","file4":"1331091337","file5":"1331091343","file3":"1331091329"},"map_files_photo_id_array":[{"photo_id":"1331091343","filename":"file5"},{"photo_id":"1331091320","filename":"file2"},{"photo_id":"1331091337","filename":"file4"},{"photo_id":"1331091314","filename":"file1"},{"photo_id":"1331091302","filename":"file0"},{"photo_id":"1331091329","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331091329":["hashtag1","hashtag2"]},{"1331091320":["hashtag1","hashtag2"]},{"1331091314":["hashtag1","hashtag2"]},{"1331091302":["hashtag1","hashtag2"]},{"1331091343":["hashtag1","hashtag2"]},{"1331091337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331091329, 1331091320, 1331091314, 1331091302, 1331091343, 1331091337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.1232225894928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:23:22.832689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/41/image_24012025_15_41_02_723680_0002.jpg', '/home/pi/Desktop/images/24012025/15/41/image_24012025_15_41_02_723680_0003.jpg', '/home/pi/Desktop/images/24012025/15/42/image_24012025_15_42_02_880543_0000.jpg', '/home/pi/Desktop/images/24012025/15/42/image_24012025_15_42_02_880543_0001.jpg', '/home/pi/Desktop/images/24012025/15/42/image_24012025_15_42_02_880543_0002.jpg', '/home/pi/Desktop/images/24012025/15/42/image_24012025_15_42_02_880543_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/41/image_24012025_15_41_02_723680_0002.jpg
/home/pi/Desktop/images/24012025/15/41/image_24012025_15_41_02_723680_0003.jpg
/home/pi/Desktop/images/24012025/15/42/image_24012025_15_42_02_880543_0000.jpg
/home/pi/Desktop/images/24012025/15/42/image_24012025_15_42_02_880543_0001.jpg
/home/pi/Desktop/images/24012025/15/42/image_24012025_15_42_02_880543_0002.jpg
/home/pi/Desktop/images/24012025/15/42/image_24012025_15_42_02_880543_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331091474","1331091491","1331091467","1331091461","1331091518","1331091478"],"photo_ids_order":["1331091461","1331091467","1331091474","1331091478","1331091491","1331091518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/499f97ed06b92b45df5646bcf6e9515e.jpg","text":"TemporaryFile(/tmp/multipartBody1352890996592935732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735919222,"filename":"image_24012025_15_42_02_880543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/83b456b6d02173789495ecd913bbf5f6.jpg","text":"TemporaryFile(/tmp/multipartBody380910933570687872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735919222,"filename":"image_24012025_15_42_02_880543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c5e2dbfd92f421b0a805057c8f999647.jpg","text":"TemporaryFile(/tmp/multipartBody1635014307136290460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735919222,"filename":"image_24012025_15_41_02_723680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f9a5f8d5c5ddbe8e0e1dfb43e2405417.jpg","text":"TemporaryFile(/tmp/multipartBody7175081454557796170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735919222,"filename":"image_24012025_15_41_02_723680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eab0cf52bf5a36d73f5f748e9a8aa727.jpg","text":"TemporaryFile(/tmp/multipartBody7148051222370326495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735919222,"filename":"image_24012025_15_42_02_880543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/33b2932aa9cb6de217ff66d6e6f9e510.jpg","text":"TemporaryFile(/tmp/multipartBody5907633258047089763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737735919222,"filename":"image_24012025_15_42_02_880543_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331091474","file1":"1331091467","file0":"1331091461","file4":"1331091491","file5":"1331091518","file3":"1331091478"},"map_files_photo_id_array":[{"photo_id":"1331091518","filename":"file5"},{"photo_id":"1331091474","filename":"file2"},{"photo_id":"1331091491","filename":"file4"},{"photo_id":"1331091467","filename":"file1"},{"photo_id":"1331091461","filename":"file0"},{"photo_id":"1331091478","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331091474":["hashtag1","hashtag2"]},{"1331091491":["hashtag1","hashtag2"]},{"1331091467":["hashtag1","hashtag2"]},{"1331091461":["hashtag1","hashtag2"]},{"1331091518":["hashtag1","hashtag2"]},{"1331091478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331091474, 1331091491, 1331091467, 1331091461, 1331091518, 1331091478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 113.77618050575256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:25:22.174941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/43/image_24012025_15_43_03_005185_0000.jpg', '/home/pi/Desktop/images/24012025/15/43/image_24012025_15_43_03_005185_0001.jpg', '/home/pi/Desktop/images/24012025/15/43/image_24012025_15_43_03_005185_0002.jpg', '/home/pi/Desktop/images/24012025/15/43/image_24012025_15_43_03_005185_0003.jpg', '/home/pi/Desktop/images/24012025/15/44/image_24012025_15_44_02_142039_0000.jpg', '/home/pi/Desktop/images/24012025/15/44/image_24012025_15_44_02_142039_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/43/image_24012025_15_43_03_005185_0000.jpg
/home/pi/Desktop/images/24012025/15/43/image_24012025_15_43_03_005185_0001.jpg
/home/pi/Desktop/images/24012025/15/43/image_24012025_15_43_03_005185_0002.jpg
/home/pi/Desktop/images/24012025/15/43/image_24012025_15_43_03_005185_0003.jpg
/home/pi/Desktop/images/24012025/15/44/image_24012025_15_44_02_142039_0000.jpg
/home/pi/Desktop/images/24012025/15/44/image_24012025_15_44_02_142039_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331091660","1331091663","1331091686","1331091680","1331091668","1331091673"],"photo_ids_order":["1331091660","1331091663","1331091668","1331091673","1331091680","1331091686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1411a54b930b6f7f7424262175111ea3.jpg","text":"TemporaryFile(/tmp/multipartBody3544140214415457594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736016758,"filename":"image_24012025_15_43_03_005185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1d7aee8072a07b431357dfb9813579b2.jpg","text":"TemporaryFile(/tmp/multipartBody2603247515014035760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736016758,"filename":"image_24012025_15_43_03_005185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/de82902e4ce8596ac363b2b28f9f4327.jpg","text":"TemporaryFile(/tmp/multipartBody3417783498521422889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736016758,"filename":"image_24012025_15_44_02_142039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/41c2365dcb4317d7094390b79970220b.jpg","text":"TemporaryFile(/tmp/multipartBody6730297398467816969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736016758,"filename":"image_24012025_15_44_02_142039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d317d7e99ddd89701721918276e8634.jpg","text":"TemporaryFile(/tmp/multipartBody2943558002449894438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736016758,"filename":"image_24012025_15_43_03_005185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/df0cebfe78044f3c2c0b6fa3cbbfe697.jpg","text":"TemporaryFile(/tmp/multipartBody7177063509491575933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736016758,"filename":"image_24012025_15_43_03_005185_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331091668","file1":"1331091663","file0":"1331091660","file4":"1331091680","file5":"1331091686","file3":"1331091673"},"map_files_photo_id_array":[{"photo_id":"1331091686","filename":"file5"},{"photo_id":"1331091668","filename":"file2"},{"photo_id":"1331091680","filename":"file4"},{"photo_id":"1331091663","filename":"file1"},{"photo_id":"1331091660","filename":"file0"},{"photo_id":"1331091673","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331091660":["hashtag1","hashtag2"]},{"1331091663":["hashtag1","hashtag2"]},{"1331091686":["hashtag1","hashtag2"]},{"1331091680":["hashtag1","hashtag2"]},{"1331091668":["hashtag1","hashtag2"]},{"1331091673":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331091660, 1331091663, 1331091686, 1331091680, 1331091668, 1331091673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.48796558380127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 17:26:52.351277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/44/image_24012025_15_44_02_142039_0002.jpg', '/home/pi/Desktop/images/24012025/15/44/image_24012025_15_44_02_142039_0003.jpg', '/home/pi/Desktop/images/24012025/15/45/image_24012025_15_45_02_340730_0000.jpg', '/home/pi/Desktop/images/24012025/15/45/image_24012025_15_45_02_340730_0001.jpg', '/home/pi/Desktop/images/24012025/15/45/image_24012025_15_45_02_340730_0002.jpg', '/home/pi/Desktop/images/24012025/15/45/image_24012025_15_45_02_340730_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/44/image_24012025_15_44_02_142039_0002.jpg
/home/pi/Desktop/images/24012025/15/44/image_24012025_15_44_02_142039_0003.jpg
/home/pi/Desktop/images/24012025/15/45/image_24012025_15_45_02_340730_0000.jpg
/home/pi/Desktop/images/24012025/15/45/image_24012025_15_45_02_340730_0001.jpg
/home/pi/Desktop/images/24012025/15/45/image_24012025_15_45_02_340730_0002.jpg
/home/pi/Desktop/images/24012025/15/45/image_24012025_15_45_02_340730_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331091933","1331091906","1331091857","1331091889","1331091874","1331091724"],"photo_ids_order":["1331091724","1331091857","1331091874","1331091889","1331091906","1331091933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fcd775a10abb925a9c49f20f7ff633b2.jpg","text":"TemporaryFile(/tmp/multipartBody4408903180512286364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736122689,"filename":"image_24012025_15_45_02_340730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d754d9f85619409b5514d09354e4f18.jpg","text":"TemporaryFile(/tmp/multipartBody8124205677227394559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736122689,"filename":"image_24012025_15_45_02_340730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/93d5c1d5de56f7b2dab7aea66133a0fe.jpg","text":"TemporaryFile(/tmp/multipartBody7454408728005574830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736122689,"filename":"image_24012025_15_44_02_142039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f130bb94ee13da3f9a54dccaae56cd63.jpg","text":"TemporaryFile(/tmp/multipartBody7297328414018950532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736122689,"filename":"image_24012025_15_45_02_340730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d8c638d10759e5d08fdaf58aff56260d.jpg","text":"TemporaryFile(/tmp/multipartBody2678399543686944317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736122689,"filename":"image_24012025_15_45_02_340730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/803d814bd714c3fb0ae951f1e8e29984.jpg","text":"TemporaryFile(/tmp/multipartBody1760589917972477636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736122689,"filename":"image_24012025_15_44_02_142039_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331091874","file1":"1331091857","file0":"1331091724","file4":"1331091906","file5":"1331091933","file3":"1331091889"},"map_files_photo_id_array":[{"photo_id":"1331091933","filename":"file5"},{"photo_id":"1331091874","filename":"file2"},{"photo_id":"1331091906","filename":"file4"},{"photo_id":"1331091857","filename":"file1"},{"photo_id":"1331091724","filename":"file0"},{"photo_id":"1331091889","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331091933":["hashtag1","hashtag2"]},{"1331091906":["hashtag1","hashtag2"]},{"1331091857":["hashtag1","hashtag2"]},{"1331091889":["hashtag1","hashtag2"]},{"1331091874":["hashtag1","hashtag2"]},{"1331091724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331091933, 1331091906, 1331091857, 1331091889, 1331091874, 1331091724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 115.7167763710022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 17:28:52.758551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/46/image_24012025_15_46_02_499756_0000.jpg', '/home/pi/Desktop/images/24012025/15/46/image_24012025_15_46_02_499756_0001.jpg', '/home/pi/Desktop/images/24012025/15/46/image_24012025_15_46_02_499756_0002.jpg', '/home/pi/Desktop/images/24012025/15/46/image_24012025_15_46_02_499756_0003.jpg', '/home/pi/Desktop/images/24012025/15/47/image_24012025_15_47_02_725644_0000.jpg', '/home/pi/Desktop/images/24012025/15/47/image_24012025_15_47_02_725644_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/46/image_24012025_15_46_02_499756_0000.jpg
/home/pi/Desktop/images/24012025/15/46/image_24012025_15_46_02_499756_0001.jpg
/home/pi/Desktop/images/24012025/15/46/image_24012025_15_46_02_499756_0002.jpg
/home/pi/Desktop/images/24012025/15/46/image_24012025_15_46_02_499756_0003.jpg
/home/pi/Desktop/images/24012025/15/47/image_24012025_15_47_02_725644_0000.jpg
/home/pi/Desktop/images/24012025/15/47/image_24012025_15_47_02_725644_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331092260","1331092270","1331092189","1331092144","1331092278","1331092164"],"photo_ids_order":["1331092144","1331092164","1331092189","1331092260","1331092270","1331092278"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/002f6277a0456135a44ba40c188920f9.jpg","text":"TemporaryFile(/tmp/multipartBody842725860177016101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736224815,"filename":"image_24012025_15_46_02_499756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0ea7859225d5f899647a481f3b69b51.jpg","text":"TemporaryFile(/tmp/multipartBody7557791226806826516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736224815,"filename":"image_24012025_15_47_02_725644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ccff691bbafbe902c7a50c5746d679e4.jpg","text":"TemporaryFile(/tmp/multipartBody137470504819496889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736224815,"filename":"image_24012025_15_46_02_499756_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b1c160a7d5df33f4a7f9ea63fe6136f1.jpg","text":"TemporaryFile(/tmp/multipartBody679847662693312819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736224815,"filename":"image_24012025_15_46_02_499756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/431c0770e2c4f47637390a3a04824c30.jpg","text":"TemporaryFile(/tmp/multipartBody2015416173545142036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736224815,"filename":"image_24012025_15_47_02_725644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8ec86d864b0262fb5d15898c90c9c321.jpg","text":"TemporaryFile(/tmp/multipartBody639117951272467494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736224815,"filename":"image_24012025_15_46_02_499756_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331092189","file1":"1331092164","file0":"1331092144","file4":"1331092270","file5":"1331092278","file3":"1331092260"},"map_files_photo_id_array":[{"photo_id":"1331092278","filename":"file5"},{"photo_id":"1331092189","filename":"file2"},{"photo_id":"1331092270","filename":"file4"},{"photo_id":"1331092164","filename":"file1"},{"photo_id":"1331092144","filename":"file0"},{"photo_id":"1331092260","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331092260":["hashtag1","hashtag2"]},{"1331092270":["hashtag1","hashtag2"]},{"1331092189":["hashtag1","hashtag2"]},{"1331092144":["hashtag1","hashtag2"]},{"1331092278":["hashtag1","hashtag2"]},{"1331092164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331092260, 1331092270, 1331092189, 1331092144, 1331092278, 1331092164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.4264771938324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:30:22.102812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/47/image_24012025_15_47_02_725644_0002.jpg', '/home/pi/Desktop/images/24012025/15/47/image_24012025_15_47_02_725644_0003.jpg', '/home/pi/Desktop/images/24012025/15/48/image_24012025_15_48_02_905822_0000.jpg', '/home/pi/Desktop/images/24012025/15/48/image_24012025_15_48_02_905822_0001.jpg', '/home/pi/Desktop/images/24012025/15/48/image_24012025_15_48_02_905822_0002.jpg', '/home/pi/Desktop/images/24012025/15/48/image_24012025_15_48_02_905822_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/47/image_24012025_15_47_02_725644_0002.jpg
/home/pi/Desktop/images/24012025/15/47/image_24012025_15_47_02_725644_0003.jpg
/home/pi/Desktop/images/24012025/15/48/image_24012025_15_48_02_905822_0000.jpg
/home/pi/Desktop/images/24012025/15/48/image_24012025_15_48_02_905822_0001.jpg
/home/pi/Desktop/images/24012025/15/48/image_24012025_15_48_02_905822_0002.jpg
/home/pi/Desktop/images/24012025/15/48/image_24012025_15_48_02_905822_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331092478","1331092466","1331092481","1331092475","1331092454","1331092470"],"photo_ids_order":["1331092454","1331092466","1331092470","1331092475","1331092478","1331092481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b4e5dc49a6ee607b5850acb9db47e238.jpg","text":"TemporaryFile(/tmp/multipartBody5713815957284063449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736328010,"filename":"image_24012025_15_48_02_905822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f8ca3ad99a0806dff83dbf7aef6df151.jpg","text":"TemporaryFile(/tmp/multipartBody4302054111194814043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736328010,"filename":"image_24012025_15_47_02_725644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2206a5409a2cb91576cace2fdf1f94cb.jpg","text":"TemporaryFile(/tmp/multipartBody3360240449939970332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736328010,"filename":"image_24012025_15_48_02_905822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc59231fe4170e99a4ee3e3d21b47350.jpg","text":"TemporaryFile(/tmp/multipartBody6146713671857415312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736328010,"filename":"image_24012025_15_48_02_905822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2090a7c3fdce7dbd27952c314ea32503.jpg","text":"TemporaryFile(/tmp/multipartBody1185474408802381189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736328010,"filename":"image_24012025_15_47_02_725644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/346eafefc2551c36bab1d1b7292086d7.jpg","text":"TemporaryFile(/tmp/multipartBody7240615031958897286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736328010,"filename":"image_24012025_15_48_02_905822_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331092470","file1":"1331092466","file0":"1331092454","file4":"1331092478","file5":"1331092481","file3":"1331092475"},"map_files_photo_id_array":[{"photo_id":"1331092481","filename":"file5"},{"photo_id":"1331092470","filename":"file2"},{"photo_id":"1331092478","filename":"file4"},{"photo_id":"1331092466","filename":"file1"},{"photo_id":"1331092454","filename":"file0"},{"photo_id":"1331092475","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331092478":["hashtag1","hashtag2"]},{"1331092466":["hashtag1","hashtag2"]},{"1331092481":["hashtag1","hashtag2"]},{"1331092475":["hashtag1","hashtag2"]},{"1331092454":["hashtag1","hashtag2"]},{"1331092470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331092478, 1331092466, 1331092481, 1331092475, 1331092454, 1331092470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.6161208152771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 17:32:03.056540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/49/image_24012025_15_49_03_111702_0000.jpg', '/home/pi/Desktop/images/24012025/15/49/image_24012025_15_49_03_111702_0001.jpg', '/home/pi/Desktop/images/24012025/15/49/image_24012025_15_49_03_111702_0002.jpg', '/home/pi/Desktop/images/24012025/15/49/image_24012025_15_49_03_111702_0003.jpg', '/home/pi/Desktop/images/24012025/15/50/image_24012025_15_50_02_329288_0000.jpg', '/home/pi/Desktop/images/24012025/15/50/image_24012025_15_50_02_329288_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/49/image_24012025_15_49_03_111702_0000.jpg
/home/pi/Desktop/images/24012025/15/49/image_24012025_15_49_03_111702_0001.jpg
/home/pi/Desktop/images/24012025/15/49/image_24012025_15_49_03_111702_0002.jpg
/home/pi/Desktop/images/24012025/15/49/image_24012025_15_49_03_111702_0003.jpg
/home/pi/Desktop/images/24012025/15/50/image_24012025_15_50_02_329288_0000.jpg
/home/pi/Desktop/images/24012025/15/50/image_24012025_15_50_02_329288_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331092610","1331092604","1331092594","1331092618","1331092615","1331092599"],"photo_ids_order":["1331092594","1331092599","1331092604","1331092610","1331092615","1331092618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/816c90727255a1572a4f1305f511b901.jpg","text":"TemporaryFile(/tmp/multipartBody5583554844667959883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736417873,"filename":"image_24012025_15_49_03_111702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51140bc79e0ca223925e73ac21133c16.jpg","text":"TemporaryFile(/tmp/multipartBody6133139504074587029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736417873,"filename":"image_24012025_15_49_03_111702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6adaf9d6b56a9ba2c6a5a3a063e51a60.jpg","text":"TemporaryFile(/tmp/multipartBody7119103823857421120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736417873,"filename":"image_24012025_15_49_03_111702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd972f973cb2208e8ff015c0a15a81b9.jpg","text":"TemporaryFile(/tmp/multipartBody8151747142544029589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736417873,"filename":"image_24012025_15_50_02_329288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32d7a91d3968c66f296ee908ac4de21c.jpg","text":"TemporaryFile(/tmp/multipartBody3923874897225080969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736417873,"filename":"image_24012025_15_50_02_329288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/92bfb7e610ce578feab2ed4ff4dd3ed3.jpg","text":"TemporaryFile(/tmp/multipartBody172333022987585166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736417873,"filename":"image_24012025_15_49_03_111702_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331092604","file1":"1331092599","file0":"1331092594","file4":"1331092615","file5":"1331092618","file3":"1331092610"},"map_files_photo_id_array":[{"photo_id":"1331092618","filename":"file5"},{"photo_id":"1331092604","filename":"file2"},{"photo_id":"1331092615","filename":"file4"},{"photo_id":"1331092599","filename":"file1"},{"photo_id":"1331092594","filename":"file0"},{"photo_id":"1331092610","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331092610":["hashtag1","hashtag2"]},{"1331092604":["hashtag1","hashtag2"]},{"1331092594":["hashtag1","hashtag2"]},{"1331092618":["hashtag1","hashtag2"]},{"1331092615":["hashtag1","hashtag2"]},{"1331092599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331092610, 1331092604, 1331092594, 1331092618, 1331092615, 1331092599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.06786870956421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 17:33:41.758312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/50/image_24012025_15_50_02_329288_0002.jpg', '/home/pi/Desktop/images/24012025/15/50/image_24012025_15_50_02_329288_0003.jpg', '/home/pi/Desktop/images/24012025/15/51/image_24012025_15_51_02_552560_0000.jpg', '/home/pi/Desktop/images/24012025/15/51/image_24012025_15_51_02_552560_0001.jpg', '/home/pi/Desktop/images/24012025/15/51/image_24012025_15_51_02_552560_0002.jpg', '/home/pi/Desktop/images/24012025/15/51/image_24012025_15_51_02_552560_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/50/image_24012025_15_50_02_329288_0002.jpg
/home/pi/Desktop/images/24012025/15/50/image_24012025_15_50_02_329288_0003.jpg
/home/pi/Desktop/images/24012025/15/51/image_24012025_15_51_02_552560_0000.jpg
/home/pi/Desktop/images/24012025/15/51/image_24012025_15_51_02_552560_0001.jpg
/home/pi/Desktop/images/24012025/15/51/image_24012025_15_51_02_552560_0002.jpg
/home/pi/Desktop/images/24012025/15/51/image_24012025_15_51_02_552560_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331092821","1331092724","1331092832","1331092798","1331092839","1331092827"],"photo_ids_order":["1331092724","1331092798","1331092821","1331092827","1331092832","1331092839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51ac85bff9d43875f82d200ce83a4db4.jpg","text":"TemporaryFile(/tmp/multipartBody8348792415283326937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736525035,"filename":"image_24012025_15_51_02_552560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b86b19c20e611d1d6c7df32a6f32b4c.jpg","text":"TemporaryFile(/tmp/multipartBody3929899982364231284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736525035,"filename":"image_24012025_15_50_02_329288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/94517add6346da9f1611c73297625583.jpg","text":"TemporaryFile(/tmp/multipartBody5315008491333853380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736525035,"filename":"image_24012025_15_51_02_552560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/779c4b971d0c0fac900df340541d1661.jpg","text":"TemporaryFile(/tmp/multipartBody7454177054896285419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736525035,"filename":"image_24012025_15_50_02_329288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/214f3ff006bba14eb13b2a824f7660ce.jpg","text":"TemporaryFile(/tmp/multipartBody7894367884168868107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736525035,"filename":"image_24012025_15_51_02_552560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/727255ee177de8da79f4203271526199.jpg","text":"TemporaryFile(/tmp/multipartBody6444320449556419325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736525035,"filename":"image_24012025_15_51_02_552560_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331092821","file1":"1331092798","file0":"1331092724","file4":"1331092832","file5":"1331092839","file3":"1331092827"},"map_files_photo_id_array":[{"photo_id":"1331092839","filename":"file5"},{"photo_id":"1331092821","filename":"file2"},{"photo_id":"1331092832","filename":"file4"},{"photo_id":"1331092798","filename":"file1"},{"photo_id":"1331092724","filename":"file0"},{"photo_id":"1331092827","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331092821":["hashtag1","hashtag2"]},{"1331092724":["hashtag1","hashtag2"]},{"1331092832":["hashtag1","hashtag2"]},{"1331092798":["hashtag1","hashtag2"]},{"1331092839":["hashtag1","hashtag2"]},{"1331092827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331092821, 1331092724, 1331092832, 1331092798, 1331092839, 1331092827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.66334247589111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:35:22.171480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/52/image_24012025_15_52_02_746806_0000.jpg', '/home/pi/Desktop/images/24012025/15/52/image_24012025_15_52_02_746806_0001.jpg', '/home/pi/Desktop/images/24012025/15/52/image_24012025_15_52_02_746806_0002.jpg', '/home/pi/Desktop/images/24012025/15/52/image_24012025_15_52_02_746806_0003.jpg', '/home/pi/Desktop/images/24012025/15/53/image_24012025_15_53_02_909971_0000.jpg', '/home/pi/Desktop/images/24012025/15/53/image_24012025_15_53_02_909971_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/52/image_24012025_15_52_02_746806_0000.jpg
/home/pi/Desktop/images/24012025/15/52/image_24012025_15_52_02_746806_0001.jpg
/home/pi/Desktop/images/24012025/15/52/image_24012025_15_52_02_746806_0002.jpg
/home/pi/Desktop/images/24012025/15/52/image_24012025_15_52_02_746806_0003.jpg
/home/pi/Desktop/images/24012025/15/53/image_24012025_15_53_02_909971_0000.jpg
/home/pi/Desktop/images/24012025/15/53/image_24012025_15_53_02_909971_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331092886","1331092874","1331092882","1331092876","1331092893","1331092878"],"photo_ids_order":["1331092874","1331092876","1331092878","1331092882","1331092886","1331092893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d9b2e14448bb68c44adc7c97bdd7d06d.jpg","text":"TemporaryFile(/tmp/multipartBody5797777112942542924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736622873,"filename":"image_24012025_15_53_02_909971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ed87d2918cf7cf74d63b7c634e0204d.jpg","text":"TemporaryFile(/tmp/multipartBody5593871555436663206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736622873,"filename":"image_24012025_15_52_02_746806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f6a86c3f480191499aff860e0045c772.jpg","text":"TemporaryFile(/tmp/multipartBody9047012388542418520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736622873,"filename":"image_24012025_15_52_02_746806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1602fb15749757faea7d228aae143d7.jpg","text":"TemporaryFile(/tmp/multipartBody8913104490229775961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736622873,"filename":"image_24012025_15_52_02_746806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1656feb3befa110d58705f0fc596c032.jpg","text":"TemporaryFile(/tmp/multipartBody1612118131275464714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736622873,"filename":"image_24012025_15_53_02_909971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0dc8002ac42458794ac62f1b6a2bbb9d.jpg","text":"TemporaryFile(/tmp/multipartBody922251198481036995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736622873,"filename":"image_24012025_15_52_02_746806_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331092878","file1":"1331092876","file0":"1331092874","file4":"1331092886","file5":"1331092893","file3":"1331092882"},"map_files_photo_id_array":[{"photo_id":"1331092893","filename":"file5"},{"photo_id":"1331092878","filename":"file2"},{"photo_id":"1331092886","filename":"file4"},{"photo_id":"1331092876","filename":"file1"},{"photo_id":"1331092874","filename":"file0"},{"photo_id":"1331092882","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331092886":["hashtag1","hashtag2"]},{"1331092874":["hashtag1","hashtag2"]},{"1331092882":["hashtag1","hashtag2"]},{"1331092876":["hashtag1","hashtag2"]},{"1331092893":["hashtag1","hashtag2"]},{"1331092878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331092886, 1331092874, 1331092882, 1331092876, 1331092893, 1331092878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.54687309265137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 17:37:03.161608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/53/image_24012025_15_53_02_909971_0002.jpg', '/home/pi/Desktop/images/24012025/15/54/image_24012025_15_54_03_094666_0000.jpg', '/home/pi/Desktop/images/24012025/15/54/image_24012025_15_54_03_094666_0001.jpg', '/home/pi/Desktop/images/24012025/15/54/image_24012025_15_54_03_094666_0002.jpg', '/home/pi/Desktop/images/24012025/15/54/image_24012025_15_54_03_094666_0003.jpg', '/home/pi/Desktop/images/24012025/15/55/image_24012025_15_55_02_312261_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/53/image_24012025_15_53_02_909971_0002.jpg
/home/pi/Desktop/images/24012025/15/54/image_24012025_15_54_03_094666_0000.jpg
/home/pi/Desktop/images/24012025/15/54/image_24012025_15_54_03_094666_0001.jpg
/home/pi/Desktop/images/24012025/15/54/image_24012025_15_54_03_094666_0002.jpg
/home/pi/Desktop/images/24012025/15/54/image_24012025_15_54_03_094666_0003.jpg
/home/pi/Desktop/images/24012025/15/55/image_24012025_15_55_02_312261_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331092988","1331092982","1331092943","1331092946","1331092925","1331092972"],"photo_ids_order":["1331092925","1331092943","1331092946","1331092972","1331092982","1331092988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/de4e1e69f3949b6144987734a1d0da67.jpg","text":"TemporaryFile(/tmp/multipartBody1406971739757328997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736724693,"filename":"image_24012025_15_55_02_312261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5bf8337f3adf08c5f3f54074379ed281.jpg","text":"TemporaryFile(/tmp/multipartBody1735698158110048822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736724693,"filename":"image_24012025_15_54_03_094666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d90f3cdd3608b964bdd6f51014b9c7ef.jpg","text":"TemporaryFile(/tmp/multipartBody5074535202913586297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736724693,"filename":"image_24012025_15_54_03_094666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e72feba4d0dccdca858b4eb506732257.jpg","text":"TemporaryFile(/tmp/multipartBody7285730523374783788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736724693,"filename":"image_24012025_15_54_03_094666_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ab3796459b4c1ea194f0c8ac7576386.jpg","text":"TemporaryFile(/tmp/multipartBody387531346450006944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736724693,"filename":"image_24012025_15_53_02_909971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/08f2883eafae8df27ff18b6dd5590bfd.jpg","text":"TemporaryFile(/tmp/multipartBody3810477879480208871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736724693,"filename":"image_24012025_15_54_03_094666_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331092946","file1":"1331092943","file0":"1331092925","file4":"1331092982","file5":"1331092988","file3":"1331092972"},"map_files_photo_id_array":[{"photo_id":"1331092988","filename":"file5"},{"photo_id":"1331092946","filename":"file2"},{"photo_id":"1331092982","filename":"file4"},{"photo_id":"1331092943","filename":"file1"},{"photo_id":"1331092925","filename":"file0"},{"photo_id":"1331092972","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331092988":["hashtag1","hashtag2"]},{"1331092982":["hashtag1","hashtag2"]},{"1331092943":["hashtag1","hashtag2"]},{"1331092946":["hashtag1","hashtag2"]},{"1331092925":["hashtag1","hashtag2"]},{"1331092972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331092988, 1331092982, 1331092943, 1331092946, 1331092925, 1331092972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.02378559112549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 17:38:42.798251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/55/image_24012025_15_55_02_312261_0001.jpg', '/home/pi/Desktop/images/24012025/15/55/image_24012025_15_55_02_312261_0002.jpg', '/home/pi/Desktop/images/24012025/15/55/image_24012025_15_55_02_312261_0003.jpg', '/home/pi/Desktop/images/24012025/15/56/image_24012025_15_56_02_503649_0000.jpg', '/home/pi/Desktop/images/24012025/15/56/image_24012025_15_56_02_503649_0001.jpg', '/home/pi/Desktop/images/24012025/15/56/image_24012025_15_56_02_503649_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/55/image_24012025_15_55_02_312261_0001.jpg
/home/pi/Desktop/images/24012025/15/55/image_24012025_15_55_02_312261_0002.jpg
/home/pi/Desktop/images/24012025/15/55/image_24012025_15_55_02_312261_0003.jpg
/home/pi/Desktop/images/24012025/15/56/image_24012025_15_56_02_503649_0000.jpg
/home/pi/Desktop/images/24012025/15/56/image_24012025_15_56_02_503649_0001.jpg
/home/pi/Desktop/images/24012025/15/56/image_24012025_15_56_02_503649_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331093159","1331093105","1331093113","1331093163","1331093121","1331093100"],"photo_ids_order":["1331093100","1331093105","1331093113","1331093121","1331093159","1331093163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d9f98da3b4b2f48e5fadcef4fa87f5c.jpg","text":"TemporaryFile(/tmp/multipartBody7014174031793202670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736825073,"filename":"image_24012025_15_56_02_503649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/175707688673489e1e70459ebbdf6d27.jpg","text":"TemporaryFile(/tmp/multipartBody5501001391567484961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736825073,"filename":"image_24012025_15_55_02_312261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/695c64b26500420aececc1971fec4f7b.jpg","text":"TemporaryFile(/tmp/multipartBody820215608923016711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736825073,"filename":"image_24012025_15_55_02_312261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b6197dc0ad320166be047d337a91db6.jpg","text":"TemporaryFile(/tmp/multipartBody2522485780766458450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736825073,"filename":"image_24012025_15_56_02_503649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0fec42928220b3240ac7cb35ace91935.jpg","text":"TemporaryFile(/tmp/multipartBody1856130922943929806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736825073,"filename":"image_24012025_15_56_02_503649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/060dedb3c095c16ae55fe4a21460c5c6.jpg","text":"TemporaryFile(/tmp/multipartBody2969192723863567941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736825073,"filename":"image_24012025_15_55_02_312261_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331093113","file1":"1331093105","file0":"1331093100","file4":"1331093159","file5":"1331093163","file3":"1331093121"},"map_files_photo_id_array":[{"photo_id":"1331093163","filename":"file5"},{"photo_id":"1331093113","filename":"file2"},{"photo_id":"1331093159","filename":"file4"},{"photo_id":"1331093105","filename":"file1"},{"photo_id":"1331093100","filename":"file0"},{"photo_id":"1331093121","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331093159":["hashtag1","hashtag2"]},{"1331093105":["hashtag1","hashtag2"]},{"1331093113":["hashtag1","hashtag2"]},{"1331093163":["hashtag1","hashtag2"]},{"1331093121":["hashtag1","hashtag2"]},{"1331093100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331093159, 1331093105, 1331093113, 1331093163, 1331093121, 1331093100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.57095909118652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:40:22.132897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/56/image_24012025_15_56_02_503649_0003.jpg', '/home/pi/Desktop/images/24012025/15/57/image_24012025_15_57_02_673394_0000.jpg', '/home/pi/Desktop/images/24012025/15/57/image_24012025_15_57_02_673394_0001.jpg', '/home/pi/Desktop/images/24012025/15/57/image_24012025_15_57_02_673394_0002.jpg', '/home/pi/Desktop/images/24012025/15/57/image_24012025_15_57_02_673394_0003.jpg', '/home/pi/Desktop/images/24012025/15/58/image_24012025_15_58_02_953968_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/56/image_24012025_15_56_02_503649_0003.jpg
/home/pi/Desktop/images/24012025/15/57/image_24012025_15_57_02_673394_0000.jpg
/home/pi/Desktop/images/24012025/15/57/image_24012025_15_57_02_673394_0001.jpg
/home/pi/Desktop/images/24012025/15/57/image_24012025_15_57_02_673394_0002.jpg
/home/pi/Desktop/images/24012025/15/57/image_24012025_15_57_02_673394_0003.jpg
/home/pi/Desktop/images/24012025/15/58/image_24012025_15_58_02_953968_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331093263","1331093274","1331093283","1331093241","1331093247","1331093297"],"photo_ids_order":["1331093241","1331093247","1331093263","1331093274","1331093283","1331093297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8bc696943c7b12a73887c72a90bec09.jpg","text":"TemporaryFile(/tmp/multipartBody6765462849069924453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736906361,"filename":"image_24012025_15_57_02_673394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dcaba80530d848aab930e13e2129ca29.jpg","text":"TemporaryFile(/tmp/multipartBody6676201364859750131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736906361,"filename":"image_24012025_15_57_02_673394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/733c1324f2cfb6cbb63f49af0139300f.jpg","text":"TemporaryFile(/tmp/multipartBody8272894021354152937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736906361,"filename":"image_24012025_15_57_02_673394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1545572baa5863f9accbd50e476a2b69.jpg","text":"TemporaryFile(/tmp/multipartBody188043488454331395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736906361,"filename":"image_24012025_15_56_02_503649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e5a4bc1e31154f58dd905e7db14f546e.jpg","text":"TemporaryFile(/tmp/multipartBody5529601761350412376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736906361,"filename":"image_24012025_15_57_02_673394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7226faeb0f03f9386c83180a31111f80.jpg","text":"TemporaryFile(/tmp/multipartBody8963941088034785866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737736906361,"filename":"image_24012025_15_58_02_953968_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331093263","file1":"1331093247","file0":"1331093241","file4":"1331093283","file5":"1331093297","file3":"1331093274"},"map_files_photo_id_array":[{"photo_id":"1331093297","filename":"file5"},{"photo_id":"1331093263","filename":"file2"},{"photo_id":"1331093283","filename":"file4"},{"photo_id":"1331093247","filename":"file1"},{"photo_id":"1331093241","filename":"file0"},{"photo_id":"1331093274","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331093263":["hashtag1","hashtag2"]},{"1331093274":["hashtag1","hashtag2"]},{"1331093283":["hashtag1","hashtag2"]},{"1331093241":["hashtag1","hashtag2"]},{"1331093247":["hashtag1","hashtag2"]},{"1331093297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331093263, 1331093274, 1331093283, 1331093241, 1331093247, 1331093297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.78581166267395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 17:41:42.342653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/58/image_24012025_15_58_02_953968_0001.jpg', '/home/pi/Desktop/images/24012025/15/58/image_24012025_15_58_02_953968_0002.jpg', '/home/pi/Desktop/images/24012025/15/58/image_24012025_15_58_02_953968_0003.jpg', '/home/pi/Desktop/images/24012025/15/59/image_24012025_15_59_03_085661_0000.jpg', '/home/pi/Desktop/images/24012025/15/59/image_24012025_15_59_03_085661_0001.jpg', '/home/pi/Desktop/images/24012025/15/59/image_24012025_15_59_03_085661_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/58/image_24012025_15_58_02_953968_0001.jpg
/home/pi/Desktop/images/24012025/15/58/image_24012025_15_58_02_953968_0002.jpg
/home/pi/Desktop/images/24012025/15/58/image_24012025_15_58_02_953968_0003.jpg
/home/pi/Desktop/images/24012025/15/59/image_24012025_15_59_03_085661_0000.jpg
/home/pi/Desktop/images/24012025/15/59/image_24012025_15_59_03_085661_0001.jpg
/home/pi/Desktop/images/24012025/15/59/image_24012025_15_59_03_085661_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331093408","1331093423","1331093417","1331093398","1331093404","1331093412"],"photo_ids_order":["1331093398","1331093404","1331093408","1331093412","1331093417","1331093423"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6578f601b4666b19b3b94a0a14ac0a57.jpg","text":"TemporaryFile(/tmp/multipartBody2264251958569934724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737005307,"filename":"image_24012025_15_58_02_953968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bda8ddbc5618a7486b550566ee9e4d69.jpg","text":"TemporaryFile(/tmp/multipartBody7364117118444863562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737005307,"filename":"image_24012025_15_59_03_085661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0e7d1f987e03a6bb49027b8df767f362.jpg","text":"TemporaryFile(/tmp/multipartBody7677774846378651717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737005307,"filename":"image_24012025_15_59_03_085661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a28a14878503edca57ed61dcf33ac064.jpg","text":"TemporaryFile(/tmp/multipartBody6784904207900757236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737005307,"filename":"image_24012025_15_58_02_953968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/64135ef1e801bf1bbe6a28f58e78e8b9.jpg","text":"TemporaryFile(/tmp/multipartBody2547703005561442916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737005307,"filename":"image_24012025_15_58_02_953968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab3cff2a23cff4f8054e66cca5ac204d.jpg","text":"TemporaryFile(/tmp/multipartBody6911436032586756810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737005307,"filename":"image_24012025_15_59_03_085661_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331093408","file1":"1331093404","file0":"1331093398","file4":"1331093417","file5":"1331093423","file3":"1331093412"},"map_files_photo_id_array":[{"photo_id":"1331093423","filename":"file5"},{"photo_id":"1331093408","filename":"file2"},{"photo_id":"1331093417","filename":"file4"},{"photo_id":"1331093404","filename":"file1"},{"photo_id":"1331093398","filename":"file0"},{"photo_id":"1331093412","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331093408":["hashtag1","hashtag2"]},{"1331093423":["hashtag1","hashtag2"]},{"1331093417":["hashtag1","hashtag2"]},{"1331093398":["hashtag1","hashtag2"]},{"1331093404":["hashtag1","hashtag2"]},{"1331093412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331093408, 1331093423, 1331093417, 1331093398, 1331093404, 1331093412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.46938967704773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:43:22.661957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/15/59/image_24012025_15_59_03_085661_0003.jpg', '/home/pi/Desktop/images/24012025/16/00/image_24012025_16_00_02_320037_0000.jpg', '/home/pi/Desktop/images/24012025/16/00/image_24012025_16_00_02_320037_0001.jpg', '/home/pi/Desktop/images/24012025/16/00/image_24012025_16_00_02_320037_0002.jpg', '/home/pi/Desktop/images/24012025/16/00/image_24012025_16_00_02_320037_0003.jpg', '/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/15/59/image_24012025_15_59_03_085661_0003.jpg
/home/pi/Desktop/images/24012025/16/00/image_24012025_16_00_02_320037_0000.jpg
/home/pi/Desktop/images/24012025/16/00/image_24012025_16_00_02_320037_0001.jpg
/home/pi/Desktop/images/24012025/16/00/image_24012025_16_00_02_320037_0002.jpg
/home/pi/Desktop/images/24012025/16/00/image_24012025_16_00_02_320037_0003.jpg
/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331093884","1331093914","1331093908","1331093895","1331093889","1331093880"],"photo_ids_order":["1331093880","1331093884","1331093889","1331093895","1331093908","1331093914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d150f1133fc2820630c4aad60105ec91.jpg","text":"TemporaryFile(/tmp/multipartBody7489233659192079335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737105347,"filename":"image_24012025_16_00_02_320037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/963d42d80b572dfae3dca42c661b4806.jpg","text":"TemporaryFile(/tmp/multipartBody7337112671958574090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737105347,"filename":"image_24012025_16_01_02_568179_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b24c2acc25becddf238bf682abd15c5b.jpg","text":"TemporaryFile(/tmp/multipartBody827055152372685900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737105347,"filename":"image_24012025_16_00_02_320037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6a7ea656a527439d84dc6db80454df1b.jpg","text":"TemporaryFile(/tmp/multipartBody6977349004160204245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737105347,"filename":"image_24012025_16_00_02_320037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed5164df249b910456ae61029d26ed44.jpg","text":"TemporaryFile(/tmp/multipartBody6853128491674013129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737105347,"filename":"image_24012025_16_00_02_320037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/59fbafb66faec4ff431747686165ac34.jpg","text":"TemporaryFile(/tmp/multipartBody2036093545391857473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737105347,"filename":"image_24012025_15_59_03_085661_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331093889","file1":"1331093884","file0":"1331093880","file4":"1331093908","file5":"1331093914","file3":"1331093895"},"map_files_photo_id_array":[{"photo_id":"1331093914","filename":"file5"},{"photo_id":"1331093889","filename":"file2"},{"photo_id":"1331093908","filename":"file4"},{"photo_id":"1331093884","filename":"file1"},{"photo_id":"1331093880","filename":"file0"},{"photo_id":"1331093895","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331093884":["hashtag1","hashtag2"]},{"1331093914":["hashtag1","hashtag2"]},{"1331093908":["hashtag1","hashtag2"]},{"1331093895":["hashtag1","hashtag2"]},{"1331093889":["hashtag1","hashtag2"]},{"1331093880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331093884, 1331093914, 1331093908, 1331093895, 1331093889, 1331093880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.84281277656555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 17:45:02.718506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0001.jpg', '/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0002.jpg', '/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0003.jpg', '/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0000.jpg', '/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0001.jpg', '/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0001.jpg
/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0002.jpg
/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0003.jpg
/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0000.jpg
/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0001.jpg
/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 44.00835680961609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 17:45:52.088674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0001.jpg', '/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0002.jpg', '/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0003.jpg', '/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0000.jpg', '/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0001.jpg', '/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0001.jpg
/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0002.jpg
/home/pi/Desktop/images/24012025/16/01/image_24012025_16_01_02_568179_0003.jpg
/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0000.jpg
/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0001.jpg
/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331094298","1331094236","1331094317","1331094196","1331094340","1331094359"],"photo_ids_order":["1331094196","1331094236","1331094298","1331094317","1331094340","1331094359"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21715b1fcbd5d11c654759dbceb237a3.jpg","text":"TemporaryFile(/tmp/multipartBody2103823873432880049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737239741,"filename":"image_24012025_16_01_02_568179_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/57ce6bc30aa0be8e0b0ff9b0897f2c9d.jpg","text":"TemporaryFile(/tmp/multipartBody5770603380308341595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737239741,"filename":"image_24012025_16_01_02_568179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e1629a76d47f5085cebe72e2dcdb6195.jpg","text":"TemporaryFile(/tmp/multipartBody2872748312108708170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737239741,"filename":"image_24012025_16_02_02_822004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/54f7d969322d7828553b7eba8a1d51a6.jpg","text":"TemporaryFile(/tmp/multipartBody3657861087247981345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737239741,"filename":"image_24012025_16_01_02_568179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff14d31ed6259435216feb1d24dbea62.jpg","text":"TemporaryFile(/tmp/multipartBody5609210607249939505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737239741,"filename":"image_24012025_16_02_02_822004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6c7586b198024759959e3d4b7379b4fb.jpg","text":"TemporaryFile(/tmp/multipartBody9155675873267496775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737239741,"filename":"image_24012025_16_02_02_822004_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331094298","file1":"1331094236","file0":"1331094196","file4":"1331094340","file5":"1331094359","file3":"1331094317"},"map_files_photo_id_array":[{"photo_id":"1331094359","filename":"file5"},{"photo_id":"1331094298","filename":"file2"},{"photo_id":"1331094340","filename":"file4"},{"photo_id":"1331094236","filename":"file1"},{"photo_id":"1331094196","filename":"file0"},{"photo_id":"1331094317","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331094298":["hashtag1","hashtag2"]},{"1331094236":["hashtag1","hashtag2"]},{"1331094317":["hashtag1","hashtag2"]},{"1331094196":["hashtag1","hashtag2"]},{"1331094340":["hashtag1","hashtag2"]},{"1331094359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331094298, 1331094236, 1331094317, 1331094196, 1331094340, 1331094359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.67911028862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 17:47:32.441352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0003.jpg', '/home/pi/Desktop/images/24012025/16/03/image_24012025_16_03_02_947885_0000.jpg', '/home/pi/Desktop/images/24012025/16/03/image_24012025_16_03_02_947885_0001.jpg', '/home/pi/Desktop/images/24012025/16/03/image_24012025_16_03_02_947885_0002.jpg', '/home/pi/Desktop/images/24012025/16/03/image_24012025_16_03_02_947885_0003.jpg', '/home/pi/Desktop/images/24012025/16/04/image_24012025_16_04_02_107887_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/02/image_24012025_16_02_02_822004_0003.jpg
/home/pi/Desktop/images/24012025/16/03/image_24012025_16_03_02_947885_0000.jpg
/home/pi/Desktop/images/24012025/16/03/image_24012025_16_03_02_947885_0001.jpg
/home/pi/Desktop/images/24012025/16/03/image_24012025_16_03_02_947885_0002.jpg
/home/pi/Desktop/images/24012025/16/03/image_24012025_16_03_02_947885_0003.jpg
/home/pi/Desktop/images/24012025/16/04/image_24012025_16_04_02_107887_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331094509","1331094628","1331094520","1331094561","1331094600","1331094479"],"photo_ids_order":["1331094479","1331094509","1331094520","1331094561","1331094600","1331094628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b52fc298fb89aba14d6867f7898a4288.jpg","text":"TemporaryFile(/tmp/multipartBody5226600106287078729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737352926,"filename":"image_24012025_16_03_02_947885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e02b47346501db0b06e0cabf64767698.jpg","text":"TemporaryFile(/tmp/multipartBody5528711495976443659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737352926,"filename":"image_24012025_16_04_02_107887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/54d9f817c1f1aaeb322e628c9e71cfa8.jpg","text":"TemporaryFile(/tmp/multipartBody1162547911936804330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737352926,"filename":"image_24012025_16_03_02_947885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e26efda52173799f3bea067020139da8.jpg","text":"TemporaryFile(/tmp/multipartBody7954182881229315713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737352926,"filename":"image_24012025_16_03_02_947885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/87d40af1d865c7231b215e54f76832c5.jpg","text":"TemporaryFile(/tmp/multipartBody6659114187245839707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737352926,"filename":"image_24012025_16_03_02_947885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db449fb93a3ecf9c67c8c518c74cf6c1.jpg","text":"TemporaryFile(/tmp/multipartBody4190728512061469808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737352926,"filename":"image_24012025_16_02_02_822004_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331094520","file1":"1331094509","file0":"1331094479","file4":"1331094600","file5":"1331094628","file3":"1331094561"},"map_files_photo_id_array":[{"photo_id":"1331094628","filename":"file5"},{"photo_id":"1331094520","filename":"file2"},{"photo_id":"1331094600","filename":"file4"},{"photo_id":"1331094509","filename":"file1"},{"photo_id":"1331094479","filename":"file0"},{"photo_id":"1331094561","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331094509":["hashtag1","hashtag2"]},{"1331094628":["hashtag1","hashtag2"]},{"1331094520":["hashtag1","hashtag2"]},{"1331094561":["hashtag1","hashtag2"]},{"1331094600":["hashtag1","hashtag2"]},{"1331094479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331094509, 1331094628, 1331094520, 1331094561, 1331094600, 1331094479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.43591117858887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:49:21.943630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/04/image_24012025_16_04_02_107887_0001.jpg', '/home/pi/Desktop/images/24012025/16/04/image_24012025_16_04_02_107887_0002.jpg', '/home/pi/Desktop/images/24012025/16/04/image_24012025_16_04_02_107887_0003.jpg', '/home/pi/Desktop/images/24012025/16/05/image_24012025_16_05_02_379384_0000.jpg', '/home/pi/Desktop/images/24012025/16/05/image_24012025_16_05_02_379384_0001.jpg', '/home/pi/Desktop/images/24012025/16/05/image_24012025_16_05_02_379384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/04/image_24012025_16_04_02_107887_0001.jpg
/home/pi/Desktop/images/24012025/16/04/image_24012025_16_04_02_107887_0002.jpg
/home/pi/Desktop/images/24012025/16/04/image_24012025_16_04_02_107887_0003.jpg
/home/pi/Desktop/images/24012025/16/05/image_24012025_16_05_02_379384_0000.jpg
/home/pi/Desktop/images/24012025/16/05/image_24012025_16_05_02_379384_0001.jpg
/home/pi/Desktop/images/24012025/16/05/image_24012025_16_05_02_379384_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331094722","1331094727","1331094765","1331094780","1331094753","1331094758"],"photo_ids_order":["1331094722","1331094727","1331094753","1331094758","1331094765","1331094780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/344004e98e716e0ecac5995641749376.jpg","text":"TemporaryFile(/tmp/multipartBody3360517168433345224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737458823,"filename":"image_24012025_16_04_02_107887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b9fb54fd586148ab0a7b8b9c5af956fa.jpg","text":"TemporaryFile(/tmp/multipartBody5644703237880093003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737458823,"filename":"image_24012025_16_04_02_107887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3368b64a712dae65f4e2b6a837c2e8df.jpg","text":"TemporaryFile(/tmp/multipartBody6453257699412586197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737458823,"filename":"image_24012025_16_05_02_379384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c49845748686b92203a4f3ba886c8f9c.jpg","text":"TemporaryFile(/tmp/multipartBody3468072115696636327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737458823,"filename":"image_24012025_16_05_02_379384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b462ec9421c4cbe21ff400dd7b4622b3.jpg","text":"TemporaryFile(/tmp/multipartBody8276430104453603075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737458823,"filename":"image_24012025_16_04_02_107887_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ac129727700b0ad6ecdba594011dfb4.jpg","text":"TemporaryFile(/tmp/multipartBody6313203820757223315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737458823,"filename":"image_24012025_16_05_02_379384_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331094753","file1":"1331094727","file0":"1331094722","file4":"1331094765","file5":"1331094780","file3":"1331094758"},"map_files_photo_id_array":[{"photo_id":"1331094780","filename":"file5"},{"photo_id":"1331094753","filename":"file2"},{"photo_id":"1331094765","filename":"file4"},{"photo_id":"1331094727","filename":"file1"},{"photo_id":"1331094722","filename":"file0"},{"photo_id":"1331094758","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331094722":["hashtag1","hashtag2"]},{"1331094727":["hashtag1","hashtag2"]},{"1331094765":["hashtag1","hashtag2"]},{"1331094780":["hashtag1","hashtag2"]},{"1331094753":["hashtag1","hashtag2"]},{"1331094758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331094722, 1331094727, 1331094765, 1331094780, 1331094753, 1331094758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.16386604309082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 17:51:02.870137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/05/image_24012025_16_05_02_379384_0003.jpg', '/home/pi/Desktop/images/24012025/16/06/image_24012025_16_06_02_540935_0000.jpg', '/home/pi/Desktop/images/24012025/16/06/image_24012025_16_06_02_540935_0001.jpg', '/home/pi/Desktop/images/24012025/16/06/image_24012025_16_06_02_540935_0002.jpg', '/home/pi/Desktop/images/24012025/16/06/image_24012025_16_06_02_540935_0003.jpg', '/home/pi/Desktop/images/24012025/16/07/image_24012025_16_07_02_676242_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/05/image_24012025_16_05_02_379384_0003.jpg
/home/pi/Desktop/images/24012025/16/06/image_24012025_16_06_02_540935_0000.jpg
/home/pi/Desktop/images/24012025/16/06/image_24012025_16_06_02_540935_0001.jpg
/home/pi/Desktop/images/24012025/16/06/image_24012025_16_06_02_540935_0002.jpg
/home/pi/Desktop/images/24012025/16/06/image_24012025_16_06_02_540935_0003.jpg
/home/pi/Desktop/images/24012025/16/07/image_24012025_16_07_02_676242_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331095060","1331095089","1331095032","1331095023","1331095055","1331095013"],"photo_ids_order":["1331095013","1331095023","1331095032","1331095055","1331095060","1331095089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b4f42e5c121bbc4b617572b33aa367f0.jpg","text":"TemporaryFile(/tmp/multipartBody3248939371671583703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737579043,"filename":"image_24012025_16_06_02_540935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8937b79ad5e38996d5a84c26459cedd2.jpg","text":"TemporaryFile(/tmp/multipartBody6630692790939212359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737579043,"filename":"image_24012025_16_07_02_676242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/367462f1ca07b7e2ecd0fe0d3b9ab516.jpg","text":"TemporaryFile(/tmp/multipartBody1566989218489564234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737579043,"filename":"image_24012025_16_06_02_540935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5d8116a4071c1720e014f363be8de4d5.jpg","text":"TemporaryFile(/tmp/multipartBody6507995584141879322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737579043,"filename":"image_24012025_16_06_02_540935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ba2f580f8c9d06324096481afa68b370.jpg","text":"TemporaryFile(/tmp/multipartBody5428057241204911339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737579043,"filename":"image_24012025_16_06_02_540935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8b8ecadaa8b62d8cbc7515475ea62a3.jpg","text":"TemporaryFile(/tmp/multipartBody6764980060342615347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737579043,"filename":"image_24012025_16_05_02_379384_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331095032","file1":"1331095023","file0":"1331095013","file4":"1331095060","file5":"1331095089","file3":"1331095055"},"map_files_photo_id_array":[{"photo_id":"1331095089","filename":"file5"},{"photo_id":"1331095032","filename":"file2"},{"photo_id":"1331095060","filename":"file4"},{"photo_id":"1331095023","filename":"file1"},{"photo_id":"1331095013","filename":"file0"},{"photo_id":"1331095055","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331095060":["hashtag1","hashtag2"]},{"1331095089":["hashtag1","hashtag2"]},{"1331095032":["hashtag1","hashtag2"]},{"1331095023":["hashtag1","hashtag2"]},{"1331095055":["hashtag1","hashtag2"]},{"1331095013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331095060, 1331095089, 1331095032, 1331095023, 1331095055, 1331095013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 117.43460941314697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 17:53:03.094470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/07/image_24012025_16_07_02_676242_0001.jpg', '/home/pi/Desktop/images/24012025/16/07/image_24012025_16_07_02_676242_0002.jpg', '/home/pi/Desktop/images/24012025/16/07/image_24012025_16_07_02_676242_0003.jpg', '/home/pi/Desktop/images/24012025/16/08/image_24012025_16_08_02_885445_0000.jpg', '/home/pi/Desktop/images/24012025/16/08/image_24012025_16_08_02_885445_0001.jpg', '/home/pi/Desktop/images/24012025/16/08/image_24012025_16_08_02_885445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/07/image_24012025_16_07_02_676242_0001.jpg
/home/pi/Desktop/images/24012025/16/07/image_24012025_16_07_02_676242_0002.jpg
/home/pi/Desktop/images/24012025/16/07/image_24012025_16_07_02_676242_0003.jpg
/home/pi/Desktop/images/24012025/16/08/image_24012025_16_08_02_885445_0000.jpg
/home/pi/Desktop/images/24012025/16/08/image_24012025_16_08_02_885445_0001.jpg
/home/pi/Desktop/images/24012025/16/08/image_24012025_16_08_02_885445_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331095171","1331095240","1331095248","1331095212","1331095206","1331095190"],"photo_ids_order":["1331095171","1331095190","1331095206","1331095212","1331095240","1331095248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/86a0227bd25f327e84ecc339d7c33d02.jpg","text":"TemporaryFile(/tmp/multipartBody7459786064063569904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737693215,"filename":"image_24012025_16_07_02_676242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b4ebb30da7e86f5c3a2199e06a385cd.jpg","text":"TemporaryFile(/tmp/multipartBody2027161154236979811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737693215,"filename":"image_24012025_16_08_02_885445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d4b744e1e8feb47cc179924a7139b758.jpg","text":"TemporaryFile(/tmp/multipartBody1127112022061360746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737693215,"filename":"image_24012025_16_08_02_885445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7b611fa4038776282d97a8dd05fa5190.jpg","text":"TemporaryFile(/tmp/multipartBody1623885255934985677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737693215,"filename":"image_24012025_16_08_02_885445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d76da170f610d25b8436782892773008.jpg","text":"TemporaryFile(/tmp/multipartBody7098696902028719103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737693215,"filename":"image_24012025_16_07_02_676242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5f77a5bbf5f9bc8ecac9b7131859d9c8.jpg","text":"TemporaryFile(/tmp/multipartBody5294898724418691677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737693215,"filename":"image_24012025_16_07_02_676242_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331095206","file1":"1331095190","file0":"1331095171","file4":"1331095240","file5":"1331095248","file3":"1331095212"},"map_files_photo_id_array":[{"photo_id":"1331095248","filename":"file5"},{"photo_id":"1331095206","filename":"file2"},{"photo_id":"1331095240","filename":"file4"},{"photo_id":"1331095190","filename":"file1"},{"photo_id":"1331095171","filename":"file0"},{"photo_id":"1331095212","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331095171":["hashtag1","hashtag2"]},{"1331095240":["hashtag1","hashtag2"]},{"1331095248":["hashtag1","hashtag2"]},{"1331095212":["hashtag1","hashtag2"]},{"1331095206":["hashtag1","hashtag2"]},{"1331095190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331095171, 1331095240, 1331095248, 1331095212, 1331095206, 1331095190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.33121013641357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 17:54:52.726251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/08/image_24012025_16_08_02_885445_0003.jpg', '/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0000.jpg', '/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0001.jpg', '/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0002.jpg', '/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0003.jpg', '/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/08/image_24012025_16_08_02_885445_0003.jpg
/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0000.jpg
/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0001.jpg
/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0002.jpg
/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0003.jpg
/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 46.886051177978516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 17:55:41.965894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/08/image_24012025_16_08_02_885445_0003.jpg', '/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0000.jpg', '/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0001.jpg', '/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0002.jpg', '/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0003.jpg', '/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/08/image_24012025_16_08_02_885445_0003.jpg
/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0000.jpg
/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0001.jpg
/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0002.jpg
/home/pi/Desktop/images/24012025/16/09/image_24012025_16_09_03_085040_0003.jpg
/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331095387","1331095441","1331095578","1331095377","1331095371","1331095394"],"photo_ids_order":["1331095371","1331095377","1331095387","1331095394","1331095441","1331095578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2098caa74be3a5151f61683a2944239f.jpg","text":"TemporaryFile(/tmp/multipartBody7234002733864255815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737837760,"filename":"image_24012025_16_09_03_085040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/219867cfd15eb1e80613f8c366cca585.jpg","text":"TemporaryFile(/tmp/multipartBody3246281561568284814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737837760,"filename":"image_24012025_16_09_03_085040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1c89ca5774c4f530e1381032e39c5fb.jpg","text":"TemporaryFile(/tmp/multipartBody4884453997075558195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737837760,"filename":"image_24012025_16_10_02_242001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/971bc4cab33f891636ecf0660033dd1f.jpg","text":"TemporaryFile(/tmp/multipartBody4525496165255200516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737837760,"filename":"image_24012025_16_09_03_085040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/95e458cf85536c9b68f520f3cecb2b92.jpg","text":"TemporaryFile(/tmp/multipartBody8101014674095634757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737837760,"filename":"image_24012025_16_08_02_885445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7116c6eeed546cb0742f34e60eb57c3e.jpg","text":"TemporaryFile(/tmp/multipartBody6142867696139107174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737737837760,"filename":"image_24012025_16_09_03_085040_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331095387","file1":"1331095377","file0":"1331095371","file4":"1331095441","file5":"1331095578","file3":"1331095394"},"map_files_photo_id_array":[{"photo_id":"1331095578","filename":"file5"},{"photo_id":"1331095387","filename":"file2"},{"photo_id":"1331095441","filename":"file4"},{"photo_id":"1331095377","filename":"file1"},{"photo_id":"1331095371","filename":"file0"},{"photo_id":"1331095394","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331095387":["hashtag1","hashtag2"]},{"1331095441":["hashtag1","hashtag2"]},{"1331095578":["hashtag1","hashtag2"]},{"1331095377":["hashtag1","hashtag2"]},{"1331095371":["hashtag1","hashtag2"]},{"1331095394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331095387, 1331095441, 1331095578, 1331095377, 1331095371, 1331095394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.63929843902588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 17:57:22.327332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0001.jpg', '/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0002.jpg', '/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0003.jpg', '/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0000.jpg', '/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0001.jpg', '/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0001.jpg
/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0002.jpg
/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0003.jpg
/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0000.jpg
/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0001.jpg
/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0002.jpg
 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 refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 17:59:03.292834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0001.jpg', '/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0002.jpg', '/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0003.jpg', '/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0000.jpg', '/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0001.jpg', '/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0001.jpg
/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0002.jpg
/home/pi/Desktop/images/24012025/16/10/image_24012025_16_10_02_242001_0003.jpg
/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0000.jpg
/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0001.jpg
/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331097261","1331097275","1331097269","1331097265","1331097289","1331097282"],"photo_ids_order":["1331097261","1331097265","1331097269","1331097275","1331097282","1331097289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30f56df786f9b79f789f3bb9a142ac99.jpg","text":"TemporaryFile(/tmp/multipartBody3863473623025730460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738040984,"filename":"image_24012025_16_10_02_242001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d97af2357f3dd3391d2e16478602a42c.jpg","text":"TemporaryFile(/tmp/multipartBody5504230792940237451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738040984,"filename":"image_24012025_16_11_02_708985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc47f2e5f02db580fcc228b12a02c4c0.jpg","text":"TemporaryFile(/tmp/multipartBody2049987409103590550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738040984,"filename":"image_24012025_16_10_02_242001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5d403d2dfed0c7c80f89e22cc5a83d7.jpg","text":"TemporaryFile(/tmp/multipartBody4505853252309033670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738040984,"filename":"image_24012025_16_10_02_242001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4fff12466635eb90412c78cc42a0026b.jpg","text":"TemporaryFile(/tmp/multipartBody4888004701200136186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738040984,"filename":"image_24012025_16_11_02_708985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d953c12f06dbb4b19871a343c652697f.jpg","text":"TemporaryFile(/tmp/multipartBody8880005771097922391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738040984,"filename":"image_24012025_16_11_02_708985_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331097269","file1":"1331097265","file0":"1331097261","file4":"1331097282","file5":"1331097289","file3":"1331097275"},"map_files_photo_id_array":[{"photo_id":"1331097289","filename":"file5"},{"photo_id":"1331097269","filename":"file2"},{"photo_id":"1331097282","filename":"file4"},{"photo_id":"1331097265","filename":"file1"},{"photo_id":"1331097261","filename":"file0"},{"photo_id":"1331097275","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331097261":["hashtag1","hashtag2"]},{"1331097275":["hashtag1","hashtag2"]},{"1331097269":["hashtag1","hashtag2"]},{"1331097265":["hashtag1","hashtag2"]},{"1331097289":["hashtag1","hashtag2"]},{"1331097282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331097261, 1331097275, 1331097269, 1331097265, 1331097289, 1331097282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.05804491043091 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 18:00:41.830639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0003.jpg', '/home/pi/Desktop/images/24012025/16/12/image_24012025_16_12_02_964448_0000.jpg', '/home/pi/Desktop/images/24012025/16/12/image_24012025_16_12_02_964448_0001.jpg', '/home/pi/Desktop/images/24012025/16/12/image_24012025_16_12_02_964448_0002.jpg', '/home/pi/Desktop/images/24012025/16/12/image_24012025_16_12_02_964448_0003.jpg', '/home/pi/Desktop/images/24012025/16/13/image_24012025_16_13_02_167690_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/11/image_24012025_16_11_02_708985_0003.jpg
/home/pi/Desktop/images/24012025/16/12/image_24012025_16_12_02_964448_0000.jpg
/home/pi/Desktop/images/24012025/16/12/image_24012025_16_12_02_964448_0001.jpg
/home/pi/Desktop/images/24012025/16/12/image_24012025_16_12_02_964448_0002.jpg
/home/pi/Desktop/images/24012025/16/12/image_24012025_16_12_02_964448_0003.jpg
/home/pi/Desktop/images/24012025/16/13/image_24012025_16_13_02_167690_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331097756","1331097327","1331097599","1331097324","1331097488","1331097374"],"photo_ids_order":["1331097324","1331097327","1331097374","1331097488","1331097599","1331097756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ef591ba21fc5a828436781cbdce28678.jpg","text":"TemporaryFile(/tmp/multipartBody2536715764367208480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738139374,"filename":"image_24012025_16_13_02_167690_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/238bcdd6902fe6767ab48bc95a3ab484.jpg","text":"TemporaryFile(/tmp/multipartBody9076945540126806194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738139374,"filename":"image_24012025_16_12_02_964448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48ea5fe11cdbeb4473598e2a7dc57d82.jpg","text":"TemporaryFile(/tmp/multipartBody706538822614606538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738139374,"filename":"image_24012025_16_12_02_964448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/287b641ccef4f5c873e75874c851f483.jpg","text":"TemporaryFile(/tmp/multipartBody7914656994209771827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738139374,"filename":"image_24012025_16_11_02_708985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a58dddbc290f1791d143e53e09728aa.jpg","text":"TemporaryFile(/tmp/multipartBody208115625153361154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738139374,"filename":"image_24012025_16_12_02_964448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/545f835d35b2994f79b3dbf8a6abecd4.jpg","text":"TemporaryFile(/tmp/multipartBody623494463507644920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738139374,"filename":"image_24012025_16_12_02_964448_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331097374","file1":"1331097327","file0":"1331097324","file4":"1331097599","file5":"1331097756","file3":"1331097488"},"map_files_photo_id_array":[{"photo_id":"1331097756","filename":"file5"},{"photo_id":"1331097374","filename":"file2"},{"photo_id":"1331097599","filename":"file4"},{"photo_id":"1331097327","filename":"file1"},{"photo_id":"1331097324","filename":"file0"},{"photo_id":"1331097488","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331097756":["hashtag1","hashtag2"]},{"1331097327":["hashtag1","hashtag2"]},{"1331097599":["hashtag1","hashtag2"]},{"1331097324":["hashtag1","hashtag2"]},{"1331097488":["hashtag1","hashtag2"]},{"1331097374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331097756, 1331097327, 1331097599, 1331097324, 1331097488, 1331097374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.20687222480774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:02:22.127397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/13/image_24012025_16_13_02_167690_0001.jpg', '/home/pi/Desktop/images/24012025/16/13/image_24012025_16_13_02_167690_0002.jpg', '/home/pi/Desktop/images/24012025/16/13/image_24012025_16_13_02_167690_0003.jpg', '/home/pi/Desktop/images/24012025/16/14/image_24012025_16_14_02_323923_0000.jpg', '/home/pi/Desktop/images/24012025/16/14/image_24012025_16_14_02_323923_0001.jpg', '/home/pi/Desktop/images/24012025/16/14/image_24012025_16_14_02_323923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/13/image_24012025_16_13_02_167690_0001.jpg
/home/pi/Desktop/images/24012025/16/13/image_24012025_16_13_02_167690_0002.jpg
/home/pi/Desktop/images/24012025/16/13/image_24012025_16_13_02_167690_0003.jpg
/home/pi/Desktop/images/24012025/16/14/image_24012025_16_14_02_323923_0000.jpg
/home/pi/Desktop/images/24012025/16/14/image_24012025_16_14_02_323923_0001.jpg
/home/pi/Desktop/images/24012025/16/14/image_24012025_16_14_02_323923_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331098116","1331098104","1331098168","1331098153","1331098144","1331098071"],"photo_ids_order":["1331098071","1331098104","1331098116","1331098144","1331098153","1331098168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/84f1f85376b2c1ebf6de6e7fc2755aa4.jpg","text":"TemporaryFile(/tmp/multipartBody4800549894712039002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738240343,"filename":"image_24012025_16_13_02_167690_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/58b2d299c59d16e3b983e580dbd06d82.jpg","text":"TemporaryFile(/tmp/multipartBody3427370403967460277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738240343,"filename":"image_24012025_16_13_02_167690_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45fb92b36dbdfc0331ca866419f4e0f3.jpg","text":"TemporaryFile(/tmp/multipartBody7081840451674937643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738240343,"filename":"image_24012025_16_14_02_323923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e1547201556a8c5ad5079f65ebac34b0.jpg","text":"TemporaryFile(/tmp/multipartBody7020215591767990301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738240343,"filename":"image_24012025_16_14_02_323923_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a8414ba0eb488e2552fecd06e5635c1.jpg","text":"TemporaryFile(/tmp/multipartBody503481343068648893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738240343,"filename":"image_24012025_16_14_02_323923_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/685c17ed27eabc86b59c32380a51e9f3.jpg","text":"TemporaryFile(/tmp/multipartBody8506236362463137873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738240343,"filename":"image_24012025_16_13_02_167690_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331098116","file1":"1331098104","file0":"1331098071","file4":"1331098153","file5":"1331098168","file3":"1331098144"},"map_files_photo_id_array":[{"photo_id":"1331098168","filename":"file5"},{"photo_id":"1331098116","filename":"file2"},{"photo_id":"1331098153","filename":"file4"},{"photo_id":"1331098104","filename":"file1"},{"photo_id":"1331098071","filename":"file0"},{"photo_id":"1331098144","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331098116":["hashtag1","hashtag2"]},{"1331098104":["hashtag1","hashtag2"]},{"1331098168":["hashtag1","hashtag2"]},{"1331098153":["hashtag1","hashtag2"]},{"1331098144":["hashtag1","hashtag2"]},{"1331098071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331098116, 1331098104, 1331098168, 1331098153, 1331098144, 1331098071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.13140320777893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:04:22.589546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/14/image_24012025_16_14_02_323923_0003.jpg', '/home/pi/Desktop/images/24012025/16/15/image_24012025_16_15_02_572251_0000.jpg', '/home/pi/Desktop/images/24012025/16/15/image_24012025_16_15_02_572251_0001.jpg', '/home/pi/Desktop/images/24012025/16/15/image_24012025_16_15_02_572251_0002.jpg', '/home/pi/Desktop/images/24012025/16/15/image_24012025_16_15_02_572251_0003.jpg', '/home/pi/Desktop/images/24012025/16/16/image_24012025_16_16_02_741086_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/14/image_24012025_16_14_02_323923_0003.jpg
/home/pi/Desktop/images/24012025/16/15/image_24012025_16_15_02_572251_0000.jpg
/home/pi/Desktop/images/24012025/16/15/image_24012025_16_15_02_572251_0001.jpg
/home/pi/Desktop/images/24012025/16/15/image_24012025_16_15_02_572251_0002.jpg
/home/pi/Desktop/images/24012025/16/15/image_24012025_16_15_02_572251_0003.jpg
/home/pi/Desktop/images/24012025/16/16/image_24012025_16_16_02_741086_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331098800","1331098808","1331098788","1331098726","1331098689","1331098746"],"photo_ids_order":["1331098689","1331098726","1331098746","1331098788","1331098800","1331098808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ad3be07361fbbe5ee620aba4581ec43.jpg","text":"TemporaryFile(/tmp/multipartBody5371230292900535809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738357888,"filename":"image_24012025_16_15_02_572251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d5805562e60e2b0ef7c699a246427c1.jpg","text":"TemporaryFile(/tmp/multipartBody5408173200696567981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738357888,"filename":"image_24012025_16_16_02_741086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65a31204ba646f23bee9b6798426e220.jpg","text":"TemporaryFile(/tmp/multipartBody4169776395029000742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738357888,"filename":"image_24012025_16_15_02_572251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b25ac5c6097ae43e746506201c810a2d.jpg","text":"TemporaryFile(/tmp/multipartBody2831890395465612165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738357888,"filename":"image_24012025_16_15_02_572251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/49ada749505912c0de9e33a1c8e646f0.jpg","text":"TemporaryFile(/tmp/multipartBody1051942648356165396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738357888,"filename":"image_24012025_16_14_02_323923_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aff5fc117484589fb435be15dfb3b1b1.jpg","text":"TemporaryFile(/tmp/multipartBody3670333206946698676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738357888,"filename":"image_24012025_16_15_02_572251_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331098746","file1":"1331098726","file0":"1331098689","file4":"1331098800","file5":"1331098808","file3":"1331098788"},"map_files_photo_id_array":[{"photo_id":"1331098808","filename":"file5"},{"photo_id":"1331098746","filename":"file2"},{"photo_id":"1331098800","filename":"file4"},{"photo_id":"1331098726","filename":"file1"},{"photo_id":"1331098689","filename":"file0"},{"photo_id":"1331098788","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331098800":["hashtag1","hashtag2"]},{"1331098808":["hashtag1","hashtag2"]},{"1331098788":["hashtag1","hashtag2"]},{"1331098726":["hashtag1","hashtag2"]},{"1331098689":["hashtag1","hashtag2"]},{"1331098746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331098800, 1331098808, 1331098788, 1331098726, 1331098689, 1331098746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.60548853874207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:06:21.892604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/16/image_24012025_16_16_02_741086_0001.jpg', '/home/pi/Desktop/images/24012025/16/16/image_24012025_16_16_02_741086_0002.jpg', '/home/pi/Desktop/images/24012025/16/16/image_24012025_16_16_02_741086_0003.jpg', '/home/pi/Desktop/images/24012025/16/17/image_24012025_16_17_02_967063_0000.jpg', '/home/pi/Desktop/images/24012025/16/17/image_24012025_16_17_02_967063_0001.jpg', '/home/pi/Desktop/images/24012025/16/17/image_24012025_16_17_02_967063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/16/image_24012025_16_16_02_741086_0001.jpg
/home/pi/Desktop/images/24012025/16/16/image_24012025_16_16_02_741086_0002.jpg
/home/pi/Desktop/images/24012025/16/16/image_24012025_16_16_02_741086_0003.jpg
/home/pi/Desktop/images/24012025/16/17/image_24012025_16_17_02_967063_0000.jpg
/home/pi/Desktop/images/24012025/16/17/image_24012025_16_17_02_967063_0001.jpg
/home/pi/Desktop/images/24012025/16/17/image_24012025_16_17_02_967063_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331099563","1331099575","1331099569","1331099589","1331099585","1331099579"],"photo_ids_order":["1331099563","1331099569","1331099575","1331099579","1331099585","1331099589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/94fed0b33481d836439d26d73cbe33c9.jpg","text":"TemporaryFile(/tmp/multipartBody6618385818531160416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738479272,"filename":"image_24012025_16_16_02_741086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/088d5954c1194db36f6ae944595f0142.jpg","text":"TemporaryFile(/tmp/multipartBody5586748857981343917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738479272,"filename":"image_24012025_16_16_02_741086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0299a3a08a50cdd79b64e50b454a05cc.jpg","text":"TemporaryFile(/tmp/multipartBody7376761499070250216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738479272,"filename":"image_24012025_16_16_02_741086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d43bdd158ebffa7c1fd577d74f1a9c7.jpg","text":"TemporaryFile(/tmp/multipartBody8690703875160147000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738479272,"filename":"image_24012025_16_17_02_967063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f0b998e08d753a28bc629d52b4ccb75.jpg","text":"TemporaryFile(/tmp/multipartBody3099005953862626353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738479272,"filename":"image_24012025_16_17_02_967063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b671a971c464b02e301b022ec543d3d0.jpg","text":"TemporaryFile(/tmp/multipartBody1714420542007935299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738479272,"filename":"image_24012025_16_17_02_967063_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331099575","file1":"1331099569","file0":"1331099563","file4":"1331099585","file5":"1331099589","file3":"1331099579"},"map_files_photo_id_array":[{"photo_id":"1331099589","filename":"file5"},{"photo_id":"1331099575","filename":"file2"},{"photo_id":"1331099585","filename":"file4"},{"photo_id":"1331099569","filename":"file1"},{"photo_id":"1331099563","filename":"file0"},{"photo_id":"1331099579","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331099563":["hashtag1","hashtag2"]},{"1331099575":["hashtag1","hashtag2"]},{"1331099569":["hashtag1","hashtag2"]},{"1331099589":["hashtag1","hashtag2"]},{"1331099585":["hashtag1","hashtag2"]},{"1331099579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331099563, 1331099575, 1331099569, 1331099589, 1331099585, 1331099579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.01401162147522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 18:08:02.674681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/17/image_24012025_16_17_02_967063_0003.jpg', '/home/pi/Desktop/images/24012025/16/18/image_24012025_16_18_03_091157_0000.jpg', '/home/pi/Desktop/images/24012025/16/18/image_24012025_16_18_03_091157_0001.jpg', '/home/pi/Desktop/images/24012025/16/18/image_24012025_16_18_03_091157_0002.jpg', '/home/pi/Desktop/images/24012025/16/18/image_24012025_16_18_03_091157_0003.jpg', '/home/pi/Desktop/images/24012025/16/19/image_24012025_16_19_02_255311_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/17/image_24012025_16_17_02_967063_0003.jpg
/home/pi/Desktop/images/24012025/16/18/image_24012025_16_18_03_091157_0000.jpg
/home/pi/Desktop/images/24012025/16/18/image_24012025_16_18_03_091157_0001.jpg
/home/pi/Desktop/images/24012025/16/18/image_24012025_16_18_03_091157_0002.jpg
/home/pi/Desktop/images/24012025/16/18/image_24012025_16_18_03_091157_0003.jpg
/home/pi/Desktop/images/24012025/16/19/image_24012025_16_19_02_255311_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331099972","1331099942","1331100100","1331100016","1331100013","1331100137"],"photo_ids_order":["1331099942","1331099972","1331100013","1331100016","1331100100","1331100137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3d93d46e28e3c47246e039bf83261552.jpg","text":"TemporaryFile(/tmp/multipartBody6988790261883462505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738585288,"filename":"image_24012025_16_18_03_091157_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06e9bf1ba8c1941570693718b2ddba2b.jpg","text":"TemporaryFile(/tmp/multipartBody4757478949632069225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738585288,"filename":"image_24012025_16_17_02_967063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c480c38e61a70c605c27fcad4910a8e4.jpg","text":"TemporaryFile(/tmp/multipartBody3067518072984360446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738585288,"filename":"image_24012025_16_18_03_091157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8203d735d15a3d20e45a4a5287eb2e14.jpg","text":"TemporaryFile(/tmp/multipartBody3802284815523470721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738585288,"filename":"image_24012025_16_18_03_091157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d43852fa302c6470626b35059fdcf5af.jpg","text":"TemporaryFile(/tmp/multipartBody6407206363267127105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738585288,"filename":"image_24012025_16_18_03_091157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c988ec40446badf5a7383d20118a96cf.jpg","text":"TemporaryFile(/tmp/multipartBody6561956835792996358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738585288,"filename":"image_24012025_16_19_02_255311_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331100013","file1":"1331099972","file0":"1331099942","file4":"1331100100","file5":"1331100137","file3":"1331100016"},"map_files_photo_id_array":[{"photo_id":"1331100137","filename":"file5"},{"photo_id":"1331100013","filename":"file2"},{"photo_id":"1331100100","filename":"file4"},{"photo_id":"1331099972","filename":"file1"},{"photo_id":"1331099942","filename":"file0"},{"photo_id":"1331100016","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331099972":["hashtag1","hashtag2"]},{"1331099942":["hashtag1","hashtag2"]},{"1331100100":["hashtag1","hashtag2"]},{"1331100016":["hashtag1","hashtag2"]},{"1331100013":["hashtag1","hashtag2"]},{"1331100137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331099972, 1331099942, 1331100100, 1331100016, 1331100013, 1331100137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 110.98862671852112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 18:10:03.100634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/19/image_24012025_16_19_02_255311_0001.jpg', '/home/pi/Desktop/images/24012025/16/19/image_24012025_16_19_02_255311_0002.jpg', '/home/pi/Desktop/images/24012025/16/19/image_24012025_16_19_02_255311_0003.jpg', '/home/pi/Desktop/images/24012025/16/20/image_24012025_16_20_02_421941_0000.jpg', '/home/pi/Desktop/images/24012025/16/20/image_24012025_16_20_02_421941_0001.jpg', '/home/pi/Desktop/images/24012025/16/20/image_24012025_16_20_02_421941_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/19/image_24012025_16_19_02_255311_0001.jpg
/home/pi/Desktop/images/24012025/16/19/image_24012025_16_19_02_255311_0002.jpg
/home/pi/Desktop/images/24012025/16/19/image_24012025_16_19_02_255311_0003.jpg
/home/pi/Desktop/images/24012025/16/20/image_24012025_16_20_02_421941_0000.jpg
/home/pi/Desktop/images/24012025/16/20/image_24012025_16_20_02_421941_0001.jpg
/home/pi/Desktop/images/24012025/16/20/image_24012025_16_20_02_421941_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331100308","1331100322","1331100316","1331100301","1331100294","1331100297"],"photo_ids_order":["1331100294","1331100297","1331100301","1331100308","1331100316","1331100322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b14acbc6b9aefed9d49aa089d41fe6f.jpg","text":"TemporaryFile(/tmp/multipartBody2759597676513471899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738704994,"filename":"image_24012025_16_20_02_421941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/451ad0ec6657598f3672d2a31629bf7c.jpg","text":"TemporaryFile(/tmp/multipartBody6668689706503514440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738704994,"filename":"image_24012025_16_20_02_421941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f158946a441f81af772bc6950b6e4721.jpg","text":"TemporaryFile(/tmp/multipartBody5049657377082383683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738704994,"filename":"image_24012025_16_20_02_421941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/09d340a897639b9c6303140f7b167035.jpg","text":"TemporaryFile(/tmp/multipartBody8029651164557487464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738704994,"filename":"image_24012025_16_19_02_255311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d1b605719c781ed52f8610f97ad103b.jpg","text":"TemporaryFile(/tmp/multipartBody7346363897520387262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738704994,"filename":"image_24012025_16_19_02_255311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/751e197f57ffe531fb9663571a160a9f.jpg","text":"TemporaryFile(/tmp/multipartBody9008717818536080184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738704994,"filename":"image_24012025_16_19_02_255311_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331100301","file1":"1331100297","file0":"1331100294","file4":"1331100316","file5":"1331100322","file3":"1331100308"},"map_files_photo_id_array":[{"photo_id":"1331100322","filename":"file5"},{"photo_id":"1331100301","filename":"file2"},{"photo_id":"1331100316","filename":"file4"},{"photo_id":"1331100297","filename":"file1"},{"photo_id":"1331100294","filename":"file0"},{"photo_id":"1331100308","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331100308":["hashtag1","hashtag2"]},{"1331100322":["hashtag1","hashtag2"]},{"1331100316":["hashtag1","hashtag2"]},{"1331100301":["hashtag1","hashtag2"]},{"1331100294":["hashtag1","hashtag2"]},{"1331100297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331100308, 1331100322, 1331100316, 1331100301, 1331100294, 1331100297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.31652188301086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 18:11:41.847506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/20/image_24012025_16_20_02_421941_0003.jpg', '/home/pi/Desktop/images/24012025/16/21/image_24012025_16_21_02_650156_0000.jpg', '/home/pi/Desktop/images/24012025/16/21/image_24012025_16_21_02_650156_0001.jpg', '/home/pi/Desktop/images/24012025/16/21/image_24012025_16_21_02_650156_0002.jpg', '/home/pi/Desktop/images/24012025/16/21/image_24012025_16_21_02_650156_0003.jpg', '/home/pi/Desktop/images/24012025/16/22/image_24012025_16_22_02_845641_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/20/image_24012025_16_20_02_421941_0003.jpg
/home/pi/Desktop/images/24012025/16/21/image_24012025_16_21_02_650156_0000.jpg
/home/pi/Desktop/images/24012025/16/21/image_24012025_16_21_02_650156_0001.jpg
/home/pi/Desktop/images/24012025/16/21/image_24012025_16_21_02_650156_0002.jpg
/home/pi/Desktop/images/24012025/16/21/image_24012025_16_21_02_650156_0003.jpg
/home/pi/Desktop/images/24012025/16/22/image_24012025_16_22_02_845641_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331100376","1331100463","1331100367","1331100446","1331100404","1331100388"],"photo_ids_order":["1331100367","1331100376","1331100388","1331100404","1331100446","1331100463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a26f382953aa50ca4a4a8d3717db5bd.jpg","text":"TemporaryFile(/tmp/multipartBody5033601619531071686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738798912,"filename":"image_24012025_16_21_02_650156_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a807b522dfed34e957fa6f8b866395fa.jpg","text":"TemporaryFile(/tmp/multipartBody6933154097524707963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738798912,"filename":"image_24012025_16_22_02_845641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8ea17cdf5ef41dd98a06136fa464cb57.jpg","text":"TemporaryFile(/tmp/multipartBody4351754277819042502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738798912,"filename":"image_24012025_16_20_02_421941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e3b63f365970d0529d48d23b13881b6a.jpg","text":"TemporaryFile(/tmp/multipartBody5686830559167862700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738798912,"filename":"image_24012025_16_21_02_650156_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4099eb93f5a46fd37a2a58399edde31c.jpg","text":"TemporaryFile(/tmp/multipartBody7321927347808772774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738798912,"filename":"image_24012025_16_21_02_650156_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fee58a7544d36f92ca457fce0cc80a65.jpg","text":"TemporaryFile(/tmp/multipartBody480784840318969210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738798912,"filename":"image_24012025_16_21_02_650156_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331100388","file1":"1331100376","file0":"1331100367","file4":"1331100446","file5":"1331100463","file3":"1331100404"},"map_files_photo_id_array":[{"photo_id":"1331100463","filename":"file5"},{"photo_id":"1331100388","filename":"file2"},{"photo_id":"1331100446","filename":"file4"},{"photo_id":"1331100376","filename":"file1"},{"photo_id":"1331100367","filename":"file0"},{"photo_id":"1331100404","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331100376":["hashtag1","hashtag2"]},{"1331100463":["hashtag1","hashtag2"]},{"1331100367":["hashtag1","hashtag2"]},{"1331100446":["hashtag1","hashtag2"]},{"1331100404":["hashtag1","hashtag2"]},{"1331100388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331100376, 1331100463, 1331100367, 1331100446, 1331100404, 1331100388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.00377631187439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:13:22.313755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/22/image_24012025_16_22_02_845641_0001.jpg', '/home/pi/Desktop/images/24012025/16/22/image_24012025_16_22_02_845641_0002.jpg', '/home/pi/Desktop/images/24012025/16/22/image_24012025_16_22_02_845641_0003.jpg', '/home/pi/Desktop/images/24012025/16/23/image_24012025_16_23_03_038240_0000.jpg', '/home/pi/Desktop/images/24012025/16/23/image_24012025_16_23_03_038240_0001.jpg', '/home/pi/Desktop/images/24012025/16/23/image_24012025_16_23_03_038240_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/22/image_24012025_16_22_02_845641_0001.jpg
/home/pi/Desktop/images/24012025/16/22/image_24012025_16_22_02_845641_0002.jpg
/home/pi/Desktop/images/24012025/16/22/image_24012025_16_22_02_845641_0003.jpg
/home/pi/Desktop/images/24012025/16/23/image_24012025_16_23_03_038240_0000.jpg
/home/pi/Desktop/images/24012025/16/23/image_24012025_16_23_03_038240_0001.jpg
/home/pi/Desktop/images/24012025/16/23/image_24012025_16_23_03_038240_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331100583","1331100547","1331100579","1331100567","1331100555","1331100539"],"photo_ids_order":["1331100539","1331100547","1331100555","1331100567","1331100579","1331100583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7bd088ee68d59a9ecb0f8378162222d.jpg","text":"TemporaryFile(/tmp/multipartBody6980554820423330001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738906240,"filename":"image_24012025_16_23_03_038240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b98d71963ec638031caae56fc594c423.jpg","text":"TemporaryFile(/tmp/multipartBody7348463546026554038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738906240,"filename":"image_24012025_16_22_02_845641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37617d146910c54cdaf8613c7b40d4f8.jpg","text":"TemporaryFile(/tmp/multipartBody4492561034486927288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738906240,"filename":"image_24012025_16_23_03_038240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/387d7794ee2708a3842ca5466be3ac13.jpg","text":"TemporaryFile(/tmp/multipartBody6858911526202598232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738906240,"filename":"image_24012025_16_23_03_038240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b250d8a44d973793073d2b2eacf4514.jpg","text":"TemporaryFile(/tmp/multipartBody2363552143931442299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738906240,"filename":"image_24012025_16_22_02_845641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/53313b893edd45b26d77271c6cdaa93b.jpg","text":"TemporaryFile(/tmp/multipartBody5047120219589987920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737738906240,"filename":"image_24012025_16_22_02_845641_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331100555","file1":"1331100547","file0":"1331100539","file4":"1331100579","file5":"1331100583","file3":"1331100567"},"map_files_photo_id_array":[{"photo_id":"1331100583","filename":"file5"},{"photo_id":"1331100555","filename":"file2"},{"photo_id":"1331100579","filename":"file4"},{"photo_id":"1331100547","filename":"file1"},{"photo_id":"1331100539","filename":"file0"},{"photo_id":"1331100567","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331100583":["hashtag1","hashtag2"]},{"1331100547":["hashtag1","hashtag2"]},{"1331100579":["hashtag1","hashtag2"]},{"1331100567":["hashtag1","hashtag2"]},{"1331100555":["hashtag1","hashtag2"]},{"1331100539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331100583, 1331100547, 1331100579, 1331100567, 1331100555, 1331100539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.21474361419678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 18:15:03.223517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/23/image_24012025_16_23_03_038240_0003.jpg', '/home/pi/Desktop/images/24012025/16/24/image_24012025_16_24_02_163773_0000.jpg', '/home/pi/Desktop/images/24012025/16/24/image_24012025_16_24_02_163773_0001.jpg', '/home/pi/Desktop/images/24012025/16/24/image_24012025_16_24_02_163773_0002.jpg', '/home/pi/Desktop/images/24012025/16/24/image_24012025_16_24_02_163773_0003.jpg', '/home/pi/Desktop/images/24012025/16/25/image_24012025_16_25_02_326693_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/23/image_24012025_16_23_03_038240_0003.jpg
/home/pi/Desktop/images/24012025/16/24/image_24012025_16_24_02_163773_0000.jpg
/home/pi/Desktop/images/24012025/16/24/image_24012025_16_24_02_163773_0001.jpg
/home/pi/Desktop/images/24012025/16/24/image_24012025_16_24_02_163773_0002.jpg
/home/pi/Desktop/images/24012025/16/24/image_24012025_16_24_02_163773_0003.jpg
/home/pi/Desktop/images/24012025/16/25/image_24012025_16_25_02_326693_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331100640","1331100634","1331100637","1331100808","1331100764","1331100670"],"photo_ids_order":["1331100634","1331100637","1331100640","1331100670","1331100764","1331100808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/71cbfb316212aebd2bd5284a1f2bb4dd.jpg","text":"TemporaryFile(/tmp/multipartBody5467933337717907818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739009761,"filename":"image_24012025_16_24_02_163773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10ff3f3c7418bc9b349d94148374e4b8.jpg","text":"TemporaryFile(/tmp/multipartBody2293243327263189556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739009761,"filename":"image_24012025_16_23_03_038240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eac97ada3133a4e3e9779d0b50763a44.jpg","text":"TemporaryFile(/tmp/multipartBody4363430662846549712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739009761,"filename":"image_24012025_16_24_02_163773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5d04cbe47ade7903c9418e29cc00e333.jpg","text":"TemporaryFile(/tmp/multipartBody6495350199684391725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739009761,"filename":"image_24012025_16_25_02_326693_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1583fadb3ead619bf29420878f6e610f.jpg","text":"TemporaryFile(/tmp/multipartBody8843033462427172165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739009761,"filename":"image_24012025_16_24_02_163773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f33f4ba195cd4dff7af8c9b77ccb20df.jpg","text":"TemporaryFile(/tmp/multipartBody3563372660884025435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739009761,"filename":"image_24012025_16_24_02_163773_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331100640","file1":"1331100637","file0":"1331100634","file4":"1331100764","file5":"1331100808","file3":"1331100670"},"map_files_photo_id_array":[{"photo_id":"1331100808","filename":"file5"},{"photo_id":"1331100640","filename":"file2"},{"photo_id":"1331100764","filename":"file4"},{"photo_id":"1331100637","filename":"file1"},{"photo_id":"1331100634","filename":"file0"},{"photo_id":"1331100670","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331100640":["hashtag1","hashtag2"]},{"1331100634":["hashtag1","hashtag2"]},{"1331100637":["hashtag1","hashtag2"]},{"1331100808":["hashtag1","hashtag2"]},{"1331100764":["hashtag1","hashtag2"]},{"1331100670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331100640, 1331100634, 1331100637, 1331100808, 1331100764, 1331100670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 116.09230327606201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 18:17:02.617153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/25/image_24012025_16_25_02_326693_0001.jpg', '/home/pi/Desktop/images/24012025/16/25/image_24012025_16_25_02_326693_0002.jpg', '/home/pi/Desktop/images/24012025/16/25/image_24012025_16_25_02_326693_0003.jpg', '/home/pi/Desktop/images/24012025/16/26/image_24012025_16_26_02_589980_0000.jpg', '/home/pi/Desktop/images/24012025/16/26/image_24012025_16_26_02_589980_0001.jpg', '/home/pi/Desktop/images/24012025/16/26/image_24012025_16_26_02_589980_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/25/image_24012025_16_25_02_326693_0001.jpg
/home/pi/Desktop/images/24012025/16/25/image_24012025_16_25_02_326693_0002.jpg
/home/pi/Desktop/images/24012025/16/25/image_24012025_16_25_02_326693_0003.jpg
/home/pi/Desktop/images/24012025/16/26/image_24012025_16_26_02_589980_0000.jpg
/home/pi/Desktop/images/24012025/16/26/image_24012025_16_26_02_589980_0001.jpg
/home/pi/Desktop/images/24012025/16/26/image_24012025_16_26_02_589980_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331101135","1331101199","1331101232","1331101243","1331101222","1331101159"],"photo_ids_order":["1331101135","1331101159","1331101199","1331101222","1331101232","1331101243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eeece30e83710425683ab687b5d601b2.jpg","text":"TemporaryFile(/tmp/multipartBody5120628778525894237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739127402,"filename":"image_24012025_16_25_02_326693_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/85860b2cd658e266da4f9c78409fc50a.jpg","text":"TemporaryFile(/tmp/multipartBody3645914931522147577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739127402,"filename":"image_24012025_16_25_02_326693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9afc6f6a56ff4b4fb4269460fd29c208.jpg","text":"TemporaryFile(/tmp/multipartBody566847735457893982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739127402,"filename":"image_24012025_16_26_02_589980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4222a4e38172de0b166256f490de85b9.jpg","text":"TemporaryFile(/tmp/multipartBody6936907386051144906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739127402,"filename":"image_24012025_16_26_02_589980_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28c119988a6e7813f68a50158ac77010.jpg","text":"TemporaryFile(/tmp/multipartBody8635343185905468845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739127402,"filename":"image_24012025_16_26_02_589980_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4246a1f5d1ac7db67684740a5839d129.jpg","text":"TemporaryFile(/tmp/multipartBody8648147483944523278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739127402,"filename":"image_24012025_16_25_02_326693_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331101199","file1":"1331101159","file0":"1331101135","file4":"1331101232","file5":"1331101243","file3":"1331101222"},"map_files_photo_id_array":[{"photo_id":"1331101243","filename":"file5"},{"photo_id":"1331101199","filename":"file2"},{"photo_id":"1331101232","filename":"file4"},{"photo_id":"1331101159","filename":"file1"},{"photo_id":"1331101135","filename":"file0"},{"photo_id":"1331101222","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331101135":["hashtag1","hashtag2"]},{"1331101199":["hashtag1","hashtag2"]},{"1331101232":["hashtag1","hashtag2"]},{"1331101243":["hashtag1","hashtag2"]},{"1331101222":["hashtag1","hashtag2"]},{"1331101159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331101135, 1331101199, 1331101232, 1331101243, 1331101222, 1331101159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 109.49177122116089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 18:19:02.824254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/26/image_24012025_16_26_02_589980_0003.jpg', '/home/pi/Desktop/images/24012025/16/27/image_24012025_16_27_02_713250_0000.jpg', '/home/pi/Desktop/images/24012025/16/27/image_24012025_16_27_02_713250_0001.jpg', '/home/pi/Desktop/images/24012025/16/27/image_24012025_16_27_02_713250_0002.jpg', '/home/pi/Desktop/images/24012025/16/27/image_24012025_16_27_02_713250_0003.jpg', '/home/pi/Desktop/images/24012025/16/28/image_24012025_16_28_03_009422_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/26/image_24012025_16_26_02_589980_0003.jpg
/home/pi/Desktop/images/24012025/16/27/image_24012025_16_27_02_713250_0000.jpg
/home/pi/Desktop/images/24012025/16/27/image_24012025_16_27_02_713250_0001.jpg
/home/pi/Desktop/images/24012025/16/27/image_24012025_16_27_02_713250_0002.jpg
/home/pi/Desktop/images/24012025/16/27/image_24012025_16_27_02_713250_0003.jpg
/home/pi/Desktop/images/24012025/16/28/image_24012025_16_28_03_009422_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331101414","1331101365","1331101368","1331101353","1331101376","1331101360"],"photo_ids_order":["1331101353","1331101360","1331101365","1331101368","1331101376","1331101414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0709807f431c6063ff369ed023c68ef.jpg","text":"TemporaryFile(/tmp/multipartBody2879562378486907898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739247073,"filename":"image_24012025_16_28_03_009422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b3ade0e86e725d294397377212de34db.jpg","text":"TemporaryFile(/tmp/multipartBody1725581351043458821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739247073,"filename":"image_24012025_16_27_02_713250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b1a3a579c16da0eee6b68e5f15073584.jpg","text":"TemporaryFile(/tmp/multipartBody1143332335478333794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739247073,"filename":"image_24012025_16_27_02_713250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a679610ff799cdd67499ae34909094de.jpg","text":"TemporaryFile(/tmp/multipartBody8949301305930240250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739247073,"filename":"image_24012025_16_26_02_589980_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/62676db48ad5ed4725d85a6f70960a2b.jpg","text":"TemporaryFile(/tmp/multipartBody7003305732172153749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739247073,"filename":"image_24012025_16_27_02_713250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/68baa8a8c1fd3ea85a002edd6b118a98.jpg","text":"TemporaryFile(/tmp/multipartBody8051410923270904061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739247073,"filename":"image_24012025_16_27_02_713250_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331101365","file1":"1331101360","file0":"1331101353","file4":"1331101376","file5":"1331101414","file3":"1331101368"},"map_files_photo_id_array":[{"photo_id":"1331101414","filename":"file5"},{"photo_id":"1331101365","filename":"file2"},{"photo_id":"1331101376","filename":"file4"},{"photo_id":"1331101360","filename":"file1"},{"photo_id":"1331101353","filename":"file0"},{"photo_id":"1331101368","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331101414":["hashtag1","hashtag2"]},{"1331101365":["hashtag1","hashtag2"]},{"1331101368":["hashtag1","hashtag2"]},{"1331101353":["hashtag1","hashtag2"]},{"1331101376":["hashtag1","hashtag2"]},{"1331101360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331101414, 1331101365, 1331101368, 1331101353, 1331101376, 1331101360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 120.181565284729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:21:22.555190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/28/image_24012025_16_28_03_009422_0001.jpg', '/home/pi/Desktop/images/24012025/16/28/image_24012025_16_28_03_009422_0002.jpg', '/home/pi/Desktop/images/24012025/16/28/image_24012025_16_28_03_009422_0003.jpg', '/home/pi/Desktop/images/24012025/16/29/image_24012025_16_29_03_123609_0000.jpg', '/home/pi/Desktop/images/24012025/16/29/image_24012025_16_29_03_123609_0001.jpg', '/home/pi/Desktop/images/24012025/16/29/image_24012025_16_29_03_123609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/28/image_24012025_16_28_03_009422_0001.jpg
/home/pi/Desktop/images/24012025/16/28/image_24012025_16_28_03_009422_0002.jpg
/home/pi/Desktop/images/24012025/16/28/image_24012025_16_28_03_009422_0003.jpg
/home/pi/Desktop/images/24012025/16/29/image_24012025_16_29_03_123609_0000.jpg
/home/pi/Desktop/images/24012025/16/29/image_24012025_16_29_03_123609_0001.jpg
/home/pi/Desktop/images/24012025/16/29/image_24012025_16_29_03_123609_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331101816","1331101746","1331101806","1331101670","1331101664","1331101811"],"photo_ids_order":["1331101664","1331101670","1331101746","1331101806","1331101811","1331101816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/284937ba66ecacb9ece96499d652808a.jpg","text":"TemporaryFile(/tmp/multipartBody1060743740761405026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739392944,"filename":"image_24012025_16_29_03_123609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9af3778d5645389d608b5af7c6161220.jpg","text":"TemporaryFile(/tmp/multipartBody1556169125775232352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739392944,"filename":"image_24012025_16_28_03_009422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec6f3b0a450496ae2902590734ac1e46.jpg","text":"TemporaryFile(/tmp/multipartBody5465063929911227438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739392944,"filename":"image_24012025_16_29_03_123609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1c88178270a8942d0f1f22b87fb2e916.jpg","text":"TemporaryFile(/tmp/multipartBody7735191351974924734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739392944,"filename":"image_24012025_16_28_03_009422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c7650120c1bbb9a50cda6e2a3fa958f.jpg","text":"TemporaryFile(/tmp/multipartBody4384793978671961028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739392944,"filename":"image_24012025_16_28_03_009422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5071fd5929065ff54f8b163ce683b56f.jpg","text":"TemporaryFile(/tmp/multipartBody2517806104702050092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739392944,"filename":"image_24012025_16_29_03_123609_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331101746","file1":"1331101670","file0":"1331101664","file4":"1331101811","file5":"1331101816","file3":"1331101806"},"map_files_photo_id_array":[{"photo_id":"1331101816","filename":"file5"},{"photo_id":"1331101746","filename":"file2"},{"photo_id":"1331101811","filename":"file4"},{"photo_id":"1331101670","filename":"file1"},{"photo_id":"1331101664","filename":"file0"},{"photo_id":"1331101806","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331101816":["hashtag1","hashtag2"]},{"1331101746":["hashtag1","hashtag2"]},{"1331101806":["hashtag1","hashtag2"]},{"1331101670":["hashtag1","hashtag2"]},{"1331101664":["hashtag1","hashtag2"]},{"1331101811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331101816, 1331101746, 1331101806, 1331101670, 1331101664, 1331101811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.49659824371338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:23:21.903445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/29/image_24012025_16_29_03_123609_0003.jpg', '/home/pi/Desktop/images/24012025/16/30/image_24012025_16_30_02_366274_0000.jpg', '/home/pi/Desktop/images/24012025/16/30/image_24012025_16_30_02_366274_0001.jpg', '/home/pi/Desktop/images/24012025/16/30/image_24012025_16_30_02_366274_0002.jpg', '/home/pi/Desktop/images/24012025/16/30/image_24012025_16_30_02_366274_0003.jpg', '/home/pi/Desktop/images/24012025/16/31/image_24012025_16_31_02_538434_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/29/image_24012025_16_29_03_123609_0003.jpg
/home/pi/Desktop/images/24012025/16/30/image_24012025_16_30_02_366274_0000.jpg
/home/pi/Desktop/images/24012025/16/30/image_24012025_16_30_02_366274_0001.jpg
/home/pi/Desktop/images/24012025/16/30/image_24012025_16_30_02_366274_0002.jpg
/home/pi/Desktop/images/24012025/16/30/image_24012025_16_30_02_366274_0003.jpg
/home/pi/Desktop/images/24012025/16/31/image_24012025_16_31_02_538434_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331101851","1331101845","1331101874","1331101879","1331101858","1331101867"],"photo_ids_order":["1331101845","1331101851","1331101858","1331101867","1331101874","1331101879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a17f582104ee9275c00347af22d5f103.jpg","text":"TemporaryFile(/tmp/multipartBody5250974502489190705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739496659,"filename":"image_24012025_16_30_02_366274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/df7a02d042eea94c87c5da32a56accac.jpg","text":"TemporaryFile(/tmp/multipartBody2127994889097637718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739496659,"filename":"image_24012025_16_29_03_123609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc8cc64ed7aa863e1afeb00416e5fd43.jpg","text":"TemporaryFile(/tmp/multipartBody5681647094826354589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739496659,"filename":"image_24012025_16_30_02_366274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a084ca245158ad8734761e067535cee9.jpg","text":"TemporaryFile(/tmp/multipartBody2710060032115022502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739496659,"filename":"image_24012025_16_31_02_538434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/076fc5583ab2a197c45336d4d709957a.jpg","text":"TemporaryFile(/tmp/multipartBody5196804151727811637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739496659,"filename":"image_24012025_16_30_02_366274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5e628f47e1d16bdf9295f7ede2284a77.jpg","text":"TemporaryFile(/tmp/multipartBody2669908791218461398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739496659,"filename":"image_24012025_16_30_02_366274_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331101858","file1":"1331101851","file0":"1331101845","file4":"1331101874","file5":"1331101879","file3":"1331101867"},"map_files_photo_id_array":[{"photo_id":"1331101879","filename":"file5"},{"photo_id":"1331101858","filename":"file2"},{"photo_id":"1331101874","filename":"file4"},{"photo_id":"1331101851","filename":"file1"},{"photo_id":"1331101845","filename":"file0"},{"photo_id":"1331101867","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331101851":["hashtag1","hashtag2"]},{"1331101845":["hashtag1","hashtag2"]},{"1331101874":["hashtag1","hashtag2"]},{"1331101879":["hashtag1","hashtag2"]},{"1331101858":["hashtag1","hashtag2"]},{"1331101867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331101851, 1331101845, 1331101874, 1331101879, 1331101858, 1331101867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.5980761051178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:25:22.352709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/31/image_24012025_16_31_02_538434_0001.jpg', '/home/pi/Desktop/images/24012025/16/31/image_24012025_16_31_02_538434_0002.jpg', '/home/pi/Desktop/images/24012025/16/31/image_24012025_16_31_02_538434_0003.jpg', '/home/pi/Desktop/images/24012025/16/32/image_24012025_16_32_02_661208_0000.jpg', '/home/pi/Desktop/images/24012025/16/32/image_24012025_16_32_02_661208_0001.jpg', '/home/pi/Desktop/images/24012025/16/32/image_24012025_16_32_02_661208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/31/image_24012025_16_31_02_538434_0001.jpg
/home/pi/Desktop/images/24012025/16/31/image_24012025_16_31_02_538434_0002.jpg
/home/pi/Desktop/images/24012025/16/31/image_24012025_16_31_02_538434_0003.jpg
/home/pi/Desktop/images/24012025/16/32/image_24012025_16_32_02_661208_0000.jpg
/home/pi/Desktop/images/24012025/16/32/image_24012025_16_32_02_661208_0001.jpg
/home/pi/Desktop/images/24012025/16/32/image_24012025_16_32_02_661208_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331101968","1331101961","1331101943","1331101955","1331101949","1331101940"],"photo_ids_order":["1331101940","1331101943","1331101949","1331101955","1331101961","1331101968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/336a9c0bd1fa093a7399168ef4f4215a.jpg","text":"TemporaryFile(/tmp/multipartBody7155617823844477015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739627603,"filename":"image_24012025_16_32_02_661208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e585f57cf4ce5f70e1fe1589cd846365.jpg","text":"TemporaryFile(/tmp/multipartBody3050924232183813765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739627603,"filename":"image_24012025_16_32_02_661208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb7844f434f6d015b27ca4ee71d40db6.jpg","text":"TemporaryFile(/tmp/multipartBody4011417997824451692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739627603,"filename":"image_24012025_16_31_02_538434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c879a8b38545a467afb84dd59eb52cd2.jpg","text":"TemporaryFile(/tmp/multipartBody5370724404425600437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739627603,"filename":"image_24012025_16_32_02_661208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f3ff5811deffd425dcc8e0b7d13a0f8.jpg","text":"TemporaryFile(/tmp/multipartBody6509581178740567545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739627603,"filename":"image_24012025_16_31_02_538434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9e0ef80748cb2900d3f5fbd1f2198218.jpg","text":"TemporaryFile(/tmp/multipartBody3520311777404075307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739627603,"filename":"image_24012025_16_31_02_538434_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331101949","file1":"1331101943","file0":"1331101940","file4":"1331101961","file5":"1331101968","file3":"1331101955"},"map_files_photo_id_array":[{"photo_id":"1331101968","filename":"file5"},{"photo_id":"1331101949","filename":"file2"},{"photo_id":"1331101961","filename":"file4"},{"photo_id":"1331101943","filename":"file1"},{"photo_id":"1331101940","filename":"file0"},{"photo_id":"1331101955","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331101968":["hashtag1","hashtag2"]},{"1331101961":["hashtag1","hashtag2"]},{"1331101943":["hashtag1","hashtag2"]},{"1331101955":["hashtag1","hashtag2"]},{"1331101949":["hashtag1","hashtag2"]},{"1331101940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331101968, 1331101961, 1331101943, 1331101955, 1331101949, 1331101940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 112.26423048973083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:27:22.664544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/32/image_24012025_16_32_02_661208_0003.jpg', '/home/pi/Desktop/images/24012025/16/33/image_24012025_16_33_02_884501_0000.jpg', '/home/pi/Desktop/images/24012025/16/33/image_24012025_16_33_02_884501_0001.jpg', '/home/pi/Desktop/images/24012025/16/33/image_24012025_16_33_02_884501_0002.jpg', '/home/pi/Desktop/images/24012025/16/33/image_24012025_16_33_02_884501_0003.jpg', '/home/pi/Desktop/images/24012025/16/34/image_24012025_16_34_03_082090_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/32/image_24012025_16_32_02_661208_0003.jpg
/home/pi/Desktop/images/24012025/16/33/image_24012025_16_33_02_884501_0000.jpg
/home/pi/Desktop/images/24012025/16/33/image_24012025_16_33_02_884501_0001.jpg
/home/pi/Desktop/images/24012025/16/33/image_24012025_16_33_02_884501_0002.jpg
/home/pi/Desktop/images/24012025/16/33/image_24012025_16_33_02_884501_0003.jpg
/home/pi/Desktop/images/24012025/16/34/image_24012025_16_34_03_082090_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331102964","1331102946","1331102622","1331102918","1331102977","1331102956"],"photo_ids_order":["1331102622","1331102918","1331102946","1331102956","1331102964","1331102977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/920be787bfe32b44b0353fb4f85c2581.jpg","text":"TemporaryFile(/tmp/multipartBody1916048291494631702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739739890,"filename":"image_24012025_16_33_02_884501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a5492f644b16a0dc0b45f340c65a29b6.jpg","text":"TemporaryFile(/tmp/multipartBody8067128374249981045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739739890,"filename":"image_24012025_16_33_02_884501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f65f6cbb71f00e7119714ccce0d455c1.jpg","text":"TemporaryFile(/tmp/multipartBody1185358930697406177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739739890,"filename":"image_24012025_16_32_02_661208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b172b2c838d91b304c78e6d41aadbd3.jpg","text":"TemporaryFile(/tmp/multipartBody9166238141928309748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739739890,"filename":"image_24012025_16_33_02_884501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/94c249cac2e27d90eb86115a2301c0bd.jpg","text":"TemporaryFile(/tmp/multipartBody7407197214293940900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739739890,"filename":"image_24012025_16_34_03_082090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5cbd74cb91232c31ce07c48d833fb02b.jpg","text":"TemporaryFile(/tmp/multipartBody8559026030373014373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739739890,"filename":"image_24012025_16_33_02_884501_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331102946","file1":"1331102918","file0":"1331102622","file4":"1331102964","file5":"1331102977","file3":"1331102956"},"map_files_photo_id_array":[{"photo_id":"1331102977","filename":"file5"},{"photo_id":"1331102946","filename":"file2"},{"photo_id":"1331102964","filename":"file4"},{"photo_id":"1331102918","filename":"file1"},{"photo_id":"1331102622","filename":"file0"},{"photo_id":"1331102956","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331102964":["hashtag1","hashtag2"]},{"1331102946":["hashtag1","hashtag2"]},{"1331102622":["hashtag1","hashtag2"]},{"1331102918":["hashtag1","hashtag2"]},{"1331102977":["hashtag1","hashtag2"]},{"1331102956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331102964, 1331102946, 1331102622, 1331102918, 1331102977, 1331102956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.32417154312134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 18:29:02.742280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/34/image_24012025_16_34_03_082090_0001.jpg', '/home/pi/Desktop/images/24012025/16/34/image_24012025_16_34_03_082090_0002.jpg', '/home/pi/Desktop/images/24012025/16/34/image_24012025_16_34_03_082090_0003.jpg', '/home/pi/Desktop/images/24012025/16/35/image_24012025_16_35_02_216172_0000.jpg', '/home/pi/Desktop/images/24012025/16/35/image_24012025_16_35_02_216172_0001.jpg', '/home/pi/Desktop/images/24012025/16/35/image_24012025_16_35_02_216172_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/34/image_24012025_16_34_03_082090_0001.jpg
/home/pi/Desktop/images/24012025/16/34/image_24012025_16_34_03_082090_0002.jpg
/home/pi/Desktop/images/24012025/16/34/image_24012025_16_34_03_082090_0003.jpg
/home/pi/Desktop/images/24012025/16/35/image_24012025_16_35_02_216172_0000.jpg
/home/pi/Desktop/images/24012025/16/35/image_24012025_16_35_02_216172_0001.jpg
/home/pi/Desktop/images/24012025/16/35/image_24012025_16_35_02_216172_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331103417","1331103411","1331103394","1331103379","1331103352","1331103399"],"photo_ids_order":["1331103352","1331103379","1331103394","1331103399","1331103411","1331103417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e3d1898e7f04a13e90a2033c4a60495a.jpg","text":"TemporaryFile(/tmp/multipartBody4787457124848242881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739841298,"filename":"image_24012025_16_35_02_216172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/07b6230caf1beae5ac0538276c1888ea.jpg","text":"TemporaryFile(/tmp/multipartBody6524380961797774134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739841298,"filename":"image_24012025_16_35_02_216172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4adbd84f349c42e467e82424724fb8db.jpg","text":"TemporaryFile(/tmp/multipartBody4210388264573722144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739841298,"filename":"image_24012025_16_34_03_082090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cd43723b01cc4cf0357845b4949577cf.jpg","text":"TemporaryFile(/tmp/multipartBody3149350875979274661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739841298,"filename":"image_24012025_16_34_03_082090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/024b127773da3391be53b2b8e304ece6.jpg","text":"TemporaryFile(/tmp/multipartBody4571814667000548640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739841298,"filename":"image_24012025_16_34_03_082090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3048c3b7efcb6af87905e29d093a6a03.jpg","text":"TemporaryFile(/tmp/multipartBody7894124704510789810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739841298,"filename":"image_24012025_16_35_02_216172_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331103394","file1":"1331103379","file0":"1331103352","file4":"1331103411","file5":"1331103417","file3":"1331103399"},"map_files_photo_id_array":[{"photo_id":"1331103417","filename":"file5"},{"photo_id":"1331103394","filename":"file2"},{"photo_id":"1331103411","filename":"file4"},{"photo_id":"1331103379","filename":"file1"},{"photo_id":"1331103352","filename":"file0"},{"photo_id":"1331103399","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331103417":["hashtag1","hashtag2"]},{"1331103411":["hashtag1","hashtag2"]},{"1331103394":["hashtag1","hashtag2"]},{"1331103379":["hashtag1","hashtag2"]},{"1331103352":["hashtag1","hashtag2"]},{"1331103399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331103417, 1331103411, 1331103394, 1331103379, 1331103352, 1331103399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.57641506195068 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 18:30:42.199156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0000.jpg', '/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0001.jpg', '/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0002.jpg', '/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0003.jpg', '/home/pi/Desktop/images/24012025/16/37/image_24012025_16_37_02_616852_0000.jpg', '/home/pi/Desktop/images/24012025/16/37/image_24012025_16_37_02_616852_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0000.jpg
/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0001.jpg
/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0002.jpg
/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0003.jpg
/home/pi/Desktop/images/24012025/16/37/image_24012025_16_37_02_616852_0000.jpg
/home/pi/Desktop/images/24012025/16/37/image_24012025_16_37_02_616852_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 37.106454610824585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:31:22.407499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0000.jpg', '/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0001.jpg', '/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0002.jpg', '/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0003.jpg', '/home/pi/Desktop/images/24012025/16/37/image_24012025_16_37_02_616852_0000.jpg', '/home/pi/Desktop/images/24012025/16/37/image_24012025_16_37_02_616852_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0000.jpg
/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0001.jpg
/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0002.jpg
/home/pi/Desktop/images/24012025/16/36/image_24012025_16_36_02_457718_0003.jpg
/home/pi/Desktop/images/24012025/16/37/image_24012025_16_37_02_616852_0000.jpg
/home/pi/Desktop/images/24012025/16/37/image_24012025_16_37_02_616852_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331103797","1331103794","1331103790","1331103787","1331103805","1331103810"],"photo_ids_order":["1331103787","1331103790","1331103794","1331103797","1331103805","1331103810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d638a85c259f1351962a6203de90cc7.jpg","text":"TemporaryFile(/tmp/multipartBody92470490039144479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739988934,"filename":"image_24012025_16_36_02_457718_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3efff0b639569f99050275d19c55a3ec.jpg","text":"TemporaryFile(/tmp/multipartBody6201857354474791605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739988934,"filename":"image_24012025_16_36_02_457718_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21c298bbb42a59cddd7b517d41b932dd.jpg","text":"TemporaryFile(/tmp/multipartBody2135239734407174070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739988934,"filename":"image_24012025_16_36_02_457718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/992f2454d3993670b38fcd68e4f50eec.jpg","text":"TemporaryFile(/tmp/multipartBody7390871614111234411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739988934,"filename":"image_24012025_16_36_02_457718_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/544590193534c428f3bcb12126bb152f.jpg","text":"TemporaryFile(/tmp/multipartBody6756207712649119971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739988934,"filename":"image_24012025_16_37_02_616852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd4b84fa7b02e8b04b52759d106c4a2c.jpg","text":"TemporaryFile(/tmp/multipartBody2307108942268619186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737739988934,"filename":"image_24012025_16_37_02_616852_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331103794","file1":"1331103790","file0":"1331103787","file4":"1331103805","file5":"1331103810","file3":"1331103797"},"map_files_photo_id_array":[{"photo_id":"1331103810","filename":"file5"},{"photo_id":"1331103794","filename":"file2"},{"photo_id":"1331103805","filename":"file4"},{"photo_id":"1331103790","filename":"file1"},{"photo_id":"1331103787","filename":"file0"},{"photo_id":"1331103797","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331103797":["hashtag1","hashtag2"]},{"1331103794":["hashtag1","hashtag2"]},{"1331103790":["hashtag1","hashtag2"]},{"1331103787":["hashtag1","hashtag2"]},{"1331103805":["hashtag1","hashtag2"]},{"1331103810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331103797, 1331103794, 1331103790, 1331103787, 1331103805, 1331103810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 112.89147925376892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:33:22.781084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/37/image_24012025_16_37_02_616852_0002.jpg', '/home/pi/Desktop/images/24012025/16/37/image_24012025_16_37_02_616852_0003.jpg', '/home/pi/Desktop/images/24012025/16/38/image_24012025_16_38_02_769170_0000.jpg', '/home/pi/Desktop/images/24012025/16/38/image_24012025_16_38_02_769170_0001.jpg', '/home/pi/Desktop/images/24012025/16/38/image_24012025_16_38_02_769170_0002.jpg', '/home/pi/Desktop/images/24012025/16/38/image_24012025_16_38_02_769170_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/37/image_24012025_16_37_02_616852_0002.jpg
/home/pi/Desktop/images/24012025/16/37/image_24012025_16_37_02_616852_0003.jpg
/home/pi/Desktop/images/24012025/16/38/image_24012025_16_38_02_769170_0000.jpg
/home/pi/Desktop/images/24012025/16/38/image_24012025_16_38_02_769170_0001.jpg
/home/pi/Desktop/images/24012025/16/38/image_24012025_16_38_02_769170_0002.jpg
/home/pi/Desktop/images/24012025/16/38/image_24012025_16_38_02_769170_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331104055","1331104123","1331104197","1331104021","1331104224","1331104175"],"photo_ids_order":["1331104021","1331104055","1331104123","1331104175","1331104197","1331104224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8c10b4798e916207be9a709120ad756d.jpg","text":"TemporaryFile(/tmp/multipartBody4807017980837309260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740096528,"filename":"image_24012025_16_37_02_616852_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a59677e05bd10bc3a52b0cdd1ea83eb4.jpg","text":"TemporaryFile(/tmp/multipartBody5654547417637164898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740096528,"filename":"image_24012025_16_38_02_769170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/66bf2226499fed0d54d5edb161d31983.jpg","text":"TemporaryFile(/tmp/multipartBody4431293712061077742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740096528,"filename":"image_24012025_16_38_02_769170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9f732577f61ea29dcbb154e24ada5203.jpg","text":"TemporaryFile(/tmp/multipartBody479842729229612437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740096528,"filename":"image_24012025_16_37_02_616852_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a4d5ba9a1d2c6b867a58a4c225072989.jpg","text":"TemporaryFile(/tmp/multipartBody716044375851649835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740096528,"filename":"image_24012025_16_38_02_769170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/88ada4b79f1bfc45dfbc7cd781808f76.jpg","text":"TemporaryFile(/tmp/multipartBody5444250676659667534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740096528,"filename":"image_24012025_16_38_02_769170_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331104123","file1":"1331104055","file0":"1331104021","file4":"1331104197","file5":"1331104224","file3":"1331104175"},"map_files_photo_id_array":[{"photo_id":"1331104224","filename":"file5"},{"photo_id":"1331104123","filename":"file2"},{"photo_id":"1331104197","filename":"file4"},{"photo_id":"1331104055","filename":"file1"},{"photo_id":"1331104021","filename":"file0"},{"photo_id":"1331104175","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331104055":["hashtag1","hashtag2"]},{"1331104123":["hashtag1","hashtag2"]},{"1331104197":["hashtag1","hashtag2"]},{"1331104021":["hashtag1","hashtag2"]},{"1331104224":["hashtag1","hashtag2"]},{"1331104175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331104055, 1331104123, 1331104197, 1331104021, 1331104224, 1331104175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.38899779319763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 18:34:51.859161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/39/image_24012025_16_39_02_946223_0000.jpg', '/home/pi/Desktop/images/24012025/16/39/image_24012025_16_39_02_946223_0001.jpg', '/home/pi/Desktop/images/24012025/16/39/image_24012025_16_39_02_946223_0002.jpg', '/home/pi/Desktop/images/24012025/16/39/image_24012025_16_39_02_946223_0003.jpg', '/home/pi/Desktop/images/24012025/16/40/image_24012025_16_40_03_064334_0000.jpg', '/home/pi/Desktop/images/24012025/16/40/image_24012025_16_40_03_064334_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/39/image_24012025_16_39_02_946223_0000.jpg
/home/pi/Desktop/images/24012025/16/39/image_24012025_16_39_02_946223_0001.jpg
/home/pi/Desktop/images/24012025/16/39/image_24012025_16_39_02_946223_0002.jpg
/home/pi/Desktop/images/24012025/16/39/image_24012025_16_39_02_946223_0003.jpg
/home/pi/Desktop/images/24012025/16/40/image_24012025_16_40_03_064334_0000.jpg
/home/pi/Desktop/images/24012025/16/40/image_24012025_16_40_03_064334_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331104445","1331104453","1331104432","1331104435","1331104449","1331104440"],"photo_ids_order":["1331104432","1331104435","1331104440","1331104445","1331104449","1331104453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/62fa8715515c06f87f3e5346f6ebdfd4.jpg","text":"TemporaryFile(/tmp/multipartBody2267198790959505138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740191847,"filename":"image_24012025_16_39_02_946223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/15c23dd7553d5ad2f1a07cffeaab1353.jpg","text":"TemporaryFile(/tmp/multipartBody6830088847930970658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740191847,"filename":"image_24012025_16_40_03_064334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f72d1c7c00b8ac8052fa67a9cff72f26.jpg","text":"TemporaryFile(/tmp/multipartBody2139028312548978869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740191847,"filename":"image_24012025_16_39_02_946223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ac3811fe3d9f178fdbacd9444112d88.jpg","text":"TemporaryFile(/tmp/multipartBody8845195716602968826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740191847,"filename":"image_24012025_16_39_02_946223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5817c8753c99aff172b63e763fcffd4.jpg","text":"TemporaryFile(/tmp/multipartBody8531211447804013243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740191847,"filename":"image_24012025_16_40_03_064334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f4c51114b4c017c0c6f550c610914182.jpg","text":"TemporaryFile(/tmp/multipartBody7908224520982384171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740191847,"filename":"image_24012025_16_39_02_946223_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331104440","file1":"1331104435","file0":"1331104432","file4":"1331104449","file5":"1331104453","file3":"1331104445"},"map_files_photo_id_array":[{"photo_id":"1331104453","filename":"file5"},{"photo_id":"1331104440","filename":"file2"},{"photo_id":"1331104449","filename":"file4"},{"photo_id":"1331104435","filename":"file1"},{"photo_id":"1331104432","filename":"file0"},{"photo_id":"1331104445","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331104445":["hashtag1","hashtag2"]},{"1331104453":["hashtag1","hashtag2"]},{"1331104432":["hashtag1","hashtag2"]},{"1331104435":["hashtag1","hashtag2"]},{"1331104449":["hashtag1","hashtag2"]},{"1331104440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331104445, 1331104453, 1331104432, 1331104435, 1331104449, 1331104440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.86628913879395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 18:36:32.215339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/40/image_24012025_16_40_03_064334_0002.jpg', '/home/pi/Desktop/images/24012025/16/40/image_24012025_16_40_03_064334_0003.jpg', '/home/pi/Desktop/images/24012025/16/41/image_24012025_16_41_02_259418_0000.jpg', '/home/pi/Desktop/images/24012025/16/41/image_24012025_16_41_02_259418_0001.jpg', '/home/pi/Desktop/images/24012025/16/41/image_24012025_16_41_02_259418_0002.jpg', '/home/pi/Desktop/images/24012025/16/41/image_24012025_16_41_02_259418_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/40/image_24012025_16_40_03_064334_0002.jpg
/home/pi/Desktop/images/24012025/16/40/image_24012025_16_40_03_064334_0003.jpg
/home/pi/Desktop/images/24012025/16/41/image_24012025_16_41_02_259418_0000.jpg
/home/pi/Desktop/images/24012025/16/41/image_24012025_16_41_02_259418_0001.jpg
/home/pi/Desktop/images/24012025/16/41/image_24012025_16_41_02_259418_0002.jpg
/home/pi/Desktop/images/24012025/16/41/image_24012025_16_41_02_259418_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331104562","1331104594","1331104552","1331104590","1331104581","1331104571"],"photo_ids_order":["1331104552","1331104562","1331104571","1331104581","1331104590","1331104594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74e808d8c0443fd61e2e7433a1c2e6e2.jpg","text":"TemporaryFile(/tmp/multipartBody8576037691820989129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740296459,"filename":"image_24012025_16_40_03_064334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a3a8aac2d035e6f2b41d89a8ebbf5ef.jpg","text":"TemporaryFile(/tmp/multipartBody8491045001893441234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740296459,"filename":"image_24012025_16_41_02_259418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f832da423d98591f62481b48c6fdf72e.jpg","text":"TemporaryFile(/tmp/multipartBody3879625266224488389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740296459,"filename":"image_24012025_16_40_03_064334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce1a0487e1d09a99067fdd193cd182e5.jpg","text":"TemporaryFile(/tmp/multipartBody7734152734795638757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740296459,"filename":"image_24012025_16_41_02_259418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db3a49e034db5ea34ddd40756203742e.jpg","text":"TemporaryFile(/tmp/multipartBody5385849136753320653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740296459,"filename":"image_24012025_16_41_02_259418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c7deb6d5db983952c904f58316bee731.jpg","text":"TemporaryFile(/tmp/multipartBody6883683484349756058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740296459,"filename":"image_24012025_16_41_02_259418_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331104571","file1":"1331104562","file0":"1331104552","file4":"1331104590","file5":"1331104594","file3":"1331104581"},"map_files_photo_id_array":[{"photo_id":"1331104594","filename":"file5"},{"photo_id":"1331104571","filename":"file2"},{"photo_id":"1331104590","filename":"file4"},{"photo_id":"1331104562","filename":"file1"},{"photo_id":"1331104552","filename":"file0"},{"photo_id":"1331104581","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331104562":["hashtag1","hashtag2"]},{"1331104594":["hashtag1","hashtag2"]},{"1331104552":["hashtag1","hashtag2"]},{"1331104590":["hashtag1","hashtag2"]},{"1331104581":["hashtag1","hashtag2"]},{"1331104571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331104562, 1331104594, 1331104552, 1331104590, 1331104581, 1331104571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.56281900405884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:38:22.616461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/42/image_24012025_16_42_02_476353_0000.jpg', '/home/pi/Desktop/images/24012025/16/42/image_24012025_16_42_02_476353_0001.jpg', '/home/pi/Desktop/images/24012025/16/42/image_24012025_16_42_02_476353_0002.jpg', '/home/pi/Desktop/images/24012025/16/42/image_24012025_16_42_02_476353_0003.jpg', '/home/pi/Desktop/images/24012025/16/43/image_24012025_16_43_02_622236_0000.jpg', '/home/pi/Desktop/images/24012025/16/43/image_24012025_16_43_02_622236_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/42/image_24012025_16_42_02_476353_0000.jpg
/home/pi/Desktop/images/24012025/16/42/image_24012025_16_42_02_476353_0001.jpg
/home/pi/Desktop/images/24012025/16/42/image_24012025_16_42_02_476353_0002.jpg
/home/pi/Desktop/images/24012025/16/42/image_24012025_16_42_02_476353_0003.jpg
/home/pi/Desktop/images/24012025/16/43/image_24012025_16_43_02_622236_0000.jpg
/home/pi/Desktop/images/24012025/16/43/image_24012025_16_43_02_622236_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331105438","1331105674","1331105485","1331105272","1331105605","1331105316"],"photo_ids_order":["1331105272","1331105316","1331105438","1331105485","1331105605","1331105674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/141f601ee6d3720f9af7fd8d15113b45.jpg","text":"TemporaryFile(/tmp/multipartBody6935271508606218608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740411830,"filename":"image_24012025_16_42_02_476353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/849cf5b9e13ca454a77bfdab0ad2b81c.jpg","text":"TemporaryFile(/tmp/multipartBody1890184349076109584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740411830,"filename":"image_24012025_16_43_02_622236_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c8440277970318f52aad257b6500b309.jpg","text":"TemporaryFile(/tmp/multipartBody4417462395361152601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740411830,"filename":"image_24012025_16_42_02_476353_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5ceacf4d9aeaa5c20150bf10385abd3.jpg","text":"TemporaryFile(/tmp/multipartBody9011016668179908166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740411830,"filename":"image_24012025_16_42_02_476353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/805a3e15a6a2760d412eba5483c39b56.jpg","text":"TemporaryFile(/tmp/multipartBody4152493439945471553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740411830,"filename":"image_24012025_16_43_02_622236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f3371a1de286b356dd80e8684f0037b.jpg","text":"TemporaryFile(/tmp/multipartBody4120082649706092110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740411830,"filename":"image_24012025_16_42_02_476353_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331105438","file1":"1331105316","file0":"1331105272","file4":"1331105605","file5":"1331105674","file3":"1331105485"},"map_files_photo_id_array":[{"photo_id":"1331105674","filename":"file5"},{"photo_id":"1331105438","filename":"file2"},{"photo_id":"1331105605","filename":"file4"},{"photo_id":"1331105316","filename":"file1"},{"photo_id":"1331105272","filename":"file0"},{"photo_id":"1331105485","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331105438":["hashtag1","hashtag2"]},{"1331105674":["hashtag1","hashtag2"]},{"1331105485":["hashtag1","hashtag2"]},{"1331105272":["hashtag1","hashtag2"]},{"1331105605":["hashtag1","hashtag2"]},{"1331105316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331105438, 1331105674, 1331105485, 1331105272, 1331105605, 1331105316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 113.99796152114868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:40:22.088699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/43/image_24012025_16_43_02_622236_0002.jpg', '/home/pi/Desktop/images/24012025/16/43/image_24012025_16_43_02_622236_0003.jpg', '/home/pi/Desktop/images/24012025/16/44/image_24012025_16_44_02_815570_0000.jpg', '/home/pi/Desktop/images/24012025/16/44/image_24012025_16_44_02_815570_0001.jpg', '/home/pi/Desktop/images/24012025/16/44/image_24012025_16_44_02_815570_0002.jpg', '/home/pi/Desktop/images/24012025/16/44/image_24012025_16_44_02_815570_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/43/image_24012025_16_43_02_622236_0002.jpg
/home/pi/Desktop/images/24012025/16/43/image_24012025_16_43_02_622236_0003.jpg
/home/pi/Desktop/images/24012025/16/44/image_24012025_16_44_02_815570_0000.jpg
/home/pi/Desktop/images/24012025/16/44/image_24012025_16_44_02_815570_0001.jpg
/home/pi/Desktop/images/24012025/16/44/image_24012025_16_44_02_815570_0002.jpg
/home/pi/Desktop/images/24012025/16/44/image_24012025_16_44_02_815570_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331106129","1331106083","1331106191","1331106071","1331106188","1331106143"],"photo_ids_order":["1331106071","1331106083","1331106129","1331106143","1331106188","1331106191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/167754eeb025f584f5934158ba0ac4ea.jpg","text":"TemporaryFile(/tmp/multipartBody2974553226028517419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740535985,"filename":"image_24012025_16_44_02_815570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/59674c32df58154eecd1bc8f1749487b.jpg","text":"TemporaryFile(/tmp/multipartBody4246966572340715336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740535985,"filename":"image_24012025_16_43_02_622236_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45e115e88890a1c4f96ee71cce963949.jpg","text":"TemporaryFile(/tmp/multipartBody6360828500809341066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740535985,"filename":"image_24012025_16_44_02_815570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7a77217add4edc35b8a7b638bde26ec0.jpg","text":"TemporaryFile(/tmp/multipartBody4028373712570187328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740535985,"filename":"image_24012025_16_43_02_622236_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f217083d27574b62675e2c7156142e1.jpg","text":"TemporaryFile(/tmp/multipartBody2038820179773716425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740535985,"filename":"image_24012025_16_44_02_815570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f612e06322f38d19a88a34497eef286.jpg","text":"TemporaryFile(/tmp/multipartBody5142734329336187511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740535985,"filename":"image_24012025_16_44_02_815570_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331106129","file1":"1331106083","file0":"1331106071","file4":"1331106188","file5":"1331106191","file3":"1331106143"},"map_files_photo_id_array":[{"photo_id":"1331106191","filename":"file5"},{"photo_id":"1331106129","filename":"file2"},{"photo_id":"1331106188","filename":"file4"},{"photo_id":"1331106083","filename":"file1"},{"photo_id":"1331106071","filename":"file0"},{"photo_id":"1331106143","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331106129":["hashtag1","hashtag2"]},{"1331106083":["hashtag1","hashtag2"]},{"1331106191":["hashtag1","hashtag2"]},{"1331106071":["hashtag1","hashtag2"]},{"1331106188":["hashtag1","hashtag2"]},{"1331106143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331106129, 1331106083, 1331106191, 1331106071, 1331106188, 1331106143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 111.30913615226746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:42:22.418806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/45/image_24012025_16_45_03_003352_0000.jpg', '/home/pi/Desktop/images/24012025/16/45/image_24012025_16_45_03_003352_0001.jpg', '/home/pi/Desktop/images/24012025/16/45/image_24012025_16_45_03_003352_0002.jpg', '/home/pi/Desktop/images/24012025/16/45/image_24012025_16_45_03_003352_0003.jpg', '/home/pi/Desktop/images/24012025/16/46/image_24012025_16_46_02_136584_0000.jpg', '/home/pi/Desktop/images/24012025/16/46/image_24012025_16_46_02_136584_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/45/image_24012025_16_45_03_003352_0000.jpg
/home/pi/Desktop/images/24012025/16/45/image_24012025_16_45_03_003352_0001.jpg
/home/pi/Desktop/images/24012025/16/45/image_24012025_16_45_03_003352_0002.jpg
/home/pi/Desktop/images/24012025/16/45/image_24012025_16_45_03_003352_0003.jpg
/home/pi/Desktop/images/24012025/16/46/image_24012025_16_46_02_136584_0000.jpg
/home/pi/Desktop/images/24012025/16/46/image_24012025_16_46_02_136584_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331106547","1331106588","1331106328","1331106447","1331106554","1331106626"],"photo_ids_order":["1331106328","1331106447","1331106547","1331106554","1331106588","1331106626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12c45ef76ccc0f65fe79b6b20d1a6959.jpg","text":"TemporaryFile(/tmp/multipartBody8784340354270552013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740629368,"filename":"image_24012025_16_45_03_003352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/173eebffeccc68a007c48e9b167cd45b.jpg","text":"TemporaryFile(/tmp/multipartBody9110117650796908004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740629368,"filename":"image_24012025_16_46_02_136584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f3c60165ad1a6dd5fcebac8a0785820.jpg","text":"TemporaryFile(/tmp/multipartBody1173974261878735147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740629368,"filename":"image_24012025_16_45_03_003352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8eb341db8deabb664ed132695ceca528.jpg","text":"TemporaryFile(/tmp/multipartBody1220589546125069081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740629368,"filename":"image_24012025_16_45_03_003352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39e904d67805f5dc22db8b0e5c764023.jpg","text":"TemporaryFile(/tmp/multipartBody4325731509439664504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740629368,"filename":"image_24012025_16_45_03_003352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8719bcbb2889c98aa8b301b4b82da1e7.jpg","text":"TemporaryFile(/tmp/multipartBody8387526532417016133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740629368,"filename":"image_24012025_16_46_02_136584_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331106547","file1":"1331106447","file0":"1331106328","file4":"1331106588","file5":"1331106626","file3":"1331106554"},"map_files_photo_id_array":[{"photo_id":"1331106626","filename":"file5"},{"photo_id":"1331106547","filename":"file2"},{"photo_id":"1331106588","filename":"file4"},{"photo_id":"1331106447","filename":"file1"},{"photo_id":"1331106328","filename":"file0"},{"photo_id":"1331106554","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331106547":["hashtag1","hashtag2"]},{"1331106588":["hashtag1","hashtag2"]},{"1331106328":["hashtag1","hashtag2"]},{"1331106447":["hashtag1","hashtag2"]},{"1331106554":["hashtag1","hashtag2"]},{"1331106626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331106547, 1331106588, 1331106328, 1331106447, 1331106554, 1331106626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.50690460205078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 18:43:52.501728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/46/image_24012025_16_46_02_136584_0002.jpg', '/home/pi/Desktop/images/24012025/16/46/image_24012025_16_46_02_136584_0003.jpg', '/home/pi/Desktop/images/24012025/16/47/image_24012025_16_47_02_371086_0000.jpg', '/home/pi/Desktop/images/24012025/16/47/image_24012025_16_47_02_371086_0001.jpg', '/home/pi/Desktop/images/24012025/16/47/image_24012025_16_47_02_371086_0002.jpg', '/home/pi/Desktop/images/24012025/16/47/image_24012025_16_47_02_371086_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/46/image_24012025_16_46_02_136584_0002.jpg
/home/pi/Desktop/images/24012025/16/46/image_24012025_16_46_02_136584_0003.jpg
/home/pi/Desktop/images/24012025/16/47/image_24012025_16_47_02_371086_0000.jpg
/home/pi/Desktop/images/24012025/16/47/image_24012025_16_47_02_371086_0001.jpg
/home/pi/Desktop/images/24012025/16/47/image_24012025_16_47_02_371086_0002.jpg
/home/pi/Desktop/images/24012025/16/47/image_24012025_16_47_02_371086_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331106733","1331106696","1331106692","1331106710","1331106701","1331106685"],"photo_ids_order":["1331106685","1331106692","1331106696","1331106701","1331106710","1331106733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ca7e670a512d5f28b8bc97d1c1d345ea.jpg","text":"TemporaryFile(/tmp/multipartBody4030892577213920941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740741904,"filename":"image_24012025_16_47_02_371086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2629d10ec982944a30774caf2069aca7.jpg","text":"TemporaryFile(/tmp/multipartBody4390864215175534393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740741904,"filename":"image_24012025_16_47_02_371086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b511e76edb28999f5797c53f58863bd.jpg","text":"TemporaryFile(/tmp/multipartBody7249910516827935262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740741904,"filename":"image_24012025_16_46_02_136584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ddd5c382dda3673f6ffc7ebeb076c1e.jpg","text":"TemporaryFile(/tmp/multipartBody9065824627811550594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740741904,"filename":"image_24012025_16_47_02_371086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a3058b1f7e8464091cfce8288296fb96.jpg","text":"TemporaryFile(/tmp/multipartBody3149991304264086709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740741904,"filename":"image_24012025_16_47_02_371086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6663aa16f978411e9a2a5c6d02b54fa7.jpg","text":"TemporaryFile(/tmp/multipartBody3094858782452304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740741904,"filename":"image_24012025_16_46_02_136584_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331106696","file1":"1331106692","file0":"1331106685","file4":"1331106710","file5":"1331106733","file3":"1331106701"},"map_files_photo_id_array":[{"photo_id":"1331106733","filename":"file5"},{"photo_id":"1331106696","filename":"file2"},{"photo_id":"1331106710","filename":"file4"},{"photo_id":"1331106692","filename":"file1"},{"photo_id":"1331106685","filename":"file0"},{"photo_id":"1331106701","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331106733":["hashtag1","hashtag2"]},{"1331106696":["hashtag1","hashtag2"]},{"1331106692":["hashtag1","hashtag2"]},{"1331106710":["hashtag1","hashtag2"]},{"1331106701":["hashtag1","hashtag2"]},{"1331106685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331106733, 1331106696, 1331106692, 1331106710, 1331106701, 1331106685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.00821232795715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 18:45:41.909705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/48/image_24012025_16_48_02_498990_0000.jpg', '/home/pi/Desktop/images/24012025/16/48/image_24012025_16_48_02_498990_0001.jpg', '/home/pi/Desktop/images/24012025/16/48/image_24012025_16_48_02_498990_0002.jpg', '/home/pi/Desktop/images/24012025/16/48/image_24012025_16_48_02_498990_0003.jpg', '/home/pi/Desktop/images/24012025/16/49/image_24012025_16_49_02_682528_0000.jpg', '/home/pi/Desktop/images/24012025/16/49/image_24012025_16_49_02_682528_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/48/image_24012025_16_48_02_498990_0000.jpg
/home/pi/Desktop/images/24012025/16/48/image_24012025_16_48_02_498990_0001.jpg
/home/pi/Desktop/images/24012025/16/48/image_24012025_16_48_02_498990_0002.jpg
/home/pi/Desktop/images/24012025/16/48/image_24012025_16_48_02_498990_0003.jpg
/home/pi/Desktop/images/24012025/16/49/image_24012025_16_49_02_682528_0000.jpg
/home/pi/Desktop/images/24012025/16/49/image_24012025_16_49_02_682528_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331106787","1331106768","1331106793","1331106781","1331106775","1331106790"],"photo_ids_order":["1331106768","1331106775","1331106781","1331106787","1331106790","1331106793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8e780f48cc34b71403d2e650db17056b.jpg","text":"TemporaryFile(/tmp/multipartBody4465554871895009170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740840360,"filename":"image_24012025_16_48_02_498990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af7ebd32475fb272a0838226f937e4f9.jpg","text":"TemporaryFile(/tmp/multipartBody2030218237421483356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740840360,"filename":"image_24012025_16_48_02_498990_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5a7e81d5e8515835ba67a9fefaa910a.jpg","text":"TemporaryFile(/tmp/multipartBody3557840451391230966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740840360,"filename":"image_24012025_16_49_02_682528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/82cd89c0922930e2f2fec931c72a5e6a.jpg","text":"TemporaryFile(/tmp/multipartBody6599624360747159668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740840360,"filename":"image_24012025_16_48_02_498990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2679bd4a34b969a6263ae0fcd926f763.jpg","text":"TemporaryFile(/tmp/multipartBody6928647330848867539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740840360,"filename":"image_24012025_16_48_02_498990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b4b3eecac7ac0e1aec8391e3facfe830.jpg","text":"TemporaryFile(/tmp/multipartBody5848096921273006964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740840360,"filename":"image_24012025_16_49_02_682528_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331106781","file1":"1331106775","file0":"1331106768","file4":"1331106790","file5":"1331106793","file3":"1331106787"},"map_files_photo_id_array":[{"photo_id":"1331106793","filename":"file5"},{"photo_id":"1331106781","filename":"file2"},{"photo_id":"1331106790","filename":"file4"},{"photo_id":"1331106775","filename":"file1"},{"photo_id":"1331106768","filename":"file0"},{"photo_id":"1331106787","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331106787":["hashtag1","hashtag2"]},{"1331106768":["hashtag1","hashtag2"]},{"1331106793":["hashtag1","hashtag2"]},{"1331106781":["hashtag1","hashtag2"]},{"1331106775":["hashtag1","hashtag2"]},{"1331106790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331106787, 1331106768, 1331106793, 1331106781, 1331106775, 1331106790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.1807177066803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:47:22.342283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/49/image_24012025_16_49_02_682528_0002.jpg', '/home/pi/Desktop/images/24012025/16/49/image_24012025_16_49_02_682528_0003.jpg', '/home/pi/Desktop/images/24012025/16/50/image_24012025_16_50_03_008532_0000.jpg', '/home/pi/Desktop/images/24012025/16/50/image_24012025_16_50_03_008532_0001.jpg', '/home/pi/Desktop/images/24012025/16/50/image_24012025_16_50_03_008532_0002.jpg', '/home/pi/Desktop/images/24012025/16/50/image_24012025_16_50_03_008532_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/49/image_24012025_16_49_02_682528_0002.jpg
/home/pi/Desktop/images/24012025/16/49/image_24012025_16_49_02_682528_0003.jpg
/home/pi/Desktop/images/24012025/16/50/image_24012025_16_50_03_008532_0000.jpg
/home/pi/Desktop/images/24012025/16/50/image_24012025_16_50_03_008532_0001.jpg
/home/pi/Desktop/images/24012025/16/50/image_24012025_16_50_03_008532_0002.jpg
/home/pi/Desktop/images/24012025/16/50/image_24012025_16_50_03_008532_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331107303","1331107231","1331107404","1331107103","1331107273","1331107309"],"photo_ids_order":["1331107103","1331107231","1331107273","1331107303","1331107309","1331107404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72ae0b316298fec89ef161268b573a27.jpg","text":"TemporaryFile(/tmp/multipartBody3910412029234828269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740937262,"filename":"image_24012025_16_50_03_008532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e4dc707dca9b10cde4db3c7def3fb0b.jpg","text":"TemporaryFile(/tmp/multipartBody6935502985136243943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740937262,"filename":"image_24012025_16_49_02_682528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d5ae1d22bd37f7462eb2b722807ee41b.jpg","text":"TemporaryFile(/tmp/multipartBody1474861556760965452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740937262,"filename":"image_24012025_16_50_03_008532_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40813097d1a3aa1b31925e9b7b4375f5.jpg","text":"TemporaryFile(/tmp/multipartBody851227094422831830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740937262,"filename":"image_24012025_16_49_02_682528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f311cf605f93e040b093ac3628935f1.jpg","text":"TemporaryFile(/tmp/multipartBody1366476000291858770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740937262,"filename":"image_24012025_16_50_03_008532_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/70d7f64c6086b32c867faa21429991f0.jpg","text":"TemporaryFile(/tmp/multipartBody5335620936291145238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737740937262,"filename":"image_24012025_16_50_03_008532_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331107273","file1":"1331107231","file0":"1331107103","file4":"1331107309","file5":"1331107404","file3":"1331107303"},"map_files_photo_id_array":[{"photo_id":"1331107404","filename":"file5"},{"photo_id":"1331107273","filename":"file2"},{"photo_id":"1331107309","filename":"file4"},{"photo_id":"1331107231","filename":"file1"},{"photo_id":"1331107103","filename":"file0"},{"photo_id":"1331107303","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331107303":["hashtag1","hashtag2"]},{"1331107231":["hashtag1","hashtag2"]},{"1331107404":["hashtag1","hashtag2"]},{"1331107103":["hashtag1","hashtag2"]},{"1331107273":["hashtag1","hashtag2"]},{"1331107309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331107303, 1331107231, 1331107404, 1331107103, 1331107273, 1331107309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.28163981437683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 18:48:52.466568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/51/image_24012025_16_51_03_029977_0000.jpg', '/home/pi/Desktop/images/24012025/16/51/image_24012025_16_51_03_029977_0001.jpg', '/home/pi/Desktop/images/24012025/16/51/image_24012025_16_51_03_029977_0002.jpg', '/home/pi/Desktop/images/24012025/16/51/image_24012025_16_51_03_029977_0003.jpg', '/home/pi/Desktop/images/24012025/16/52/image_24012025_16_52_02_320810_0000.jpg', '/home/pi/Desktop/images/24012025/16/52/image_24012025_16_52_02_320810_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/51/image_24012025_16_51_03_029977_0000.jpg
/home/pi/Desktop/images/24012025/16/51/image_24012025_16_51_03_029977_0001.jpg
/home/pi/Desktop/images/24012025/16/51/image_24012025_16_51_03_029977_0002.jpg
/home/pi/Desktop/images/24012025/16/51/image_24012025_16_51_03_029977_0003.jpg
/home/pi/Desktop/images/24012025/16/52/image_24012025_16_52_02_320810_0000.jpg
/home/pi/Desktop/images/24012025/16/52/image_24012025_16_52_02_320810_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331107536","1331107518","1331107532","1331107529","1331107526","1331107546"],"photo_ids_order":["1331107518","1331107526","1331107529","1331107532","1331107536","1331107546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/84aa26535e90283b56582997af97e45e.jpg","text":"TemporaryFile(/tmp/multipartBody4362344301431295646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741035722,"filename":"image_24012025_16_52_02_320810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23e1a72a7015f6a452177e3d8b5ec5d4.jpg","text":"TemporaryFile(/tmp/multipartBody4946581332345524437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741035722,"filename":"image_24012025_16_51_03_029977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48295843f9ca6a029b2243bd1efcba58.jpg","text":"TemporaryFile(/tmp/multipartBody6890587256461003152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741035722,"filename":"image_24012025_16_51_03_029977_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd7d3b48414c46fec0a4facb8d57f497.jpg","text":"TemporaryFile(/tmp/multipartBody1639172832733624850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741035722,"filename":"image_24012025_16_51_03_029977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/754dd33e4d869a8f07b9c416ef83e5fb.jpg","text":"TemporaryFile(/tmp/multipartBody3546339084707835216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741035722,"filename":"image_24012025_16_51_03_029977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e535ef02d00828edb6686307da53aa19.jpg","text":"TemporaryFile(/tmp/multipartBody1678786653791215551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741035722,"filename":"image_24012025_16_52_02_320810_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331107529","file1":"1331107526","file0":"1331107518","file4":"1331107536","file5":"1331107546","file3":"1331107532"},"map_files_photo_id_array":[{"photo_id":"1331107546","filename":"file5"},{"photo_id":"1331107529","filename":"file2"},{"photo_id":"1331107536","filename":"file4"},{"photo_id":"1331107526","filename":"file1"},{"photo_id":"1331107518","filename":"file0"},{"photo_id":"1331107532","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331107536":["hashtag1","hashtag2"]},{"1331107518":["hashtag1","hashtag2"]},{"1331107532":["hashtag1","hashtag2"]},{"1331107529":["hashtag1","hashtag2"]},{"1331107526":["hashtag1","hashtag2"]},{"1331107546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331107536, 1331107518, 1331107532, 1331107529, 1331107526, 1331107546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.69526958465576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 18:50:31.818896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/52/image_24012025_16_52_02_320810_0002.jpg', '/home/pi/Desktop/images/24012025/16/52/image_24012025_16_52_02_320810_0003.jpg', '/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0000.jpg', '/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0001.jpg', '/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0002.jpg', '/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/52/image_24012025_16_52_02_320810_0002.jpg
/home/pi/Desktop/images/24012025/16/52/image_24012025_16_52_02_320810_0003.jpg
/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0000.jpg
/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0001.jpg
/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0002.jpg
/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 33.39231514930725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 18:51:22.114384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/52/image_24012025_16_52_02_320810_0002.jpg', '/home/pi/Desktop/images/24012025/16/52/image_24012025_16_52_02_320810_0003.jpg', '/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0000.jpg', '/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0001.jpg', '/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0002.jpg', '/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/52/image_24012025_16_52_02_320810_0002.jpg
/home/pi/Desktop/images/24012025/16/52/image_24012025_16_52_02_320810_0003.jpg
/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0000.jpg
/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0001.jpg
/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0002.jpg
/home/pi/Desktop/images/24012025/16/53/image_24012025_16_53_02_457690_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331107875","1331107935","1331107931","1331107928","1331107913","1331107888"],"photo_ids_order":["1331107875","1331107888","1331107913","1331107928","1331107931","1331107935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/08f06bfdd52f39943fc934ba01083c18.jpg","text":"TemporaryFile(/tmp/multipartBody2342729847360450914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741182040,"filename":"image_24012025_16_52_02_320810_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bbb59f8c00a856067b152697b8c45160.jpg","text":"TemporaryFile(/tmp/multipartBody6298062331125161865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741182040,"filename":"image_24012025_16_53_02_457690_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ac2249683ac14459b1e8f83e21fc85f.jpg","text":"TemporaryFile(/tmp/multipartBody6860702065659734662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741182040,"filename":"image_24012025_16_53_02_457690_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7628bd90b2ab7b4c558040bbaea06bc1.jpg","text":"TemporaryFile(/tmp/multipartBody6459214773579315768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741182040,"filename":"image_24012025_16_53_02_457690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/46caeb9faf8e61aefe3688b04fe80cbc.jpg","text":"TemporaryFile(/tmp/multipartBody7071777154395520874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741182040,"filename":"image_24012025_16_53_02_457690_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c4dd5b522c61a739485d3aab05eb39f.jpg","text":"TemporaryFile(/tmp/multipartBody3195933359561817715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741182040,"filename":"image_24012025_16_52_02_320810_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331107913","file1":"1331107888","file0":"1331107875","file4":"1331107931","file5":"1331107935","file3":"1331107928"},"map_files_photo_id_array":[{"photo_id":"1331107935","filename":"file5"},{"photo_id":"1331107913","filename":"file2"},{"photo_id":"1331107931","filename":"file4"},{"photo_id":"1331107888","filename":"file1"},{"photo_id":"1331107875","filename":"file0"},{"photo_id":"1331107928","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331107875":["hashtag1","hashtag2"]},{"1331107935":["hashtag1","hashtag2"]},{"1331107931":["hashtag1","hashtag2"]},{"1331107928":["hashtag1","hashtag2"]},{"1331107913":["hashtag1","hashtag2"]},{"1331107888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331107875, 1331107935, 1331107931, 1331107928, 1331107913, 1331107888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.8490686416626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 18:53:03.010182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/54/image_24012025_16_54_02_718447_0000.jpg', '/home/pi/Desktop/images/24012025/16/54/image_24012025_16_54_02_718447_0001.jpg', '/home/pi/Desktop/images/24012025/16/54/image_24012025_16_54_02_718447_0002.jpg', '/home/pi/Desktop/images/24012025/16/54/image_24012025_16_54_02_718447_0003.jpg', '/home/pi/Desktop/images/24012025/16/55/image_24012025_16_55_02_897143_0000.jpg', '/home/pi/Desktop/images/24012025/16/55/image_24012025_16_55_02_897143_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/54/image_24012025_16_54_02_718447_0000.jpg
/home/pi/Desktop/images/24012025/16/54/image_24012025_16_54_02_718447_0001.jpg
/home/pi/Desktop/images/24012025/16/54/image_24012025_16_54_02_718447_0002.jpg
/home/pi/Desktop/images/24012025/16/54/image_24012025_16_54_02_718447_0003.jpg
/home/pi/Desktop/images/24012025/16/55/image_24012025_16_55_02_897143_0000.jpg
/home/pi/Desktop/images/24012025/16/55/image_24012025_16_55_02_897143_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331108042","1331108051","1331108024","1331108027","1331108000","1331108035"],"photo_ids_order":["1331108000","1331108024","1331108027","1331108035","1331108042","1331108051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ee45492340c47b4a8ab0d38e46e6bbd.jpg","text":"TemporaryFile(/tmp/multipartBody7274948256809340024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741281789,"filename":"image_24012025_16_55_02_897143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/25446a5fd19b99f45ce4b54e172eecc5.jpg","text":"TemporaryFile(/tmp/multipartBody4875918027376177060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741281789,"filename":"image_24012025_16_55_02_897143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/470141019e7d65fa24f4e0f7913c4ebe.jpg","text":"TemporaryFile(/tmp/multipartBody6567949591817030549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741281789,"filename":"image_24012025_16_54_02_718447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0fdfe736292dcf5106d661206436f2b1.jpg","text":"TemporaryFile(/tmp/multipartBody660278087264588590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741281789,"filename":"image_24012025_16_54_02_718447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/300a3fb40ad13389966f1ea5a8903a9b.jpg","text":"TemporaryFile(/tmp/multipartBody4369925990121083790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741281789,"filename":"image_24012025_16_54_02_718447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63fca0b7b835755534b73a99e9cdeb56.jpg","text":"TemporaryFile(/tmp/multipartBody7579830156390998014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741281789,"filename":"image_24012025_16_54_02_718447_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331108027","file1":"1331108024","file0":"1331108000","file4":"1331108042","file5":"1331108051","file3":"1331108035"},"map_files_photo_id_array":[{"photo_id":"1331108051","filename":"file5"},{"photo_id":"1331108027","filename":"file2"},{"photo_id":"1331108042","filename":"file4"},{"photo_id":"1331108024","filename":"file1"},{"photo_id":"1331108000","filename":"file0"},{"photo_id":"1331108035","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331108042":["hashtag1","hashtag2"]},{"1331108051":["hashtag1","hashtag2"]},{"1331108024":["hashtag1","hashtag2"]},{"1331108027":["hashtag1","hashtag2"]},{"1331108000":["hashtag1","hashtag2"]},{"1331108035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331108042, 1331108051, 1331108024, 1331108027, 1331108000, 1331108035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.54760265350342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 18:54:42.565401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/55/image_24012025_16_55_02_897143_0002.jpg', '/home/pi/Desktop/images/24012025/16/55/image_24012025_16_55_02_897143_0003.jpg', '/home/pi/Desktop/images/24012025/16/56/image_24012025_16_56_03_041562_0000.jpg', '/home/pi/Desktop/images/24012025/16/56/image_24012025_16_56_03_041562_0001.jpg', '/home/pi/Desktop/images/24012025/16/56/image_24012025_16_56_03_041562_0002.jpg', '/home/pi/Desktop/images/24012025/16/56/image_24012025_16_56_03_041562_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/55/image_24012025_16_55_02_897143_0002.jpg
/home/pi/Desktop/images/24012025/16/55/image_24012025_16_55_02_897143_0003.jpg
/home/pi/Desktop/images/24012025/16/56/image_24012025_16_56_03_041562_0000.jpg
/home/pi/Desktop/images/24012025/16/56/image_24012025_16_56_03_041562_0001.jpg
/home/pi/Desktop/images/24012025/16/56/image_24012025_16_56_03_041562_0002.jpg
/home/pi/Desktop/images/24012025/16/56/image_24012025_16_56_03_041562_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331108172","1331108207","1331108185","1331108188","1331108167","1331108175"],"photo_ids_order":["1331108167","1331108172","1331108175","1331108185","1331108188","1331108207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b75eddeb6f9288e7d0532f1750ac9803.jpg","text":"TemporaryFile(/tmp/multipartBody3847491874343979197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741389185,"filename":"image_24012025_16_55_02_897143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/072c744cbb4f9c3a3bdf7496d295a1c1.jpg","text":"TemporaryFile(/tmp/multipartBody3816317548880368707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741389185,"filename":"image_24012025_16_56_03_041562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/62b7790db1c3bff908df464caef5593c.jpg","text":"TemporaryFile(/tmp/multipartBody7293744987427873755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741389185,"filename":"image_24012025_16_56_03_041562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3294fb9790a3bf251da5e7cd44d26719.jpg","text":"TemporaryFile(/tmp/multipartBody1110885168285554269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741389185,"filename":"image_24012025_16_56_03_041562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8ce376a047af4939ec45a2717f960fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8715180710644826080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741389185,"filename":"image_24012025_16_55_02_897143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b90e561563d1424c78ca759d3787dcf.jpg","text":"TemporaryFile(/tmp/multipartBody4845589702802889647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741389185,"filename":"image_24012025_16_56_03_041562_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331108175","file1":"1331108172","file0":"1331108167","file4":"1331108188","file5":"1331108207","file3":"1331108185"},"map_files_photo_id_array":[{"photo_id":"1331108207","filename":"file5"},{"photo_id":"1331108175","filename":"file2"},{"photo_id":"1331108188","filename":"file4"},{"photo_id":"1331108172","filename":"file1"},{"photo_id":"1331108167","filename":"file0"},{"photo_id":"1331108185","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331108172":["hashtag1","hashtag2"]},{"1331108207":["hashtag1","hashtag2"]},{"1331108185":["hashtag1","hashtag2"]},{"1331108188":["hashtag1","hashtag2"]},{"1331108167":["hashtag1","hashtag2"]},{"1331108175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331108172, 1331108207, 1331108185, 1331108188, 1331108167, 1331108175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.73838639259338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 18:56:31.969391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0000.jpg', '/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0001.jpg', '/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0002.jpg', '/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0003.jpg', '/home/pi/Desktop/images/24012025/16/58/image_24012025_16_58_02_389488_0000.jpg', '/home/pi/Desktop/images/24012025/16/58/image_24012025_16_58_02_389488_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0000.jpg
/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0001.jpg
/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0002.jpg
/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0003.jpg
/home/pi/Desktop/images/24012025/16/58/image_24012025_16_58_02_389488_0000.jpg
/home/pi/Desktop/images/24012025/16/58/image_24012025_16_58_02_389488_0001.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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 18:59:03.276348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0000.jpg', '/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0001.jpg', '/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0002.jpg', '/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0003.jpg', '/home/pi/Desktop/images/24012025/16/58/image_24012025_16_58_02_389488_0000.jpg', '/home/pi/Desktop/images/24012025/16/58/image_24012025_16_58_02_389488_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0000.jpg
/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0001.jpg
/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0002.jpg
/home/pi/Desktop/images/24012025/16/57/image_24012025_16_57_02_182789_0003.jpg
/home/pi/Desktop/images/24012025/16/58/image_24012025_16_58_02_389488_0000.jpg
/home/pi/Desktop/images/24012025/16/58/image_24012025_16_58_02_389488_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331108574","1331108514","1331108660","1331108650","1331108533","1331108664"],"photo_ids_order":["1331108514","1331108533","1331108574","1331108650","1331108660","1331108664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/baced43075560fd215e46e0f01cc1de8.jpg","text":"TemporaryFile(/tmp/multipartBody2011751642466765746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741658164,"filename":"image_24012025_16_57_02_182789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d06273f18b3317256a0669f4548b89ca.jpg","text":"TemporaryFile(/tmp/multipartBody8323786329808665965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741658164,"filename":"image_24012025_16_57_02_182789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/480aee0b5e5f4977738164722ae5942c.jpg","text":"TemporaryFile(/tmp/multipartBody4499902972963043514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741658164,"filename":"image_24012025_16_58_02_389488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/58f4d3bde76b20df534a39d10cba253d.jpg","text":"TemporaryFile(/tmp/multipartBody7536621251209582162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741658164,"filename":"image_24012025_16_57_02_182789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dde39744c18c4f256776b981b14e43ab.jpg","text":"TemporaryFile(/tmp/multipartBody1950963891865438016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741658164,"filename":"image_24012025_16_57_02_182789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/712fa63b8a0dd5e028054f04117946b9.jpg","text":"TemporaryFile(/tmp/multipartBody8804883622370448679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741658164,"filename":"image_24012025_16_58_02_389488_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331108574","file1":"1331108533","file0":"1331108514","file4":"1331108660","file5":"1331108664","file3":"1331108650"},"map_files_photo_id_array":[{"photo_id":"1331108664","filename":"file5"},{"photo_id":"1331108574","filename":"file2"},{"photo_id":"1331108660","filename":"file4"},{"photo_id":"1331108533","filename":"file1"},{"photo_id":"1331108514","filename":"file0"},{"photo_id":"1331108650","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331108574":["hashtag1","hashtag2"]},{"1331108514":["hashtag1","hashtag2"]},{"1331108660":["hashtag1","hashtag2"]},{"1331108650":["hashtag1","hashtag2"]},{"1331108533":["hashtag1","hashtag2"]},{"1331108664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331108574, 1331108514, 1331108660, 1331108650, 1331108533, 1331108664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 113.22885131835938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 19:01:02.593004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/16/58/image_24012025_16_58_02_389488_0002.jpg', '/home/pi/Desktop/images/24012025/16/58/image_24012025_16_58_02_389488_0003.jpg', '/home/pi/Desktop/images/24012025/16/59/image_24012025_16_59_02_568172_0002.jpg', '/home/pi/Desktop/images/24012025/16/59/image_24012025_16_59_02_568172_0003.jpg', '/home/pi/Desktop/images/24012025/17/00/image_24012025_17_00_02_769170_0000.jpg', '/home/pi/Desktop/images/24012025/17/00/image_24012025_17_00_02_769170_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/16/58/image_24012025_16_58_02_389488_0002.jpg
/home/pi/Desktop/images/24012025/16/58/image_24012025_16_58_02_389488_0003.jpg
/home/pi/Desktop/images/24012025/16/59/image_24012025_16_59_02_568172_0002.jpg
/home/pi/Desktop/images/24012025/16/59/image_24012025_16_59_02_568172_0003.jpg
/home/pi/Desktop/images/24012025/17/00/image_24012025_17_00_02_769170_0000.jpg
/home/pi/Desktop/images/24012025/17/00/image_24012025_17_00_02_769170_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331108867","1331108768","1331108861","1331108794","1331108728","1331108722"],"photo_ids_order":["1331108722","1331108728","1331108768","1331108794","1331108861","1331108867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9fed733cffe6d0cc5c604df4e421d497.jpg","text":"TemporaryFile(/tmp/multipartBody6237360393178137103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741764884,"filename":"image_24012025_17_00_02_769170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/85e0cf5cad9a112700562ccf0129a664.jpg","text":"TemporaryFile(/tmp/multipartBody7975384154618526380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741764884,"filename":"image_24012025_16_59_02_568172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7741daae98af6dae84c65e98c62a83e1.jpg","text":"TemporaryFile(/tmp/multipartBody9091594920699248931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741764884,"filename":"image_24012025_17_00_02_769170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/974e70f336cc0d87b4db2345605c070d.jpg","text":"TemporaryFile(/tmp/multipartBody6690955484103387866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741764884,"filename":"image_24012025_16_59_02_568172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9dd9ab34cc3ebd2bf2c31b121ccf86a8.jpg","text":"TemporaryFile(/tmp/multipartBody5556091175002797768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741764884,"filename":"image_24012025_16_58_02_389488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/11a05d4d8f53d1084cb0d0efb1da9e13.jpg","text":"TemporaryFile(/tmp/multipartBody6001716412855162129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741764884,"filename":"image_24012025_16_58_02_389488_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331108768","file1":"1331108728","file0":"1331108722","file4":"1331108861","file5":"1331108867","file3":"1331108794"},"map_files_photo_id_array":[{"photo_id":"1331108867","filename":"file5"},{"photo_id":"1331108768","filename":"file2"},{"photo_id":"1331108861","filename":"file4"},{"photo_id":"1331108728","filename":"file1"},{"photo_id":"1331108722","filename":"file0"},{"photo_id":"1331108794","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331108867":["hashtag1","hashtag2"]},{"1331108768":["hashtag1","hashtag2"]},{"1331108861":["hashtag1","hashtag2"]},{"1331108794":["hashtag1","hashtag2"]},{"1331108728":["hashtag1","hashtag2"]},{"1331108722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331108867, 1331108768, 1331108861, 1331108794, 1331108728, 1331108722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.69017839431763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 19:02:42.192184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/00/image_24012025_17_00_02_769170_0002.jpg', '/home/pi/Desktop/images/24012025/17/00/image_24012025_17_00_02_769170_0003.jpg', '/home/pi/Desktop/images/24012025/17/01/image_24012025_17_01_02_982128_0000.jpg', '/home/pi/Desktop/images/24012025/17/01/image_24012025_17_01_02_982128_0002.jpg', '/home/pi/Desktop/images/24012025/17/01/image_24012025_17_01_02_982128_0003.jpg', '/home/pi/Desktop/images/24012025/17/02/image_24012025_17_02_03_132075_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/00/image_24012025_17_00_02_769170_0002.jpg
/home/pi/Desktop/images/24012025/17/00/image_24012025_17_00_02_769170_0003.jpg
/home/pi/Desktop/images/24012025/17/01/image_24012025_17_01_02_982128_0000.jpg
/home/pi/Desktop/images/24012025/17/01/image_24012025_17_01_02_982128_0002.jpg
/home/pi/Desktop/images/24012025/17/01/image_24012025_17_01_02_982128_0003.jpg
/home/pi/Desktop/images/24012025/17/02/image_24012025_17_02_03_132075_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331109590","1331109554","1331109299","1331109666","1331109474","1331109606"],"photo_ids_order":["1331109299","1331109474","1331109554","1331109590","1331109606","1331109666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a75a714a0c002a0c09949cf5855324df.jpg","text":"TemporaryFile(/tmp/multipartBody958516268400340080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741860332,"filename":"image_24012025_17_01_02_982128_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3f61a0f9050682ea715628868a5359de.jpg","text":"TemporaryFile(/tmp/multipartBody7939162093531547030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741860332,"filename":"image_24012025_17_01_02_982128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1dbca2c550d454b5d9238c4dc7278bde.jpg","text":"TemporaryFile(/tmp/multipartBody2422051190294077585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741860332,"filename":"image_24012025_17_00_02_769170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f4e6884da203d681cee40177c5802c1f.jpg","text":"TemporaryFile(/tmp/multipartBody8626324288044574215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741860332,"filename":"image_24012025_17_02_03_132075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9a49740098626283316f0b041ffe6d57.jpg","text":"TemporaryFile(/tmp/multipartBody4675438302559220474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741860332,"filename":"image_24012025_17_00_02_769170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da56b2e94eaf48c52e44a345a771a53a.jpg","text":"TemporaryFile(/tmp/multipartBody2373681351381025564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741860332,"filename":"image_24012025_17_01_02_982128_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331109554","file1":"1331109474","file0":"1331109299","file4":"1331109606","file5":"1331109666","file3":"1331109590"},"map_files_photo_id_array":[{"photo_id":"1331109666","filename":"file5"},{"photo_id":"1331109554","filename":"file2"},{"photo_id":"1331109606","filename":"file4"},{"photo_id":"1331109474","filename":"file1"},{"photo_id":"1331109299","filename":"file0"},{"photo_id":"1331109590","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331109590":["hashtag1","hashtag2"]},{"1331109554":["hashtag1","hashtag2"]},{"1331109299":["hashtag1","hashtag2"]},{"1331109666":["hashtag1","hashtag2"]},{"1331109474":["hashtag1","hashtag2"]},{"1331109606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331109590, 1331109554, 1331109299, 1331109666, 1331109474, 1331109606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.85010290145874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:04:22.591836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/02/image_24012025_17_02_03_132075_0001.jpg', '/home/pi/Desktop/images/24012025/17/02/image_24012025_17_02_03_132075_0002.jpg', '/home/pi/Desktop/images/24012025/17/02/image_24012025_17_02_03_132075_0003.jpg', '/home/pi/Desktop/images/24012025/17/03/image_24012025_17_03_02_324490_0000.jpg', '/home/pi/Desktop/images/24012025/17/03/image_24012025_17_03_02_324490_0002.jpg', '/home/pi/Desktop/images/24012025/17/03/image_24012025_17_03_02_324490_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/02/image_24012025_17_02_03_132075_0001.jpg
/home/pi/Desktop/images/24012025/17/02/image_24012025_17_02_03_132075_0002.jpg
/home/pi/Desktop/images/24012025/17/02/image_24012025_17_02_03_132075_0003.jpg
/home/pi/Desktop/images/24012025/17/03/image_24012025_17_03_02_324490_0000.jpg
/home/pi/Desktop/images/24012025/17/03/image_24012025_17_03_02_324490_0002.jpg
/home/pi/Desktop/images/24012025/17/03/image_24012025_17_03_02_324490_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331110578","1331110605","1331110580","1331110721","1331110615","1331110560"],"photo_ids_order":["1331110560","1331110578","1331110580","1331110605","1331110615","1331110721"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f86ef9e02e515bbf797807733eb4c9a2.jpg","text":"TemporaryFile(/tmp/multipartBody6015615079494301051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741969161,"filename":"image_24012025_17_02_03_132075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/92c81d6bcca9aa03ef6a9903c1a05a9b.jpg","text":"TemporaryFile(/tmp/multipartBody941567134529408044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741969161,"filename":"image_24012025_17_03_02_324490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a9104939f3d17c960fa949e645db29a5.jpg","text":"TemporaryFile(/tmp/multipartBody7158414040842878789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741969161,"filename":"image_24012025_17_02_03_132075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa29b31db57f1892ee3e0b3e1f8fd853.jpg","text":"TemporaryFile(/tmp/multipartBody764116056525243550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741969161,"filename":"image_24012025_17_03_02_324490_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/44efb77fdc3e22bca2a84a778b001325.jpg","text":"TemporaryFile(/tmp/multipartBody7065193748474978609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741969161,"filename":"image_24012025_17_03_02_324490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e03a442b1d17f629537040d95bc3fb4.jpg","text":"TemporaryFile(/tmp/multipartBody1035938881953539671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737741969161,"filename":"image_24012025_17_02_03_132075_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331110580","file1":"1331110578","file0":"1331110560","file4":"1331110615","file5":"1331110721","file3":"1331110605"},"map_files_photo_id_array":[{"photo_id":"1331110721","filename":"file5"},{"photo_id":"1331110580","filename":"file2"},{"photo_id":"1331110615","filename":"file4"},{"photo_id":"1331110578","filename":"file1"},{"photo_id":"1331110560","filename":"file0"},{"photo_id":"1331110605","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331110578":["hashtag1","hashtag2"]},{"1331110605":["hashtag1","hashtag2"]},{"1331110580":["hashtag1","hashtag2"]},{"1331110721":["hashtag1","hashtag2"]},{"1331110615":["hashtag1","hashtag2"]},{"1331110560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331110578, 1331110605, 1331110580, 1331110721, 1331110615, 1331110560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.50743317604065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:06:21.895068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/04/image_24012025_17_04_02_452900_0000.jpg', '/home/pi/Desktop/images/24012025/17/04/image_24012025_17_04_02_452900_0001.jpg', '/home/pi/Desktop/images/24012025/17/04/image_24012025_17_04_02_452900_0003.jpg', '/home/pi/Desktop/images/24012025/17/05/image_24012025_17_05_02_672948_0000.jpg', '/home/pi/Desktop/images/24012025/17/05/image_24012025_17_05_02_672948_0001.jpg', '/home/pi/Desktop/images/24012025/17/05/image_24012025_17_05_02_672948_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/04/image_24012025_17_04_02_452900_0000.jpg
/home/pi/Desktop/images/24012025/17/04/image_24012025_17_04_02_452900_0001.jpg
/home/pi/Desktop/images/24012025/17/04/image_24012025_17_04_02_452900_0003.jpg
/home/pi/Desktop/images/24012025/17/05/image_24012025_17_05_02_672948_0000.jpg
/home/pi/Desktop/images/24012025/17/05/image_24012025_17_05_02_672948_0001.jpg
/home/pi/Desktop/images/24012025/17/05/image_24012025_17_05_02_672948_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331111267","1331111249","1331111263","1331111233","1331111256","1331111241"],"photo_ids_order":["1331111233","1331111241","1331111249","1331111256","1331111263","1331111267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ab50652f54c5555d58f508b00ecc0d2.jpg","text":"TemporaryFile(/tmp/multipartBody6096124982505158337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742092254,"filename":"image_24012025_17_05_02_672948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7556a42b47322f97364e7d4dd6f06bc.jpg","text":"TemporaryFile(/tmp/multipartBody5439836101117409423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742092254,"filename":"image_24012025_17_04_02_452900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/01612b69bbffe1a52c5def1ca6aec51b.jpg","text":"TemporaryFile(/tmp/multipartBody3336080525707073710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742092254,"filename":"image_24012025_17_05_02_672948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/88c5e65596ca5145995ea03c9cbf05ce.jpg","text":"TemporaryFile(/tmp/multipartBody7383808448140252012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742092254,"filename":"image_24012025_17_04_02_452900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f3e13172acc9d5eb273dab533932ca74.jpg","text":"TemporaryFile(/tmp/multipartBody8981359598195350836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742092254,"filename":"image_24012025_17_05_02_672948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/13436274b301a47683906955e798db93.jpg","text":"TemporaryFile(/tmp/multipartBody2340526925383219740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742092254,"filename":"image_24012025_17_04_02_452900_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331111249","file1":"1331111241","file0":"1331111233","file4":"1331111263","file5":"1331111267","file3":"1331111256"},"map_files_photo_id_array":[{"photo_id":"1331111267","filename":"file5"},{"photo_id":"1331111249","filename":"file2"},{"photo_id":"1331111263","filename":"file4"},{"photo_id":"1331111241","filename":"file1"},{"photo_id":"1331111233","filename":"file0"},{"photo_id":"1331111256","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331111267":["hashtag1","hashtag2"]},{"1331111249":["hashtag1","hashtag2"]},{"1331111263":["hashtag1","hashtag2"]},{"1331111233":["hashtag1","hashtag2"]},{"1331111256":["hashtag1","hashtag2"]},{"1331111241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331111267, 1331111249, 1331111263, 1331111233, 1331111256, 1331111241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 110.36583876609802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:08:22.226337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/06/image_24012025_17_06_02_975419_0001.jpg', '/home/pi/Desktop/images/24012025/17/06/image_24012025_17_06_02_975419_0002.jpg', '/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0000.jpg', '/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0001.jpg', '/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0002.jpg', '/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/06/image_24012025_17_06_02_975419_0001.jpg
/home/pi/Desktop/images/24012025/17/06/image_24012025_17_06_02_975419_0002.jpg
/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0000.jpg
/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0001.jpg
/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0002.jpg
/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0003.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 50.23992872238159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:09:22.404973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/06/image_24012025_17_06_02_975419_0001.jpg', '/home/pi/Desktop/images/24012025/17/06/image_24012025_17_06_02_975419_0002.jpg', '/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0000.jpg', '/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0001.jpg', '/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0002.jpg', '/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/06/image_24012025_17_06_02_975419_0001.jpg
/home/pi/Desktop/images/24012025/17/06/image_24012025_17_06_02_975419_0002.jpg
/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0000.jpg
/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0001.jpg
/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0002.jpg
/home/pi/Desktop/images/24012025/17/07/image_24012025_17_07_03_097442_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331111432","1331111438","1331111417","1331111410","1331111424","1331111403"],"photo_ids_order":["1331111403","1331111410","1331111417","1331111424","1331111432","1331111438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/931cf9f05f05d609c5cf12d101c3bb28.jpg","text":"TemporaryFile(/tmp/multipartBody1106067038354581212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742267008,"filename":"image_24012025_17_07_03_097442_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/997b83e8701853ca44092b17f80a69ea.jpg","text":"TemporaryFile(/tmp/multipartBody4145430219406450062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742267008,"filename":"image_24012025_17_07_03_097442_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/677b4ef971a21d5c59723d4135fcc509.jpg","text":"TemporaryFile(/tmp/multipartBody2206357697802392412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742267008,"filename":"image_24012025_17_07_03_097442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b8dc1f566bbc161d6bb479e05d48f7dc.jpg","text":"TemporaryFile(/tmp/multipartBody630362687626449960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742267008,"filename":"image_24012025_17_06_02_975419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5282761812cbf530a8eb85d3c71ec084.jpg","text":"TemporaryFile(/tmp/multipartBody7578649671268089412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742267008,"filename":"image_24012025_17_07_03_097442_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e6e390542aae21af8822af19496b1c01.jpg","text":"TemporaryFile(/tmp/multipartBody1513083491588261703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742267008,"filename":"image_24012025_17_06_02_975419_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331111417","file1":"1331111410","file0":"1331111403","file4":"1331111432","file5":"1331111438","file3":"1331111424"},"map_files_photo_id_array":[{"photo_id":"1331111438","filename":"file5"},{"photo_id":"1331111417","filename":"file2"},{"photo_id":"1331111432","filename":"file4"},{"photo_id":"1331111410","filename":"file1"},{"photo_id":"1331111403","filename":"file0"},{"photo_id":"1331111424","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331111432":["hashtag1","hashtag2"]},{"1331111438":["hashtag1","hashtag2"]},{"1331111417":["hashtag1","hashtag2"]},{"1331111410":["hashtag1","hashtag2"]},{"1331111424":["hashtag1","hashtag2"]},{"1331111403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331111432, 1331111438, 1331111417, 1331111410, 1331111424, 1331111403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.43798303604126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 19:11:03.504360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/08/image_24012025_17_08_02_410101_0000.jpg', '/home/pi/Desktop/images/24012025/17/08/image_24012025_17_08_02_410101_0003.jpg', '/home/pi/Desktop/images/24012025/17/09/image_24012025_17_09_02_448832_0000.jpg', '/home/pi/Desktop/images/24012025/17/09/image_24012025_17_09_02_448832_0001.jpg', '/home/pi/Desktop/images/24012025/17/09/image_24012025_17_09_02_448832_0003.jpg', '/home/pi/Desktop/images/24012025/17/10/image_24012025_17_10_02_743857_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/08/image_24012025_17_08_02_410101_0000.jpg
/home/pi/Desktop/images/24012025/17/08/image_24012025_17_08_02_410101_0003.jpg
/home/pi/Desktop/images/24012025/17/09/image_24012025_17_09_02_448832_0000.jpg
/home/pi/Desktop/images/24012025/17/09/image_24012025_17_09_02_448832_0001.jpg
/home/pi/Desktop/images/24012025/17/09/image_24012025_17_09_02_448832_0003.jpg
/home/pi/Desktop/images/24012025/17/10/image_24012025_17_10_02_743857_0000.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 54.276516914367676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 19:12:02.303300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/08/image_24012025_17_08_02_410101_0000.jpg', '/home/pi/Desktop/images/24012025/17/08/image_24012025_17_08_02_410101_0003.jpg', '/home/pi/Desktop/images/24012025/17/09/image_24012025_17_09_02_448832_0000.jpg', '/home/pi/Desktop/images/24012025/17/09/image_24012025_17_09_02_448832_0001.jpg', '/home/pi/Desktop/images/24012025/17/09/image_24012025_17_09_02_448832_0003.jpg', '/home/pi/Desktop/images/24012025/17/10/image_24012025_17_10_02_743857_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/08/image_24012025_17_08_02_410101_0000.jpg
/home/pi/Desktop/images/24012025/17/08/image_24012025_17_08_02_410101_0003.jpg
/home/pi/Desktop/images/24012025/17/09/image_24012025_17_09_02_448832_0000.jpg
/home/pi/Desktop/images/24012025/17/09/image_24012025_17_09_02_448832_0001.jpg
/home/pi/Desktop/images/24012025/17/09/image_24012025_17_09_02_448832_0003.jpg
/home/pi/Desktop/images/24012025/17/10/image_24012025_17_10_02_743857_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331111802","1331111810","1331111752","1331111695","1331111844","1331111727"],"photo_ids_order":["1331111695","1331111727","1331111752","1331111802","1331111810","1331111844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/abb3533295efa67b23305f593842612c.jpg","text":"TemporaryFile(/tmp/multipartBody2280723533576313685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742417604,"filename":"image_24012025_17_09_02_448832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1521ea721779dc489659e342d6b1d12e.jpg","text":"TemporaryFile(/tmp/multipartBody2236845277568271970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742417604,"filename":"image_24012025_17_09_02_448832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0e1252dd8a0e0cf0e909ed8af03b3957.jpg","text":"TemporaryFile(/tmp/multipartBody5512978567264179809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742417604,"filename":"image_24012025_17_09_02_448832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/11172adda70e25baf8e82175f781eb35.jpg","text":"TemporaryFile(/tmp/multipartBody1358577619050038575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742417604,"filename":"image_24012025_17_08_02_410101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e7868e7a7c90723957929ee67835a982.jpg","text":"TemporaryFile(/tmp/multipartBody1067241211074054654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742417604,"filename":"image_24012025_17_10_02_743857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5882f539cf340f69cbe8bb6c7f1825b6.jpg","text":"TemporaryFile(/tmp/multipartBody3032444916824172571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742417604,"filename":"image_24012025_17_08_02_410101_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331111752","file1":"1331111727","file0":"1331111695","file4":"1331111810","file5":"1331111844","file3":"1331111802"},"map_files_photo_id_array":[{"photo_id":"1331111844","filename":"file5"},{"photo_id":"1331111752","filename":"file2"},{"photo_id":"1331111810","filename":"file4"},{"photo_id":"1331111727","filename":"file1"},{"photo_id":"1331111695","filename":"file0"},{"photo_id":"1331111802","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331111802":["hashtag1","hashtag2"]},{"1331111810":["hashtag1","hashtag2"]},{"1331111752":["hashtag1","hashtag2"]},{"1331111695":["hashtag1","hashtag2"]},{"1331111844":["hashtag1","hashtag2"]},{"1331111727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331111802, 1331111810, 1331111752, 1331111695, 1331111844, 1331111727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 120.80006313323975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:14:22.331024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/10/image_24012025_17_10_02_743857_0003.jpg', '/home/pi/Desktop/images/24012025/17/11/image_24012025_17_11_02_881779_0002.jpg', '/home/pi/Desktop/images/24012025/17/11/image_24012025_17_11_02_881779_0003.jpg', '/home/pi/Desktop/images/24012025/17/12/image_24012025_17_12_03_030818_0000.jpg', '/home/pi/Desktop/images/24012025/17/12/image_24012025_17_12_03_030818_0001.jpg', '/home/pi/Desktop/images/24012025/17/12/image_24012025_17_12_03_030818_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/10/image_24012025_17_10_02_743857_0003.jpg
/home/pi/Desktop/images/24012025/17/11/image_24012025_17_11_02_881779_0002.jpg
/home/pi/Desktop/images/24012025/17/11/image_24012025_17_11_02_881779_0003.jpg
/home/pi/Desktop/images/24012025/17/12/image_24012025_17_12_03_030818_0000.jpg
/home/pi/Desktop/images/24012025/17/12/image_24012025_17_12_03_030818_0001.jpg
/home/pi/Desktop/images/24012025/17/12/image_24012025_17_12_03_030818_0002.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 41.8152551651001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:15:22.439195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/10/image_24012025_17_10_02_743857_0003.jpg', '/home/pi/Desktop/images/24012025/17/11/image_24012025_17_11_02_881779_0002.jpg', '/home/pi/Desktop/images/24012025/17/11/image_24012025_17_11_02_881779_0003.jpg', '/home/pi/Desktop/images/24012025/17/12/image_24012025_17_12_03_030818_0000.jpg', '/home/pi/Desktop/images/24012025/17/12/image_24012025_17_12_03_030818_0001.jpg', '/home/pi/Desktop/images/24012025/17/12/image_24012025_17_12_03_030818_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/10/image_24012025_17_10_02_743857_0003.jpg
/home/pi/Desktop/images/24012025/17/11/image_24012025_17_11_02_881779_0002.jpg
/home/pi/Desktop/images/24012025/17/11/image_24012025_17_11_02_881779_0003.jpg
/home/pi/Desktop/images/24012025/17/12/image_24012025_17_12_03_030818_0000.jpg
/home/pi/Desktop/images/24012025/17/12/image_24012025_17_12_03_030818_0001.jpg
/home/pi/Desktop/images/24012025/17/12/image_24012025_17_12_03_030818_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331112269","1331112256","1331112171","1331112273","1331112234","1331112263"],"photo_ids_order":["1331112171","1331112234","1331112256","1331112263","1331112269","1331112273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/43b4f062aec75db545a87cd55cfea508.jpg","text":"TemporaryFile(/tmp/multipartBody1096141337090876928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742631944,"filename":"image_24012025_17_12_03_030818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab19b41efbf92757372932ac33877a67.jpg","text":"TemporaryFile(/tmp/multipartBody2652140097706017997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742631944,"filename":"image_24012025_17_11_02_881779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/46b80d08bcad3169a8a08a85897a1f68.jpg","text":"TemporaryFile(/tmp/multipartBody3760663542282233309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742631944,"filename":"image_24012025_17_10_02_743857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/176f09c869aa7b9ae19a713b6b4e1d8e.jpg","text":"TemporaryFile(/tmp/multipartBody3024277446226694438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742631944,"filename":"image_24012025_17_12_03_030818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c4cb0fb6ef211e2d3938955eafbf41f2.jpg","text":"TemporaryFile(/tmp/multipartBody6723489009776563700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742631944,"filename":"image_24012025_17_11_02_881779_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5dbcf8a10c7753b851c62b966890d749.jpg","text":"TemporaryFile(/tmp/multipartBody772401511187215650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742631944,"filename":"image_24012025_17_12_03_030818_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331112256","file1":"1331112234","file0":"1331112171","file4":"1331112269","file5":"1331112273","file3":"1331112263"},"map_files_photo_id_array":[{"photo_id":"1331112273","filename":"file5"},{"photo_id":"1331112256","filename":"file2"},{"photo_id":"1331112269","filename":"file4"},{"photo_id":"1331112234","filename":"file1"},{"photo_id":"1331112171","filename":"file0"},{"photo_id":"1331112263","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331112269":["hashtag1","hashtag2"]},{"1331112256":["hashtag1","hashtag2"]},{"1331112171":["hashtag1","hashtag2"]},{"1331112273":["hashtag1","hashtag2"]},{"1331112234":["hashtag1","hashtag2"]},{"1331112263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331112269, 1331112256, 1331112171, 1331112273, 1331112234, 1331112263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 119.53139638900757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 19:17:31.836883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/13/image_24012025_17_13_02_202823_0000.jpg', '/home/pi/Desktop/images/24012025/17/13/image_24012025_17_13_02_202823_0001.jpg', '/home/pi/Desktop/images/24012025/17/13/image_24012025_17_13_02_202823_0003.jpg', '/home/pi/Desktop/images/24012025/17/14/image_24012025_17_14_02_430686_0000.jpg', '/home/pi/Desktop/images/24012025/17/14/image_24012025_17_14_02_430686_0001.jpg', '/home/pi/Desktop/images/24012025/17/14/image_24012025_17_14_02_430686_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/13/image_24012025_17_13_02_202823_0000.jpg
/home/pi/Desktop/images/24012025/17/13/image_24012025_17_13_02_202823_0001.jpg
/home/pi/Desktop/images/24012025/17/13/image_24012025_17_13_02_202823_0003.jpg
/home/pi/Desktop/images/24012025/17/14/image_24012025_17_14_02_430686_0000.jpg
/home/pi/Desktop/images/24012025/17/14/image_24012025_17_14_02_430686_0001.jpg
/home/pi/Desktop/images/24012025/17/14/image_24012025_17_14_02_430686_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331112437","1331112397","1331112463","1331112393","1331112474","1331112408"],"photo_ids_order":["1331112393","1331112397","1331112408","1331112437","1331112463","1331112474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/31a98501f57450202bd01c8d719ba493.jpg","text":"TemporaryFile(/tmp/multipartBody8497347371196305620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742755275,"filename":"image_24012025_17_14_02_430686_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c956a458f61589fe4ff0b89d03e8b274.jpg","text":"TemporaryFile(/tmp/multipartBody4842262801321303950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742755275,"filename":"image_24012025_17_13_02_202823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f43f142f142e481ecb072792e9e26271.jpg","text":"TemporaryFile(/tmp/multipartBody7753349285989271037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742755275,"filename":"image_24012025_17_14_02_430686_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0a8ae39f6ed48f21b669d5f836cc0c3.jpg","text":"TemporaryFile(/tmp/multipartBody2558084922069459606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742755275,"filename":"image_24012025_17_13_02_202823_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9cba8fd585ca4625b07103dbad3d981b.jpg","text":"TemporaryFile(/tmp/multipartBody7922779703131231579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742755275,"filename":"image_24012025_17_14_02_430686_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/556be94c26e340f9a41cca210f664a29.jpg","text":"TemporaryFile(/tmp/multipartBody7327236231451344826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742755275,"filename":"image_24012025_17_13_02_202823_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331112408","file1":"1331112397","file0":"1331112393","file4":"1331112463","file5":"1331112474","file3":"1331112437"},"map_files_photo_id_array":[{"photo_id":"1331112474","filename":"file5"},{"photo_id":"1331112408","filename":"file2"},{"photo_id":"1331112463","filename":"file4"},{"photo_id":"1331112397","filename":"file1"},{"photo_id":"1331112393","filename":"file0"},{"photo_id":"1331112437","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331112437":["hashtag1","hashtag2"]},{"1331112397":["hashtag1","hashtag2"]},{"1331112463":["hashtag1","hashtag2"]},{"1331112393":["hashtag1","hashtag2"]},{"1331112474":["hashtag1","hashtag2"]},{"1331112408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331112437, 1331112397, 1331112463, 1331112393, 1331112474, 1331112408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.91150498390198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:19:22.329742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/14/image_24012025_17_14_02_430686_0003.jpg', '/home/pi/Desktop/images/24012025/17/15/image_24012025_17_15_02_534871_0001.jpg', '/home/pi/Desktop/images/24012025/17/15/image_24012025_17_15_02_534871_0003.jpg', '/home/pi/Desktop/images/24012025/17/16/image_24012025_17_16_02_765308_0000.jpg', '/home/pi/Desktop/images/24012025/17/17/image_24012025_17_17_02_938181_0000.jpg', '/home/pi/Desktop/images/24012025/17/17/image_24012025_17_17_02_938181_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/14/image_24012025_17_14_02_430686_0003.jpg
/home/pi/Desktop/images/24012025/17/15/image_24012025_17_15_02_534871_0001.jpg
/home/pi/Desktop/images/24012025/17/15/image_24012025_17_15_02_534871_0003.jpg
/home/pi/Desktop/images/24012025/17/16/image_24012025_17_16_02_765308_0000.jpg
/home/pi/Desktop/images/24012025/17/17/image_24012025_17_17_02_938181_0000.jpg
/home/pi/Desktop/images/24012025/17/17/image_24012025_17_17_02_938181_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331112650","1331112731","1331112589","1331112748","1331112768","1331112726"],"photo_ids_order":["1331112589","1331112650","1331112726","1331112731","1331112748","1331112768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8381642820b60bee8ffbbd9cd17a4562.jpg","text":"TemporaryFile(/tmp/multipartBody2909341979011103073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742869357,"filename":"image_24012025_17_15_02_534871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/24406741f84d9140e27ff1a2e2eef47f.jpg","text":"TemporaryFile(/tmp/multipartBody901958574087687260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742869357,"filename":"image_24012025_17_16_02_765308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b4c5117bf156714b35f3ac085dd900ab.jpg","text":"TemporaryFile(/tmp/multipartBody3672171140190579677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742869357,"filename":"image_24012025_17_14_02_430686_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aaf44bd6bbae1cf252e520477d5450a3.jpg","text":"TemporaryFile(/tmp/multipartBody1483707568473006910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742869357,"filename":"image_24012025_17_17_02_938181_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/673f319ebd8ac1eac1a95eb82d5cffe8.jpg","text":"TemporaryFile(/tmp/multipartBody8542935429345218748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742869357,"filename":"image_24012025_17_17_02_938181_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb76c08256275df3ba22bb22ff09fba8.jpg","text":"TemporaryFile(/tmp/multipartBody104411640004689133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742869357,"filename":"image_24012025_17_15_02_534871_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331112726","file1":"1331112650","file0":"1331112589","file4":"1331112748","file5":"1331112768","file3":"1331112731"},"map_files_photo_id_array":[{"photo_id":"1331112768","filename":"file5"},{"photo_id":"1331112726","filename":"file2"},{"photo_id":"1331112748","filename":"file4"},{"photo_id":"1331112650","filename":"file1"},{"photo_id":"1331112589","filename":"file0"},{"photo_id":"1331112731","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331112650":["hashtag1","hashtag2"]},{"1331112731":["hashtag1","hashtag2"]},{"1331112589":["hashtag1","hashtag2"]},{"1331112748":["hashtag1","hashtag2"]},{"1331112768":["hashtag1","hashtag2"]},{"1331112726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331112650, 1331112731, 1331112589, 1331112748, 1331112768, 1331112726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.70902848243713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:21:22.689168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/17/image_24012025_17_17_02_938181_0003.jpg', '/home/pi/Desktop/images/24012025/17/18/image_24012025_17_18_03_050589_0000.jpg', '/home/pi/Desktop/images/24012025/17/18/image_24012025_17_18_03_050589_0001.jpg', '/home/pi/Desktop/images/24012025/17/19/image_24012025_17_19_02_233748_0000.jpg', '/home/pi/Desktop/images/24012025/17/19/image_24012025_17_19_02_233748_0001.jpg', '/home/pi/Desktop/images/24012025/17/19/image_24012025_17_19_02_233748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/17/image_24012025_17_17_02_938181_0003.jpg
/home/pi/Desktop/images/24012025/17/18/image_24012025_17_18_03_050589_0000.jpg
/home/pi/Desktop/images/24012025/17/18/image_24012025_17_18_03_050589_0001.jpg
/home/pi/Desktop/images/24012025/17/19/image_24012025_17_19_02_233748_0000.jpg
/home/pi/Desktop/images/24012025/17/19/image_24012025_17_19_02_233748_0001.jpg
/home/pi/Desktop/images/24012025/17/19/image_24012025_17_19_02_233748_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331113505","1331113630","1331113647","1331113428","1331113367","1331113274"],"photo_ids_order":["1331113274","1331113367","1331113428","1331113505","1331113630","1331113647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/59a7d714362ded66001924ed9f42da51.jpg","text":"TemporaryFile(/tmp/multipartBody6237379606002347262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742988294,"filename":"image_24012025_17_19_02_233748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/09b6da857a8bdff1da4fbb6d8e729483.jpg","text":"TemporaryFile(/tmp/multipartBody773433650392546241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742988294,"filename":"image_24012025_17_19_02_233748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c3704fa0116de2c04bd022a3ab40ab9.jpg","text":"TemporaryFile(/tmp/multipartBody4891726916705451153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742988294,"filename":"image_24012025_17_19_02_233748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1b636d454f104b4a3e757c2e9637bd43.jpg","text":"TemporaryFile(/tmp/multipartBody4341654329821651677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742988294,"filename":"image_24012025_17_18_03_050589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7005f8911e47072bffb8b5eba0b8a820.jpg","text":"TemporaryFile(/tmp/multipartBody7103113977773230169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742988294,"filename":"image_24012025_17_18_03_050589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f7212e5d066ffc84fdd53d852e35de0e.jpg","text":"TemporaryFile(/tmp/multipartBody7004778368465117574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737742988294,"filename":"image_24012025_17_17_02_938181_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331113428","file1":"1331113367","file0":"1331113274","file4":"1331113630","file5":"1331113647","file3":"1331113505"},"map_files_photo_id_array":[{"photo_id":"1331113647","filename":"file5"},{"photo_id":"1331113428","filename":"file2"},{"photo_id":"1331113630","filename":"file4"},{"photo_id":"1331113367","filename":"file1"},{"photo_id":"1331113274","filename":"file0"},{"photo_id":"1331113505","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331113505":["hashtag1","hashtag2"]},{"1331113630":["hashtag1","hashtag2"]},{"1331113647":["hashtag1","hashtag2"]},{"1331113428":["hashtag1","hashtag2"]},{"1331113367":["hashtag1","hashtag2"]},{"1331113274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331113505, 1331113630, 1331113647, 1331113428, 1331113367, 1331113274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 111.2476921081543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:23:21.996703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/19/image_24012025_17_19_02_233748_0003.jpg', '/home/pi/Desktop/images/24012025/17/20/image_24012025_17_20_02_484817_0000.jpg', '/home/pi/Desktop/images/24012025/17/20/image_24012025_17_20_02_484817_0003.jpg', '/home/pi/Desktop/images/24012025/17/21/image_24012025_17_21_02_553012_0001.jpg', '/home/pi/Desktop/images/24012025/17/22/image_24012025_17_22_02_737973_0000.jpg', '/home/pi/Desktop/images/24012025/17/22/image_24012025_17_22_02_737973_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/19/image_24012025_17_19_02_233748_0003.jpg
/home/pi/Desktop/images/24012025/17/20/image_24012025_17_20_02_484817_0000.jpg
/home/pi/Desktop/images/24012025/17/20/image_24012025_17_20_02_484817_0003.jpg
/home/pi/Desktop/images/24012025/17/21/image_24012025_17_21_02_553012_0001.jpg
/home/pi/Desktop/images/24012025/17/22/image_24012025_17_22_02_737973_0000.jpg
/home/pi/Desktop/images/24012025/17/22/image_24012025_17_22_02_737973_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331114128","1331114160","1331114052","1331114022","1331114144","1331114030"],"photo_ids_order":["1331114022","1331114030","1331114052","1331114128","1331114144","1331114160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/baebf8277e1f2cdc4411e3ef8ef3949b.jpg","text":"TemporaryFile(/tmp/multipartBody5794568909382583883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743109687,"filename":"image_24012025_17_21_02_553012_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9cb5fbb1eff0982d6700f66c3f7cff0a.jpg","text":"TemporaryFile(/tmp/multipartBody1354083379510062540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743109687,"filename":"image_24012025_17_22_02_737973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/70bec55be96a62de9befdc9a2ff408e2.jpg","text":"TemporaryFile(/tmp/multipartBody461510068813605503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743109687,"filename":"image_24012025_17_20_02_484817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2e5de6954e6032be48c2fb4c00d82a9d.jpg","text":"TemporaryFile(/tmp/multipartBody2928349484030120899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743109687,"filename":"image_24012025_17_19_02_233748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/773322662f254c55d104c19d06d4cf63.jpg","text":"TemporaryFile(/tmp/multipartBody2687171311664261869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743109687,"filename":"image_24012025_17_22_02_737973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/380b6141f2b63a0a73ff79405a273e73.jpg","text":"TemporaryFile(/tmp/multipartBody4881991316599296364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743109687,"filename":"image_24012025_17_20_02_484817_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331114052","file1":"1331114030","file0":"1331114022","file4":"1331114144","file5":"1331114160","file3":"1331114128"},"map_files_photo_id_array":[{"photo_id":"1331114160","filename":"file5"},{"photo_id":"1331114052","filename":"file2"},{"photo_id":"1331114144","filename":"file4"},{"photo_id":"1331114030","filename":"file1"},{"photo_id":"1331114022","filename":"file0"},{"photo_id":"1331114128","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331114128":["hashtag1","hashtag2"]},{"1331114160":["hashtag1","hashtag2"]},{"1331114052":["hashtag1","hashtag2"]},{"1331114022":["hashtag1","hashtag2"]},{"1331114144":["hashtag1","hashtag2"]},{"1331114030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331114128, 1331114160, 1331114052, 1331114022, 1331114144, 1331114030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.87827157974243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:25:22.336803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/22/image_24012025_17_22_02_737973_0003.jpg', '/home/pi/Desktop/images/24012025/17/23/image_24012025_17_23_02_895674_0000.jpg', '/home/pi/Desktop/images/24012025/17/23/image_24012025_17_23_02_895674_0002.jpg', '/home/pi/Desktop/images/24012025/17/24/image_24012025_17_24_03_199598_0001.jpg', '/home/pi/Desktop/images/24012025/17/24/image_24012025_17_24_03_199598_0002.jpg', '/home/pi/Desktop/images/24012025/17/24/image_24012025_17_24_03_199598_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/22/image_24012025_17_22_02_737973_0003.jpg
/home/pi/Desktop/images/24012025/17/23/image_24012025_17_23_02_895674_0000.jpg
/home/pi/Desktop/images/24012025/17/23/image_24012025_17_23_02_895674_0002.jpg
/home/pi/Desktop/images/24012025/17/24/image_24012025_17_24_03_199598_0001.jpg
/home/pi/Desktop/images/24012025/17/24/image_24012025_17_24_03_199598_0002.jpg
/home/pi/Desktop/images/24012025/17/24/image_24012025_17_24_03_199598_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331114227","1331114221","1331114215","1331114200","1331114232","1331114207"],"photo_ids_order":["1331114200","1331114207","1331114215","1331114221","1331114227","1331114232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/572861e0d25e4b39e218f94eb0206bbd.jpg","text":"TemporaryFile(/tmp/multipartBody2936972225157838167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743229078,"filename":"image_24012025_17_24_03_199598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3121c1a26442fb0bf5b0aa9dfd4f135a.jpg","text":"TemporaryFile(/tmp/multipartBody4644304213716902008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743229078,"filename":"image_24012025_17_24_03_199598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e3b64010009578c678dc3f9983fdef99.jpg","text":"TemporaryFile(/tmp/multipartBody5428694203478823195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743229078,"filename":"image_24012025_17_23_02_895674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f3be5fe9ec2fa3a3d2cd2dc32ca61461.jpg","text":"TemporaryFile(/tmp/multipartBody6997998443329117106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743229078,"filename":"image_24012025_17_22_02_737973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b9526a2d94961564940eb60c3a221a67.jpg","text":"TemporaryFile(/tmp/multipartBody1357641710535034479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743229078,"filename":"image_24012025_17_24_03_199598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d8b8e42a909f53e8d6db93eb5f3e4580.jpg","text":"TemporaryFile(/tmp/multipartBody3619177554696733481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743229078,"filename":"image_24012025_17_23_02_895674_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331114215","file1":"1331114207","file0":"1331114200","file4":"1331114227","file5":"1331114232","file3":"1331114221"},"map_files_photo_id_array":[{"photo_id":"1331114232","filename":"file5"},{"photo_id":"1331114215","filename":"file2"},{"photo_id":"1331114227","filename":"file4"},{"photo_id":"1331114207","filename":"file1"},{"photo_id":"1331114200","filename":"file0"},{"photo_id":"1331114221","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331114227":["hashtag1","hashtag2"]},{"1331114221":["hashtag1","hashtag2"]},{"1331114215":["hashtag1","hashtag2"]},{"1331114200":["hashtag1","hashtag2"]},{"1331114232":["hashtag1","hashtag2"]},{"1331114207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331114227, 1331114221, 1331114215, 1331114200, 1331114232, 1331114207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.69769763946533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:27:22.662788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/25/image_24012025_17_25_02_304217_0000.jpg', '/home/pi/Desktop/images/24012025/17/25/image_24012025_17_25_02_304217_0001.jpg', '/home/pi/Desktop/images/24012025/17/25/image_24012025_17_25_02_304217_0002.jpg', '/home/pi/Desktop/images/24012025/17/25/image_24012025_17_25_02_304217_0003.jpg', '/home/pi/Desktop/images/24012025/17/26/image_24012025_17_26_02_557869_0000.jpg', '/home/pi/Desktop/images/24012025/17/26/image_24012025_17_26_02_557869_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/25/image_24012025_17_25_02_304217_0000.jpg
/home/pi/Desktop/images/24012025/17/25/image_24012025_17_25_02_304217_0001.jpg
/home/pi/Desktop/images/24012025/17/25/image_24012025_17_25_02_304217_0002.jpg
/home/pi/Desktop/images/24012025/17/25/image_24012025_17_25_02_304217_0003.jpg
/home/pi/Desktop/images/24012025/17/26/image_24012025_17_26_02_557869_0000.jpg
/home/pi/Desktop/images/24012025/17/26/image_24012025_17_26_02_557869_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331114359","1331114401","1331114379","1331114316","1331114328","1331114369"],"photo_ids_order":["1331114316","1331114328","1331114359","1331114369","1331114379","1331114401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a9ee29ffcc6f04d21bd6b60e642416d1.jpg","text":"TemporaryFile(/tmp/multipartBody247779073935086576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743344332,"filename":"image_24012025_17_25_02_304217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/126b3e47b97468a11e105a2a01122571.jpg","text":"TemporaryFile(/tmp/multipartBody7575533260881174172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743344332,"filename":"image_24012025_17_26_02_557869_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f3187af48861213e398a76a8fb01736d.jpg","text":"TemporaryFile(/tmp/multipartBody3739906571315002739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743344332,"filename":"image_24012025_17_26_02_557869_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1219b77495259ad38eb569bc278c8b1d.jpg","text":"TemporaryFile(/tmp/multipartBody8275755327884603127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743344332,"filename":"image_24012025_17_25_02_304217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/830b5bf83f0b7de20a97506701cbd784.jpg","text":"TemporaryFile(/tmp/multipartBody2593588992257645075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743344332,"filename":"image_24012025_17_25_02_304217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a7a7d734848df44ba7b9dcebc8aeadf6.jpg","text":"TemporaryFile(/tmp/multipartBody3812936387600152351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743344332,"filename":"image_24012025_17_25_02_304217_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331114359","file1":"1331114328","file0":"1331114316","file4":"1331114379","file5":"1331114401","file3":"1331114369"},"map_files_photo_id_array":[{"photo_id":"1331114401","filename":"file5"},{"photo_id":"1331114359","filename":"file2"},{"photo_id":"1331114379","filename":"file4"},{"photo_id":"1331114328","filename":"file1"},{"photo_id":"1331114316","filename":"file0"},{"photo_id":"1331114369","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331114359":["hashtag1","hashtag2"]},{"1331114401":["hashtag1","hashtag2"]},{"1331114379":["hashtag1","hashtag2"]},{"1331114316":["hashtag1","hashtag2"]},{"1331114328":["hashtag1","hashtag2"]},{"1331114369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331114359, 1331114401, 1331114379, 1331114316, 1331114328, 1331114369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.7557303905487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 19:29:02.594755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/26/image_24012025_17_26_02_557869_0002.jpg', '/home/pi/Desktop/images/24012025/17/26/image_24012025_17_26_02_557869_0003.jpg', '/home/pi/Desktop/images/24012025/17/27/image_24012025_17_27_02_700887_0000.jpg', '/home/pi/Desktop/images/24012025/17/27/image_24012025_17_27_02_700887_0001.jpg', '/home/pi/Desktop/images/24012025/17/27/image_24012025_17_27_02_700887_0002.jpg', '/home/pi/Desktop/images/24012025/17/27/image_24012025_17_27_02_700887_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/26/image_24012025_17_26_02_557869_0002.jpg
/home/pi/Desktop/images/24012025/17/26/image_24012025_17_26_02_557869_0003.jpg
/home/pi/Desktop/images/24012025/17/27/image_24012025_17_27_02_700887_0000.jpg
/home/pi/Desktop/images/24012025/17/27/image_24012025_17_27_02_700887_0001.jpg
/home/pi/Desktop/images/24012025/17/27/image_24012025_17_27_02_700887_0002.jpg
/home/pi/Desktop/images/24012025/17/27/image_24012025_17_27_02_700887_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331114506","1331114613","1331114607","1331114529","1331114514","1331114609"],"photo_ids_order":["1331114506","1331114514","1331114529","1331114607","1331114609","1331114613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b1dad94b37065523b9fa532816eb35d.jpg","text":"TemporaryFile(/tmp/multipartBody1011482973281104848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743449243,"filename":"image_24012025_17_26_02_557869_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/caf767a91318e5b397f4d3d686611316.jpg","text":"TemporaryFile(/tmp/multipartBody6781928952559373561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743449243,"filename":"image_24012025_17_27_02_700887_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d9594967babcc75c487208f5850048f5.jpg","text":"TemporaryFile(/tmp/multipartBody8144216425521110532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743449243,"filename":"image_24012025_17_27_02_700887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00ab1c31f122ec3d8dd902b800ee262d.jpg","text":"TemporaryFile(/tmp/multipartBody2326191877129147289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743449243,"filename":"image_24012025_17_27_02_700887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/086dbb2cf737f8258f86bc93540b0f10.jpg","text":"TemporaryFile(/tmp/multipartBody1621874652662406519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743449243,"filename":"image_24012025_17_26_02_557869_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/29090e0ddedd106b550fdae9b07a0d84.jpg","text":"TemporaryFile(/tmp/multipartBody6959343758949021081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743449243,"filename":"image_24012025_17_27_02_700887_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331114529","file1":"1331114514","file0":"1331114506","file4":"1331114609","file5":"1331114613","file3":"1331114607"},"map_files_photo_id_array":[{"photo_id":"1331114613","filename":"file5"},{"photo_id":"1331114529","filename":"file2"},{"photo_id":"1331114609","filename":"file4"},{"photo_id":"1331114514","filename":"file1"},{"photo_id":"1331114506","filename":"file0"},{"photo_id":"1331114607","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331114506":["hashtag1","hashtag2"]},{"1331114613":["hashtag1","hashtag2"]},{"1331114607":["hashtag1","hashtag2"]},{"1331114529":["hashtag1","hashtag2"]},{"1331114514":["hashtag1","hashtag2"]},{"1331114609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331114506, 1331114613, 1331114607, 1331114529, 1331114514, 1331114609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.33900213241577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 19:30:52.183484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/28/image_24012025_17_28_02_894890_0000.jpg', '/home/pi/Desktop/images/24012025/17/28/image_24012025_17_28_02_894890_0001.jpg', '/home/pi/Desktop/images/24012025/17/28/image_24012025_17_28_02_894890_0002.jpg', '/home/pi/Desktop/images/24012025/17/28/image_24012025_17_28_02_894890_0003.jpg', '/home/pi/Desktop/images/24012025/17/29/image_24012025_17_29_03_209826_0000.jpg', '/home/pi/Desktop/images/24012025/17/29/image_24012025_17_29_03_209826_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/28/image_24012025_17_28_02_894890_0000.jpg
/home/pi/Desktop/images/24012025/17/28/image_24012025_17_28_02_894890_0001.jpg
/home/pi/Desktop/images/24012025/17/28/image_24012025_17_28_02_894890_0002.jpg
/home/pi/Desktop/images/24012025/17/28/image_24012025_17_28_02_894890_0003.jpg
/home/pi/Desktop/images/24012025/17/29/image_24012025_17_29_03_209826_0000.jpg
/home/pi/Desktop/images/24012025/17/29/image_24012025_17_29_03_209826_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331115087","1331115018","1331114910","1331114978","1331114884","1331115013"],"photo_ids_order":["1331114884","1331114910","1331114978","1331115013","1331115018","1331115087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3d778860bd6d6694bd5828b4af6cf49c.jpg","text":"TemporaryFile(/tmp/multipartBody5195702723658623693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743560094,"filename":"image_24012025_17_29_03_209826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e635dc6d72cc1edfe666f88c2b38194.jpg","text":"TemporaryFile(/tmp/multipartBody5979232564025665667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743560094,"filename":"image_24012025_17_29_03_209826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63b054a0d1e91fe51cfa18bb8eb467dc.jpg","text":"TemporaryFile(/tmp/multipartBody7885082840463480582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743560094,"filename":"image_24012025_17_28_02_894890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/68b04abfcb45fd161c37c135e9a71277.jpg","text":"TemporaryFile(/tmp/multipartBody4821786133682971519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743560094,"filename":"image_24012025_17_28_02_894890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e0c83ca82da0d9357eae0e9a5d00300.jpg","text":"TemporaryFile(/tmp/multipartBody3930481047622753389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743560094,"filename":"image_24012025_17_28_02_894890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ea7eb4ddbbbd162a72c76758125a432.jpg","text":"TemporaryFile(/tmp/multipartBody959806896794222538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743560094,"filename":"image_24012025_17_28_02_894890_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331114978","file1":"1331114910","file0":"1331114884","file4":"1331115018","file5":"1331115087","file3":"1331115013"},"map_files_photo_id_array":[{"photo_id":"1331115087","filename":"file5"},{"photo_id":"1331114978","filename":"file2"},{"photo_id":"1331115018","filename":"file4"},{"photo_id":"1331114910","filename":"file1"},{"photo_id":"1331114884","filename":"file0"},{"photo_id":"1331115013","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331115087":["hashtag1","hashtag2"]},{"1331115018":["hashtag1","hashtag2"]},{"1331114910":["hashtag1","hashtag2"]},{"1331114978":["hashtag1","hashtag2"]},{"1331114884":["hashtag1","hashtag2"]},{"1331115013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331115087, 1331115018, 1331114910, 1331114978, 1331114884, 1331115013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 117.22869777679443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 19:32:52.499669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/29/image_24012025_17_29_03_209826_0002.jpg', '/home/pi/Desktop/images/24012025/17/29/image_24012025_17_29_03_209826_0003.jpg', '/home/pi/Desktop/images/24012025/17/30/image_24012025_17_30_02_274629_0000.jpg', '/home/pi/Desktop/images/24012025/17/30/image_24012025_17_30_02_274629_0001.jpg', '/home/pi/Desktop/images/24012025/17/30/image_24012025_17_30_02_274629_0002.jpg', '/home/pi/Desktop/images/24012025/17/30/image_24012025_17_30_02_274629_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/29/image_24012025_17_29_03_209826_0002.jpg
/home/pi/Desktop/images/24012025/17/29/image_24012025_17_29_03_209826_0003.jpg
/home/pi/Desktop/images/24012025/17/30/image_24012025_17_30_02_274629_0000.jpg
/home/pi/Desktop/images/24012025/17/30/image_24012025_17_30_02_274629_0001.jpg
/home/pi/Desktop/images/24012025/17/30/image_24012025_17_30_02_274629_0002.jpg
/home/pi/Desktop/images/24012025/17/30/image_24012025_17_30_02_274629_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331115285","1331115345","1331115395","1331115409","1331115439","1331115211"],"photo_ids_order":["1331115211","1331115285","1331115345","1331115395","1331115409","1331115439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff95da4329984de5590aa7ee4e551f2e.jpg","text":"TemporaryFile(/tmp/multipartBody1569631766930549700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743667538,"filename":"image_24012025_17_29_03_209826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c2a286d6a00f4006306c09991f31ddc8.jpg","text":"TemporaryFile(/tmp/multipartBody1935812196350828729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743667538,"filename":"image_24012025_17_30_02_274629_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b194844e1a83594c021923c12aa4579a.jpg","text":"TemporaryFile(/tmp/multipartBody6839831606077824661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743667538,"filename":"image_24012025_17_30_02_274629_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/04e0955f70e75c30f7985d0b398ada99.jpg","text":"TemporaryFile(/tmp/multipartBody8019640281981784960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743667538,"filename":"image_24012025_17_30_02_274629_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6294371d7f43f2b8a336806e9f33aa27.jpg","text":"TemporaryFile(/tmp/multipartBody6718703665715671161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743667538,"filename":"image_24012025_17_30_02_274629_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0d5a728c9f4bf61d1760c91725282ea3.jpg","text":"TemporaryFile(/tmp/multipartBody5258281160641986748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743667538,"filename":"image_24012025_17_29_03_209826_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331115345","file1":"1331115285","file0":"1331115211","file4":"1331115409","file5":"1331115439","file3":"1331115395"},"map_files_photo_id_array":[{"photo_id":"1331115439","filename":"file5"},{"photo_id":"1331115345","filename":"file2"},{"photo_id":"1331115409","filename":"file4"},{"photo_id":"1331115285","filename":"file1"},{"photo_id":"1331115211","filename":"file0"},{"photo_id":"1331115395","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331115285":["hashtag1","hashtag2"]},{"1331115345":["hashtag1","hashtag2"]},{"1331115395":["hashtag1","hashtag2"]},{"1331115409":["hashtag1","hashtag2"]},{"1331115439":["hashtag1","hashtag2"]},{"1331115211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331115285, 1331115345, 1331115395, 1331115409, 1331115439, 1331115211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.07088971138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 19:34:41.904977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/31/image_24012025_17_31_02_496412_0000.jpg', '/home/pi/Desktop/images/24012025/17/31/image_24012025_17_31_02_496412_0001.jpg', '/home/pi/Desktop/images/24012025/17/31/image_24012025_17_31_02_496412_0002.jpg', '/home/pi/Desktop/images/24012025/17/31/image_24012025_17_31_02_496412_0003.jpg', '/home/pi/Desktop/images/24012025/17/32/image_24012025_17_32_02_700849_0000.jpg', '/home/pi/Desktop/images/24012025/17/32/image_24012025_17_32_02_700849_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/31/image_24012025_17_31_02_496412_0000.jpg
/home/pi/Desktop/images/24012025/17/31/image_24012025_17_31_02_496412_0001.jpg
/home/pi/Desktop/images/24012025/17/31/image_24012025_17_31_02_496412_0002.jpg
/home/pi/Desktop/images/24012025/17/31/image_24012025_17_31_02_496412_0003.jpg
/home/pi/Desktop/images/24012025/17/32/image_24012025_17_32_02_700849_0000.jpg
/home/pi/Desktop/images/24012025/17/32/image_24012025_17_32_02_700849_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331115735","1331115936","1331115848","1331115833","1331115641","1331115841"],"photo_ids_order":["1331115641","1331115735","1331115833","1331115841","1331115848","1331115936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/16422cefcd7e19232636211e32062817.jpg","text":"TemporaryFile(/tmp/multipartBody6473714093942176828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743788131,"filename":"image_24012025_17_31_02_496412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eaefa3a8c1d775057f99d62db869ad12.jpg","text":"TemporaryFile(/tmp/multipartBody1242450839970977024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743788131,"filename":"image_24012025_17_32_02_700849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37ebb013888dc6889552deb2d0331e07.jpg","text":"TemporaryFile(/tmp/multipartBody8211983458817178341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743788131,"filename":"image_24012025_17_32_02_700849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7b7ecc7b13d5a8d5dc690f78aa3377b.jpg","text":"TemporaryFile(/tmp/multipartBody5837876225928259469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743788131,"filename":"image_24012025_17_31_02_496412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f72d2c0b6259d91c949f36d4d9cb04eb.jpg","text":"TemporaryFile(/tmp/multipartBody8174346350361610634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743788131,"filename":"image_24012025_17_31_02_496412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf2e73524b2bdb570a209340fd8aa470.jpg","text":"TemporaryFile(/tmp/multipartBody7814768796863226787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743788131,"filename":"image_24012025_17_31_02_496412_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331115833","file1":"1331115735","file0":"1331115641","file4":"1331115848","file5":"1331115936","file3":"1331115841"},"map_files_photo_id_array":[{"photo_id":"1331115936","filename":"file5"},{"photo_id":"1331115833","filename":"file2"},{"photo_id":"1331115848","filename":"file4"},{"photo_id":"1331115735","filename":"file1"},{"photo_id":"1331115641","filename":"file0"},{"photo_id":"1331115841","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331115735":["hashtag1","hashtag2"]},{"1331115936":["hashtag1","hashtag2"]},{"1331115848":["hashtag1","hashtag2"]},{"1331115833":["hashtag1","hashtag2"]},{"1331115641":["hashtag1","hashtag2"]},{"1331115841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331115735, 1331115936, 1331115848, 1331115833, 1331115641, 1331115841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 110.69778418540955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 19:36:42.334867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/32/image_24012025_17_32_02_700849_0002.jpg', '/home/pi/Desktop/images/24012025/17/32/image_24012025_17_32_02_700849_0003.jpg', '/home/pi/Desktop/images/24012025/17/33/image_24012025_17_33_02_951566_0000.jpg', '/home/pi/Desktop/images/24012025/17/33/image_24012025_17_33_02_951566_0001.jpg', '/home/pi/Desktop/images/24012025/17/33/image_24012025_17_33_02_951566_0002.jpg', '/home/pi/Desktop/images/24012025/17/33/image_24012025_17_33_02_951566_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/32/image_24012025_17_32_02_700849_0002.jpg
/home/pi/Desktop/images/24012025/17/32/image_24012025_17_32_02_700849_0003.jpg
/home/pi/Desktop/images/24012025/17/33/image_24012025_17_33_02_951566_0000.jpg
/home/pi/Desktop/images/24012025/17/33/image_24012025_17_33_02_951566_0001.jpg
/home/pi/Desktop/images/24012025/17/33/image_24012025_17_33_02_951566_0002.jpg
/home/pi/Desktop/images/24012025/17/33/image_24012025_17_33_02_951566_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331116154","1331116136","1331116145","1331116150","1331116117","1331116158"],"photo_ids_order":["1331116117","1331116136","1331116145","1331116150","1331116154","1331116158"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/889c1226fffa6e6a5342ede0bef5bcb2.jpg","text":"TemporaryFile(/tmp/multipartBody4297417892524261566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743892747,"filename":"image_24012025_17_33_02_951566_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5f6638b9bffb5209c17570d9ae2a3da.jpg","text":"TemporaryFile(/tmp/multipartBody7132729946176191570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743892747,"filename":"image_24012025_17_32_02_700849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8eed305de452880048d3f9d66d7fcf9e.jpg","text":"TemporaryFile(/tmp/multipartBody957243635112945657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743892747,"filename":"image_24012025_17_33_02_951566_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6d8048ca783e9951ab9d74dc07d9d22c.jpg","text":"TemporaryFile(/tmp/multipartBody165253303276804239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743892747,"filename":"image_24012025_17_33_02_951566_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bff677bd2e1fbef3af0a46526493a4cb.jpg","text":"TemporaryFile(/tmp/multipartBody6111192581145382507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743892747,"filename":"image_24012025_17_32_02_700849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3917be50a7d3aeb8febc56df3b539110.jpg","text":"TemporaryFile(/tmp/multipartBody1112542371807891430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737743892747,"filename":"image_24012025_17_33_02_951566_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331116145","file1":"1331116136","file0":"1331116117","file4":"1331116154","file5":"1331116158","file3":"1331116150"},"map_files_photo_id_array":[{"photo_id":"1331116158","filename":"file5"},{"photo_id":"1331116145","filename":"file2"},{"photo_id":"1331116154","filename":"file4"},{"photo_id":"1331116136","filename":"file1"},{"photo_id":"1331116117","filename":"file0"},{"photo_id":"1331116150","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331116154":["hashtag1","hashtag2"]},{"1331116136":["hashtag1","hashtag2"]},{"1331116145":["hashtag1","hashtag2"]},{"1331116150":["hashtag1","hashtag2"]},{"1331116117":["hashtag1","hashtag2"]},{"1331116158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331116154, 1331116136, 1331116145, 1331116150, 1331116117, 1331116158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.74985146522522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:38:22.580969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0000.jpg', '/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0001.jpg', '/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0002.jpg', '/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0003.jpg', '/home/pi/Desktop/images/24012025/17/35/image_24012025_17_35_02_336183_0000.jpg', '/home/pi/Desktop/images/24012025/17/35/image_24012025_17_35_02_336183_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0000.jpg
/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0001.jpg
/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0002.jpg
/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0003.jpg
/home/pi/Desktop/images/24012025/17/35/image_24012025_17_35_02_336183_0000.jpg
/home/pi/Desktop/images/24012025/17/35/image_24012025_17_35_02_336183_0001.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 48.846190214157104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:39:22.781475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0000.jpg', '/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0001.jpg', '/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0002.jpg', '/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0003.jpg', '/home/pi/Desktop/images/24012025/17/35/image_24012025_17_35_02_336183_0000.jpg', '/home/pi/Desktop/images/24012025/17/35/image_24012025_17_35_02_336183_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0000.jpg
/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0001.jpg
/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0002.jpg
/home/pi/Desktop/images/24012025/17/34/image_24012025_17_34_02_104407_0003.jpg
/home/pi/Desktop/images/24012025/17/35/image_24012025_17_35_02_336183_0000.jpg
/home/pi/Desktop/images/24012025/17/35/image_24012025_17_35_02_336183_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331116524","1331116452","1331116480","1331116411","1331116653","1331116554"],"photo_ids_order":["1331116411","1331116452","1331116480","1331116524","1331116554","1331116653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9f326a72aca8ed94f82d17d3c195c5a7.jpg","text":"TemporaryFile(/tmp/multipartBody2805979846284650160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744064385,"filename":"image_24012025_17_34_02_104407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d09b142f27bb982e90593b11f2501ce1.jpg","text":"TemporaryFile(/tmp/multipartBody6827829633098681325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744064385,"filename":"image_24012025_17_34_02_104407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0df4de3a2a722d43a123546d3bbb84e8.jpg","text":"TemporaryFile(/tmp/multipartBody697600273427723381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744064385,"filename":"image_24012025_17_34_02_104407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f1cdcc6aef5ced0867b177a5f02153e.jpg","text":"TemporaryFile(/tmp/multipartBody7766151557408326675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744064385,"filename":"image_24012025_17_34_02_104407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/06062376a6d7d1b2f7b99dae9b2779b9.jpg","text":"TemporaryFile(/tmp/multipartBody7496864059920641456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744064385,"filename":"image_24012025_17_35_02_336183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/09f5579200adb682ac9e2fb27b7a7636.jpg","text":"TemporaryFile(/tmp/multipartBody6776480278833561669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744064385,"filename":"image_24012025_17_35_02_336183_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331116480","file1":"1331116452","file0":"1331116411","file4":"1331116554","file5":"1331116653","file3":"1331116524"},"map_files_photo_id_array":[{"photo_id":"1331116653","filename":"file5"},{"photo_id":"1331116480","filename":"file2"},{"photo_id":"1331116554","filename":"file4"},{"photo_id":"1331116452","filename":"file1"},{"photo_id":"1331116411","filename":"file0"},{"photo_id":"1331116524","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331116524":["hashtag1","hashtag2"]},{"1331116452":["hashtag1","hashtag2"]},{"1331116480":["hashtag1","hashtag2"]},{"1331116411":["hashtag1","hashtag2"]},{"1331116653":["hashtag1","hashtag2"]},{"1331116554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331116524, 1331116452, 1331116480, 1331116411, 1331116653, 1331116554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.595787525177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 19:41:02.811079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/35/image_24012025_17_35_02_336183_0002.jpg', '/home/pi/Desktop/images/24012025/17/35/image_24012025_17_35_02_336183_0003.jpg', '/home/pi/Desktop/images/24012025/17/36/image_24012025_17_36_02_603080_0000.jpg', '/home/pi/Desktop/images/24012025/17/36/image_24012025_17_36_02_603080_0001.jpg', '/home/pi/Desktop/images/24012025/17/36/image_24012025_17_36_02_603080_0002.jpg', '/home/pi/Desktop/images/24012025/17/36/image_24012025_17_36_02_603080_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/35/image_24012025_17_35_02_336183_0002.jpg
/home/pi/Desktop/images/24012025/17/35/image_24012025_17_35_02_336183_0003.jpg
/home/pi/Desktop/images/24012025/17/36/image_24012025_17_36_02_603080_0000.jpg
/home/pi/Desktop/images/24012025/17/36/image_24012025_17_36_02_603080_0001.jpg
/home/pi/Desktop/images/24012025/17/36/image_24012025_17_36_02_603080_0002.jpg
/home/pi/Desktop/images/24012025/17/36/image_24012025_17_36_02_603080_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331116728","1331116719","1331116760","1331116774","1331116768","1331116738"],"photo_ids_order":["1331116719","1331116728","1331116738","1331116760","1331116768","1331116774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b9b59708d032651f7c315e417afbf147.jpg","text":"TemporaryFile(/tmp/multipartBody2714724179945417441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744172730,"filename":"image_24012025_17_35_02_336183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34259dc22ce42aee69f108b5035ed4e4.jpg","text":"TemporaryFile(/tmp/multipartBody5713825105160254010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744172730,"filename":"image_24012025_17_35_02_336183_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a29c498fbc671ccb2da123c7f428c1b6.jpg","text":"TemporaryFile(/tmp/multipartBody2892998287069502567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744172730,"filename":"image_24012025_17_36_02_603080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ffa29a810cb777f32963dce1da76dd81.jpg","text":"TemporaryFile(/tmp/multipartBody3535630912987077674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744172730,"filename":"image_24012025_17_36_02_603080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f97a5304d3900d6629551f80ee8aca3.jpg","text":"TemporaryFile(/tmp/multipartBody7909308191177315318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744172730,"filename":"image_24012025_17_36_02_603080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0381fbf26fb1e704921738b2c5e647a1.jpg","text":"TemporaryFile(/tmp/multipartBody5472970636417548027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744172730,"filename":"image_24012025_17_36_02_603080_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331116738","file1":"1331116728","file0":"1331116719","file4":"1331116768","file5":"1331116774","file3":"1331116760"},"map_files_photo_id_array":[{"photo_id":"1331116774","filename":"file5"},{"photo_id":"1331116738","filename":"file2"},{"photo_id":"1331116768","filename":"file4"},{"photo_id":"1331116728","filename":"file1"},{"photo_id":"1331116719","filename":"file0"},{"photo_id":"1331116760","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331116728":["hashtag1","hashtag2"]},{"1331116719":["hashtag1","hashtag2"]},{"1331116760":["hashtag1","hashtag2"]},{"1331116774":["hashtag1","hashtag2"]},{"1331116768":["hashtag1","hashtag2"]},{"1331116738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331116728, 1331116719, 1331116760, 1331116774, 1331116768, 1331116738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.52178621292114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 19:42:52.221663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/37/image_24012025_17_37_02_701931_0000.jpg', '/home/pi/Desktop/images/24012025/17/37/image_24012025_17_37_02_701931_0001.jpg', '/home/pi/Desktop/images/24012025/17/37/image_24012025_17_37_02_701931_0002.jpg', '/home/pi/Desktop/images/24012025/17/37/image_24012025_17_37_02_701931_0003.jpg', '/home/pi/Desktop/images/24012025/17/38/image_24012025_17_38_02_883978_0000.jpg', '/home/pi/Desktop/images/24012025/17/38/image_24012025_17_38_02_883978_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/37/image_24012025_17_37_02_701931_0000.jpg
/home/pi/Desktop/images/24012025/17/37/image_24012025_17_37_02_701931_0001.jpg
/home/pi/Desktop/images/24012025/17/37/image_24012025_17_37_02_701931_0002.jpg
/home/pi/Desktop/images/24012025/17/37/image_24012025_17_37_02_701931_0003.jpg
/home/pi/Desktop/images/24012025/17/38/image_24012025_17_38_02_883978_0000.jpg
/home/pi/Desktop/images/24012025/17/38/image_24012025_17_38_02_883978_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331116817","1331116852","1331116828","1331116831","1331116825","1331116845"],"photo_ids_order":["1331116817","1331116825","1331116828","1331116831","1331116845","1331116852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/df382109b88464bc8934b7e67030bc10.jpg","text":"TemporaryFile(/tmp/multipartBody677242216254844712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744277917,"filename":"image_24012025_17_37_02_701931_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c6b3ca28826894275977c3ff8ee996e4.jpg","text":"TemporaryFile(/tmp/multipartBody3330301021929272646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744277917,"filename":"image_24012025_17_38_02_883978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e083321d5dac834bd722449611b0e32.jpg","text":"TemporaryFile(/tmp/multipartBody2308033456910263390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744277917,"filename":"image_24012025_17_37_02_701931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4c7764fcdb2ebf28a9a728da17c6147e.jpg","text":"TemporaryFile(/tmp/multipartBody7881619775683551153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744277917,"filename":"image_24012025_17_37_02_701931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6fb3221a6b1968b91eb26ac3a71891cb.jpg","text":"TemporaryFile(/tmp/multipartBody1962515807568144099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744277917,"filename":"image_24012025_17_37_02_701931_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9915f3776021d6899acc846c84d3086b.jpg","text":"TemporaryFile(/tmp/multipartBody8214602903827062324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744277917,"filename":"image_24012025_17_38_02_883978_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331116828","file1":"1331116825","file0":"1331116817","file4":"1331116845","file5":"1331116852","file3":"1331116831"},"map_files_photo_id_array":[{"photo_id":"1331116852","filename":"file5"},{"photo_id":"1331116828","filename":"file2"},{"photo_id":"1331116845","filename":"file4"},{"photo_id":"1331116825","filename":"file1"},{"photo_id":"1331116817","filename":"file0"},{"photo_id":"1331116831","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331116817":["hashtag1","hashtag2"]},{"1331116852":["hashtag1","hashtag2"]},{"1331116828":["hashtag1","hashtag2"]},{"1331116831":["hashtag1","hashtag2"]},{"1331116825":["hashtag1","hashtag2"]},{"1331116845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331116817, 1331116852, 1331116828, 1331116831, 1331116825, 1331116845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.21929383277893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 19:44:32.511433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/38/image_24012025_17_38_02_883978_0002.jpg', '/home/pi/Desktop/images/24012025/17/38/image_24012025_17_38_02_883978_0003.jpg', '/home/pi/Desktop/images/24012025/17/39/image_24012025_17_39_03_122529_0000.jpg', '/home/pi/Desktop/images/24012025/17/39/image_24012025_17_39_03_122529_0001.jpg', '/home/pi/Desktop/images/24012025/17/39/image_24012025_17_39_03_122529_0002.jpg', '/home/pi/Desktop/images/24012025/17/39/image_24012025_17_39_03_122529_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/38/image_24012025_17_38_02_883978_0002.jpg
/home/pi/Desktop/images/24012025/17/38/image_24012025_17_38_02_883978_0003.jpg
/home/pi/Desktop/images/24012025/17/39/image_24012025_17_39_03_122529_0000.jpg
/home/pi/Desktop/images/24012025/17/39/image_24012025_17_39_03_122529_0001.jpg
/home/pi/Desktop/images/24012025/17/39/image_24012025_17_39_03_122529_0002.jpg
/home/pi/Desktop/images/24012025/17/39/image_24012025_17_39_03_122529_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331116932","1331116895","1331116943","1331116925","1331116963","1331116957"],"photo_ids_order":["1331116895","1331116925","1331116932","1331116943","1331116957","1331116963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa7abdf51cf14ca4179c13218da52334.jpg","text":"TemporaryFile(/tmp/multipartBody4591130788988957888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744379531,"filename":"image_24012025_17_39_03_122529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee6506ddc5737a5d9eafe21874afcd03.jpg","text":"TemporaryFile(/tmp/multipartBody5849466143473181993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744379531,"filename":"image_24012025_17_38_02_883978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/77b983510185ea8c36b2009b9a6024ac.jpg","text":"TemporaryFile(/tmp/multipartBody6379520996164381191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744379531,"filename":"image_24012025_17_39_03_122529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f18c825c780e2e6aff18bd3b014bbc16.jpg","text":"TemporaryFile(/tmp/multipartBody2293380398686344937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744379531,"filename":"image_24012025_17_38_02_883978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a481740eee68ff9456cb34420b5d6b4d.jpg","text":"TemporaryFile(/tmp/multipartBody3307309270996821717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744379531,"filename":"image_24012025_17_39_03_122529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/13c7107c7fa4d8d5f8c23164a6a1e421.jpg","text":"TemporaryFile(/tmp/multipartBody378795785881398643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744379531,"filename":"image_24012025_17_39_03_122529_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331116932","file1":"1331116925","file0":"1331116895","file4":"1331116957","file5":"1331116963","file3":"1331116943"},"map_files_photo_id_array":[{"photo_id":"1331116963","filename":"file5"},{"photo_id":"1331116932","filename":"file2"},{"photo_id":"1331116957","filename":"file4"},{"photo_id":"1331116925","filename":"file1"},{"photo_id":"1331116895","filename":"file0"},{"photo_id":"1331116943","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331116932":["hashtag1","hashtag2"]},{"1331116895":["hashtag1","hashtag2"]},{"1331116943":["hashtag1","hashtag2"]},{"1331116925":["hashtag1","hashtag2"]},{"1331116963":["hashtag1","hashtag2"]},{"1331116957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331116932, 1331116895, 1331116943, 1331116925, 1331116963, 1331116957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.32756686210632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:46:22.088557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0000.jpg', '/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0001.jpg', '/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0002.jpg', '/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0003.jpg', '/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0000.jpg', '/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0000.jpg
/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0001.jpg
/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0002.jpg
/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0003.jpg
/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0000.jpg
/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0001.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 40.114426612854004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:47:22.140812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0000.jpg', '/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0001.jpg', '/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0002.jpg', '/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0003.jpg', '/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0000.jpg', '/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0000.jpg
/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0001.jpg
/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0002.jpg
/home/pi/Desktop/images/24012025/17/40/image_24012025_17_40_02_287833_0003.jpg
/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0000.jpg
/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331117396","1331117429","1331117402","1331117392","1331117385","1331117376"],"photo_ids_order":["1331117376","1331117385","1331117392","1331117396","1331117402","1331117429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34702e71c33d5aad50226b2732dce1e5.jpg","text":"TemporaryFile(/tmp/multipartBody4038594935418686045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744547008,"filename":"image_24012025_17_40_02_287833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6bd543a62e6c166731508770e1adb051.jpg","text":"TemporaryFile(/tmp/multipartBody8561753280713592200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744547008,"filename":"image_24012025_17_41_02_532777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/775172994212f91af8fb2af55d33c0c0.jpg","text":"TemporaryFile(/tmp/multipartBody2717049108005466848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744547008,"filename":"image_24012025_17_41_02_532777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/96ab3f9473a97d53230c50ad9b69887c.jpg","text":"TemporaryFile(/tmp/multipartBody1864445528854162482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744547008,"filename":"image_24012025_17_40_02_287833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/446c87db2edde00134c03c840e21f1de.jpg","text":"TemporaryFile(/tmp/multipartBody441778776370031577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744547008,"filename":"image_24012025_17_40_02_287833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a6fa0a84fbebdb69e37f0412e767ca24.jpg","text":"TemporaryFile(/tmp/multipartBody7299037252545977147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744547008,"filename":"image_24012025_17_40_02_287833_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331117392","file1":"1331117385","file0":"1331117376","file4":"1331117402","file5":"1331117429","file3":"1331117396"},"map_files_photo_id_array":[{"photo_id":"1331117429","filename":"file5"},{"photo_id":"1331117392","filename":"file2"},{"photo_id":"1331117402","filename":"file4"},{"photo_id":"1331117385","filename":"file1"},{"photo_id":"1331117376","filename":"file0"},{"photo_id":"1331117396","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331117396":["hashtag1","hashtag2"]},{"1331117429":["hashtag1","hashtag2"]},{"1331117402":["hashtag1","hashtag2"]},{"1331117392":["hashtag1","hashtag2"]},{"1331117385":["hashtag1","hashtag2"]},{"1331117376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331117396, 1331117429, 1331117402, 1331117392, 1331117385, 1331117376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.09120917320251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 19:49:03.081215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0002.jpg', '/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0003.jpg', '/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0000.jpg', '/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0001.jpg', '/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0002.jpg', '/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0002.jpg
/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0003.jpg
/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0000.jpg
/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0001.jpg
/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0002.jpg
/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0003.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 49.50310826301575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 19:50:03.079963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0002.jpg', '/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0003.jpg', '/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0000.jpg', '/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0001.jpg', '/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0002.jpg', '/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0002.jpg
/home/pi/Desktop/images/24012025/17/41/image_24012025_17_41_02_532777_0003.jpg
/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0000.jpg
/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0001.jpg
/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0002.jpg
/home/pi/Desktop/images/24012025/17/42/image_24012025_17_42_02_696092_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331117681","1331117677","1331117692","1331117668","1331117653","1331117684"],"photo_ids_order":["1331117653","1331117668","1331117677","1331117681","1331117684","1331117692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/276765de4281812d42c8d60ea3661e03.jpg","text":"TemporaryFile(/tmp/multipartBody1288159101757050872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744709273,"filename":"image_24012025_17_42_02_696092_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3fb7eea3810fdf24e4fa50d72cc213af.jpg","text":"TemporaryFile(/tmp/multipartBody55352938220664196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744709273,"filename":"image_24012025_17_42_02_696092_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8033a04a8bc90abb9b60430a62306cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4597544313612527618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744709273,"filename":"image_24012025_17_42_02_696092_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b8171168a9fd5994453e8366985128b.jpg","text":"TemporaryFile(/tmp/multipartBody4491162241361063235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744709273,"filename":"image_24012025_17_41_02_532777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ba77a6bbaff6fdefacfdd16e91609745.jpg","text":"TemporaryFile(/tmp/multipartBody4824461574602298946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744709273,"filename":"image_24012025_17_41_02_532777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c3c8ac68499134624b530dd61eb55362.jpg","text":"TemporaryFile(/tmp/multipartBody5113314433925306087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744709273,"filename":"image_24012025_17_42_02_696092_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331117677","file1":"1331117668","file0":"1331117653","file4":"1331117684","file5":"1331117692","file3":"1331117681"},"map_files_photo_id_array":[{"photo_id":"1331117692","filename":"file5"},{"photo_id":"1331117677","filename":"file2"},{"photo_id":"1331117684","filename":"file4"},{"photo_id":"1331117668","filename":"file1"},{"photo_id":"1331117653","filename":"file0"},{"photo_id":"1331117681","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331117681":["hashtag1","hashtag2"]},{"1331117677":["hashtag1","hashtag2"]},{"1331117692":["hashtag1","hashtag2"]},{"1331117668":["hashtag1","hashtag2"]},{"1331117653":["hashtag1","hashtag2"]},{"1331117684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331117681, 1331117677, 1331117692, 1331117668, 1331117653, 1331117684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.8481092453003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 19:51:41.818001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/43/image_24012025_17_43_02_871468_0000.jpg', '/home/pi/Desktop/images/24012025/17/43/image_24012025_17_43_02_871468_0001.jpg', '/home/pi/Desktop/images/24012025/17/43/image_24012025_17_43_02_871468_0002.jpg', '/home/pi/Desktop/images/24012025/17/43/image_24012025_17_43_02_871468_0003.jpg', '/home/pi/Desktop/images/24012025/17/44/image_24012025_17_44_03_041031_0000.jpg', '/home/pi/Desktop/images/24012025/17/44/image_24012025_17_44_03_041031_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/43/image_24012025_17_43_02_871468_0000.jpg
/home/pi/Desktop/images/24012025/17/43/image_24012025_17_43_02_871468_0001.jpg
/home/pi/Desktop/images/24012025/17/43/image_24012025_17_43_02_871468_0002.jpg
/home/pi/Desktop/images/24012025/17/43/image_24012025_17_43_02_871468_0003.jpg
/home/pi/Desktop/images/24012025/17/44/image_24012025_17_44_03_041031_0000.jpg
/home/pi/Desktop/images/24012025/17/44/image_24012025_17_44_03_041031_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331117780","1331117840","1331117828","1331117886","1331117874","1331117910"],"photo_ids_order":["1331117780","1331117828","1331117840","1331117874","1331117886","1331117910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7e9a01c48fb1a6cd199b11681bd27773.jpg","text":"TemporaryFile(/tmp/multipartBody1487420695396971348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744807943,"filename":"image_24012025_17_43_02_871468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/621843fc7eace1be688705de35fcbbb0.jpg","text":"TemporaryFile(/tmp/multipartBody2303421908014145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744807943,"filename":"image_24012025_17_43_02_871468_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6a860c710b8eb13d02eca66f2079bb6f.jpg","text":"TemporaryFile(/tmp/multipartBody3274921614694772598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744807943,"filename":"image_24012025_17_43_02_871468_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/501cf1df4a0d1a9a2d3a27ace94abddd.jpg","text":"TemporaryFile(/tmp/multipartBody6152325577586430040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744807943,"filename":"image_24012025_17_44_03_041031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e6d92cb84f61560015a81bd9e0c9c41.jpg","text":"TemporaryFile(/tmp/multipartBody8304819663472470163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744807943,"filename":"image_24012025_17_43_02_871468_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0591a4f13817357197f1186446285ed0.jpg","text":"TemporaryFile(/tmp/multipartBody5923668415358468429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744807943,"filename":"image_24012025_17_44_03_041031_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331117840","file1":"1331117828","file0":"1331117780","file4":"1331117886","file5":"1331117910","file3":"1331117874"},"map_files_photo_id_array":[{"photo_id":"1331117910","filename":"file5"},{"photo_id":"1331117840","filename":"file2"},{"photo_id":"1331117886","filename":"file4"},{"photo_id":"1331117828","filename":"file1"},{"photo_id":"1331117780","filename":"file0"},{"photo_id":"1331117874","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331117780":["hashtag1","hashtag2"]},{"1331117840":["hashtag1","hashtag2"]},{"1331117828":["hashtag1","hashtag2"]},{"1331117886":["hashtag1","hashtag2"]},{"1331117874":["hashtag1","hashtag2"]},{"1331117910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331117780, 1331117840, 1331117828, 1331117886, 1331117874, 1331117910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.9054000377655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 19:53:32.292693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/44/image_24012025_17_44_03_041031_0002.jpg', '/home/pi/Desktop/images/24012025/17/44/image_24012025_17_44_03_041031_0003.jpg', '/home/pi/Desktop/images/24012025/17/45/image_24012025_17_45_02_251840_0000.jpg', '/home/pi/Desktop/images/24012025/17/45/image_24012025_17_45_02_251840_0001.jpg', '/home/pi/Desktop/images/24012025/17/45/image_24012025_17_45_02_251840_0002.jpg', '/home/pi/Desktop/images/24012025/17/45/image_24012025_17_45_02_251840_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/44/image_24012025_17_44_03_041031_0002.jpg
/home/pi/Desktop/images/24012025/17/44/image_24012025_17_44_03_041031_0003.jpg
/home/pi/Desktop/images/24012025/17/45/image_24012025_17_45_02_251840_0000.jpg
/home/pi/Desktop/images/24012025/17/45/image_24012025_17_45_02_251840_0001.jpg
/home/pi/Desktop/images/24012025/17/45/image_24012025_17_45_02_251840_0002.jpg
/home/pi/Desktop/images/24012025/17/45/image_24012025_17_45_02_251840_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331118068","1331118088","1331118051","1331118042","1331118036","1331118059"],"photo_ids_order":["1331118036","1331118042","1331118051","1331118059","1331118068","1331118088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae010528eca4e4cccbc419320e057d7e.jpg","text":"TemporaryFile(/tmp/multipartBody2311402361679767671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744919833,"filename":"image_24012025_17_45_02_251840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b13d1e119237bdfc78bb8fe183f4382.jpg","text":"TemporaryFile(/tmp/multipartBody1422231924040036786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744919833,"filename":"image_24012025_17_45_02_251840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a333760e9b818b0444066dcb180aad7e.jpg","text":"TemporaryFile(/tmp/multipartBody3475919041112521933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744919833,"filename":"image_24012025_17_45_02_251840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/85eb39ff1abbb325fa6cd89af21179e9.jpg","text":"TemporaryFile(/tmp/multipartBody66322944575500214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744919833,"filename":"image_24012025_17_44_03_041031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47f825c09f5599c8d78d5302401299b4.jpg","text":"TemporaryFile(/tmp/multipartBody1008756915987625930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744919833,"filename":"image_24012025_17_44_03_041031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c34f6a51ac303c0e78a53fa0db1dce78.jpg","text":"TemporaryFile(/tmp/multipartBody6034309011418849515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737744919833,"filename":"image_24012025_17_45_02_251840_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331118051","file1":"1331118042","file0":"1331118036","file4":"1331118068","file5":"1331118088","file3":"1331118059"},"map_files_photo_id_array":[{"photo_id":"1331118088","filename":"file5"},{"photo_id":"1331118051","filename":"file2"},{"photo_id":"1331118068","filename":"file4"},{"photo_id":"1331118042","filename":"file1"},{"photo_id":"1331118036","filename":"file0"},{"photo_id":"1331118059","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331118068":["hashtag1","hashtag2"]},{"1331118088":["hashtag1","hashtag2"]},{"1331118051":["hashtag1","hashtag2"]},{"1331118042":["hashtag1","hashtag2"]},{"1331118036":["hashtag1","hashtag2"]},{"1331118059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331118068, 1331118088, 1331118051, 1331118042, 1331118036, 1331118059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.47621583938599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 19:55:22.601249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/46/image_24012025_17_46_02_444279_0000.jpg', '/home/pi/Desktop/images/24012025/17/46/image_24012025_17_46_02_444279_0001.jpg', '/home/pi/Desktop/images/24012025/17/46/image_24012025_17_46_02_444279_0002.jpg', '/home/pi/Desktop/images/24012025/17/46/image_24012025_17_46_02_444279_0003.jpg', '/home/pi/Desktop/images/24012025/17/47/image_24012025_17_47_02_684501_0000.jpg', '/home/pi/Desktop/images/24012025/17/47/image_24012025_17_47_02_684501_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/46/image_24012025_17_46_02_444279_0000.jpg
/home/pi/Desktop/images/24012025/17/46/image_24012025_17_46_02_444279_0001.jpg
/home/pi/Desktop/images/24012025/17/46/image_24012025_17_46_02_444279_0002.jpg
/home/pi/Desktop/images/24012025/17/46/image_24012025_17_46_02_444279_0003.jpg
/home/pi/Desktop/images/24012025/17/47/image_24012025_17_47_02_684501_0000.jpg
/home/pi/Desktop/images/24012025/17/47/image_24012025_17_47_02_684501_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331118146","1331118206","1331118150","1331118216","1331118179","1331118143"],"photo_ids_order":["1331118143","1331118146","1331118150","1331118179","1331118206","1331118216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5595d6bbef479d0e9c1d387ec0a1a663.jpg","text":"TemporaryFile(/tmp/multipartBody7343392199241596954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745026314,"filename":"image_24012025_17_46_02_444279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28b62560d9c29ed4c3b44b0db33892aa.jpg","text":"TemporaryFile(/tmp/multipartBody9058451977630539011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745026314,"filename":"image_24012025_17_47_02_684501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ccb8c5279fd7e94a973a7ec0790f9e7e.jpg","text":"TemporaryFile(/tmp/multipartBody6268513743751512729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745026314,"filename":"image_24012025_17_46_02_444279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12eaafc2196a1aa149b896de725ad2db.jpg","text":"TemporaryFile(/tmp/multipartBody8161769789395220482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745026314,"filename":"image_24012025_17_47_02_684501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f8179c1dc13092d26c886bb18053442f.jpg","text":"TemporaryFile(/tmp/multipartBody3998803418685393245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745026314,"filename":"image_24012025_17_46_02_444279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7924e0bf1f0bf3d92bb11cb6d78ccd95.jpg","text":"TemporaryFile(/tmp/multipartBody2234484511179481398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745026314,"filename":"image_24012025_17_46_02_444279_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331118150","file1":"1331118146","file0":"1331118143","file4":"1331118206","file5":"1331118216","file3":"1331118179"},"map_files_photo_id_array":[{"photo_id":"1331118216","filename":"file5"},{"photo_id":"1331118150","filename":"file2"},{"photo_id":"1331118206","filename":"file4"},{"photo_id":"1331118146","filename":"file1"},{"photo_id":"1331118143","filename":"file0"},{"photo_id":"1331118179","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331118146":["hashtag1","hashtag2"]},{"1331118206":["hashtag1","hashtag2"]},{"1331118150":["hashtag1","hashtag2"]},{"1331118216":["hashtag1","hashtag2"]},{"1331118179":["hashtag1","hashtag2"]},{"1331118143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331118146, 1331118206, 1331118150, 1331118216, 1331118179, 1331118143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.56637525558472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 19:57:02.552671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/47/image_24012025_17_47_02_684501_0002.jpg', '/home/pi/Desktop/images/24012025/17/47/image_24012025_17_47_02_684501_0003.jpg', '/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0000.jpg', '/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0001.jpg', '/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0002.jpg', '/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/47/image_24012025_17_47_02_684501_0002.jpg
/home/pi/Desktop/images/24012025/17/47/image_24012025_17_47_02_684501_0003.jpg
/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0000.jpg
/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0001.jpg
/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0002.jpg
/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0003.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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 19:59:03.006127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/47/image_24012025_17_47_02_684501_0002.jpg', '/home/pi/Desktop/images/24012025/17/47/image_24012025_17_47_02_684501_0003.jpg', '/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0000.jpg', '/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0001.jpg', '/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0002.jpg', '/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/47/image_24012025_17_47_02_684501_0002.jpg
/home/pi/Desktop/images/24012025/17/47/image_24012025_17_47_02_684501_0003.jpg
/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0000.jpg
/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0001.jpg
/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0002.jpg
/home/pi/Desktop/images/24012025/17/48/image_24012025_17_48_02_816555_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331118679","1331118706","1331118687","1331118666","1331118696","1331118674"],"photo_ids_order":["1331118666","1331118674","1331118679","1331118687","1331118696","1331118706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/256437af43be34523f659c6e1e8b5ef9.jpg","text":"TemporaryFile(/tmp/multipartBody1298665028845795336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745242588,"filename":"image_24012025_17_48_02_816555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/91df675d5dbad13699ae2522021fed01.jpg","text":"TemporaryFile(/tmp/multipartBody8441043256787514984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745242588,"filename":"image_24012025_17_48_02_816555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/44ca1dd64bd2537c179de20edba33b74.jpg","text":"TemporaryFile(/tmp/multipartBody8795303736816770375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745242588,"filename":"image_24012025_17_48_02_816555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c8d0f00eb89bacddb9e987de12696fd8.jpg","text":"TemporaryFile(/tmp/multipartBody2173060631324212253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745242588,"filename":"image_24012025_17_47_02_684501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f08bd16ba86c41f2d7f1c3da8d5af3d3.jpg","text":"TemporaryFile(/tmp/multipartBody4657897210361174886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745242588,"filename":"image_24012025_17_48_02_816555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7e43d787aabe9c9bd59aac84058ed599.jpg","text":"TemporaryFile(/tmp/multipartBody1977264086261593095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745242588,"filename":"image_24012025_17_47_02_684501_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331118679","file1":"1331118674","file0":"1331118666","file4":"1331118696","file5":"1331118706","file3":"1331118687"},"map_files_photo_id_array":[{"photo_id":"1331118706","filename":"file5"},{"photo_id":"1331118679","filename":"file2"},{"photo_id":"1331118696","filename":"file4"},{"photo_id":"1331118674","filename":"file1"},{"photo_id":"1331118666","filename":"file0"},{"photo_id":"1331118687","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331118679":["hashtag1","hashtag2"]},{"1331118706":["hashtag1","hashtag2"]},{"1331118687":["hashtag1","hashtag2"]},{"1331118666":["hashtag1","hashtag2"]},{"1331118696":["hashtag1","hashtag2"]},{"1331118674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331118679, 1331118706, 1331118687, 1331118666, 1331118696, 1331118674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.93222880363464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 20:00:42.465970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/49/image_24012025_17_49_02_968998_0000.jpg', '/home/pi/Desktop/images/24012025/17/49/image_24012025_17_49_02_968998_0001.jpg', '/home/pi/Desktop/images/24012025/17/49/image_24012025_17_49_02_968998_0002.jpg', '/home/pi/Desktop/images/24012025/17/49/image_24012025_17_49_02_968998_0003.jpg', '/home/pi/Desktop/images/24012025/17/50/image_24012025_17_50_02_199076_0000.jpg', '/home/pi/Desktop/images/24012025/17/50/image_24012025_17_50_02_199076_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/49/image_24012025_17_49_02_968998_0000.jpg
/home/pi/Desktop/images/24012025/17/49/image_24012025_17_49_02_968998_0001.jpg
/home/pi/Desktop/images/24012025/17/49/image_24012025_17_49_02_968998_0002.jpg
/home/pi/Desktop/images/24012025/17/49/image_24012025_17_49_02_968998_0003.jpg
/home/pi/Desktop/images/24012025/17/50/image_24012025_17_50_02_199076_0000.jpg
/home/pi/Desktop/images/24012025/17/50/image_24012025_17_50_02_199076_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331118745","1331118904","1331118741","1331118893","1331118906","1331118752"],"photo_ids_order":["1331118741","1331118745","1331118752","1331118893","1331118904","1331118906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5cd7e77381995e5ad54a28d700b7a184.jpg","text":"TemporaryFile(/tmp/multipartBody2468206425085322052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745330476,"filename":"image_24012025_17_49_02_968998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d7fbabd0fd480bb86b27e8982fd2c42f.jpg","text":"TemporaryFile(/tmp/multipartBody8401225883371942488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745330476,"filename":"image_24012025_17_50_02_199076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f442501b8a38f0e9ffcb180503632c09.jpg","text":"TemporaryFile(/tmp/multipartBody3259779892920574700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745330476,"filename":"image_24012025_17_49_02_968998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/74ca4f90cd0ef15f0de6b1076a2a10be.jpg","text":"TemporaryFile(/tmp/multipartBody6876414527104339536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745330476,"filename":"image_24012025_17_49_02_968998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa8889ab71c792d6d78d4aa546ff351f.jpg","text":"TemporaryFile(/tmp/multipartBody2413871106677994895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745330476,"filename":"image_24012025_17_50_02_199076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a21c067527f0fd138ac287c9157081c0.jpg","text":"TemporaryFile(/tmp/multipartBody111523124716728125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745330476,"filename":"image_24012025_17_49_02_968998_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331118752","file1":"1331118745","file0":"1331118741","file4":"1331118904","file5":"1331118906","file3":"1331118893"},"map_files_photo_id_array":[{"photo_id":"1331118906","filename":"file5"},{"photo_id":"1331118752","filename":"file2"},{"photo_id":"1331118904","filename":"file4"},{"photo_id":"1331118745","filename":"file1"},{"photo_id":"1331118741","filename":"file0"},{"photo_id":"1331118893","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331118745":["hashtag1","hashtag2"]},{"1331118904":["hashtag1","hashtag2"]},{"1331118741":["hashtag1","hashtag2"]},{"1331118893":["hashtag1","hashtag2"]},{"1331118906":["hashtag1","hashtag2"]},{"1331118752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331118745, 1331118904, 1331118741, 1331118893, 1331118906, 1331118752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.87897634506226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:02:21.815734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/50/image_24012025_17_50_02_199076_0002.jpg', '/home/pi/Desktop/images/24012025/17/50/image_24012025_17_50_02_199076_0003.jpg', '/home/pi/Desktop/images/24012025/17/51/image_24012025_17_51_02_398411_0000.jpg', '/home/pi/Desktop/images/24012025/17/51/image_24012025_17_51_02_398411_0001.jpg', '/home/pi/Desktop/images/24012025/17/51/image_24012025_17_51_02_398411_0002.jpg', '/home/pi/Desktop/images/24012025/17/51/image_24012025_17_51_02_398411_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/50/image_24012025_17_50_02_199076_0002.jpg
/home/pi/Desktop/images/24012025/17/50/image_24012025_17_50_02_199076_0003.jpg
/home/pi/Desktop/images/24012025/17/51/image_24012025_17_51_02_398411_0000.jpg
/home/pi/Desktop/images/24012025/17/51/image_24012025_17_51_02_398411_0001.jpg
/home/pi/Desktop/images/24012025/17/51/image_24012025_17_51_02_398411_0002.jpg
/home/pi/Desktop/images/24012025/17/51/image_24012025_17_51_02_398411_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331119054","1331119033","1331119017","1331118942","1331118968","1331118998"],"photo_ids_order":["1331118942","1331118968","1331118998","1331119017","1331119033","1331119054"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1c2e85818382841ef316f24e25903302.jpg","text":"TemporaryFile(/tmp/multipartBody8349626455084479726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745436055,"filename":"image_24012025_17_51_02_398411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2e00ed10b8022fbfddeeaa3aba920bdc.jpg","text":"TemporaryFile(/tmp/multipartBody5723621595791216069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745436055,"filename":"image_24012025_17_51_02_398411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48d67703b6b24aece8677452b8a31297.jpg","text":"TemporaryFile(/tmp/multipartBody989406249897950574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745436055,"filename":"image_24012025_17_51_02_398411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a802d442fc02df1b582be5203b80fd1.jpg","text":"TemporaryFile(/tmp/multipartBody6073352632678886376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745436055,"filename":"image_24012025_17_50_02_199076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3692f35a1b831b11fb077761bb56b28e.jpg","text":"TemporaryFile(/tmp/multipartBody653416473820340338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745436055,"filename":"image_24012025_17_50_02_199076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/79195bc5e306a85d57928a45d29c2b94.jpg","text":"TemporaryFile(/tmp/multipartBody9020813713388802025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745436055,"filename":"image_24012025_17_51_02_398411_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331118998","file1":"1331118968","file0":"1331118942","file4":"1331119033","file5":"1331119054","file3":"1331119017"},"map_files_photo_id_array":[{"photo_id":"1331119054","filename":"file5"},{"photo_id":"1331118998","filename":"file2"},{"photo_id":"1331119033","filename":"file4"},{"photo_id":"1331118968","filename":"file1"},{"photo_id":"1331118942","filename":"file0"},{"photo_id":"1331119017","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331119054":["hashtag1","hashtag2"]},{"1331119033":["hashtag1","hashtag2"]},{"1331119017":["hashtag1","hashtag2"]},{"1331118942":["hashtag1","hashtag2"]},{"1331118968":["hashtag1","hashtag2"]},{"1331118998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331119054, 1331119033, 1331119017, 1331118942, 1331118968, 1331118998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.90775179862976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 20:03:51.961384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/52/image_24012025_17_52_02_571080_0000.jpg', '/home/pi/Desktop/images/24012025/17/52/image_24012025_17_52_02_571080_0001.jpg', '/home/pi/Desktop/images/24012025/17/52/image_24012025_17_52_02_571080_0002.jpg', '/home/pi/Desktop/images/24012025/17/52/image_24012025_17_52_02_571080_0003.jpg', '/home/pi/Desktop/images/24012025/17/53/image_24012025_17_53_02_687890_0000.jpg', '/home/pi/Desktop/images/24012025/17/53/image_24012025_17_53_02_687890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/52/image_24012025_17_52_02_571080_0000.jpg
/home/pi/Desktop/images/24012025/17/52/image_24012025_17_52_02_571080_0001.jpg
/home/pi/Desktop/images/24012025/17/52/image_24012025_17_52_02_571080_0002.jpg
/home/pi/Desktop/images/24012025/17/52/image_24012025_17_52_02_571080_0003.jpg
/home/pi/Desktop/images/24012025/17/53/image_24012025_17_53_02_687890_0000.jpg
/home/pi/Desktop/images/24012025/17/53/image_24012025_17_53_02_687890_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331119840","1331119168","1331119434","1331119164","1331119158","1331119175"],"photo_ids_order":["1331119158","1331119164","1331119168","1331119175","1331119434","1331119840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/263ed07ee54f379e07e9bb5cc01f3c77.jpg","text":"TemporaryFile(/tmp/multipartBody918806250244070334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745540532,"filename":"image_24012025_17_53_02_687890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5407ee7b04eee93612b4ce276d517ef.jpg","text":"TemporaryFile(/tmp/multipartBody6540925971355538519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745540532,"filename":"image_24012025_17_52_02_571080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed2de1283b8b03a2150991416a368b59.jpg","text":"TemporaryFile(/tmp/multipartBody3515791531297020334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745540532,"filename":"image_24012025_17_53_02_687890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/76197edfb29012af50ac1b9eab6c697f.jpg","text":"TemporaryFile(/tmp/multipartBody6865569281465360655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745540532,"filename":"image_24012025_17_52_02_571080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fea2564994418fa0ba07beaa9af204ad.jpg","text":"TemporaryFile(/tmp/multipartBody7070830137292788619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745540532,"filename":"image_24012025_17_52_02_571080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/320df096e1280733df1c6a0328a10671.jpg","text":"TemporaryFile(/tmp/multipartBody5239468147023555671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745540532,"filename":"image_24012025_17_52_02_571080_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331119168","file1":"1331119164","file0":"1331119158","file4":"1331119434","file5":"1331119840","file3":"1331119175"},"map_files_photo_id_array":[{"photo_id":"1331119840","filename":"file5"},{"photo_id":"1331119168","filename":"file2"},{"photo_id":"1331119434","filename":"file4"},{"photo_id":"1331119164","filename":"file1"},{"photo_id":"1331119158","filename":"file0"},{"photo_id":"1331119175","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331119840":["hashtag1","hashtag2"]},{"1331119168":["hashtag1","hashtag2"]},{"1331119434":["hashtag1","hashtag2"]},{"1331119164":["hashtag1","hashtag2"]},{"1331119158":["hashtag1","hashtag2"]},{"1331119175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331119840, 1331119168, 1331119434, 1331119164, 1331119158, 1331119175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.54728627204895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 20:05:42.372169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/53/image_24012025_17_53_02_687890_0002.jpg', '/home/pi/Desktop/images/24012025/17/53/image_24012025_17_53_02_687890_0003.jpg', '/home/pi/Desktop/images/24012025/17/54/image_24012025_17_54_02_987102_0000.jpg', '/home/pi/Desktop/images/24012025/17/54/image_24012025_17_54_02_987102_0001.jpg', '/home/pi/Desktop/images/24012025/17/54/image_24012025_17_54_02_987102_0002.jpg', '/home/pi/Desktop/images/24012025/17/54/image_24012025_17_54_02_987102_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/53/image_24012025_17_53_02_687890_0002.jpg
/home/pi/Desktop/images/24012025/17/53/image_24012025_17_53_02_687890_0003.jpg
/home/pi/Desktop/images/24012025/17/54/image_24012025_17_54_02_987102_0000.jpg
/home/pi/Desktop/images/24012025/17/54/image_24012025_17_54_02_987102_0001.jpg
/home/pi/Desktop/images/24012025/17/54/image_24012025_17_54_02_987102_0002.jpg
/home/pi/Desktop/images/24012025/17/54/image_24012025_17_54_02_987102_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331120336","1331120324","1331120172","1331120183","1331120270","1331120339"],"photo_ids_order":["1331120172","1331120183","1331120270","1331120324","1331120336","1331120339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a392da303faac8110d0b1381a99e093.jpg","text":"TemporaryFile(/tmp/multipartBody5475442744343546578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745641141,"filename":"image_24012025_17_54_02_987102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2e0c46591216fdc57e626a88beaf9e33.jpg","text":"TemporaryFile(/tmp/multipartBody7153492916009476098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745641141,"filename":"image_24012025_17_54_02_987102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d8177784e3cc525e0672dfabfbecf03.jpg","text":"TemporaryFile(/tmp/multipartBody588011057072709420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745641141,"filename":"image_24012025_17_53_02_687890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/60ca8868617d61b3391f7cf248e7319b.jpg","text":"TemporaryFile(/tmp/multipartBody7690067236342113212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745641141,"filename":"image_24012025_17_53_02_687890_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1912b070c3c4c891595dd1232d4b035a.jpg","text":"TemporaryFile(/tmp/multipartBody1851303029135698620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745641141,"filename":"image_24012025_17_54_02_987102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e281b22a91bbb9d3eb374307ce29968a.jpg","text":"TemporaryFile(/tmp/multipartBody2583413232281793591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745641141,"filename":"image_24012025_17_54_02_987102_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331120270","file1":"1331120183","file0":"1331120172","file4":"1331120336","file5":"1331120339","file3":"1331120324"},"map_files_photo_id_array":[{"photo_id":"1331120339","filename":"file5"},{"photo_id":"1331120270","filename":"file2"},{"photo_id":"1331120336","filename":"file4"},{"photo_id":"1331120183","filename":"file1"},{"photo_id":"1331120172","filename":"file0"},{"photo_id":"1331120324","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331120336":["hashtag1","hashtag2"]},{"1331120324":["hashtag1","hashtag2"]},{"1331120172":["hashtag1","hashtag2"]},{"1331120183":["hashtag1","hashtag2"]},{"1331120270":["hashtag1","hashtag2"]},{"1331120339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331120336, 1331120324, 1331120172, 1331120183, 1331120270, 1331120339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.00270342826843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:07:22.674416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/55/image_24012025_17_55_03_181893_0000.jpg', '/home/pi/Desktop/images/24012025/17/55/image_24012025_17_55_03_181893_0001.jpg', '/home/pi/Desktop/images/24012025/17/55/image_24012025_17_55_03_181893_0002.jpg', '/home/pi/Desktop/images/24012025/17/55/image_24012025_17_55_03_181893_0003.jpg', '/home/pi/Desktop/images/24012025/17/56/image_24012025_17_56_02_367370_0000.jpg', '/home/pi/Desktop/images/24012025/17/56/image_24012025_17_56_02_367370_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/55/image_24012025_17_55_03_181893_0000.jpg
/home/pi/Desktop/images/24012025/17/55/image_24012025_17_55_03_181893_0001.jpg
/home/pi/Desktop/images/24012025/17/55/image_24012025_17_55_03_181893_0002.jpg
/home/pi/Desktop/images/24012025/17/55/image_24012025_17_55_03_181893_0003.jpg
/home/pi/Desktop/images/24012025/17/56/image_24012025_17_56_02_367370_0000.jpg
/home/pi/Desktop/images/24012025/17/56/image_24012025_17_56_02_367370_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331120501","1331120536","1331120391","1331120394","1331120523","1331120424"],"photo_ids_order":["1331120391","1331120394","1331120424","1331120501","1331120523","1331120536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b284daf6e35bcc0da7958997915a3ebf.jpg","text":"TemporaryFile(/tmp/multipartBody7281033419596886593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745738456,"filename":"image_24012025_17_55_03_181893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98d9434a834c5bc92cfe29bf60ec3e84.jpg","text":"TemporaryFile(/tmp/multipartBody3518849912235075065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745738456,"filename":"image_24012025_17_56_02_367370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/56d3f13cabd0c635f4f353a161b9ef2a.jpg","text":"TemporaryFile(/tmp/multipartBody4247323276116612856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745738456,"filename":"image_24012025_17_55_03_181893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ceb2e803b821854d7ca508009490fed0.jpg","text":"TemporaryFile(/tmp/multipartBody313828314053618952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745738456,"filename":"image_24012025_17_55_03_181893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c4d39a8992e6332d74a34b12ecadbcf9.jpg","text":"TemporaryFile(/tmp/multipartBody509619743566890247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745738456,"filename":"image_24012025_17_56_02_367370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/91d8aba63b89812898d2724437bb25e0.jpg","text":"TemporaryFile(/tmp/multipartBody2759016372297464637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745738456,"filename":"image_24012025_17_55_03_181893_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331120424","file1":"1331120394","file0":"1331120391","file4":"1331120523","file5":"1331120536","file3":"1331120501"},"map_files_photo_id_array":[{"photo_id":"1331120536","filename":"file5"},{"photo_id":"1331120424","filename":"file2"},{"photo_id":"1331120523","filename":"file4"},{"photo_id":"1331120394","filename":"file1"},{"photo_id":"1331120391","filename":"file0"},{"photo_id":"1331120501","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331120501":["hashtag1","hashtag2"]},{"1331120536":["hashtag1","hashtag2"]},{"1331120391":["hashtag1","hashtag2"]},{"1331120394":["hashtag1","hashtag2"]},{"1331120523":["hashtag1","hashtag2"]},{"1331120424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331120501, 1331120536, 1331120391, 1331120394, 1331120523, 1331120424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.82838487625122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 20:09:02.720879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/56/image_24012025_17_56_02_367370_0002.jpg', '/home/pi/Desktop/images/24012025/17/56/image_24012025_17_56_02_367370_0003.jpg', '/home/pi/Desktop/images/24012025/17/57/image_24012025_17_57_02_518135_0000.jpg', '/home/pi/Desktop/images/24012025/17/57/image_24012025_17_57_02_518135_0001.jpg', '/home/pi/Desktop/images/24012025/17/57/image_24012025_17_57_02_518135_0002.jpg', '/home/pi/Desktop/images/24012025/17/57/image_24012025_17_57_02_518135_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/56/image_24012025_17_56_02_367370_0002.jpg
/home/pi/Desktop/images/24012025/17/56/image_24012025_17_56_02_367370_0003.jpg
/home/pi/Desktop/images/24012025/17/57/image_24012025_17_57_02_518135_0000.jpg
/home/pi/Desktop/images/24012025/17/57/image_24012025_17_57_02_518135_0001.jpg
/home/pi/Desktop/images/24012025/17/57/image_24012025_17_57_02_518135_0002.jpg
/home/pi/Desktop/images/24012025/17/57/image_24012025_17_57_02_518135_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331120651","1331120630","1331120644","1331120638","1331120670","1331120664"],"photo_ids_order":["1331120630","1331120638","1331120644","1331120651","1331120664","1331120670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/712392a573743038f2b8b1d042e55148.jpg","text":"TemporaryFile(/tmp/multipartBody3364081193608364842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745844291,"filename":"image_24012025_17_57_02_518135_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9ff37dc38510fbc9d7581c03d9d1a402.jpg","text":"TemporaryFile(/tmp/multipartBody7861212032438219605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745844291,"filename":"image_24012025_17_56_02_367370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f30def3949030cff62d82d8746186a0b.jpg","text":"TemporaryFile(/tmp/multipartBody1975501689231412351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745844291,"filename":"image_24012025_17_57_02_518135_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8858a0fcd75a6f1e0300b1d65572823b.jpg","text":"TemporaryFile(/tmp/multipartBody5300832794213894402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745844291,"filename":"image_24012025_17_56_02_367370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/975123db5a84f9d5eb2c0da2986450ab.jpg","text":"TemporaryFile(/tmp/multipartBody1786301194281570466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745844291,"filename":"image_24012025_17_57_02_518135_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/483a1d6dcb30ef61b239b254ecd4b57d.jpg","text":"TemporaryFile(/tmp/multipartBody3931586728060292423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745844291,"filename":"image_24012025_17_57_02_518135_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331120644","file1":"1331120638","file0":"1331120630","file4":"1331120664","file5":"1331120670","file3":"1331120651"},"map_files_photo_id_array":[{"photo_id":"1331120670","filename":"file5"},{"photo_id":"1331120644","filename":"file2"},{"photo_id":"1331120664","filename":"file4"},{"photo_id":"1331120638","filename":"file1"},{"photo_id":"1331120630","filename":"file0"},{"photo_id":"1331120651","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331120651":["hashtag1","hashtag2"]},{"1331120630":["hashtag1","hashtag2"]},{"1331120644":["hashtag1","hashtag2"]},{"1331120638":["hashtag1","hashtag2"]},{"1331120670":["hashtag1","hashtag2"]},{"1331120664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331120651, 1331120630, 1331120644, 1331120638, 1331120670, 1331120664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.16607546806335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 20:10:42.258316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0000.jpg', '/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0001.jpg', '/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0002.jpg', '/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0003.jpg', '/home/pi/Desktop/images/24012025/17/59/image_24012025_17_59_02_837117_0000.jpg', '/home/pi/Desktop/images/24012025/17/59/image_24012025_17_59_02_837117_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0000.jpg
/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0001.jpg
/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0002.jpg
/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0003.jpg
/home/pi/Desktop/images/24012025/17/59/image_24012025_17_59_02_837117_0000.jpg
/home/pi/Desktop/images/24012025/17/59/image_24012025_17_59_02_837117_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 27.56659507751465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:11:22.501018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0000.jpg', '/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0001.jpg', '/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0002.jpg', '/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0003.jpg', '/home/pi/Desktop/images/24012025/17/59/image_24012025_17_59_02_837117_0000.jpg', '/home/pi/Desktop/images/24012025/17/59/image_24012025_17_59_02_837117_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0000.jpg
/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0001.jpg
/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0002.jpg
/home/pi/Desktop/images/24012025/17/58/image_24012025_17_58_02_638185_0003.jpg
/home/pi/Desktop/images/24012025/17/59/image_24012025_17_59_02_837117_0000.jpg
/home/pi/Desktop/images/24012025/17/59/image_24012025_17_59_02_837117_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331120976","1331120949","1331120958","1331120963","1331120945","1331120954"],"photo_ids_order":["1331120945","1331120949","1331120954","1331120958","1331120963","1331120976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0f54c55d439c874ea0f8c0357e9874f1.jpg","text":"TemporaryFile(/tmp/multipartBody5990354864186232313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745974747,"filename":"image_24012025_17_59_02_837117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/071caa8846601b9a57a1e7a85c5ef5b3.jpg","text":"TemporaryFile(/tmp/multipartBody1303424128027388607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745974747,"filename":"image_24012025_17_58_02_638185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6ff3a94e9e255bb25584356750d3f700.jpg","text":"TemporaryFile(/tmp/multipartBody5130548188238835354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745974747,"filename":"image_24012025_17_58_02_638185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/683025b6e2f3e759e67d14cfa43007a2.jpg","text":"TemporaryFile(/tmp/multipartBody6112676126293658137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745974747,"filename":"image_24012025_17_59_02_837117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6f66bbd21aec391c1f54452214ace7b6.jpg","text":"TemporaryFile(/tmp/multipartBody1347666652255865081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745974747,"filename":"image_24012025_17_58_02_638185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/957ab73f108788e57172954686fbfc62.jpg","text":"TemporaryFile(/tmp/multipartBody1524944497509973501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737745974747,"filename":"image_24012025_17_58_02_638185_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331120954","file1":"1331120949","file0":"1331120945","file4":"1331120963","file5":"1331120976","file3":"1331120958"},"map_files_photo_id_array":[{"photo_id":"1331120976","filename":"file5"},{"photo_id":"1331120954","filename":"file2"},{"photo_id":"1331120963","filename":"file4"},{"photo_id":"1331120949","filename":"file1"},{"photo_id":"1331120945","filename":"file0"},{"photo_id":"1331120958","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331120976":["hashtag1","hashtag2"]},{"1331120949":["hashtag1","hashtag2"]},{"1331120958":["hashtag1","hashtag2"]},{"1331120963":["hashtag1","hashtag2"]},{"1331120945":["hashtag1","hashtag2"]},{"1331120954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331120976, 1331120949, 1331120958, 1331120963, 1331120945, 1331120954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.69734525680542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 20:12:52.682770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/17/59/image_24012025_17_59_02_837117_0002.jpg', '/home/pi/Desktop/images/24012025/17/59/image_24012025_17_59_02_837117_0003.jpg', '/home/pi/Desktop/images/24012025/18/00/image_24012025_18_00_02_969541_0000.jpg', '/home/pi/Desktop/images/24012025/18/00/image_24012025_18_00_02_969541_0001.jpg', '/home/pi/Desktop/images/24012025/18/00/image_24012025_18_00_02_969541_0002.jpg', '/home/pi/Desktop/images/24012025/18/00/image_24012025_18_00_02_969541_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/17/59/image_24012025_17_59_02_837117_0002.jpg
/home/pi/Desktop/images/24012025/17/59/image_24012025_17_59_02_837117_0003.jpg
/home/pi/Desktop/images/24012025/18/00/image_24012025_18_00_02_969541_0000.jpg
/home/pi/Desktop/images/24012025/18/00/image_24012025_18_00_02_969541_0001.jpg
/home/pi/Desktop/images/24012025/18/00/image_24012025_18_00_02_969541_0002.jpg
/home/pi/Desktop/images/24012025/18/00/image_24012025_18_00_02_969541_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331121218","1331121205","1331121237","1331121216","1331121230","1331121212"],"photo_ids_order":["1331121205","1331121212","1331121216","1331121218","1331121230","1331121237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8abc896de28c4deaab1b239fe6d432c8.jpg","text":"TemporaryFile(/tmp/multipartBody40903110645003164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746059975,"filename":"image_24012025_18_00_02_969541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/64993782ba01d8e92647e55eee64d15b.jpg","text":"TemporaryFile(/tmp/multipartBody2106556888379909377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746059975,"filename":"image_24012025_17_59_02_837117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/76044201432c2edd34e9ea94696617e3.jpg","text":"TemporaryFile(/tmp/multipartBody3426657568793818864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746059975,"filename":"image_24012025_18_00_02_969541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a63843d68ff18f99f18068583ac55263.jpg","text":"TemporaryFile(/tmp/multipartBody667117916574119281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746059975,"filename":"image_24012025_18_00_02_969541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a83a202396685ab191512570623db9a8.jpg","text":"TemporaryFile(/tmp/multipartBody2532866444437073944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746059975,"filename":"image_24012025_18_00_02_969541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dcaf596dc8a168b21834bad94e2d6504.jpg","text":"TemporaryFile(/tmp/multipartBody4064873334408889548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746059975,"filename":"image_24012025_17_59_02_837117_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331121216","file1":"1331121212","file0":"1331121205","file4":"1331121230","file5":"1331121237","file3":"1331121218"},"map_files_photo_id_array":[{"photo_id":"1331121237","filename":"file5"},{"photo_id":"1331121216","filename":"file2"},{"photo_id":"1331121230","filename":"file4"},{"photo_id":"1331121212","filename":"file1"},{"photo_id":"1331121205","filename":"file0"},{"photo_id":"1331121218","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331121218":["hashtag1","hashtag2"]},{"1331121205":["hashtag1","hashtag2"]},{"1331121237":["hashtag1","hashtag2"]},{"1331121216":["hashtag1","hashtag2"]},{"1331121230":["hashtag1","hashtag2"]},{"1331121212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331121218, 1331121205, 1331121237, 1331121216, 1331121230, 1331121212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.23425698280334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:14:22.078125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/01/image_24012025_18_01_02_178670_0000.jpg', '/home/pi/Desktop/images/24012025/18/01/image_24012025_18_01_02_178670_0001.jpg', '/home/pi/Desktop/images/24012025/18/01/image_24012025_18_01_02_178670_0002.jpg', '/home/pi/Desktop/images/24012025/18/01/image_24012025_18_01_02_178670_0003.jpg', '/home/pi/Desktop/images/24012025/18/02/image_24012025_18_02_02_358549_0000.jpg', '/home/pi/Desktop/images/24012025/18/02/image_24012025_18_02_02_358549_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/01/image_24012025_18_01_02_178670_0000.jpg
/home/pi/Desktop/images/24012025/18/01/image_24012025_18_01_02_178670_0001.jpg
/home/pi/Desktop/images/24012025/18/01/image_24012025_18_01_02_178670_0002.jpg
/home/pi/Desktop/images/24012025/18/01/image_24012025_18_01_02_178670_0003.jpg
/home/pi/Desktop/images/24012025/18/02/image_24012025_18_02_02_358549_0000.jpg
/home/pi/Desktop/images/24012025/18/02/image_24012025_18_02_02_358549_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331121370","1331121361","1331121355","1331121322","1331121336","1331121344"],"photo_ids_order":["1331121322","1331121336","1331121344","1331121355","1331121361","1331121370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c715242dfda77dc49fc0960701714bbd.jpg","text":"TemporaryFile(/tmp/multipartBody2222671407224565741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746156679,"filename":"image_24012025_18_02_02_358549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec8e96a5165bc8eb7e8b247fa5239d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4393418754397234587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746156679,"filename":"image_24012025_18_02_02_358549_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0ba9139e0e31abb411614aa0f6dd40f1.jpg","text":"TemporaryFile(/tmp/multipartBody3122215780733306484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746156679,"filename":"image_24012025_18_01_02_178670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51cb81a99e1fc226e1b1af05e594a84b.jpg","text":"TemporaryFile(/tmp/multipartBody3035677057902370102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746156679,"filename":"image_24012025_18_01_02_178670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e2877b54203bbb86986b47fc00cf2e76.jpg","text":"TemporaryFile(/tmp/multipartBody2380769202232064250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746156679,"filename":"image_24012025_18_01_02_178670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/adfb7573358b8b201baba40ba514167a.jpg","text":"TemporaryFile(/tmp/multipartBody766111391708272729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746156679,"filename":"image_24012025_18_01_02_178670_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331121344","file1":"1331121336","file0":"1331121322","file4":"1331121361","file5":"1331121370","file3":"1331121355"},"map_files_photo_id_array":[{"photo_id":"1331121370","filename":"file5"},{"photo_id":"1331121344","filename":"file2"},{"photo_id":"1331121361","filename":"file4"},{"photo_id":"1331121336","filename":"file1"},{"photo_id":"1331121322","filename":"file0"},{"photo_id":"1331121355","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331121370":["hashtag1","hashtag2"]},{"1331121361":["hashtag1","hashtag2"]},{"1331121355":["hashtag1","hashtag2"]},{"1331121322":["hashtag1","hashtag2"]},{"1331121336":["hashtag1","hashtag2"]},{"1331121344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331121370, 1331121361, 1331121355, 1331121322, 1331121336, 1331121344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.50897574424744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 20:16:02.793684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/02/image_24012025_18_02_02_358549_0002.jpg', '/home/pi/Desktop/images/24012025/18/02/image_24012025_18_02_02_358549_0003.jpg', '/home/pi/Desktop/images/24012025/18/03/image_24012025_18_03_02_490925_0000.jpg', '/home/pi/Desktop/images/24012025/18/03/image_24012025_18_03_02_490925_0001.jpg', '/home/pi/Desktop/images/24012025/18/03/image_24012025_18_03_02_490925_0002.jpg', '/home/pi/Desktop/images/24012025/18/03/image_24012025_18_03_02_490925_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/02/image_24012025_18_02_02_358549_0002.jpg
/home/pi/Desktop/images/24012025/18/02/image_24012025_18_02_02_358549_0003.jpg
/home/pi/Desktop/images/24012025/18/03/image_24012025_18_03_02_490925_0000.jpg
/home/pi/Desktop/images/24012025/18/03/image_24012025_18_03_02_490925_0001.jpg
/home/pi/Desktop/images/24012025/18/03/image_24012025_18_03_02_490925_0002.jpg
/home/pi/Desktop/images/24012025/18/03/image_24012025_18_03_02_490925_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331121418","1331121444","1331121435","1331121423","1331121428","1331121413"],"photo_ids_order":["1331121413","1331121418","1331121423","1331121428","1331121435","1331121444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a12591c163ee67f62dafb524bca4e746.jpg","text":"TemporaryFile(/tmp/multipartBody4478208930528871143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746251158,"filename":"image_24012025_18_02_02_358549_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e26d3feb3097ef36a980afa9ab537b3.jpg","text":"TemporaryFile(/tmp/multipartBody653838213945212689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746251158,"filename":"image_24012025_18_03_02_490925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72af73f0d4003e4b3c5a6ffa756e8dc9.jpg","text":"TemporaryFile(/tmp/multipartBody1023933292181632432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746251158,"filename":"image_24012025_18_03_02_490925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e075ce19033f10be49c6bb0c780db86.jpg","text":"TemporaryFile(/tmp/multipartBody8312507653542405188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746251158,"filename":"image_24012025_18_03_02_490925_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1b319400092f2c62d5f48dea3f93229.jpg","text":"TemporaryFile(/tmp/multipartBody7491852369233891462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746251158,"filename":"image_24012025_18_03_02_490925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0d517d30b7ece6d1d781e3f9a9374ca6.jpg","text":"TemporaryFile(/tmp/multipartBody7488649140950231108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746251158,"filename":"image_24012025_18_02_02_358549_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331121423","file1":"1331121418","file0":"1331121413","file4":"1331121435","file5":"1331121444","file3":"1331121428"},"map_files_photo_id_array":[{"photo_id":"1331121444","filename":"file5"},{"photo_id":"1331121423","filename":"file2"},{"photo_id":"1331121435","filename":"file4"},{"photo_id":"1331121418","filename":"file1"},{"photo_id":"1331121413","filename":"file0"},{"photo_id":"1331121428","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331121418":["hashtag1","hashtag2"]},{"1331121444":["hashtag1","hashtag2"]},{"1331121435":["hashtag1","hashtag2"]},{"1331121423":["hashtag1","hashtag2"]},{"1331121428":["hashtag1","hashtag2"]},{"1331121413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331121418, 1331121444, 1331121435, 1331121423, 1331121428, 1331121413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.59977674484253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 20:17:32.573663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/04/image_24012025_18_04_02_727870_0000.jpg', '/home/pi/Desktop/images/24012025/18/04/image_24012025_18_04_02_727870_0001.jpg', '/home/pi/Desktop/images/24012025/18/04/image_24012025_18_04_02_727870_0002.jpg', '/home/pi/Desktop/images/24012025/18/04/image_24012025_18_04_02_727870_0003.jpg', '/home/pi/Desktop/images/24012025/18/05/image_24012025_18_05_02_905336_0000.jpg', '/home/pi/Desktop/images/24012025/18/05/image_24012025_18_05_02_905336_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/04/image_24012025_18_04_02_727870_0000.jpg
/home/pi/Desktop/images/24012025/18/04/image_24012025_18_04_02_727870_0001.jpg
/home/pi/Desktop/images/24012025/18/04/image_24012025_18_04_02_727870_0002.jpg
/home/pi/Desktop/images/24012025/18/04/image_24012025_18_04_02_727870_0003.jpg
/home/pi/Desktop/images/24012025/18/05/image_24012025_18_05_02_905336_0000.jpg
/home/pi/Desktop/images/24012025/18/05/image_24012025_18_05_02_905336_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331121880","1331121868","1331121894","1331122017","1331121887","1331122022"],"photo_ids_order":["1331121868","1331121880","1331121887","1331121894","1331122017","1331122022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/404e67aa76fe2a878988bc241b8ef779.jpg","text":"TemporaryFile(/tmp/multipartBody1040990533206456833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746350775,"filename":"image_24012025_18_04_02_727870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e2730027b1630819c0dcd656175d4c54.jpg","text":"TemporaryFile(/tmp/multipartBody3495486410497429387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746350775,"filename":"image_24012025_18_04_02_727870_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f84c2765387a5314887ba01764b1ff9a.jpg","text":"TemporaryFile(/tmp/multipartBody2813533713629010086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746350775,"filename":"image_24012025_18_04_02_727870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b0776ed9715f085428a504fde2dd5dc.jpg","text":"TemporaryFile(/tmp/multipartBody7123812100625797622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746350775,"filename":"image_24012025_18_05_02_905336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c2b9dc53e48080850df087f706163202.jpg","text":"TemporaryFile(/tmp/multipartBody1319408851938366749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746350775,"filename":"image_24012025_18_04_02_727870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d954e3c6abc23ff632e04449994c61c0.jpg","text":"TemporaryFile(/tmp/multipartBody217258692322372275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746350775,"filename":"image_24012025_18_05_02_905336_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331121887","file1":"1331121880","file0":"1331121868","file4":"1331122017","file5":"1331122022","file3":"1331121894"},"map_files_photo_id_array":[{"photo_id":"1331122022","filename":"file5"},{"photo_id":"1331121887","filename":"file2"},{"photo_id":"1331122017","filename":"file4"},{"photo_id":"1331121880","filename":"file1"},{"photo_id":"1331121868","filename":"file0"},{"photo_id":"1331121894","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331121880":["hashtag1","hashtag2"]},{"1331121868":["hashtag1","hashtag2"]},{"1331121894":["hashtag1","hashtag2"]},{"1331122017":["hashtag1","hashtag2"]},{"1331121887":["hashtag1","hashtag2"]},{"1331122022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331121880, 1331121868, 1331121894, 1331122017, 1331121887, 1331122022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.4147081375122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:19:22.012252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/05/image_24012025_18_05_02_905336_0002.jpg', '/home/pi/Desktop/images/24012025/18/05/image_24012025_18_05_02_905336_0003.jpg', '/home/pi/Desktop/images/24012025/18/06/image_24012025_18_06_03_141919_0000.jpg', '/home/pi/Desktop/images/24012025/18/06/image_24012025_18_06_03_141919_0001.jpg', '/home/pi/Desktop/images/24012025/18/06/image_24012025_18_06_03_141919_0002.jpg', '/home/pi/Desktop/images/24012025/18/06/image_24012025_18_06_03_141919_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/05/image_24012025_18_05_02_905336_0002.jpg
/home/pi/Desktop/images/24012025/18/05/image_24012025_18_05_02_905336_0003.jpg
/home/pi/Desktop/images/24012025/18/06/image_24012025_18_06_03_141919_0000.jpg
/home/pi/Desktop/images/24012025/18/06/image_24012025_18_06_03_141919_0001.jpg
/home/pi/Desktop/images/24012025/18/06/image_24012025_18_06_03_141919_0002.jpg
/home/pi/Desktop/images/24012025/18/06/image_24012025_18_06_03_141919_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331122242","1331122248","1331122233","1331122227","1331122220","1331122267"],"photo_ids_order":["1331122220","1331122227","1331122233","1331122242","1331122248","1331122267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23c3f21260d966d143726ec44f44a67b.jpg","text":"TemporaryFile(/tmp/multipartBody8727535353792271293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746462476,"filename":"image_24012025_18_06_03_141919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ef2b4edca89c9a4f35b4fc4ecf3ad8d.jpg","text":"TemporaryFile(/tmp/multipartBody287129167821413824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746462476,"filename":"image_24012025_18_06_03_141919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdaf0ea8a468460f37cf616e7cd27712.jpg","text":"TemporaryFile(/tmp/multipartBody4200829546289920156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746462476,"filename":"image_24012025_18_06_03_141919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fea42eb783dc80f9db63ddca8a132ac3.jpg","text":"TemporaryFile(/tmp/multipartBody3450581007085998215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746462476,"filename":"image_24012025_18_05_02_905336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f98779c5318c3dc706cd9b585b7bf04a.jpg","text":"TemporaryFile(/tmp/multipartBody907060634976756346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746462476,"filename":"image_24012025_18_05_02_905336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/82161680e1a7b4917d87c6fd17e5c234.jpg","text":"TemporaryFile(/tmp/multipartBody3705371768739076821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746462476,"filename":"image_24012025_18_06_03_141919_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331122233","file1":"1331122227","file0":"1331122220","file4":"1331122248","file5":"1331122267","file3":"1331122242"},"map_files_photo_id_array":[{"photo_id":"1331122267","filename":"file5"},{"photo_id":"1331122233","filename":"file2"},{"photo_id":"1331122248","filename":"file4"},{"photo_id":"1331122227","filename":"file1"},{"photo_id":"1331122220","filename":"file0"},{"photo_id":"1331122242","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331122242":["hashtag1","hashtag2"]},{"1331122248":["hashtag1","hashtag2"]},{"1331122233":["hashtag1","hashtag2"]},{"1331122227":["hashtag1","hashtag2"]},{"1331122220":["hashtag1","hashtag2"]},{"1331122267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331122242, 1331122248, 1331122233, 1331122227, 1331122220, 1331122267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.69776225090027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 20:21:03.055002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/07/image_24012025_18_07_02_297052_0000.jpg', '/home/pi/Desktop/images/24012025/18/07/image_24012025_18_07_02_297052_0001.jpg', '/home/pi/Desktop/images/24012025/18/07/image_24012025_18_07_02_297052_0002.jpg', '/home/pi/Desktop/images/24012025/18/07/image_24012025_18_07_02_297052_0003.jpg', '/home/pi/Desktop/images/24012025/18/08/image_24012025_18_08_02_467229_0000.jpg', '/home/pi/Desktop/images/24012025/18/08/image_24012025_18_08_02_467229_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/07/image_24012025_18_07_02_297052_0000.jpg
/home/pi/Desktop/images/24012025/18/07/image_24012025_18_07_02_297052_0001.jpg
/home/pi/Desktop/images/24012025/18/07/image_24012025_18_07_02_297052_0002.jpg
/home/pi/Desktop/images/24012025/18/07/image_24012025_18_07_02_297052_0003.jpg
/home/pi/Desktop/images/24012025/18/08/image_24012025_18_08_02_467229_0000.jpg
/home/pi/Desktop/images/24012025/18/08/image_24012025_18_08_02_467229_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331122360","1331122386","1331122380","1331122374","1331122396","1331122363"],"photo_ids_order":["1331122360","1331122363","1331122374","1331122380","1331122386","1331122396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/24280c36d43266ded7163c4ca2e0f2d5.jpg","text":"TemporaryFile(/tmp/multipartBody3567316295899362006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746570858,"filename":"image_24012025_18_07_02_297052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3c13193341a26b2f2e70c7acec9bcb22.jpg","text":"TemporaryFile(/tmp/multipartBody6695655336317957751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746570858,"filename":"image_24012025_18_08_02_467229_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fdb32065ab13ceea8c1cc45da1653d2f.jpg","text":"TemporaryFile(/tmp/multipartBody4775539610717702856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746570858,"filename":"image_24012025_18_07_02_297052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3e5d7de31795acaa12352fc06ed76965.jpg","text":"TemporaryFile(/tmp/multipartBody5059181798153273935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746570858,"filename":"image_24012025_18_07_02_297052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/abd70ff3431c7987dc21696fd6fa70d3.jpg","text":"TemporaryFile(/tmp/multipartBody2731905453037484437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746570858,"filename":"image_24012025_18_08_02_467229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/61fbae78c06b88c80fb3e6780347149e.jpg","text":"TemporaryFile(/tmp/multipartBody6598092801581286664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746570858,"filename":"image_24012025_18_07_02_297052_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331122374","file1":"1331122363","file0":"1331122360","file4":"1331122386","file5":"1331122396","file3":"1331122380"},"map_files_photo_id_array":[{"photo_id":"1331122396","filename":"file5"},{"photo_id":"1331122374","filename":"file2"},{"photo_id":"1331122386","filename":"file4"},{"photo_id":"1331122363","filename":"file1"},{"photo_id":"1331122360","filename":"file0"},{"photo_id":"1331122380","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331122360":["hashtag1","hashtag2"]},{"1331122386":["hashtag1","hashtag2"]},{"1331122380":["hashtag1","hashtag2"]},{"1331122374":["hashtag1","hashtag2"]},{"1331122396":["hashtag1","hashtag2"]},{"1331122363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331122360, 1331122386, 1331122380, 1331122374, 1331122396, 1331122363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.22432804107666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 20:22:52.516343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/08/image_24012025_18_08_02_467229_0002.jpg', '/home/pi/Desktop/images/24012025/18/08/image_24012025_18_08_02_467229_0003.jpg', '/home/pi/Desktop/images/24012025/18/09/image_24012025_18_09_02_624033_0000.jpg', '/home/pi/Desktop/images/24012025/18/09/image_24012025_18_09_02_624033_0001.jpg', '/home/pi/Desktop/images/24012025/18/09/image_24012025_18_09_02_624033_0002.jpg', '/home/pi/Desktop/images/24012025/18/09/image_24012025_18_09_02_624033_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/08/image_24012025_18_08_02_467229_0002.jpg
/home/pi/Desktop/images/24012025/18/08/image_24012025_18_08_02_467229_0003.jpg
/home/pi/Desktop/images/24012025/18/09/image_24012025_18_09_02_624033_0000.jpg
/home/pi/Desktop/images/24012025/18/09/image_24012025_18_09_02_624033_0001.jpg
/home/pi/Desktop/images/24012025/18/09/image_24012025_18_09_02_624033_0002.jpg
/home/pi/Desktop/images/24012025/18/09/image_24012025_18_09_02_624033_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331122548","1331122490","1331122487","1331122517","1331122480","1331122540"],"photo_ids_order":["1331122480","1331122487","1331122490","1331122517","1331122540","1331122548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d51ab3e942ca6edf1457256397bb389.jpg","text":"TemporaryFile(/tmp/multipartBody3615264948612646621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746679867,"filename":"image_24012025_18_09_02_624033_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10bba6b70bc7e7767a0039f5afc67dd7.jpg","text":"TemporaryFile(/tmp/multipartBody4016375541517076923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746679867,"filename":"image_24012025_18_09_02_624033_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e790e7b9b24beffcd04ca5c5f752cdf.jpg","text":"TemporaryFile(/tmp/multipartBody63510118513011942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746679867,"filename":"image_24012025_18_08_02_467229_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0de16ff57091c2ce1db2f5b41f5055d7.jpg","text":"TemporaryFile(/tmp/multipartBody3274220273963892361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746679867,"filename":"image_24012025_18_09_02_624033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a2e0d456b919979880431e6b6544587d.jpg","text":"TemporaryFile(/tmp/multipartBody4468946090797427794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746679867,"filename":"image_24012025_18_08_02_467229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/95b928e28d2dc9fe3bd2d9e2cba7af54.jpg","text":"TemporaryFile(/tmp/multipartBody899217462799721369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746679867,"filename":"image_24012025_18_09_02_624033_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331122490","file1":"1331122487","file0":"1331122480","file4":"1331122540","file5":"1331122548","file3":"1331122517"},"map_files_photo_id_array":[{"photo_id":"1331122548","filename":"file5"},{"photo_id":"1331122490","filename":"file2"},{"photo_id":"1331122540","filename":"file4"},{"photo_id":"1331122487","filename":"file1"},{"photo_id":"1331122480","filename":"file0"},{"photo_id":"1331122517","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331122548":["hashtag1","hashtag2"]},{"1331122490":["hashtag1","hashtag2"]},{"1331122487":["hashtag1","hashtag2"]},{"1331122517":["hashtag1","hashtag2"]},{"1331122480":["hashtag1","hashtag2"]},{"1331122540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331122548, 1331122490, 1331122487, 1331122517, 1331122480, 1331122540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.62792634963989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 20:24:41.981128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0000.jpg', '/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0001.jpg', '/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0002.jpg', '/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0003.jpg', '/home/pi/Desktop/images/24012025/18/11/image_24012025_18_11_03_067822_0000.jpg', '/home/pi/Desktop/images/24012025/18/11/image_24012025_18_11_03_067822_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0000.jpg
/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0001.jpg
/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0002.jpg
/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0003.jpg
/home/pi/Desktop/images/24012025/18/11/image_24012025_18_11_03_067822_0000.jpg
/home/pi/Desktop/images/24012025/18/11/image_24012025_18_11_03_067822_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 37.32198143005371 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:25:22.105689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0000.jpg', '/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0001.jpg', '/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0002.jpg', '/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0003.jpg', '/home/pi/Desktop/images/24012025/18/11/image_24012025_18_11_03_067822_0000.jpg', '/home/pi/Desktop/images/24012025/18/11/image_24012025_18_11_03_067822_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0000.jpg
/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0001.jpg
/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0002.jpg
/home/pi/Desktop/images/24012025/18/10/image_24012025_18_10_02_802731_0003.jpg
/home/pi/Desktop/images/24012025/18/11/image_24012025_18_11_03_067822_0000.jpg
/home/pi/Desktop/images/24012025/18/11/image_24012025_18_11_03_067822_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331122624","1331122615","1331122629","1331122637","1331122616","1331122621"],"photo_ids_order":["1331122615","1331122616","1331122621","1331122624","1331122629","1331122637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f48187782b513663f47eb0517c2efd3d.jpg","text":"TemporaryFile(/tmp/multipartBody5361665909486215886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746812057,"filename":"image_24012025_18_10_02_802731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/522722db94f72ef8d12b3de9f5784c97.jpg","text":"TemporaryFile(/tmp/multipartBody1248677552044233664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746812057,"filename":"image_24012025_18_10_02_802731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8fb1caf63b9bb84cd44a6c67a5ffa174.jpg","text":"TemporaryFile(/tmp/multipartBody3569793999467402302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746812057,"filename":"image_24012025_18_11_03_067822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3574b8163e1fc8f4fe81cb45ab60b6bf.jpg","text":"TemporaryFile(/tmp/multipartBody6777670727063987221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746812057,"filename":"image_24012025_18_11_03_067822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a363faee67d99d057c3299ce9798d3a6.jpg","text":"TemporaryFile(/tmp/multipartBody1747364274138984329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746812057,"filename":"image_24012025_18_10_02_802731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e18c98e6060dd6a22f26f492bdee4bea.jpg","text":"TemporaryFile(/tmp/multipartBody6911090562598422387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746812057,"filename":"image_24012025_18_10_02_802731_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331122621","file1":"1331122616","file0":"1331122615","file4":"1331122629","file5":"1331122637","file3":"1331122624"},"map_files_photo_id_array":[{"photo_id":"1331122637","filename":"file5"},{"photo_id":"1331122621","filename":"file2"},{"photo_id":"1331122629","filename":"file4"},{"photo_id":"1331122616","filename":"file1"},{"photo_id":"1331122615","filename":"file0"},{"photo_id":"1331122624","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331122624":["hashtag1","hashtag2"]},{"1331122615":["hashtag1","hashtag2"]},{"1331122629":["hashtag1","hashtag2"]},{"1331122637":["hashtag1","hashtag2"]},{"1331122616":["hashtag1","hashtag2"]},{"1331122621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331122624, 1331122615, 1331122629, 1331122637, 1331122616, 1331122621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.94814085960388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 20:26:52.232507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/11/image_24012025_18_11_03_067822_0002.jpg', '/home/pi/Desktop/images/24012025/18/11/image_24012025_18_11_03_067822_0003.jpg', '/home/pi/Desktop/images/24012025/18/12/image_24012025_18_12_02_248498_0000.jpg', '/home/pi/Desktop/images/24012025/18/12/image_24012025_18_12_02_248498_0001.jpg', '/home/pi/Desktop/images/24012025/18/12/image_24012025_18_12_02_248498_0002.jpg', '/home/pi/Desktop/images/24012025/18/12/image_24012025_18_12_02_248498_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/11/image_24012025_18_11_03_067822_0002.jpg
/home/pi/Desktop/images/24012025/18/11/image_24012025_18_11_03_067822_0003.jpg
/home/pi/Desktop/images/24012025/18/12/image_24012025_18_12_02_248498_0000.jpg
/home/pi/Desktop/images/24012025/18/12/image_24012025_18_12_02_248498_0001.jpg
/home/pi/Desktop/images/24012025/18/12/image_24012025_18_12_02_248498_0002.jpg
/home/pi/Desktop/images/24012025/18/12/image_24012025_18_12_02_248498_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331122702","1331122695","1331122713","1331122709","1331122699","1331122703"],"photo_ids_order":["1331122695","1331122699","1331122702","1331122703","1331122709","1331122713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b940e1a60d2398b757bb5957205d94f.jpg","text":"TemporaryFile(/tmp/multipartBody7219097194482689604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746916042,"filename":"image_24012025_18_12_02_248498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9e6dbea74a546a4f82dc5a61dd10f7ee.jpg","text":"TemporaryFile(/tmp/multipartBody2427373671087695183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746916042,"filename":"image_24012025_18_11_03_067822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/58d8026141f1653758bd5440a9184471.jpg","text":"TemporaryFile(/tmp/multipartBody5898592722977328443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746916042,"filename":"image_24012025_18_12_02_248498_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc16be84cece7503a23ec137d0214399.jpg","text":"TemporaryFile(/tmp/multipartBody1784364779805256236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746916042,"filename":"image_24012025_18_12_02_248498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a149c3e00bc08e29ee475ecac83669af.jpg","text":"TemporaryFile(/tmp/multipartBody7939305781687498825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746916042,"filename":"image_24012025_18_11_03_067822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/78a263989ae50841b38f4e3cb26e6452.jpg","text":"TemporaryFile(/tmp/multipartBody1667740968075932250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737746916042,"filename":"image_24012025_18_12_02_248498_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331122702","file1":"1331122699","file0":"1331122695","file4":"1331122709","file5":"1331122713","file3":"1331122703"},"map_files_photo_id_array":[{"photo_id":"1331122713","filename":"file5"},{"photo_id":"1331122702","filename":"file2"},{"photo_id":"1331122709","filename":"file4"},{"photo_id":"1331122699","filename":"file1"},{"photo_id":"1331122695","filename":"file0"},{"photo_id":"1331122703","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331122702":["hashtag1","hashtag2"]},{"1331122695":["hashtag1","hashtag2"]},{"1331122713":["hashtag1","hashtag2"]},{"1331122709":["hashtag1","hashtag2"]},{"1331122699":["hashtag1","hashtag2"]},{"1331122703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331122702, 1331122695, 1331122713, 1331122709, 1331122699, 1331122703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.15514039993286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 20:28:42.745156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/13/image_24012025_18_13_02_429678_0000.jpg', '/home/pi/Desktop/images/24012025/18/13/image_24012025_18_13_02_429678_0001.jpg', '/home/pi/Desktop/images/24012025/18/13/image_24012025_18_13_02_429678_0002.jpg', '/home/pi/Desktop/images/24012025/18/13/image_24012025_18_13_02_429678_0003.jpg', '/home/pi/Desktop/images/24012025/18/14/image_24012025_18_14_02_629261_0000.jpg', '/home/pi/Desktop/images/24012025/18/14/image_24012025_18_14_02_629261_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/13/image_24012025_18_13_02_429678_0000.jpg
/home/pi/Desktop/images/24012025/18/13/image_24012025_18_13_02_429678_0001.jpg
/home/pi/Desktop/images/24012025/18/13/image_24012025_18_13_02_429678_0002.jpg
/home/pi/Desktop/images/24012025/18/13/image_24012025_18_13_02_429678_0003.jpg
/home/pi/Desktop/images/24012025/18/14/image_24012025_18_14_02_629261_0000.jpg
/home/pi/Desktop/images/24012025/18/14/image_24012025_18_14_02_629261_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331122896","1331122878","1331122892","1331122895","1331122883","1331122888"],"photo_ids_order":["1331122878","1331122883","1331122888","1331122892","1331122895","1331122896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/24c657cb0eb0c36c9a96f80c84ef795c.jpg","text":"TemporaryFile(/tmp/multipartBody8163348633266520819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747016101,"filename":"image_24012025_18_14_02_629261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/120a292010081b320cd5f8e81426034c.jpg","text":"TemporaryFile(/tmp/multipartBody7864957528443843742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747016101,"filename":"image_24012025_18_13_02_429678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1bf0cdf1922882c0bf8fa52a336a8cff.jpg","text":"TemporaryFile(/tmp/multipartBody3703401178246745427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747016101,"filename":"image_24012025_18_13_02_429678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/59788d1c78cc0fb8085125175b8106fb.jpg","text":"TemporaryFile(/tmp/multipartBody6010734216556290248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747016101,"filename":"image_24012025_18_14_02_629261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5bf06e92f3a09acbbe9cea841623406c.jpg","text":"TemporaryFile(/tmp/multipartBody2506525681640177843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747016101,"filename":"image_24012025_18_13_02_429678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23d24f55b619fd828e189ebd7f08874e.jpg","text":"TemporaryFile(/tmp/multipartBody415093588194505022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747016101,"filename":"image_24012025_18_13_02_429678_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331122888","file1":"1331122883","file0":"1331122878","file4":"1331122895","file5":"1331122896","file3":"1331122892"},"map_files_photo_id_array":[{"photo_id":"1331122896","filename":"file5"},{"photo_id":"1331122888","filename":"file2"},{"photo_id":"1331122895","filename":"file4"},{"photo_id":"1331122883","filename":"file1"},{"photo_id":"1331122878","filename":"file0"},{"photo_id":"1331122892","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331122896":["hashtag1","hashtag2"]},{"1331122878":["hashtag1","hashtag2"]},{"1331122892":["hashtag1","hashtag2"]},{"1331122895":["hashtag1","hashtag2"]},{"1331122883":["hashtag1","hashtag2"]},{"1331122888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331122896, 1331122878, 1331122892, 1331122895, 1331122883, 1331122888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.10080528259277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:30:22.026422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/14/image_24012025_18_14_02_629261_0002.jpg', '/home/pi/Desktop/images/24012025/18/14/image_24012025_18_14_02_629261_0003.jpg', '/home/pi/Desktop/images/24012025/18/15/image_24012025_18_15_02_766777_0000.jpg', '/home/pi/Desktop/images/24012025/18/15/image_24012025_18_15_02_766777_0001.jpg', '/home/pi/Desktop/images/24012025/18/15/image_24012025_18_15_02_766777_0002.jpg', '/home/pi/Desktop/images/24012025/18/15/image_24012025_18_15_02_766777_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/14/image_24012025_18_14_02_629261_0002.jpg
/home/pi/Desktop/images/24012025/18/14/image_24012025_18_14_02_629261_0003.jpg
/home/pi/Desktop/images/24012025/18/15/image_24012025_18_15_02_766777_0000.jpg
/home/pi/Desktop/images/24012025/18/15/image_24012025_18_15_02_766777_0001.jpg
/home/pi/Desktop/images/24012025/18/15/image_24012025_18_15_02_766777_0002.jpg
/home/pi/Desktop/images/24012025/18/15/image_24012025_18_15_02_766777_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331123289","1331123568","1331123301","1331123304","1331123296","1331123356"],"photo_ids_order":["1331123289","1331123296","1331123301","1331123304","1331123356","1331123568"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c5194608cfe50e20025117268bfdb19.jpg","text":"TemporaryFile(/tmp/multipartBody8838308530442814458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747130477,"filename":"image_24012025_18_14_02_629261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d44d825c05b1e63ca7dea373078abf6e.jpg","text":"TemporaryFile(/tmp/multipartBody7233555040116458523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747130477,"filename":"image_24012025_18_15_02_766777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3af617e457eafb32e2d646d049c845d4.jpg","text":"TemporaryFile(/tmp/multipartBody1438938571296567679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747130477,"filename":"image_24012025_18_15_02_766777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/52fb0f25b31d3b5de6094d1f70150688.jpg","text":"TemporaryFile(/tmp/multipartBody2854108730544499413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747130477,"filename":"image_24012025_18_15_02_766777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0de2ab470c9fc4e2022da7dacefd2cd.jpg","text":"TemporaryFile(/tmp/multipartBody440388079304448543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747130477,"filename":"image_24012025_18_14_02_629261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ebfc2257ba7cea808553da714d453989.jpg","text":"TemporaryFile(/tmp/multipartBody1267659297966490881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747130477,"filename":"image_24012025_18_15_02_766777_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331123301","file1":"1331123296","file0":"1331123289","file4":"1331123356","file5":"1331123568","file3":"1331123304"},"map_files_photo_id_array":[{"photo_id":"1331123568","filename":"file5"},{"photo_id":"1331123301","filename":"file2"},{"photo_id":"1331123356","filename":"file4"},{"photo_id":"1331123296","filename":"file1"},{"photo_id":"1331123289","filename":"file0"},{"photo_id":"1331123304","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331123289":["hashtag1","hashtag2"]},{"1331123568":["hashtag1","hashtag2"]},{"1331123301":["hashtag1","hashtag2"]},{"1331123304":["hashtag1","hashtag2"]},{"1331123296":["hashtag1","hashtag2"]},{"1331123356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331123289, 1331123568, 1331123301, 1331123304, 1331123296, 1331123356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.72206735610962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:32:22.524010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/16/image_24012025_18_16_02_952934_0000.jpg', '/home/pi/Desktop/images/24012025/18/16/image_24012025_18_16_02_952934_0001.jpg', '/home/pi/Desktop/images/24012025/18/16/image_24012025_18_16_02_952934_0002.jpg', '/home/pi/Desktop/images/24012025/18/16/image_24012025_18_16_02_952934_0003.jpg', '/home/pi/Desktop/images/24012025/18/17/image_24012025_18_17_03_131218_0000.jpg', '/home/pi/Desktop/images/24012025/18/17/image_24012025_18_17_03_131218_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/16/image_24012025_18_16_02_952934_0000.jpg
/home/pi/Desktop/images/24012025/18/16/image_24012025_18_16_02_952934_0001.jpg
/home/pi/Desktop/images/24012025/18/16/image_24012025_18_16_02_952934_0002.jpg
/home/pi/Desktop/images/24012025/18/16/image_24012025_18_16_02_952934_0003.jpg
/home/pi/Desktop/images/24012025/18/17/image_24012025_18_17_03_131218_0000.jpg
/home/pi/Desktop/images/24012025/18/17/image_24012025_18_17_03_131218_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331123823","1331123852","1331123834","1331123842","1331123848","1331123818"],"photo_ids_order":["1331123818","1331123823","1331123834","1331123842","1331123848","1331123852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b40d60bd7fe84d9d54b9e3f36a47fbb6.jpg","text":"TemporaryFile(/tmp/multipartBody114270555472590028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747238609,"filename":"image_24012025_18_16_02_952934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1f3a841603d5b39d6c7f444f51f85f4.jpg","text":"TemporaryFile(/tmp/multipartBody4510484224979151461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747238609,"filename":"image_24012025_18_17_03_131218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/268456d4a1a0c6102ac55bc610a1221c.jpg","text":"TemporaryFile(/tmp/multipartBody8869917919047651249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747238609,"filename":"image_24012025_18_16_02_952934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b020fcdba60266b646a16dea01d5ca5c.jpg","text":"TemporaryFile(/tmp/multipartBody72448839789608893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747238609,"filename":"image_24012025_18_16_02_952934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d18bedc8ff9e03d707fc0177ccc0c434.jpg","text":"TemporaryFile(/tmp/multipartBody6575066117194701856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747238609,"filename":"image_24012025_18_17_03_131218_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2c1cf7b187c082ba350453a7b9d0c4a5.jpg","text":"TemporaryFile(/tmp/multipartBody7837457100852573344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747238609,"filename":"image_24012025_18_16_02_952934_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331123834","file1":"1331123823","file0":"1331123818","file4":"1331123848","file5":"1331123852","file3":"1331123842"},"map_files_photo_id_array":[{"photo_id":"1331123852","filename":"file5"},{"photo_id":"1331123834","filename":"file2"},{"photo_id":"1331123848","filename":"file4"},{"photo_id":"1331123823","filename":"file1"},{"photo_id":"1331123818","filename":"file0"},{"photo_id":"1331123842","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331123823":["hashtag1","hashtag2"]},{"1331123852":["hashtag1","hashtag2"]},{"1331123834":["hashtag1","hashtag2"]},{"1331123842":["hashtag1","hashtag2"]},{"1331123848":["hashtag1","hashtag2"]},{"1331123818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331123823, 1331123852, 1331123834, 1331123842, 1331123848, 1331123818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.96822714805603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 20:33:52.667889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/17/image_24012025_18_17_03_131218_0002.jpg', '/home/pi/Desktop/images/24012025/18/17/image_24012025_18_17_03_131218_0003.jpg', '/home/pi/Desktop/images/24012025/18/18/image_24012025_18_18_02_242593_0000.jpg', '/home/pi/Desktop/images/24012025/18/18/image_24012025_18_18_02_242593_0001.jpg', '/home/pi/Desktop/images/24012025/18/18/image_24012025_18_18_02_242593_0002.jpg', '/home/pi/Desktop/images/24012025/18/18/image_24012025_18_18_02_242593_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/17/image_24012025_18_17_03_131218_0002.jpg
/home/pi/Desktop/images/24012025/18/17/image_24012025_18_17_03_131218_0003.jpg
/home/pi/Desktop/images/24012025/18/18/image_24012025_18_18_02_242593_0000.jpg
/home/pi/Desktop/images/24012025/18/18/image_24012025_18_18_02_242593_0001.jpg
/home/pi/Desktop/images/24012025/18/18/image_24012025_18_18_02_242593_0002.jpg
/home/pi/Desktop/images/24012025/18/18/image_24012025_18_18_02_242593_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331123940","1331123887","1331123890","1331123950","1331123911","1331123917"],"photo_ids_order":["1331123887","1331123890","1331123911","1331123917","1331123940","1331123950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ba873074f1f27be3df0cc0980001b458.jpg","text":"TemporaryFile(/tmp/multipartBody285041098136521700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747338498,"filename":"image_24012025_18_18_02_242593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/18597f82b347d2b853cda13c4424a40f.jpg","text":"TemporaryFile(/tmp/multipartBody2651627464695146544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747338498,"filename":"image_24012025_18_17_03_131218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/baa66a31f4b787fe708a886e261e6b75.jpg","text":"TemporaryFile(/tmp/multipartBody6606507289189732692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747338498,"filename":"image_24012025_18_17_03_131218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c13bf0ddf91933df9c35a6c1bb0dc97.jpg","text":"TemporaryFile(/tmp/multipartBody9170295919765845430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747338498,"filename":"image_24012025_18_18_02_242593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2fd6bb3a52f738635c58e7a38fa8089b.jpg","text":"TemporaryFile(/tmp/multipartBody8140905545264843429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747338498,"filename":"image_24012025_18_18_02_242593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/10d54d93f05428213b9f821454475463.jpg","text":"TemporaryFile(/tmp/multipartBody5681688031491209848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747338498,"filename":"image_24012025_18_18_02_242593_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331123911","file1":"1331123890","file0":"1331123887","file4":"1331123940","file5":"1331123950","file3":"1331123917"},"map_files_photo_id_array":[{"photo_id":"1331123950","filename":"file5"},{"photo_id":"1331123911","filename":"file2"},{"photo_id":"1331123940","filename":"file4"},{"photo_id":"1331123890","filename":"file1"},{"photo_id":"1331123887","filename":"file0"},{"photo_id":"1331123917","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331123940":["hashtag1","hashtag2"]},{"1331123887":["hashtag1","hashtag2"]},{"1331123890":["hashtag1","hashtag2"]},{"1331123950":["hashtag1","hashtag2"]},{"1331123911":["hashtag1","hashtag2"]},{"1331123917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331123940, 1331123887, 1331123890, 1331123950, 1331123911, 1331123917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.05527591705322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 20:35:42.042331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/19/image_24012025_18_19_02_423177_0000.jpg', '/home/pi/Desktop/images/24012025/18/19/image_24012025_18_19_02_423177_0001.jpg', '/home/pi/Desktop/images/24012025/18/19/image_24012025_18_19_02_423177_0002.jpg', '/home/pi/Desktop/images/24012025/18/19/image_24012025_18_19_02_423177_0003.jpg', '/home/pi/Desktop/images/24012025/18/20/image_24012025_18_20_02_561698_0000.jpg', '/home/pi/Desktop/images/24012025/18/20/image_24012025_18_20_02_561698_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/19/image_24012025_18_19_02_423177_0000.jpg
/home/pi/Desktop/images/24012025/18/19/image_24012025_18_19_02_423177_0001.jpg
/home/pi/Desktop/images/24012025/18/19/image_24012025_18_19_02_423177_0002.jpg
/home/pi/Desktop/images/24012025/18/19/image_24012025_18_19_02_423177_0003.jpg
/home/pi/Desktop/images/24012025/18/20/image_24012025_18_20_02_561698_0000.jpg
/home/pi/Desktop/images/24012025/18/20/image_24012025_18_20_02_561698_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331124201","1331124137","1331124122","1331124160","1331124229","1331124168"],"photo_ids_order":["1331124122","1331124137","1331124160","1331124168","1331124201","1331124229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/961eb3fa1c0a3568deff51679d4f5c6c.jpg","text":"TemporaryFile(/tmp/multipartBody6820900446680201281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747446394,"filename":"image_24012025_18_20_02_561698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4d7ea202fb9997dfd85e2e12795ba162.jpg","text":"TemporaryFile(/tmp/multipartBody8465064986026058362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747446394,"filename":"image_24012025_18_19_02_423177_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/909a63a4a9a0dfce3b5f4d16a26ca659.jpg","text":"TemporaryFile(/tmp/multipartBody7028692834339105810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747446394,"filename":"image_24012025_18_19_02_423177_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/727acb273634fa9c86a1dc94ccce3b11.jpg","text":"TemporaryFile(/tmp/multipartBody5943446848690571999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747446394,"filename":"image_24012025_18_19_02_423177_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a96488ac26756a318c849674090615ef.jpg","text":"TemporaryFile(/tmp/multipartBody2599857585107690451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747446394,"filename":"image_24012025_18_20_02_561698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/516df18d87a7e0081a760cf78d286eaa.jpg","text":"TemporaryFile(/tmp/multipartBody6998176431900450864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747446394,"filename":"image_24012025_18_19_02_423177_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331124160","file1":"1331124137","file0":"1331124122","file4":"1331124201","file5":"1331124229","file3":"1331124168"},"map_files_photo_id_array":[{"photo_id":"1331124229","filename":"file5"},{"photo_id":"1331124160","filename":"file2"},{"photo_id":"1331124201","filename":"file4"},{"photo_id":"1331124137","filename":"file1"},{"photo_id":"1331124122","filename":"file0"},{"photo_id":"1331124168","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331124201":["hashtag1","hashtag2"]},{"1331124137":["hashtag1","hashtag2"]},{"1331124122":["hashtag1","hashtag2"]},{"1331124160":["hashtag1","hashtag2"]},{"1331124229":["hashtag1","hashtag2"]},{"1331124168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331124201, 1331124137, 1331124122, 1331124160, 1331124229, 1331124168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.98454904556274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 20:37:32.431080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/20/image_24012025_18_20_02_561698_0002.jpg', '/home/pi/Desktop/images/24012025/18/20/image_24012025_18_20_02_561698_0003.jpg', '/home/pi/Desktop/images/24012025/18/21/image_24012025_18_21_02_679862_0000.jpg', '/home/pi/Desktop/images/24012025/18/21/image_24012025_18_21_02_679862_0001.jpg', '/home/pi/Desktop/images/24012025/18/21/image_24012025_18_21_02_679862_0002.jpg', '/home/pi/Desktop/images/24012025/18/21/image_24012025_18_21_02_679862_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/20/image_24012025_18_20_02_561698_0002.jpg
/home/pi/Desktop/images/24012025/18/20/image_24012025_18_20_02_561698_0003.jpg
/home/pi/Desktop/images/24012025/18/21/image_24012025_18_21_02_679862_0000.jpg
/home/pi/Desktop/images/24012025/18/21/image_24012025_18_21_02_679862_0001.jpg
/home/pi/Desktop/images/24012025/18/21/image_24012025_18_21_02_679862_0002.jpg
/home/pi/Desktop/images/24012025/18/21/image_24012025_18_21_02_679862_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331124300","1331124308","1331124271","1331124289","1331124316","1331124267"],"photo_ids_order":["1331124267","1331124271","1331124289","1331124300","1331124308","1331124316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/939b5d53d5b401b64c2a3252229dac8f.jpg","text":"TemporaryFile(/tmp/multipartBody3081959795349529695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747539402,"filename":"image_24012025_18_21_02_679862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ebc15ceb5facc61df236986bdd29bef9.jpg","text":"TemporaryFile(/tmp/multipartBody834225506861657307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747539402,"filename":"image_24012025_18_21_02_679862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8de655c85bc8390eee6cec774866a6a0.jpg","text":"TemporaryFile(/tmp/multipartBody5812617650447579936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747539402,"filename":"image_24012025_18_20_02_561698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6966c55cf600fbfa82ec44f57db985fc.jpg","text":"TemporaryFile(/tmp/multipartBody650793829072457712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747539402,"filename":"image_24012025_18_21_02_679862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/11de7765308ec2e476d3ab50d98bb39f.jpg","text":"TemporaryFile(/tmp/multipartBody3062459694493326569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747539402,"filename":"image_24012025_18_21_02_679862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aba336180f7cfe6b1b93b8cf864c84ed.jpg","text":"TemporaryFile(/tmp/multipartBody6960969591089119791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747539402,"filename":"image_24012025_18_20_02_561698_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331124289","file1":"1331124271","file0":"1331124267","file4":"1331124308","file5":"1331124316","file3":"1331124300"},"map_files_photo_id_array":[{"photo_id":"1331124316","filename":"file5"},{"photo_id":"1331124289","filename":"file2"},{"photo_id":"1331124308","filename":"file4"},{"photo_id":"1331124271","filename":"file1"},{"photo_id":"1331124267","filename":"file0"},{"photo_id":"1331124300","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331124300":["hashtag1","hashtag2"]},{"1331124308":["hashtag1","hashtag2"]},{"1331124271":["hashtag1","hashtag2"]},{"1331124289":["hashtag1","hashtag2"]},{"1331124316":["hashtag1","hashtag2"]},{"1331124267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331124300, 1331124308, 1331124271, 1331124289, 1331124316, 1331124267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.17474365234375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 20:39:02.514751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/22/image_24012025_18_22_03_020794_0000.jpg', '/home/pi/Desktop/images/24012025/18/22/image_24012025_18_22_03_020794_0001.jpg', '/home/pi/Desktop/images/24012025/18/22/image_24012025_18_22_03_020794_0002.jpg', '/home/pi/Desktop/images/24012025/18/22/image_24012025_18_22_03_020794_0003.jpg', '/home/pi/Desktop/images/24012025/18/23/image_24012025_18_23_03_086746_0000.jpg', '/home/pi/Desktop/images/24012025/18/23/image_24012025_18_23_03_086746_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/22/image_24012025_18_22_03_020794_0000.jpg
/home/pi/Desktop/images/24012025/18/22/image_24012025_18_22_03_020794_0001.jpg
/home/pi/Desktop/images/24012025/18/22/image_24012025_18_22_03_020794_0002.jpg
/home/pi/Desktop/images/24012025/18/22/image_24012025_18_22_03_020794_0003.jpg
/home/pi/Desktop/images/24012025/18/23/image_24012025_18_23_03_086746_0000.jpg
/home/pi/Desktop/images/24012025/18/23/image_24012025_18_23_03_086746_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331124405","1331124417","1331124452","1331124476","1331124484","1331124436"],"photo_ids_order":["1331124405","1331124417","1331124436","1331124452","1331124476","1331124484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0c0b27ecfa5f8b89ffad6f9aaa32af50.jpg","text":"TemporaryFile(/tmp/multipartBody3397604057845888720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747649537,"filename":"image_24012025_18_22_03_020794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12216332043fa38ab8920d35a9089c24.jpg","text":"TemporaryFile(/tmp/multipartBody8811696982728192268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747649537,"filename":"image_24012025_18_22_03_020794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d267b4cb75e3797333ac0e3b6154d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5660150960566036587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747649537,"filename":"image_24012025_18_22_03_020794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c6c751889b7254d0f637c0709382b189.jpg","text":"TemporaryFile(/tmp/multipartBody4431812513409713184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747649537,"filename":"image_24012025_18_23_03_086746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a8b6400c151d02c8f86ae6475957f04.jpg","text":"TemporaryFile(/tmp/multipartBody7999826235367853044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747649537,"filename":"image_24012025_18_23_03_086746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1d316c86e5582d1bfdc1aac7594bdaf8.jpg","text":"TemporaryFile(/tmp/multipartBody898626973787536004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747649537,"filename":"image_24012025_18_22_03_020794_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331124436","file1":"1331124417","file0":"1331124405","file4":"1331124476","file5":"1331124484","file3":"1331124452"},"map_files_photo_id_array":[{"photo_id":"1331124484","filename":"file5"},{"photo_id":"1331124436","filename":"file2"},{"photo_id":"1331124476","filename":"file4"},{"photo_id":"1331124417","filename":"file1"},{"photo_id":"1331124405","filename":"file0"},{"photo_id":"1331124452","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331124405":["hashtag1","hashtag2"]},{"1331124417":["hashtag1","hashtag2"]},{"1331124452":["hashtag1","hashtag2"]},{"1331124476":["hashtag1","hashtag2"]},{"1331124484":["hashtag1","hashtag2"]},{"1331124436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331124405, 1331124417, 1331124452, 1331124476, 1331124484, 1331124436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.69775295257568 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 20:40:51.989510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/23/image_24012025_18_23_03_086746_0002.jpg', '/home/pi/Desktop/images/24012025/18/23/image_24012025_18_23_03_086746_0003.jpg', '/home/pi/Desktop/images/24012025/18/24/image_24012025_18_24_02_251097_0000.jpg', '/home/pi/Desktop/images/24012025/18/24/image_24012025_18_24_02_251097_0001.jpg', '/home/pi/Desktop/images/24012025/18/24/image_24012025_18_24_02_251097_0002.jpg', '/home/pi/Desktop/images/24012025/18/24/image_24012025_18_24_02_251097_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/23/image_24012025_18_23_03_086746_0002.jpg
/home/pi/Desktop/images/24012025/18/23/image_24012025_18_23_03_086746_0003.jpg
/home/pi/Desktop/images/24012025/18/24/image_24012025_18_24_02_251097_0000.jpg
/home/pi/Desktop/images/24012025/18/24/image_24012025_18_24_02_251097_0001.jpg
/home/pi/Desktop/images/24012025/18/24/image_24012025_18_24_02_251097_0002.jpg
/home/pi/Desktop/images/24012025/18/24/image_24012025_18_24_02_251097_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331124617","1331124694","1331124685","1331124648","1331124657","1331124642"],"photo_ids_order":["1331124617","1331124642","1331124648","1331124657","1331124685","1331124694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/77d2bc8efc8b1068349c350c80897e77.jpg","text":"TemporaryFile(/tmp/multipartBody1154327947373599282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747754828,"filename":"image_24012025_18_23_03_086746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed3d134972fb61cea6cf2392b638690d.jpg","text":"TemporaryFile(/tmp/multipartBody3380185770368174589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747754828,"filename":"image_24012025_18_24_02_251097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d628f6dd181d35078aecd9c9e8ac46ae.jpg","text":"TemporaryFile(/tmp/multipartBody4605234348461186899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747754828,"filename":"image_24012025_18_24_02_251097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8712d0d39bd3d2dd6d7011ed0018320f.jpg","text":"TemporaryFile(/tmp/multipartBody4126048979477786171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747754828,"filename":"image_24012025_18_24_02_251097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c41a144fa03dabac278f15ae8725fcc7.jpg","text":"TemporaryFile(/tmp/multipartBody2042754339635879594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747754828,"filename":"image_24012025_18_24_02_251097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b3b867e3cdd1dcb6d0d4f747f3415ab5.jpg","text":"TemporaryFile(/tmp/multipartBody3191282365042642831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747754828,"filename":"image_24012025_18_23_03_086746_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331124648","file1":"1331124642","file0":"1331124617","file4":"1331124685","file5":"1331124694","file3":"1331124657"},"map_files_photo_id_array":[{"photo_id":"1331124694","filename":"file5"},{"photo_id":"1331124648","filename":"file2"},{"photo_id":"1331124685","filename":"file4"},{"photo_id":"1331124642","filename":"file1"},{"photo_id":"1331124617","filename":"file0"},{"photo_id":"1331124657","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331124617":["hashtag1","hashtag2"]},{"1331124694":["hashtag1","hashtag2"]},{"1331124685":["hashtag1","hashtag2"]},{"1331124648":["hashtag1","hashtag2"]},{"1331124657":["hashtag1","hashtag2"]},{"1331124642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331124617, 1331124694, 1331124685, 1331124648, 1331124657, 1331124642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.08404731750488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 20:42:42.425683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/25/image_24012025_18_25_02_486031_0000.jpg', '/home/pi/Desktop/images/24012025/18/25/image_24012025_18_25_02_486031_0001.jpg', '/home/pi/Desktop/images/24012025/18/25/image_24012025_18_25_02_486031_0002.jpg', '/home/pi/Desktop/images/24012025/18/25/image_24012025_18_25_02_486031_0003.jpg', '/home/pi/Desktop/images/24012025/18/26/image_24012025_18_26_02_700895_0000.jpg', '/home/pi/Desktop/images/24012025/18/26/image_24012025_18_26_02_700895_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/25/image_24012025_18_25_02_486031_0000.jpg
/home/pi/Desktop/images/24012025/18/25/image_24012025_18_25_02_486031_0001.jpg
/home/pi/Desktop/images/24012025/18/25/image_24012025_18_25_02_486031_0002.jpg
/home/pi/Desktop/images/24012025/18/25/image_24012025_18_25_02_486031_0003.jpg
/home/pi/Desktop/images/24012025/18/26/image_24012025_18_26_02_700895_0000.jpg
/home/pi/Desktop/images/24012025/18/26/image_24012025_18_26_02_700895_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331124785","1331124773","1331124763","1331124783","1331124802","1331124780"],"photo_ids_order":["1331124763","1331124773","1331124780","1331124783","1331124785","1331124802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d9028d27b4e8b46bff65d95fbe77409.jpg","text":"TemporaryFile(/tmp/multipartBody3062982231483136107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747872345,"filename":"image_24012025_18_26_02_700895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3f882046ee60b129df3780ff786d4a11.jpg","text":"TemporaryFile(/tmp/multipartBody6726606231599162527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747872345,"filename":"image_24012025_18_25_02_486031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d8933f27d02e54f5c6a47a3e665aee35.jpg","text":"TemporaryFile(/tmp/multipartBody1129746199653997962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747872345,"filename":"image_24012025_18_25_02_486031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/203de51e39eb3985d6b0acf2c201b63a.jpg","text":"TemporaryFile(/tmp/multipartBody7810741764121984535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747872345,"filename":"image_24012025_18_25_02_486031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/35ed51ab25912ffb4af5347403ba0bdf.jpg","text":"TemporaryFile(/tmp/multipartBody6322828271138357498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747872345,"filename":"image_24012025_18_26_02_700895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/010fb08ed9d78f9e668eac60b112dac5.jpg","text":"TemporaryFile(/tmp/multipartBody4834067293123917735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747872345,"filename":"image_24012025_18_25_02_486031_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331124780","file1":"1331124773","file0":"1331124763","file4":"1331124785","file5":"1331124802","file3":"1331124783"},"map_files_photo_id_array":[{"photo_id":"1331124802","filename":"file5"},{"photo_id":"1331124780","filename":"file2"},{"photo_id":"1331124785","filename":"file4"},{"photo_id":"1331124773","filename":"file1"},{"photo_id":"1331124763","filename":"file0"},{"photo_id":"1331124783","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331124785":["hashtag1","hashtag2"]},{"1331124773":["hashtag1","hashtag2"]},{"1331124763":["hashtag1","hashtag2"]},{"1331124783":["hashtag1","hashtag2"]},{"1331124802":["hashtag1","hashtag2"]},{"1331124780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331124785, 1331124773, 1331124763, 1331124783, 1331124802, 1331124780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.4096908569336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 20:44:32.729039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/26/image_24012025_18_26_02_700895_0002.jpg', '/home/pi/Desktop/images/24012025/18/26/image_24012025_18_26_02_700895_0003.jpg', '/home/pi/Desktop/images/24012025/18/27/image_24012025_18_27_02_847136_0000.jpg', '/home/pi/Desktop/images/24012025/18/27/image_24012025_18_27_02_847136_0001.jpg', '/home/pi/Desktop/images/24012025/18/27/image_24012025_18_27_02_847136_0002.jpg', '/home/pi/Desktop/images/24012025/18/27/image_24012025_18_27_02_847136_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/26/image_24012025_18_26_02_700895_0002.jpg
/home/pi/Desktop/images/24012025/18/26/image_24012025_18_26_02_700895_0003.jpg
/home/pi/Desktop/images/24012025/18/27/image_24012025_18_27_02_847136_0000.jpg
/home/pi/Desktop/images/24012025/18/27/image_24012025_18_27_02_847136_0001.jpg
/home/pi/Desktop/images/24012025/18/27/image_24012025_18_27_02_847136_0002.jpg
/home/pi/Desktop/images/24012025/18/27/image_24012025_18_27_02_847136_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331124915","1331124909","1331124896","1331124932","1331124920","1331124931"],"photo_ids_order":["1331124896","1331124909","1331124915","1331124920","1331124931","1331124932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0af9e4032b7057a089d38aa2191df94.jpg","text":"TemporaryFile(/tmp/multipartBody2636784766806890002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747974583,"filename":"image_24012025_18_27_02_847136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/968a9f5def8314ae433bfb3dcf1fc668.jpg","text":"TemporaryFile(/tmp/multipartBody2814589452634695863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747974583,"filename":"image_24012025_18_26_02_700895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/600121b2869c1a2a2c0933c976c3892d.jpg","text":"TemporaryFile(/tmp/multipartBody2150976115874692813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747974583,"filename":"image_24012025_18_26_02_700895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72282eb085cfebf77bddca1e41a00137.jpg","text":"TemporaryFile(/tmp/multipartBody5950751209799057525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747974583,"filename":"image_24012025_18_27_02_847136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5f5c3366f673721f0c8173679b51d7c5.jpg","text":"TemporaryFile(/tmp/multipartBody5696699845101123113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747974583,"filename":"image_24012025_18_27_02_847136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec81f7b6659571f58b2f7df509e997cb.jpg","text":"TemporaryFile(/tmp/multipartBody6954955813128521138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737747974583,"filename":"image_24012025_18_27_02_847136_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331124915","file1":"1331124909","file0":"1331124896","file4":"1331124931","file5":"1331124932","file3":"1331124920"},"map_files_photo_id_array":[{"photo_id":"1331124932","filename":"file5"},{"photo_id":"1331124915","filename":"file2"},{"photo_id":"1331124931","filename":"file4"},{"photo_id":"1331124909","filename":"file1"},{"photo_id":"1331124896","filename":"file0"},{"photo_id":"1331124920","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331124915":["hashtag1","hashtag2"]},{"1331124909":["hashtag1","hashtag2"]},{"1331124896":["hashtag1","hashtag2"]},{"1331124932":["hashtag1","hashtag2"]},{"1331124920":["hashtag1","hashtag2"]},{"1331124931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331124915, 1331124909, 1331124896, 1331124932, 1331124920, 1331124931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.14376592636108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:46:22.180840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0000.jpg', '/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0001.jpg', '/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0002.jpg', '/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0003.jpg', '/home/pi/Desktop/images/24012025/18/29/image_24012025_18_29_02_216736_0000.jpg', '/home/pi/Desktop/images/24012025/18/29/image_24012025_18_29_02_216736_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0000.jpg
/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0001.jpg
/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0002.jpg
/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0003.jpg
/home/pi/Desktop/images/24012025/18/29/image_24012025_18_29_02_216736_0000.jpg
/home/pi/Desktop/images/24012025/18/29/image_24012025_18_29_02_216736_0001.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 40.93513464927673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:47:22.335341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0000.jpg', '/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0001.jpg', '/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0002.jpg', '/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0003.jpg', '/home/pi/Desktop/images/24012025/18/29/image_24012025_18_29_02_216736_0000.jpg', '/home/pi/Desktop/images/24012025/18/29/image_24012025_18_29_02_216736_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0000.jpg
/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0001.jpg
/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0002.jpg
/home/pi/Desktop/images/24012025/18/28/image_24012025_18_28_03_019452_0003.jpg
/home/pi/Desktop/images/24012025/18/29/image_24012025_18_29_02_216736_0000.jpg
/home/pi/Desktop/images/24012025/18/29/image_24012025_18_29_02_216736_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331125555","1331125804","1331125807","1331125674","1331125668","1331125911"],"photo_ids_order":["1331125555","1331125668","1331125674","1331125804","1331125807","1331125911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb5a5d6908d2b5aba3e5e095d9109a0c.jpg","text":"TemporaryFile(/tmp/multipartBody8499705387949503999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748148247,"filename":"image_24012025_18_28_03_019452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6b970cbbdc381ad2592be36b5e384273.jpg","text":"TemporaryFile(/tmp/multipartBody8064689533621593724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748148247,"filename":"image_24012025_18_28_03_019452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9dc608014545154bfb986534430f4bee.jpg","text":"TemporaryFile(/tmp/multipartBody1131002634285178557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748148247,"filename":"image_24012025_18_29_02_216736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a21032f5dbb8af984aa75a646caabb4d.jpg","text":"TemporaryFile(/tmp/multipartBody4788488343865790481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748148247,"filename":"image_24012025_18_28_03_019452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a895ec65dd629f21f9fa78052145076a.jpg","text":"TemporaryFile(/tmp/multipartBody8355332695703763385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748148247,"filename":"image_24012025_18_28_03_019452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a26f475541ff8de71460d6f3166c301.jpg","text":"TemporaryFile(/tmp/multipartBody5123822887895576297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748148247,"filename":"image_24012025_18_29_02_216736_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331125674","file1":"1331125668","file0":"1331125555","file4":"1331125807","file5":"1331125911","file3":"1331125804"},"map_files_photo_id_array":[{"photo_id":"1331125911","filename":"file5"},{"photo_id":"1331125674","filename":"file2"},{"photo_id":"1331125807","filename":"file4"},{"photo_id":"1331125668","filename":"file1"},{"photo_id":"1331125555","filename":"file0"},{"photo_id":"1331125804","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331125555":["hashtag1","hashtag2"]},{"1331125804":["hashtag1","hashtag2"]},{"1331125807":["hashtag1","hashtag2"]},{"1331125674":["hashtag1","hashtag2"]},{"1331125668":["hashtag1","hashtag2"]},{"1331125911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331125555, 1331125804, 1331125807, 1331125674, 1331125668, 1331125911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.09935593605042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:49:22.820599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/29/image_24012025_18_29_02_216736_0002.jpg', '/home/pi/Desktop/images/24012025/18/29/image_24012025_18_29_02_216736_0003.jpg', '/home/pi/Desktop/images/24012025/18/30/image_24012025_18_30_02_371734_0000.jpg', '/home/pi/Desktop/images/24012025/18/30/image_24012025_18_30_02_371734_0001.jpg', '/home/pi/Desktop/images/24012025/18/30/image_24012025_18_30_02_371734_0002.jpg', '/home/pi/Desktop/images/24012025/18/30/image_24012025_18_30_02_371734_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/29/image_24012025_18_29_02_216736_0002.jpg
/home/pi/Desktop/images/24012025/18/29/image_24012025_18_29_02_216736_0003.jpg
/home/pi/Desktop/images/24012025/18/30/image_24012025_18_30_02_371734_0000.jpg
/home/pi/Desktop/images/24012025/18/30/image_24012025_18_30_02_371734_0001.jpg
/home/pi/Desktop/images/24012025/18/30/image_24012025_18_30_02_371734_0002.jpg
/home/pi/Desktop/images/24012025/18/30/image_24012025_18_30_02_371734_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331126092","1331126111","1331126050","1331126097","1331126020","1331126040"],"photo_ids_order":["1331126020","1331126040","1331126050","1331126092","1331126097","1331126111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d737b473d88083adc8850195d78f84ad.jpg","text":"TemporaryFile(/tmp/multipartBody6006378773005229528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748266877,"filename":"image_24012025_18_30_02_371734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e700e21a9cc64d4007f4215e02ec57dd.jpg","text":"TemporaryFile(/tmp/multipartBody7668058860397914541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748266877,"filename":"image_24012025_18_30_02_371734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f32066d11e1c521a8eae6dcecfdadcc.jpg","text":"TemporaryFile(/tmp/multipartBody8437027892728052283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748266877,"filename":"image_24012025_18_30_02_371734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4da4bee0ec6b61e4e57a61877c0bef13.jpg","text":"TemporaryFile(/tmp/multipartBody6957577153403463270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748266877,"filename":"image_24012025_18_30_02_371734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/46295515105409c83d9a04171ff184e1.jpg","text":"TemporaryFile(/tmp/multipartBody7908750345493901991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748266877,"filename":"image_24012025_18_29_02_216736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2836b9ad8b19050399c87271adb3260a.jpg","text":"TemporaryFile(/tmp/multipartBody4841324481586281041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748266877,"filename":"image_24012025_18_29_02_216736_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331126050","file1":"1331126040","file0":"1331126020","file4":"1331126097","file5":"1331126111","file3":"1331126092"},"map_files_photo_id_array":[{"photo_id":"1331126111","filename":"file5"},{"photo_id":"1331126050","filename":"file2"},{"photo_id":"1331126097","filename":"file4"},{"photo_id":"1331126040","filename":"file1"},{"photo_id":"1331126020","filename":"file0"},{"photo_id":"1331126092","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331126092":["hashtag1","hashtag2"]},{"1331126111":["hashtag1","hashtag2"]},{"1331126050":["hashtag1","hashtag2"]},{"1331126097":["hashtag1","hashtag2"]},{"1331126020":["hashtag1","hashtag2"]},{"1331126040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331126092, 1331126111, 1331126050, 1331126097, 1331126020, 1331126040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.10116863250732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:51:22.085249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/31/image_24012025_18_31_02_594317_0000.jpg', '/home/pi/Desktop/images/24012025/18/31/image_24012025_18_31_02_594317_0001.jpg', '/home/pi/Desktop/images/24012025/18/31/image_24012025_18_31_02_594317_0002.jpg', '/home/pi/Desktop/images/24012025/18/31/image_24012025_18_31_02_594317_0003.jpg', '/home/pi/Desktop/images/24012025/18/32/image_24012025_18_32_02_783373_0000.jpg', '/home/pi/Desktop/images/24012025/18/32/image_24012025_18_32_02_783373_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/31/image_24012025_18_31_02_594317_0000.jpg
/home/pi/Desktop/images/24012025/18/31/image_24012025_18_31_02_594317_0001.jpg
/home/pi/Desktop/images/24012025/18/31/image_24012025_18_31_02_594317_0002.jpg
/home/pi/Desktop/images/24012025/18/31/image_24012025_18_31_02_594317_0003.jpg
/home/pi/Desktop/images/24012025/18/32/image_24012025_18_32_02_783373_0000.jpg
/home/pi/Desktop/images/24012025/18/32/image_24012025_18_32_02_783373_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331126204","1331126197","1331126179","1331126215","1331126208","1331126231"],"photo_ids_order":["1331126179","1331126197","1331126204","1331126208","1331126215","1331126231"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32922045c3b3e670a62165bea8fa556d.jpg","text":"TemporaryFile(/tmp/multipartBody2180870118974029823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748381839,"filename":"image_24012025_18_31_02_594317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3888ce9bc9246ac33e586b33c9521a13.jpg","text":"TemporaryFile(/tmp/multipartBody4733093429480867914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748381839,"filename":"image_24012025_18_31_02_594317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae7aba3aabfc1469cf3dd936ac3d7913.jpg","text":"TemporaryFile(/tmp/multipartBody6774169222915341615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748381839,"filename":"image_24012025_18_31_02_594317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/450f2f97b1129ad8cba587a30a17ff71.jpg","text":"TemporaryFile(/tmp/multipartBody744729109788265916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748381839,"filename":"image_24012025_18_32_02_783373_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e1b6a7b1534a9e9fde57326c1a3e3e0.jpg","text":"TemporaryFile(/tmp/multipartBody1508013198763196003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748381839,"filename":"image_24012025_18_31_02_594317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/66bd68f3401c5243e293ee01479b4a0f.jpg","text":"TemporaryFile(/tmp/multipartBody1724969652857796844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748381839,"filename":"image_24012025_18_32_02_783373_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331126204","file1":"1331126197","file0":"1331126179","file4":"1331126215","file5":"1331126231","file3":"1331126208"},"map_files_photo_id_array":[{"photo_id":"1331126231","filename":"file5"},{"photo_id":"1331126204","filename":"file2"},{"photo_id":"1331126215","filename":"file4"},{"photo_id":"1331126197","filename":"file1"},{"photo_id":"1331126179","filename":"file0"},{"photo_id":"1331126208","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331126204":["hashtag1","hashtag2"]},{"1331126197":["hashtag1","hashtag2"]},{"1331126179":["hashtag1","hashtag2"]},{"1331126215":["hashtag1","hashtag2"]},{"1331126208":["hashtag1","hashtag2"]},{"1331126231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331126204, 1331126197, 1331126179, 1331126215, 1331126208, 1331126231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.09281873703003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 20:53:22.421456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/32/image_24012025_18_32_02_783373_0002.jpg', '/home/pi/Desktop/images/24012025/18/32/image_24012025_18_32_02_783373_0003.jpg', '/home/pi/Desktop/images/24012025/18/33/image_24012025_18_33_02_912406_0000.jpg', '/home/pi/Desktop/images/24012025/18/33/image_24012025_18_33_02_912406_0001.jpg', '/home/pi/Desktop/images/24012025/18/33/image_24012025_18_33_02_912406_0002.jpg', '/home/pi/Desktop/images/24012025/18/33/image_24012025_18_33_02_912406_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/32/image_24012025_18_32_02_783373_0002.jpg
/home/pi/Desktop/images/24012025/18/32/image_24012025_18_32_02_783373_0003.jpg
/home/pi/Desktop/images/24012025/18/33/image_24012025_18_33_02_912406_0000.jpg
/home/pi/Desktop/images/24012025/18/33/image_24012025_18_33_02_912406_0001.jpg
/home/pi/Desktop/images/24012025/18/33/image_24012025_18_33_02_912406_0002.jpg
/home/pi/Desktop/images/24012025/18/33/image_24012025_18_33_02_912406_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331126333","1331126377","1331126350","1331126344","1331126338","1331126354"],"photo_ids_order":["1331126333","1331126338","1331126344","1331126350","1331126354","1331126377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e32a044015ae96897b10fc350eef9573.jpg","text":"TemporaryFile(/tmp/multipartBody2775610229039572091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748507785,"filename":"image_24012025_18_32_02_783373_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/945680dee93658cc85f5530f4ad1b2d3.jpg","text":"TemporaryFile(/tmp/multipartBody6110608415126680524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748507785,"filename":"image_24012025_18_33_02_912406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b9e5ce961644e5ead25c27b6a758b373.jpg","text":"TemporaryFile(/tmp/multipartBody7681139557239412267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748507785,"filename":"image_24012025_18_33_02_912406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e483cad2bab125b104bfd61238efa278.jpg","text":"TemporaryFile(/tmp/multipartBody5919868671252193004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748507785,"filename":"image_24012025_18_33_02_912406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eeeaa06f76cff918f4e8768321262349.jpg","text":"TemporaryFile(/tmp/multipartBody2927865000974071068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748507785,"filename":"image_24012025_18_32_02_783373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d5ef96109dedb94643d448bcbe7dbb1b.jpg","text":"TemporaryFile(/tmp/multipartBody2375797168909535833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748507785,"filename":"image_24012025_18_33_02_912406_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331126344","file1":"1331126338","file0":"1331126333","file4":"1331126354","file5":"1331126377","file3":"1331126350"},"map_files_photo_id_array":[{"photo_id":"1331126377","filename":"file5"},{"photo_id":"1331126344","filename":"file2"},{"photo_id":"1331126354","filename":"file4"},{"photo_id":"1331126338","filename":"file1"},{"photo_id":"1331126333","filename":"file0"},{"photo_id":"1331126350","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331126333":["hashtag1","hashtag2"]},{"1331126377":["hashtag1","hashtag2"]},{"1331126350":["hashtag1","hashtag2"]},{"1331126344":["hashtag1","hashtag2"]},{"1331126338":["hashtag1","hashtag2"]},{"1331126354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331126333, 1331126377, 1331126350, 1331126344, 1331126338, 1331126354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.14976453781128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 20:55:03.354583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/34/image_24012025_18_34_03_092096_0000.jpg', '/home/pi/Desktop/images/24012025/18/34/image_24012025_18_34_03_092096_0001.jpg', '/home/pi/Desktop/images/24012025/18/34/image_24012025_18_34_03_092096_0002.jpg', '/home/pi/Desktop/images/24012025/18/34/image_24012025_18_34_03_092096_0003.jpg', '/home/pi/Desktop/images/24012025/18/35/image_24012025_18_35_02_259388_0000.jpg', '/home/pi/Desktop/images/24012025/18/35/image_24012025_18_35_02_259388_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/34/image_24012025_18_34_03_092096_0000.jpg
/home/pi/Desktop/images/24012025/18/34/image_24012025_18_34_03_092096_0001.jpg
/home/pi/Desktop/images/24012025/18/34/image_24012025_18_34_03_092096_0002.jpg
/home/pi/Desktop/images/24012025/18/34/image_24012025_18_34_03_092096_0003.jpg
/home/pi/Desktop/images/24012025/18/35/image_24012025_18_35_02_259388_0000.jpg
/home/pi/Desktop/images/24012025/18/35/image_24012025_18_35_02_259388_0001.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":["1331126445","1331126430","1331126535","1331126517","1331126441","1331126435"],"photo_ids_order":["1331126430","1331126435","1331126441","1331126445","1331126517","1331126535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/58b5d84509e6fe118ba6213a8f0ffe76.jpg","text":"TemporaryFile(/tmp/multipartBody6561852057203981895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748587838,"filename":"image_24012025_18_34_03_092096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/556b60f2d4c10841961f495fb9dd984d.jpg","text":"TemporaryFile(/tmp/multipartBody149681902436688528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748587838,"filename":"image_24012025_18_34_03_092096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6e8836aa2442fa26cb6081b529c81757.jpg","text":"TemporaryFile(/tmp/multipartBody1307745710951875586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748587838,"filename":"image_24012025_18_35_02_259388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2e749fa00c423b571807a39065bac6a2.jpg","text":"TemporaryFile(/tmp/multipartBody2770267737954007193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748587838,"filename":"image_24012025_18_35_02_259388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fe4e67102e9ab6e10abb682e1f1ec2b6.jpg","text":"TemporaryFile(/tmp/multipartBody3991175939463074543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748587838,"filename":"image_24012025_18_34_03_092096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2712564cb0050b81afbacabd982fd044.jpg","text":"TemporaryFile(/tmp/multipartBody7137802958240719944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748587838,"filename":"image_24012025_18_34_03_092096_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331126441","file1":"1331126435","file0":"1331126430","file4":"1331126517","file5":"1331126535","file3":"1331126445"},"map_files_photo_id_array":[{"photo_id":"1331126535","filename":"file5"},{"photo_id":"1331126441","filename":"file2"},{"photo_id":"1331126517","filename":"file4"},{"photo_id":"1331126435","filename":"file1"},{"photo_id":"1331126430","filename":"file0"},{"photo_id":"1331126445","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331126445":["hashtag1","hashtag2"]},{"1331126430":["hashtag1","hashtag2"]},{"1331126535":["hashtag1","hashtag2"]},{"1331126517":["hashtag1","hashtag2"]},{"1331126441":["hashtag1","hashtag2"]},{"1331126435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331126445, 1331126430, 1331126535, 1331126517, 1331126441, 1331126435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.9302921295166 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 20:56:31.882294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/35/image_24012025_18_35_02_259388_0002.jpg', '/home/pi/Desktop/images/24012025/18/35/image_24012025_18_35_02_259388_0003.jpg', '/home/pi/Desktop/images/24012025/18/36/image_24012025_18_36_02_427554_0000.jpg', '/home/pi/Desktop/images/24012025/18/36/image_24012025_18_36_02_427554_0001.jpg', '/home/pi/Desktop/images/24012025/18/36/image_24012025_18_36_02_427554_0002.jpg', '/home/pi/Desktop/images/24012025/18/36/image_24012025_18_36_02_427554_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/35/image_24012025_18_35_02_259388_0002.jpg
/home/pi/Desktop/images/24012025/18/35/image_24012025_18_35_02_259388_0003.jpg
/home/pi/Desktop/images/24012025/18/36/image_24012025_18_36_02_427554_0000.jpg
/home/pi/Desktop/images/24012025/18/36/image_24012025_18_36_02_427554_0001.jpg
/home/pi/Desktop/images/24012025/18/36/image_24012025_18_36_02_427554_0002.jpg
/home/pi/Desktop/images/24012025/18/36/image_24012025_18_36_02_427554_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331126603","1331126596","1331126609","1331126587","1331126592","1331126585"],"photo_ids_order":["1331126585","1331126587","1331126592","1331126596","1331126603","1331126609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e164eac1d48320cb6c5be4ae3c7edaeb.jpg","text":"TemporaryFile(/tmp/multipartBody6851129789439215613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748676478,"filename":"image_24012025_18_36_02_427554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bd368d1a4a409d35306e2fe896a55ed4.jpg","text":"TemporaryFile(/tmp/multipartBody5861149588458987613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748676478,"filename":"image_24012025_18_36_02_427554_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a3772bd82e244a34d4f09f23532a5212.jpg","text":"TemporaryFile(/tmp/multipartBody4703397837856738908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748676478,"filename":"image_24012025_18_36_02_427554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ab390f99d14bf734de695539365cb36c.jpg","text":"TemporaryFile(/tmp/multipartBody7051139740574337870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748676478,"filename":"image_24012025_18_35_02_259388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/99a439a4f4b1d61a318260d1e6872fa2.jpg","text":"TemporaryFile(/tmp/multipartBody4335439965471290202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748676478,"filename":"image_24012025_18_36_02_427554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/59b4b4831f9a298eae9df0a5b1191078.jpg","text":"TemporaryFile(/tmp/multipartBody5806893956836149313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748676478,"filename":"image_24012025_18_35_02_259388_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331126592","file1":"1331126587","file0":"1331126585","file4":"1331126603","file5":"1331126609","file3":"1331126596"},"map_files_photo_id_array":[{"photo_id":"1331126609","filename":"file5"},{"photo_id":"1331126592","filename":"file2"},{"photo_id":"1331126603","filename":"file4"},{"photo_id":"1331126587","filename":"file1"},{"photo_id":"1331126585","filename":"file0"},{"photo_id":"1331126596","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331126603":["hashtag1","hashtag2"]},{"1331126596":["hashtag1","hashtag2"]},{"1331126609":["hashtag1","hashtag2"]},{"1331126587":["hashtag1","hashtag2"]},{"1331126592":["hashtag1","hashtag2"]},{"1331126585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331126603, 1331126596, 1331126609, 1331126587, 1331126592, 1331126585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.52008295059204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 20:57:52.030844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0000.jpg', '/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0001.jpg', '/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0002.jpg', '/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0003.jpg', '/home/pi/Desktop/images/24012025/18/38/image_24012025_18_38_02_830228_0000.jpg', '/home/pi/Desktop/images/24012025/18/38/image_24012025_18_38_02_830228_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0000.jpg
/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0001.jpg
/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0002.jpg
/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0003.jpg
/home/pi/Desktop/images/24012025/18/38/image_24012025_18_38_02_830228_0000.jpg
/home/pi/Desktop/images/24012025/18/38/image_24012025_18_38_02_830228_0001.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 20:59:02.898710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0000.jpg', '/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0001.jpg', '/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0002.jpg', '/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0003.jpg', '/home/pi/Desktop/images/24012025/18/38/image_24012025_18_38_02_830228_0000.jpg', '/home/pi/Desktop/images/24012025/18/38/image_24012025_18_38_02_830228_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0000.jpg
/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0001.jpg
/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0002.jpg
/home/pi/Desktop/images/24012025/18/37/image_24012025_18_37_02_576901_0003.jpg
/home/pi/Desktop/images/24012025/18/38/image_24012025_18_38_02_830228_0000.jpg
/home/pi/Desktop/images/24012025/18/38/image_24012025_18_38_02_830228_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331126810","1331127142","1331126820","1331126823","1331126907","1331127017"],"photo_ids_order":["1331126810","1331126820","1331126823","1331126907","1331127017","1331127142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/819b32387e1b5e115a601ec92a0a3e09.jpg","text":"TemporaryFile(/tmp/multipartBody2860951983006693947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748839317,"filename":"image_24012025_18_37_02_576901_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/63ab422df9c930b2a86a9d2cf8a0fb8f.jpg","text":"TemporaryFile(/tmp/multipartBody1969069546982482449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748839317,"filename":"image_24012025_18_38_02_830228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ee33a5b1914fd9618e224cc858b860d8.jpg","text":"TemporaryFile(/tmp/multipartBody2622654260107013944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748839317,"filename":"image_24012025_18_37_02_576901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/695be906e4b07676d298ad77d8bb0e46.jpg","text":"TemporaryFile(/tmp/multipartBody1675270637242689554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748839317,"filename":"image_24012025_18_37_02_576901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3eaac33c47010436c4776669e4f710e8.jpg","text":"TemporaryFile(/tmp/multipartBody6259734718342533762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748839317,"filename":"image_24012025_18_37_02_576901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b59c0c09ea1551962c1dae0e6f005e3.jpg","text":"TemporaryFile(/tmp/multipartBody7753966829011504747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748839317,"filename":"image_24012025_18_38_02_830228_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331126823","file1":"1331126820","file0":"1331126810","file4":"1331127017","file5":"1331127142","file3":"1331126907"},"map_files_photo_id_array":[{"photo_id":"1331127142","filename":"file5"},{"photo_id":"1331126823","filename":"file2"},{"photo_id":"1331127017","filename":"file4"},{"photo_id":"1331126820","filename":"file1"},{"photo_id":"1331126810","filename":"file0"},{"photo_id":"1331126907","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331126810":["hashtag1","hashtag2"]},{"1331127142":["hashtag1","hashtag2"]},{"1331126820":["hashtag1","hashtag2"]},{"1331126823":["hashtag1","hashtag2"]},{"1331126907":["hashtag1","hashtag2"]},{"1331127017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331126810, 1331127142, 1331126820, 1331126823, 1331126907, 1331127017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.11713528633118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 21:00:42.524759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/38/image_24012025_18_38_02_830228_0002.jpg', '/home/pi/Desktop/images/24012025/18/38/image_24012025_18_38_02_830228_0003.jpg', '/home/pi/Desktop/images/24012025/18/39/image_24012025_18_39_03_002190_0000.jpg', '/home/pi/Desktop/images/24012025/18/39/image_24012025_18_39_03_002190_0001.jpg', '/home/pi/Desktop/images/24012025/18/39/image_24012025_18_39_03_002190_0002.jpg', '/home/pi/Desktop/images/24012025/18/39/image_24012025_18_39_03_002190_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/38/image_24012025_18_38_02_830228_0002.jpg
/home/pi/Desktop/images/24012025/18/38/image_24012025_18_38_02_830228_0003.jpg
/home/pi/Desktop/images/24012025/18/39/image_24012025_18_39_03_002190_0000.jpg
/home/pi/Desktop/images/24012025/18/39/image_24012025_18_39_03_002190_0001.jpg
/home/pi/Desktop/images/24012025/18/39/image_24012025_18_39_03_002190_0002.jpg
/home/pi/Desktop/images/24012025/18/39/image_24012025_18_39_03_002190_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331127265","1331127262","1331127255","1331127243","1331127260","1331127248"],"photo_ids_order":["1331127243","1331127248","1331127255","1331127260","1331127262","1331127265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/49c228fc3dd57e658e3b8074c52c1181.jpg","text":"TemporaryFile(/tmp/multipartBody4375592737407972185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748933093,"filename":"image_24012025_18_39_03_002190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/231f699b165b9a5c43f360abfd8bdfae.jpg","text":"TemporaryFile(/tmp/multipartBody4984744680884017217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748933093,"filename":"image_24012025_18_39_03_002190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b408513dc9f62ab47112da3081b2659a.jpg","text":"TemporaryFile(/tmp/multipartBody8450547510759470712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748933093,"filename":"image_24012025_18_39_03_002190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9eb969804a2a299f649e6fe4d34a3fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1436612313144355681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748933093,"filename":"image_24012025_18_38_02_830228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4a5a4a49cf8ed0c2bf105d2add894e26.jpg","text":"TemporaryFile(/tmp/multipartBody1399746673175104931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748933093,"filename":"image_24012025_18_39_03_002190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2fa03c9d4ac8642c9f610043f0ffb4f8.jpg","text":"TemporaryFile(/tmp/multipartBody5225860942845639706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737748933093,"filename":"image_24012025_18_38_02_830228_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331127255","file1":"1331127248","file0":"1331127243","file4":"1331127262","file5":"1331127265","file3":"1331127260"},"map_files_photo_id_array":[{"photo_id":"1331127265","filename":"file5"},{"photo_id":"1331127255","filename":"file2"},{"photo_id":"1331127262","filename":"file4"},{"photo_id":"1331127248","filename":"file1"},{"photo_id":"1331127243","filename":"file0"},{"photo_id":"1331127260","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331127265":["hashtag1","hashtag2"]},{"1331127262":["hashtag1","hashtag2"]},{"1331127255":["hashtag1","hashtag2"]},{"1331127243":["hashtag1","hashtag2"]},{"1331127260":["hashtag1","hashtag2"]},{"1331127248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331127265, 1331127262, 1331127255, 1331127243, 1331127260, 1331127248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 110.55605626106262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 21:02:41.875726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/40/image_24012025_18_40_02_180589_0000.jpg', '/home/pi/Desktop/images/24012025/18/40/image_24012025_18_40_02_180589_0001.jpg', '/home/pi/Desktop/images/24012025/18/40/image_24012025_18_40_02_180589_0002.jpg', '/home/pi/Desktop/images/24012025/18/40/image_24012025_18_40_02_180589_0003.jpg', '/home/pi/Desktop/images/24012025/18/41/image_24012025_18_41_02_367649_0000.jpg', '/home/pi/Desktop/images/24012025/18/41/image_24012025_18_41_02_367649_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/40/image_24012025_18_40_02_180589_0000.jpg
/home/pi/Desktop/images/24012025/18/40/image_24012025_18_40_02_180589_0001.jpg
/home/pi/Desktop/images/24012025/18/40/image_24012025_18_40_02_180589_0002.jpg
/home/pi/Desktop/images/24012025/18/40/image_24012025_18_40_02_180589_0003.jpg
/home/pi/Desktop/images/24012025/18/41/image_24012025_18_41_02_367649_0000.jpg
/home/pi/Desktop/images/24012025/18/41/image_24012025_18_41_02_367649_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331127316","1331127381","1331127351","1331127312","1331127332","1331127308"],"photo_ids_order":["1331127308","1331127312","1331127316","1331127332","1331127351","1331127381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/52060baf0dbb31bc63550dfd320bbf35.jpg","text":"TemporaryFile(/tmp/multipartBody5546397440208777794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749071201,"filename":"image_24012025_18_40_02_180589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3a5ad033f22d4d96d163f20ebb9bca17.jpg","text":"TemporaryFile(/tmp/multipartBody1827332614063026470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749071201,"filename":"image_24012025_18_41_02_367649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa462e5ae1ad3936937d0cb41361ab09.jpg","text":"TemporaryFile(/tmp/multipartBody570517168035120684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749071201,"filename":"image_24012025_18_41_02_367649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1652d540ab31d3a44c70ea4e117fb6ab.jpg","text":"TemporaryFile(/tmp/multipartBody2434615503973961415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749071201,"filename":"image_24012025_18_40_02_180589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/37cbea9cdef4af5f59cf092dc39b516b.jpg","text":"TemporaryFile(/tmp/multipartBody8888494522269016297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749071201,"filename":"image_24012025_18_40_02_180589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d5ba01debafe0340615a858f31103852.jpg","text":"TemporaryFile(/tmp/multipartBody3025445277368908748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749071201,"filename":"image_24012025_18_40_02_180589_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331127316","file1":"1331127312","file0":"1331127308","file4":"1331127351","file5":"1331127381","file3":"1331127332"},"map_files_photo_id_array":[{"photo_id":"1331127381","filename":"file5"},{"photo_id":"1331127316","filename":"file2"},{"photo_id":"1331127351","filename":"file4"},{"photo_id":"1331127312","filename":"file1"},{"photo_id":"1331127308","filename":"file0"},{"photo_id":"1331127332","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331127316":["hashtag1","hashtag2"]},{"1331127381":["hashtag1","hashtag2"]},{"1331127351":["hashtag1","hashtag2"]},{"1331127312":["hashtag1","hashtag2"]},{"1331127332":["hashtag1","hashtag2"]},{"1331127308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331127316, 1331127381, 1331127351, 1331127312, 1331127332, 1331127308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 109.0381977558136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 21:04:32.275839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/41/image_24012025_18_41_02_367649_0002.jpg', '/home/pi/Desktop/images/24012025/18/41/image_24012025_18_41_02_367649_0003.jpg', '/home/pi/Desktop/images/24012025/18/42/image_24012025_18_42_02_548533_0000.jpg', '/home/pi/Desktop/images/24012025/18/42/image_24012025_18_42_02_548533_0001.jpg', '/home/pi/Desktop/images/24012025/18/42/image_24012025_18_42_02_548533_0002.jpg', '/home/pi/Desktop/images/24012025/18/42/image_24012025_18_42_02_548533_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/41/image_24012025_18_41_02_367649_0002.jpg
/home/pi/Desktop/images/24012025/18/41/image_24012025_18_41_02_367649_0003.jpg
/home/pi/Desktop/images/24012025/18/42/image_24012025_18_42_02_548533_0000.jpg
/home/pi/Desktop/images/24012025/18/42/image_24012025_18_42_02_548533_0001.jpg
/home/pi/Desktop/images/24012025/18/42/image_24012025_18_42_02_548533_0002.jpg
/home/pi/Desktop/images/24012025/18/42/image_24012025_18_42_02_548533_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331127450","1331127447","1331127452","1331127455","1331127449","1331127440"],"photo_ids_order":["1331127440","1331127447","1331127449","1331127450","1331127452","1331127455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce5127dd1efcbfa42eaec5569835e380.jpg","text":"TemporaryFile(/tmp/multipartBody2870781222440632257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749177821,"filename":"image_24012025_18_42_02_548533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7281f9f8c7104f0feb7746b7fbdaa96a.jpg","text":"TemporaryFile(/tmp/multipartBody841157439748186679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749177821,"filename":"image_24012025_18_41_02_367649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f59272f32101c83c675997833ae4ea7.jpg","text":"TemporaryFile(/tmp/multipartBody5193084404871392152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749177821,"filename":"image_24012025_18_42_02_548533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c7f04358052cf371d1d5a049d278b48.jpg","text":"TemporaryFile(/tmp/multipartBody4395939645053922441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749177821,"filename":"image_24012025_18_42_02_548533_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e153c658dcdb89fa4de788c0a40c7322.jpg","text":"TemporaryFile(/tmp/multipartBody4284927524960588704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749177821,"filename":"image_24012025_18_42_02_548533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/291b6adde460b4cc5a595a0d841e4085.jpg","text":"TemporaryFile(/tmp/multipartBody4788368937829872551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749177821,"filename":"image_24012025_18_41_02_367649_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331127449","file1":"1331127447","file0":"1331127440","file4":"1331127452","file5":"1331127455","file3":"1331127450"},"map_files_photo_id_array":[{"photo_id":"1331127455","filename":"file5"},{"photo_id":"1331127449","filename":"file2"},{"photo_id":"1331127452","filename":"file4"},{"photo_id":"1331127447","filename":"file1"},{"photo_id":"1331127440","filename":"file0"},{"photo_id":"1331127450","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331127450":["hashtag1","hashtag2"]},{"1331127447":["hashtag1","hashtag2"]},{"1331127452":["hashtag1","hashtag2"]},{"1331127455":["hashtag1","hashtag2"]},{"1331127449":["hashtag1","hashtag2"]},{"1331127440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331127450, 1331127447, 1331127452, 1331127455, 1331127449, 1331127440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.54372811317444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:06:22.696483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0000.jpg', '/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0001.jpg', '/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0002.jpg', '/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0003.jpg', '/home/pi/Desktop/images/24012025/18/44/image_24012025_18_44_02_888659_0000.jpg', '/home/pi/Desktop/images/24012025/18/44/image_24012025_18_44_02_888659_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0000.jpg
/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0001.jpg
/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0002.jpg
/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0003.jpg
/home/pi/Desktop/images/24012025/18/44/image_24012025_18_44_02_888659_0000.jpg
/home/pi/Desktop/images/24012025/18/44/image_24012025_18_44_02_888659_0001.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 42.88539433479309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:07:21.895304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0000.jpg', '/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0001.jpg', '/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0002.jpg', '/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0003.jpg', '/home/pi/Desktop/images/24012025/18/44/image_24012025_18_44_02_888659_0000.jpg', '/home/pi/Desktop/images/24012025/18/44/image_24012025_18_44_02_888659_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0000.jpg
/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0001.jpg
/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0002.jpg
/home/pi/Desktop/images/24012025/18/43/image_24012025_18_43_02_749372_0003.jpg
/home/pi/Desktop/images/24012025/18/44/image_24012025_18_44_02_888659_0000.jpg
/home/pi/Desktop/images/24012025/18/44/image_24012025_18_44_02_888659_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331127679","1331127732","1331127729","1331127662","1331127650","1331127701"],"photo_ids_order":["1331127650","1331127662","1331127679","1331127701","1331127729","1331127732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b67867d9bd6cacf5568b33800ae77f01.jpg","text":"TemporaryFile(/tmp/multipartBody9216197882893664474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749334328,"filename":"image_24012025_18_43_02_749372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/79d27d7be5c00fb15e8bc879b801e584.jpg","text":"TemporaryFile(/tmp/multipartBody4826344103735413005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749334328,"filename":"image_24012025_18_44_02_888659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1b85316a5e2b46a98d9632fa24a4c23.jpg","text":"TemporaryFile(/tmp/multipartBody1463871716503402133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749334328,"filename":"image_24012025_18_44_02_888659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/62b683f95a2f4d58d1563e92c89f4b2a.jpg","text":"TemporaryFile(/tmp/multipartBody3123853351227566713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749334328,"filename":"image_24012025_18_43_02_749372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d814bd5550b6be6578b1e0b6b7392f7.jpg","text":"TemporaryFile(/tmp/multipartBody1603982271273454229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749334328,"filename":"image_24012025_18_43_02_749372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6decf99f40b3fc02e31c58f4a508fa14.jpg","text":"TemporaryFile(/tmp/multipartBody3461544249935967968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749334328,"filename":"image_24012025_18_43_02_749372_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331127679","file1":"1331127662","file0":"1331127650","file4":"1331127729","file5":"1331127732","file3":"1331127701"},"map_files_photo_id_array":[{"photo_id":"1331127732","filename":"file5"},{"photo_id":"1331127679","filename":"file2"},{"photo_id":"1331127729","filename":"file4"},{"photo_id":"1331127662","filename":"file1"},{"photo_id":"1331127650","filename":"file0"},{"photo_id":"1331127701","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331127679":["hashtag1","hashtag2"]},{"1331127732":["hashtag1","hashtag2"]},{"1331127729":["hashtag1","hashtag2"]},{"1331127662":["hashtag1","hashtag2"]},{"1331127650":["hashtag1","hashtag2"]},{"1331127701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331127679, 1331127732, 1331127729, 1331127662, 1331127650, 1331127701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.68824243545532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 21:08:51.984543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/44/image_24012025_18_44_02_888659_0002.jpg', '/home/pi/Desktop/images/24012025/18/44/image_24012025_18_44_02_888659_0003.jpg', '/home/pi/Desktop/images/24012025/18/45/image_24012025_18_45_03_068759_0000.jpg', '/home/pi/Desktop/images/24012025/18/45/image_24012025_18_45_03_068759_0001.jpg', '/home/pi/Desktop/images/24012025/18/45/image_24012025_18_45_03_068759_0002.jpg', '/home/pi/Desktop/images/24012025/18/45/image_24012025_18_45_03_068759_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/44/image_24012025_18_44_02_888659_0002.jpg
/home/pi/Desktop/images/24012025/18/44/image_24012025_18_44_02_888659_0003.jpg
/home/pi/Desktop/images/24012025/18/45/image_24012025_18_45_03_068759_0000.jpg
/home/pi/Desktop/images/24012025/18/45/image_24012025_18_45_03_068759_0001.jpg
/home/pi/Desktop/images/24012025/18/45/image_24012025_18_45_03_068759_0002.jpg
/home/pi/Desktop/images/24012025/18/45/image_24012025_18_45_03_068759_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331127934","1331127999","1331127846","1331127849","1331127837","1331127842"],"photo_ids_order":["1331127837","1331127842","1331127846","1331127849","1331127934","1331127999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb2f0e0d9aa82acbd79efac434d7bc10.jpg","text":"TemporaryFile(/tmp/multipartBody1142180236268100932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749422424,"filename":"image_24012025_18_45_03_068759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/96b99f1987bec0c3dbf14853dc23bdbb.jpg","text":"TemporaryFile(/tmp/multipartBody2242013246637061916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749422424,"filename":"image_24012025_18_45_03_068759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3fa4584622c43d667a8c48b8598f9250.jpg","text":"TemporaryFile(/tmp/multipartBody2601146056388937780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749422424,"filename":"image_24012025_18_45_03_068759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c3d9b7e2059d387b222729b1de0ca781.jpg","text":"TemporaryFile(/tmp/multipartBody532700717325540216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749422424,"filename":"image_24012025_18_45_03_068759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ed74322807daa31578f365a2c8da406.jpg","text":"TemporaryFile(/tmp/multipartBody995449726601013641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749422424,"filename":"image_24012025_18_44_02_888659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5451f25d47ecc9042eba655d945e340d.jpg","text":"TemporaryFile(/tmp/multipartBody3692198765352963464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749422424,"filename":"image_24012025_18_44_02_888659_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331127846","file1":"1331127842","file0":"1331127837","file4":"1331127934","file5":"1331127999","file3":"1331127849"},"map_files_photo_id_array":[{"photo_id":"1331127999","filename":"file5"},{"photo_id":"1331127846","filename":"file2"},{"photo_id":"1331127934","filename":"file4"},{"photo_id":"1331127842","filename":"file1"},{"photo_id":"1331127837","filename":"file0"},{"photo_id":"1331127849","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331127934":["hashtag1","hashtag2"]},{"1331127999":["hashtag1","hashtag2"]},{"1331127846":["hashtag1","hashtag2"]},{"1331127849":["hashtag1","hashtag2"]},{"1331127837":["hashtag1","hashtag2"]},{"1331127842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331127934, 1331127999, 1331127846, 1331127849, 1331127837, 1331127842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.14503169059753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:10:22.352298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/46/image_24012025_18_46_02_264212_0000.jpg', '/home/pi/Desktop/images/24012025/18/46/image_24012025_18_46_02_264212_0001.jpg', '/home/pi/Desktop/images/24012025/18/46/image_24012025_18_46_02_264212_0002.jpg', '/home/pi/Desktop/images/24012025/18/46/image_24012025_18_46_02_264212_0003.jpg', '/home/pi/Desktop/images/24012025/18/47/image_24012025_18_47_02_524220_0000.jpg', '/home/pi/Desktop/images/24012025/18/47/image_24012025_18_47_02_524220_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/46/image_24012025_18_46_02_264212_0000.jpg
/home/pi/Desktop/images/24012025/18/46/image_24012025_18_46_02_264212_0001.jpg
/home/pi/Desktop/images/24012025/18/46/image_24012025_18_46_02_264212_0002.jpg
/home/pi/Desktop/images/24012025/18/46/image_24012025_18_46_02_264212_0003.jpg
/home/pi/Desktop/images/24012025/18/47/image_24012025_18_47_02_524220_0000.jpg
/home/pi/Desktop/images/24012025/18/47/image_24012025_18_47_02_524220_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331128290","1331128263","1331128308","1331128277","1331128354","1331128351"],"photo_ids_order":["1331128263","1331128277","1331128290","1331128308","1331128351","1331128354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/562b26b1b97760ece3f961a3d74b81e1.jpg","text":"TemporaryFile(/tmp/multipartBody5384419029892320724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749509232,"filename":"image_24012025_18_46_02_264212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a92e27b03bd2f2e7397729bb8c02a53b.jpg","text":"TemporaryFile(/tmp/multipartBody4586212064595964046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749509232,"filename":"image_24012025_18_46_02_264212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/662ecd567f22e7eb206a360de6190a16.jpg","text":"TemporaryFile(/tmp/multipartBody3663205238990595866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749509232,"filename":"image_24012025_18_46_02_264212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa4dde0d26846e5001334fe083892019.jpg","text":"TemporaryFile(/tmp/multipartBody4191617994542749000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749509232,"filename":"image_24012025_18_46_02_264212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c3d8988da66cb5a379caa00a4f72d590.jpg","text":"TemporaryFile(/tmp/multipartBody8327877170209944619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749509232,"filename":"image_24012025_18_47_02_524220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0f9b252ec212568f391d4bbddc97fa53.jpg","text":"TemporaryFile(/tmp/multipartBody53398433553773960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749509232,"filename":"image_24012025_18_47_02_524220_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331128290","file1":"1331128277","file0":"1331128263","file4":"1331128351","file5":"1331128354","file3":"1331128308"},"map_files_photo_id_array":[{"photo_id":"1331128354","filename":"file5"},{"photo_id":"1331128290","filename":"file2"},{"photo_id":"1331128351","filename":"file4"},{"photo_id":"1331128277","filename":"file1"},{"photo_id":"1331128263","filename":"file0"},{"photo_id":"1331128308","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331128290":["hashtag1","hashtag2"]},{"1331128263":["hashtag1","hashtag2"]},{"1331128308":["hashtag1","hashtag2"]},{"1331128277":["hashtag1","hashtag2"]},{"1331128354":["hashtag1","hashtag2"]},{"1331128351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331128290, 1331128263, 1331128308, 1331128277, 1331128354, 1331128351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.14612555503845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 21:12:03.171715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/47/image_24012025_18_47_02_524220_0002.jpg', '/home/pi/Desktop/images/24012025/18/47/image_24012025_18_47_02_524220_0003.jpg', '/home/pi/Desktop/images/24012025/18/48/image_24012025_18_48_02_656261_0000.jpg', '/home/pi/Desktop/images/24012025/18/48/image_24012025_18_48_02_656261_0001.jpg', '/home/pi/Desktop/images/24012025/18/48/image_24012025_18_48_02_656261_0002.jpg', '/home/pi/Desktop/images/24012025/18/48/image_24012025_18_48_02_656261_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/47/image_24012025_18_47_02_524220_0002.jpg
/home/pi/Desktop/images/24012025/18/47/image_24012025_18_47_02_524220_0003.jpg
/home/pi/Desktop/images/24012025/18/48/image_24012025_18_48_02_656261_0000.jpg
/home/pi/Desktop/images/24012025/18/48/image_24012025_18_48_02_656261_0001.jpg
/home/pi/Desktop/images/24012025/18/48/image_24012025_18_48_02_656261_0002.jpg
/home/pi/Desktop/images/24012025/18/48/image_24012025_18_48_02_656261_0003.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":["1331129145","1331129139","1331128911","1331129141","1331129137","1331129044"],"photo_ids_order":["1331128911","1331129044","1331129137","1331129139","1331129141","1331129145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e1d2e2ece221321ab7672b1d8c8c2e0b.jpg","text":"TemporaryFile(/tmp/multipartBody253239826630459918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749606430,"filename":"image_24012025_18_48_02_656261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e2668e628837b72819d8832ea441e6dc.jpg","text":"TemporaryFile(/tmp/multipartBody3209485140046958110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749606430,"filename":"image_24012025_18_48_02_656261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7c680f30d09caf1b466bd1f13fadd50b.jpg","text":"TemporaryFile(/tmp/multipartBody3601588879554005901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749606430,"filename":"image_24012025_18_47_02_524220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/31f82892e08ca91750fa453e3ed12427.jpg","text":"TemporaryFile(/tmp/multipartBody7011781142043885095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749606430,"filename":"image_24012025_18_48_02_656261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/99f744d636cc2c5946f9cc39a4e3f853.jpg","text":"TemporaryFile(/tmp/multipartBody6291220244870093314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749606430,"filename":"image_24012025_18_48_02_656261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fde9ce3b62a41260cb98d3ffe3765a9c.jpg","text":"TemporaryFile(/tmp/multipartBody5073183177011817318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749606430,"filename":"image_24012025_18_47_02_524220_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331129137","file1":"1331129044","file0":"1331128911","file4":"1331129141","file5":"1331129145","file3":"1331129139"},"map_files_photo_id_array":[{"photo_id":"1331129145","filename":"file5"},{"photo_id":"1331129137","filename":"file2"},{"photo_id":"1331129141","filename":"file4"},{"photo_id":"1331129044","filename":"file1"},{"photo_id":"1331128911","filename":"file0"},{"photo_id":"1331129139","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331129145":["hashtag1","hashtag2"]},{"1331129139":["hashtag1","hashtag2"]},{"1331128911":["hashtag1","hashtag2"]},{"1331129141":["hashtag1","hashtag2"]},{"1331129137":["hashtag1","hashtag2"]},{"1331129044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331129145, 1331129139, 1331128911, 1331129141, 1331129137, 1331129044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.09024000167847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:13:21.928242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/49/image_24012025_18_49_02_950229_0000.jpg', '/home/pi/Desktop/images/24012025/18/49/image_24012025_18_49_02_950229_0001.jpg', '/home/pi/Desktop/images/24012025/18/49/image_24012025_18_49_02_950229_0002.jpg', '/home/pi/Desktop/images/24012025/18/49/image_24012025_18_49_02_950229_0003.jpg', '/home/pi/Desktop/images/24012025/18/50/image_24012025_18_50_03_012997_0000.jpg', '/home/pi/Desktop/images/24012025/18/50/image_24012025_18_50_03_012997_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/49/image_24012025_18_49_02_950229_0000.jpg
/home/pi/Desktop/images/24012025/18/49/image_24012025_18_49_02_950229_0001.jpg
/home/pi/Desktop/images/24012025/18/49/image_24012025_18_49_02_950229_0002.jpg
/home/pi/Desktop/images/24012025/18/49/image_24012025_18_49_02_950229_0003.jpg
/home/pi/Desktop/images/24012025/18/50/image_24012025_18_50_03_012997_0000.jpg
/home/pi/Desktop/images/24012025/18/50/image_24012025_18_50_03_012997_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331129498","1331129517","1331129504","1331129491","1331129512","1331129481"],"photo_ids_order":["1331129481","1331129491","1331129498","1331129504","1331129512","1331129517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/15ac0c2ea9190ee61953e75648dfb28c.jpg","text":"TemporaryFile(/tmp/multipartBody1565518076372985194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749704075,"filename":"image_24012025_18_49_02_950229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8e092022c3121d85742545c1af0f7d9.jpg","text":"TemporaryFile(/tmp/multipartBody5860239476395585104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749704075,"filename":"image_24012025_18_50_03_012997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5db277235ea7ae5d27d9d5aace747c7.jpg","text":"TemporaryFile(/tmp/multipartBody2298276604402648140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749704075,"filename":"image_24012025_18_49_02_950229_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/afc8ae850774a9870a1a8d797bb81748.jpg","text":"TemporaryFile(/tmp/multipartBody8626574333150754688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749704075,"filename":"image_24012025_18_49_02_950229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/425b5fb1612b29e9d93c0acb03f19f60.jpg","text":"TemporaryFile(/tmp/multipartBody4585198122510004715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749704075,"filename":"image_24012025_18_50_03_012997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6a3ee02dad8ad19c57b5cb60a90c1526.jpg","text":"TemporaryFile(/tmp/multipartBody3071240983241178271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749704075,"filename":"image_24012025_18_49_02_950229_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331129498","file1":"1331129491","file0":"1331129481","file4":"1331129512","file5":"1331129517","file3":"1331129504"},"map_files_photo_id_array":[{"photo_id":"1331129517","filename":"file5"},{"photo_id":"1331129498","filename":"file2"},{"photo_id":"1331129512","filename":"file4"},{"photo_id":"1331129491","filename":"file1"},{"photo_id":"1331129481","filename":"file0"},{"photo_id":"1331129504","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331129498":["hashtag1","hashtag2"]},{"1331129517":["hashtag1","hashtag2"]},{"1331129504":["hashtag1","hashtag2"]},{"1331129491":["hashtag1","hashtag2"]},{"1331129512":["hashtag1","hashtag2"]},{"1331129481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331129498, 1331129517, 1331129504, 1331129491, 1331129512, 1331129481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.86676716804504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 21:15:02.956292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/50/image_24012025_18_50_03_012997_0002.jpg', '/home/pi/Desktop/images/24012025/18/50/image_24012025_18_50_03_012997_0003.jpg', '/home/pi/Desktop/images/24012025/18/51/image_24012025_18_51_02_169799_0000.jpg', '/home/pi/Desktop/images/24012025/18/51/image_24012025_18_51_02_169799_0001.jpg', '/home/pi/Desktop/images/24012025/18/51/image_24012025_18_51_02_169799_0002.jpg', '/home/pi/Desktop/images/24012025/18/51/image_24012025_18_51_02_169799_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/50/image_24012025_18_50_03_012997_0002.jpg
/home/pi/Desktop/images/24012025/18/50/image_24012025_18_50_03_012997_0003.jpg
/home/pi/Desktop/images/24012025/18/51/image_24012025_18_51_02_169799_0000.jpg
/home/pi/Desktop/images/24012025/18/51/image_24012025_18_51_02_169799_0001.jpg
/home/pi/Desktop/images/24012025/18/51/image_24012025_18_51_02_169799_0002.jpg
/home/pi/Desktop/images/24012025/18/51/image_24012025_18_51_02_169799_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331129618","1331129593","1331129551","1331129641","1331129586","1331129574"],"photo_ids_order":["1331129551","1331129574","1331129586","1331129593","1331129618","1331129641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c7b3eb469e6a65b45a063c3b045f669f.jpg","text":"TemporaryFile(/tmp/multipartBody8945651830050920964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749804545,"filename":"image_24012025_18_51_02_169799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/81c4760dd880fd8745ed840409045587.jpg","text":"TemporaryFile(/tmp/multipartBody7312418405156370818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749804545,"filename":"image_24012025_18_51_02_169799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8945d1ff74bc5952642a6a08f7abd747.jpg","text":"TemporaryFile(/tmp/multipartBody4002898466136932852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749804545,"filename":"image_24012025_18_50_03_012997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/36a1c886df2bf7d7e1815c58d88d7f25.jpg","text":"TemporaryFile(/tmp/multipartBody4400206559820390659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749804545,"filename":"image_24012025_18_51_02_169799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0f86c8ae095d523aa8505a7a8de358a4.jpg","text":"TemporaryFile(/tmp/multipartBody1116763908096349854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749804545,"filename":"image_24012025_18_51_02_169799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/523de336bdeddda9aa80b7dc189a5908.jpg","text":"TemporaryFile(/tmp/multipartBody1327435337848419570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749804545,"filename":"image_24012025_18_50_03_012997_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331129586","file1":"1331129574","file0":"1331129551","file4":"1331129618","file5":"1331129641","file3":"1331129593"},"map_files_photo_id_array":[{"photo_id":"1331129641","filename":"file5"},{"photo_id":"1331129586","filename":"file2"},{"photo_id":"1331129618","filename":"file4"},{"photo_id":"1331129574","filename":"file1"},{"photo_id":"1331129551","filename":"file0"},{"photo_id":"1331129593","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331129618":["hashtag1","hashtag2"]},{"1331129593":["hashtag1","hashtag2"]},{"1331129551":["hashtag1","hashtag2"]},{"1331129641":["hashtag1","hashtag2"]},{"1331129586":["hashtag1","hashtag2"]},{"1331129574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331129618, 1331129593, 1331129551, 1331129641, 1331129586, 1331129574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.69301652908325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 21:16:42.527183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0000.jpg', '/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0001.jpg', '/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0002.jpg', '/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0003.jpg', '/home/pi/Desktop/images/24012025/18/53/image_24012025_18_53_02_562294_0000.jpg', '/home/pi/Desktop/images/24012025/18/53/image_24012025_18_53_02_562294_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0000.jpg
/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0001.jpg
/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0002.jpg
/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0003.jpg
/home/pi/Desktop/images/24012025/18/53/image_24012025_18_53_02_562294_0000.jpg
/home/pi/Desktop/images/24012025/18/53/image_24012025_18_53_02_562294_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 37.37649345397949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:17:22.668982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0000.jpg', '/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0001.jpg', '/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0002.jpg', '/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0003.jpg', '/home/pi/Desktop/images/24012025/18/53/image_24012025_18_53_02_562294_0000.jpg', '/home/pi/Desktop/images/24012025/18/53/image_24012025_18_53_02_562294_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0000.jpg
/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0001.jpg
/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0002.jpg
/home/pi/Desktop/images/24012025/18/52/image_24012025_18_52_02_378779_0003.jpg
/home/pi/Desktop/images/24012025/18/53/image_24012025_18_53_02_562294_0000.jpg
/home/pi/Desktop/images/24012025/18/53/image_24012025_18_53_02_562294_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331130153","1331130143","1331130292","1331130346","1331130289","1331130229"],"photo_ids_order":["1331130143","1331130153","1331130229","1331130289","1331130292","1331130346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7a0871c08a8d2edc9d4f2bb583ffb723.jpg","text":"TemporaryFile(/tmp/multipartBody7760607003022377623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749931529,"filename":"image_24012025_18_52_02_378779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/25383681fc1123ce199069c7376f5af0.jpg","text":"TemporaryFile(/tmp/multipartBody3363625909380745631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749931529,"filename":"image_24012025_18_52_02_378779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1bda8bd65e66cae64e5c19ba7e53aa95.jpg","text":"TemporaryFile(/tmp/multipartBody4274527311338964307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749931529,"filename":"image_24012025_18_53_02_562294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d0e3d68265fc170086d1b0221c5c022.jpg","text":"TemporaryFile(/tmp/multipartBody238248636227707363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749931529,"filename":"image_24012025_18_53_02_562294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6cd0f8e840e9e5c31ce6cee2f4ad9f8f.jpg","text":"TemporaryFile(/tmp/multipartBody2578410402227220326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749931529,"filename":"image_24012025_18_52_02_378779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/108b88ab1378850d6ed2b01597ffb418.jpg","text":"TemporaryFile(/tmp/multipartBody2926653144071776630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737749931529,"filename":"image_24012025_18_52_02_378779_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331130229","file1":"1331130153","file0":"1331130143","file4":"1331130292","file5":"1331130346","file3":"1331130289"},"map_files_photo_id_array":[{"photo_id":"1331130346","filename":"file5"},{"photo_id":"1331130229","filename":"file2"},{"photo_id":"1331130292","filename":"file4"},{"photo_id":"1331130153","filename":"file1"},{"photo_id":"1331130143","filename":"file0"},{"photo_id":"1331130289","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331130153":["hashtag1","hashtag2"]},{"1331130143":["hashtag1","hashtag2"]},{"1331130292":["hashtag1","hashtag2"]},{"1331130346":["hashtag1","hashtag2"]},{"1331130289":["hashtag1","hashtag2"]},{"1331130229":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331130153, 1331130143, 1331130292, 1331130346, 1331130289, 1331130229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.95709991455078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 21:18:51.763256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/53/image_24012025_18_53_02_562294_0002.jpg', '/home/pi/Desktop/images/24012025/18/53/image_24012025_18_53_02_562294_0003.jpg', '/home/pi/Desktop/images/24012025/18/54/image_24012025_18_54_02_769407_0000.jpg', '/home/pi/Desktop/images/24012025/18/54/image_24012025_18_54_02_769407_0001.jpg', '/home/pi/Desktop/images/24012025/18/54/image_24012025_18_54_02_769407_0002.jpg', '/home/pi/Desktop/images/24012025/18/54/image_24012025_18_54_02_769407_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/53/image_24012025_18_53_02_562294_0002.jpg
/home/pi/Desktop/images/24012025/18/53/image_24012025_18_53_02_562294_0003.jpg
/home/pi/Desktop/images/24012025/18/54/image_24012025_18_54_02_769407_0000.jpg
/home/pi/Desktop/images/24012025/18/54/image_24012025_18_54_02_769407_0001.jpg
/home/pi/Desktop/images/24012025/18/54/image_24012025_18_54_02_769407_0002.jpg
/home/pi/Desktop/images/24012025/18/54/image_24012025_18_54_02_769407_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331130498","1331130471","1331130476","1331130493","1331130487","1331130484"],"photo_ids_order":["1331130471","1331130476","1331130484","1331130487","1331130493","1331130498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/efa1cf4dd88460fafd6d1280343241c4.jpg","text":"TemporaryFile(/tmp/multipartBody6470344950230801648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750032946,"filename":"image_24012025_18_54_02_769407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1835972498b9dbc7286f8d774300f165.jpg","text":"TemporaryFile(/tmp/multipartBody8744932041548207501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750032946,"filename":"image_24012025_18_53_02_562294_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1715a44f9f76849d89eebe00f6c343e0.jpg","text":"TemporaryFile(/tmp/multipartBody8932951390081487185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750032946,"filename":"image_24012025_18_53_02_562294_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b9dd29217d0c236d0956de45413d0d8.jpg","text":"TemporaryFile(/tmp/multipartBody3222721900062324394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750032946,"filename":"image_24012025_18_54_02_769407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/69a1c269922bcaa3383fccafa96407d2.jpg","text":"TemporaryFile(/tmp/multipartBody6408704181125901067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750032946,"filename":"image_24012025_18_54_02_769407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/618ac688facd0803e2c91916c228f3a6.jpg","text":"TemporaryFile(/tmp/multipartBody4615512294327181512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750032946,"filename":"image_24012025_18_54_02_769407_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331130484","file1":"1331130476","file0":"1331130471","file4":"1331130493","file5":"1331130498","file3":"1331130487"},"map_files_photo_id_array":[{"photo_id":"1331130498","filename":"file5"},{"photo_id":"1331130484","filename":"file2"},{"photo_id":"1331130493","filename":"file4"},{"photo_id":"1331130476","filename":"file1"},{"photo_id":"1331130471","filename":"file0"},{"photo_id":"1331130487","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331130498":["hashtag1","hashtag2"]},{"1331130471":["hashtag1","hashtag2"]},{"1331130476":["hashtag1","hashtag2"]},{"1331130493":["hashtag1","hashtag2"]},{"1331130487":["hashtag1","hashtag2"]},{"1331130484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331130498, 1331130471, 1331130476, 1331130493, 1331130487, 1331130484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.07387018203735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 21:20:42.194007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/55/image_24012025_18_55_03_065443_0000.jpg', '/home/pi/Desktop/images/24012025/18/55/image_24012025_18_55_03_065443_0001.jpg', '/home/pi/Desktop/images/24012025/18/55/image_24012025_18_55_03_065443_0002.jpg', '/home/pi/Desktop/images/24012025/18/55/image_24012025_18_55_03_065443_0003.jpg', '/home/pi/Desktop/images/24012025/18/56/image_24012025_18_56_02_179690_0000.jpg', '/home/pi/Desktop/images/24012025/18/56/image_24012025_18_56_02_179690_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/55/image_24012025_18_55_03_065443_0000.jpg
/home/pi/Desktop/images/24012025/18/55/image_24012025_18_55_03_065443_0001.jpg
/home/pi/Desktop/images/24012025/18/55/image_24012025_18_55_03_065443_0002.jpg
/home/pi/Desktop/images/24012025/18/55/image_24012025_18_55_03_065443_0003.jpg
/home/pi/Desktop/images/24012025/18/56/image_24012025_18_56_02_179690_0000.jpg
/home/pi/Desktop/images/24012025/18/56/image_24012025_18_56_02_179690_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331130607","1331130567","1331130606","1331130590","1331130632","1331130562"],"photo_ids_order":["1331130562","1331130567","1331130590","1331130606","1331130607","1331130632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/559ae5182d28753a1e6507408314d82b.jpg","text":"TemporaryFile(/tmp/multipartBody2317020120366754922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750139848,"filename":"image_24012025_18_56_02_179690_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bdd82bc78d6f1ed7684d81a8ed238182.jpg","text":"TemporaryFile(/tmp/multipartBody2393477607114936516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750139848,"filename":"image_24012025_18_55_03_065443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac26a6bc2afba241d0241dd9b693c5b5.jpg","text":"TemporaryFile(/tmp/multipartBody4240493873529249981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750139848,"filename":"image_24012025_18_55_03_065443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/75f511348c47cb3680bc546335296b8d.jpg","text":"TemporaryFile(/tmp/multipartBody4040162582163079759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750139848,"filename":"image_24012025_18_55_03_065443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/78eb7a59ce0d2442e63abfd00c0770d9.jpg","text":"TemporaryFile(/tmp/multipartBody8771667690378915207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750139848,"filename":"image_24012025_18_56_02_179690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8d7e7c9ad9b5712ad2af9c8402c82cc0.jpg","text":"TemporaryFile(/tmp/multipartBody7178686929383102677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750139848,"filename":"image_24012025_18_55_03_065443_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331130590","file1":"1331130567","file0":"1331130562","file4":"1331130607","file5":"1331130632","file3":"1331130606"},"map_files_photo_id_array":[{"photo_id":"1331130632","filename":"file5"},{"photo_id":"1331130590","filename":"file2"},{"photo_id":"1331130607","filename":"file4"},{"photo_id":"1331130567","filename":"file1"},{"photo_id":"1331130562","filename":"file0"},{"photo_id":"1331130606","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331130607":["hashtag1","hashtag2"]},{"1331130567":["hashtag1","hashtag2"]},{"1331130606":["hashtag1","hashtag2"]},{"1331130590":["hashtag1","hashtag2"]},{"1331130632":["hashtag1","hashtag2"]},{"1331130562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331130607, 1331130567, 1331130606, 1331130590, 1331130632, 1331130562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.16094946861267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:22:22.591721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/56/image_24012025_18_56_02_179690_0002.jpg', '/home/pi/Desktop/images/24012025/18/56/image_24012025_18_56_02_179690_0003.jpg', '/home/pi/Desktop/images/24012025/18/57/image_24012025_18_57_02_308428_0000.jpg', '/home/pi/Desktop/images/24012025/18/57/image_24012025_18_57_02_308428_0001.jpg', '/home/pi/Desktop/images/24012025/18/57/image_24012025_18_57_02_308428_0002.jpg', '/home/pi/Desktop/images/24012025/18/57/image_24012025_18_57_02_308428_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/56/image_24012025_18_56_02_179690_0002.jpg
/home/pi/Desktop/images/24012025/18/56/image_24012025_18_56_02_179690_0003.jpg
/home/pi/Desktop/images/24012025/18/57/image_24012025_18_57_02_308428_0000.jpg
/home/pi/Desktop/images/24012025/18/57/image_24012025_18_57_02_308428_0001.jpg
/home/pi/Desktop/images/24012025/18/57/image_24012025_18_57_02_308428_0002.jpg
/home/pi/Desktop/images/24012025/18/57/image_24012025_18_57_02_308428_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331130706","1331130684","1331130680","1331130662","1331130688","1331130697"],"photo_ids_order":["1331130662","1331130680","1331130684","1331130688","1331130697","1331130706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/afa96d0c669631296365e6367b6773ac.jpg","text":"TemporaryFile(/tmp/multipartBody2908259807244916166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750222990,"filename":"image_24012025_18_57_02_308428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/564d0b8b7d013e8adf279912d332fcdd.jpg","text":"TemporaryFile(/tmp/multipartBody5371640182130649652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750222990,"filename":"image_24012025_18_57_02_308428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f53a422118680bfdb30f6dfabe930863.jpg","text":"TemporaryFile(/tmp/multipartBody1660948885316266354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750222990,"filename":"image_24012025_18_56_02_179690_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e890333ccd3621da7d51da0b12ee3922.jpg","text":"TemporaryFile(/tmp/multipartBody6246271128844700045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750222990,"filename":"image_24012025_18_56_02_179690_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9190790b342628c6698240ccecb9d31d.jpg","text":"TemporaryFile(/tmp/multipartBody8289210750004482456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750222990,"filename":"image_24012025_18_57_02_308428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a21fa8c910324a67242707c1fa638530.jpg","text":"TemporaryFile(/tmp/multipartBody8068375512704171228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750222990,"filename":"image_24012025_18_57_02_308428_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331130684","file1":"1331130680","file0":"1331130662","file4":"1331130697","file5":"1331130706","file3":"1331130688"},"map_files_photo_id_array":[{"photo_id":"1331130706","filename":"file5"},{"photo_id":"1331130684","filename":"file2"},{"photo_id":"1331130697","filename":"file4"},{"photo_id":"1331130680","filename":"file1"},{"photo_id":"1331130662","filename":"file0"},{"photo_id":"1331130688","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331130706":["hashtag1","hashtag2"]},{"1331130684":["hashtag1","hashtag2"]},{"1331130680":["hashtag1","hashtag2"]},{"1331130662":["hashtag1","hashtag2"]},{"1331130688":["hashtag1","hashtag2"]},{"1331130697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331130706, 1331130684, 1331130680, 1331130662, 1331130688, 1331130697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.30992412567139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 21:23:42.781303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/58/image_24012025_18_58_02_621842_0000.jpg', '/home/pi/Desktop/images/24012025/18/58/image_24012025_18_58_02_621842_0001.jpg', '/home/pi/Desktop/images/24012025/18/58/image_24012025_18_58_02_621842_0002.jpg', '/home/pi/Desktop/images/24012025/18/58/image_24012025_18_58_02_621842_0003.jpg', '/home/pi/Desktop/images/24012025/18/59/image_24012025_18_59_02_865003_0000.jpg', '/home/pi/Desktop/images/24012025/18/59/image_24012025_18_59_02_865003_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/58/image_24012025_18_58_02_621842_0000.jpg
/home/pi/Desktop/images/24012025/18/58/image_24012025_18_58_02_621842_0001.jpg
/home/pi/Desktop/images/24012025/18/58/image_24012025_18_58_02_621842_0002.jpg
/home/pi/Desktop/images/24012025/18/58/image_24012025_18_58_02_621842_0003.jpg
/home/pi/Desktop/images/24012025/18/59/image_24012025_18_59_02_865003_0000.jpg
/home/pi/Desktop/images/24012025/18/59/image_24012025_18_59_02_865003_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331130773","1331130761","1331130758","1331130752","1331130749","1331130787"],"photo_ids_order":["1331130749","1331130752","1331130758","1331130761","1331130773","1331130787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/16e3ab7f0284e8ee306f1cbab1ac60de.jpg","text":"TemporaryFile(/tmp/multipartBody6212116308119635972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750311223,"filename":"image_24012025_18_59_02_865003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2b1a8b794cfc35d64d93a2312b8f60d0.jpg","text":"TemporaryFile(/tmp/multipartBody8748682283308495470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750311223,"filename":"image_24012025_18_58_02_621842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f0d1fd7d8b525c0e7ba7b277e4f2026f.jpg","text":"TemporaryFile(/tmp/multipartBody8232884780357903436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750311223,"filename":"image_24012025_18_58_02_621842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/20570a791b3f47fa2b1824736a5ae27a.jpg","text":"TemporaryFile(/tmp/multipartBody5255932279638484325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750311223,"filename":"image_24012025_18_58_02_621842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/761ea22cc2a43a7be21fcef990f2fd33.jpg","text":"TemporaryFile(/tmp/multipartBody1666715145689318954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750311223,"filename":"image_24012025_18_58_02_621842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e3bc8312aacce94e4d679303a5ba1c0.jpg","text":"TemporaryFile(/tmp/multipartBody4513821250085840316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750311223,"filename":"image_24012025_18_59_02_865003_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331130758","file1":"1331130752","file0":"1331130749","file4":"1331130773","file5":"1331130787","file3":"1331130761"},"map_files_photo_id_array":[{"photo_id":"1331130787","filename":"file5"},{"photo_id":"1331130758","filename":"file2"},{"photo_id":"1331130773","filename":"file4"},{"photo_id":"1331130752","filename":"file1"},{"photo_id":"1331130749","filename":"file0"},{"photo_id":"1331130761","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331130773":["hashtag1","hashtag2"]},{"1331130761":["hashtag1","hashtag2"]},{"1331130758":["hashtag1","hashtag2"]},{"1331130752":["hashtag1","hashtag2"]},{"1331130749":["hashtag1","hashtag2"]},{"1331130787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331130773, 1331130761, 1331130758, 1331130752, 1331130749, 1331130787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.4144377708435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:25:22.136170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/18/59/image_24012025_18_59_02_865003_0002.jpg', '/home/pi/Desktop/images/24012025/18/59/image_24012025_18_59_02_865003_0003.jpg', '/home/pi/Desktop/images/24012025/19/00/image_24012025_19_00_02_975551_0000.jpg', '/home/pi/Desktop/images/24012025/19/00/image_24012025_19_00_02_975551_0001.jpg', '/home/pi/Desktop/images/24012025/19/00/image_24012025_19_00_02_975551_0002.jpg', '/home/pi/Desktop/images/24012025/19/00/image_24012025_19_00_02_975551_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/18/59/image_24012025_18_59_02_865003_0002.jpg
/home/pi/Desktop/images/24012025/18/59/image_24012025_18_59_02_865003_0003.jpg
/home/pi/Desktop/images/24012025/19/00/image_24012025_19_00_02_975551_0000.jpg
/home/pi/Desktop/images/24012025/19/00/image_24012025_19_00_02_975551_0001.jpg
/home/pi/Desktop/images/24012025/19/00/image_24012025_19_00_02_975551_0002.jpg
/home/pi/Desktop/images/24012025/19/00/image_24012025_19_00_02_975551_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331130904","1331130913","1331130909","1331130918","1331130905","1331130920"],"photo_ids_order":["1331130904","1331130905","1331130909","1331130913","1331130918","1331130920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c9f7f8c8778ce4d34bcbcaaab2f4565c.jpg","text":"TemporaryFile(/tmp/multipartBody6839747581842264409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750409930,"filename":"image_24012025_18_59_02_865003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7567c918c2722e671b3a3035d97b9d2e.jpg","text":"TemporaryFile(/tmp/multipartBody5222445193710259223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750409930,"filename":"image_24012025_19_00_02_975551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/090e60561cb847626bf296176439cc82.jpg","text":"TemporaryFile(/tmp/multipartBody728294179511933780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750409930,"filename":"image_24012025_19_00_02_975551_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/01f015b12640aae307d0aa7ee77a1023.jpg","text":"TemporaryFile(/tmp/multipartBody5832192447691865709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750409930,"filename":"image_24012025_19_00_02_975551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/75d6a0ba3f1b16bd71f07ed2235219f2.jpg","text":"TemporaryFile(/tmp/multipartBody912300302908735895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750409930,"filename":"image_24012025_18_59_02_865003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6dbd0595bf576180851bb0077a11d9b9.jpg","text":"TemporaryFile(/tmp/multipartBody99209754853184824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750409930,"filename":"image_24012025_19_00_02_975551_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331130909","file1":"1331130905","file0":"1331130904","file4":"1331130918","file5":"1331130920","file3":"1331130913"},"map_files_photo_id_array":[{"photo_id":"1331130920","filename":"file5"},{"photo_id":"1331130909","filename":"file2"},{"photo_id":"1331130918","filename":"file4"},{"photo_id":"1331130905","filename":"file1"},{"photo_id":"1331130904","filename":"file0"},{"photo_id":"1331130913","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331130904":["hashtag1","hashtag2"]},{"1331130913":["hashtag1","hashtag2"]},{"1331130909":["hashtag1","hashtag2"]},{"1331130918":["hashtag1","hashtag2"]},{"1331130905":["hashtag1","hashtag2"]},{"1331130920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331130904, 1331130913, 1331130909, 1331130918, 1331130905, 1331130920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.83127403259277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 21:26:52.372778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/01/image_24012025_19_01_02_134002_0000.jpg', '/home/pi/Desktop/images/24012025/19/01/image_24012025_19_01_02_134002_0001.jpg', '/home/pi/Desktop/images/24012025/19/01/image_24012025_19_01_02_134002_0002.jpg', '/home/pi/Desktop/images/24012025/19/01/image_24012025_19_01_02_134002_0003.jpg', '/home/pi/Desktop/images/24012025/19/02/image_24012025_19_02_02_425279_0000.jpg', '/home/pi/Desktop/images/24012025/19/02/image_24012025_19_02_02_425279_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/01/image_24012025_19_01_02_134002_0000.jpg
/home/pi/Desktop/images/24012025/19/01/image_24012025_19_01_02_134002_0001.jpg
/home/pi/Desktop/images/24012025/19/01/image_24012025_19_01_02_134002_0002.jpg
/home/pi/Desktop/images/24012025/19/01/image_24012025_19_01_02_134002_0003.jpg
/home/pi/Desktop/images/24012025/19/02/image_24012025_19_02_02_425279_0000.jpg
/home/pi/Desktop/images/24012025/19/02/image_24012025_19_02_02_425279_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331131014","1331131043","1331131016","1331130985","1331131036","1331130994"],"photo_ids_order":["1331130985","1331130994","1331131014","1331131016","1331131036","1331131043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f8bca6ac2f8e75ca1085ee0670d93437.jpg","text":"TemporaryFile(/tmp/multipartBody7978818806207300556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750515409,"filename":"image_24012025_19_01_02_134002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6d73a30349a192babef64e2dd22d11b0.jpg","text":"TemporaryFile(/tmp/multipartBody2338985826987641348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750515409,"filename":"image_24012025_19_02_02_425279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2addbec465c8f3004bc44fc5b21ea618.jpg","text":"TemporaryFile(/tmp/multipartBody2245679453707099767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750515409,"filename":"image_24012025_19_01_02_134002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0eadf1671ce909fe8d46929a97fa3b38.jpg","text":"TemporaryFile(/tmp/multipartBody229665350538437840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750515409,"filename":"image_24012025_19_01_02_134002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0099940d001a24ca97311cb6ab1d4c59.jpg","text":"TemporaryFile(/tmp/multipartBody3452072708014797712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750515409,"filename":"image_24012025_19_02_02_425279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cb18c0a89b4c2d5a11ecc6b6e04b9dc9.jpg","text":"TemporaryFile(/tmp/multipartBody1878087537876626524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750515409,"filename":"image_24012025_19_01_02_134002_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331131014","file1":"1331130994","file0":"1331130985","file4":"1331131036","file5":"1331131043","file3":"1331131016"},"map_files_photo_id_array":[{"photo_id":"1331131043","filename":"file5"},{"photo_id":"1331131014","filename":"file2"},{"photo_id":"1331131036","filename":"file4"},{"photo_id":"1331130994","filename":"file1"},{"photo_id":"1331130985","filename":"file0"},{"photo_id":"1331131016","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331131014":["hashtag1","hashtag2"]},{"1331131043":["hashtag1","hashtag2"]},{"1331131016":["hashtag1","hashtag2"]},{"1331130985":["hashtag1","hashtag2"]},{"1331131036":["hashtag1","hashtag2"]},{"1331130994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331131014, 1331131043, 1331131016, 1331130985, 1331131036, 1331130994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.10248184204102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 21:28:42.857827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/02/image_24012025_19_02_02_425279_0002.jpg', '/home/pi/Desktop/images/24012025/19/02/image_24012025_19_02_02_425279_0003.jpg', '/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0000.jpg', '/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0001.jpg', '/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0002.jpg', '/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/02/image_24012025_19_02_02_425279_0002.jpg
/home/pi/Desktop/images/24012025/19/02/image_24012025_19_02_02_425279_0003.jpg
/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0000.jpg
/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0001.jpg
/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0002.jpg
/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 30.38853693008423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:29:21.940794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/02/image_24012025_19_02_02_425279_0002.jpg', '/home/pi/Desktop/images/24012025/19/02/image_24012025_19_02_02_425279_0003.jpg', '/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0000.jpg', '/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0001.jpg', '/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0002.jpg', '/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/02/image_24012025_19_02_02_425279_0002.jpg
/home/pi/Desktop/images/24012025/19/02/image_24012025_19_02_02_425279_0003.jpg
/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0000.jpg
/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0001.jpg
/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0002.jpg
/home/pi/Desktop/images/24012025/19/03/image_24012025_19_03_02_582051_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331131110","1331131274","1331131223","1331131258","1331131141","1331131123"],"photo_ids_order":["1331131110","1331131123","1331131141","1331131223","1331131258","1331131274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55e83da7bc524d89f89f918f0133a6f4.jpg","text":"TemporaryFile(/tmp/multipartBody835800700390955302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750654494,"filename":"image_24012025_19_02_02_425279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ce167065750c2d5381c08b0db92bfbf.jpg","text":"TemporaryFile(/tmp/multipartBody2910373746666983602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750654494,"filename":"image_24012025_19_03_02_582051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/887c710ba6616bb9f7b5ae8d243b83f8.jpg","text":"TemporaryFile(/tmp/multipartBody3703579613737456922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750654494,"filename":"image_24012025_19_03_02_582051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/929b7d3b6370b41cdabca3bb40abe721.jpg","text":"TemporaryFile(/tmp/multipartBody16287722682024182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750654494,"filename":"image_24012025_19_03_02_582051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dbcb481d7f4403c205df1767ea66ecaf.jpg","text":"TemporaryFile(/tmp/multipartBody5776815728818728998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750654494,"filename":"image_24012025_19_03_02_582051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b1d017dc04d652c1c6d10247bb3dbba5.jpg","text":"TemporaryFile(/tmp/multipartBody5356930036044545219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750654494,"filename":"image_24012025_19_02_02_425279_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331131141","file1":"1331131123","file0":"1331131110","file4":"1331131258","file5":"1331131274","file3":"1331131223"},"map_files_photo_id_array":[{"photo_id":"1331131274","filename":"file5"},{"photo_id":"1331131141","filename":"file2"},{"photo_id":"1331131258","filename":"file4"},{"photo_id":"1331131123","filename":"file1"},{"photo_id":"1331131110","filename":"file0"},{"photo_id":"1331131223","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331131110":["hashtag1","hashtag2"]},{"1331131274":["hashtag1","hashtag2"]},{"1331131223":["hashtag1","hashtag2"]},{"1331131258":["hashtag1","hashtag2"]},{"1331131141":["hashtag1","hashtag2"]},{"1331131123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331131110, 1331131274, 1331131223, 1331131258, 1331131141, 1331131123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.9356575012207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 21:30:52.164550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0000.jpg', '/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0001.jpg', '/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0002.jpg', '/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0003.jpg', '/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0000.jpg', '/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0000.jpg
/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0001.jpg
/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0002.jpg
/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0003.jpg
/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0000.jpg
/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 38.36577653884888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 21:31:32.376428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0000.jpg', '/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0001.jpg', '/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0002.jpg', '/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0003.jpg', '/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0000.jpg', '/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0000.jpg
/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0001.jpg
/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0002.jpg
/home/pi/Desktop/images/24012025/19/04/image_24012025_19_04_02_824850_0003.jpg
/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0000.jpg
/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331131524","1331131506","1331131841","1331131520","1331131669","1331131510"],"photo_ids_order":["1331131506","1331131510","1331131520","1331131524","1331131669","1331131841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45576e6321b3da55a81d7583fcb7b2e7.jpg","text":"TemporaryFile(/tmp/multipartBody3679775850820330451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750776259,"filename":"image_24012025_19_04_02_824850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aa3f07bb28245efc63843c19372c8791.jpg","text":"TemporaryFile(/tmp/multipartBody9012398764567167649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750776259,"filename":"image_24012025_19_04_02_824850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb09e4cb3694b29f0efdb2eb40289b88.jpg","text":"TemporaryFile(/tmp/multipartBody8505972816163683835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750776259,"filename":"image_24012025_19_05_02_861784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a7e5582ed765c9e610fbc3ad8ab1c6d.jpg","text":"TemporaryFile(/tmp/multipartBody2502720007172398415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750776259,"filename":"image_24012025_19_04_02_824850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00690b03a32ec9e6bcfaf41279aa26fa.jpg","text":"TemporaryFile(/tmp/multipartBody3648533243257367943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750776259,"filename":"image_24012025_19_05_02_861784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a27677e96d1564dec9d8473c06d920ad.jpg","text":"TemporaryFile(/tmp/multipartBody2364526167993271797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750776259,"filename":"image_24012025_19_04_02_824850_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331131520","file1":"1331131510","file0":"1331131506","file4":"1331131669","file5":"1331131841","file3":"1331131524"},"map_files_photo_id_array":[{"photo_id":"1331131841","filename":"file5"},{"photo_id":"1331131520","filename":"file2"},{"photo_id":"1331131669","filename":"file4"},{"photo_id":"1331131510","filename":"file1"},{"photo_id":"1331131506","filename":"file0"},{"photo_id":"1331131524","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331131524":["hashtag1","hashtag2"]},{"1331131506":["hashtag1","hashtag2"]},{"1331131841":["hashtag1","hashtag2"]},{"1331131520":["hashtag1","hashtag2"]},{"1331131669":["hashtag1","hashtag2"]},{"1331131510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331131524, 1331131506, 1331131841, 1331131520, 1331131669, 1331131510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.47294902801514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 21:33:03.403329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0002.jpg', '/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0003.jpg', '/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0000.jpg', '/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0001.jpg', '/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0002.jpg', '/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0002.jpg
/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0003.jpg
/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0000.jpg
/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0001.jpg
/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0002.jpg
/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 29.661348342895508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 21:33:42.770334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0002.jpg', '/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0003.jpg', '/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0000.jpg', '/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0001.jpg', '/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0002.jpg', '/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0002.jpg
/home/pi/Desktop/images/24012025/19/05/image_24012025_19_05_02_861784_0003.jpg
/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0000.jpg
/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0001.jpg
/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0002.jpg
/home/pi/Desktop/images/24012025/19/06/image_24012025_19_06_03_041524_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331131962","1331131956","1331131965","1331131959","1331131960","1331131978"],"photo_ids_order":["1331131956","1331131959","1331131960","1331131962","1331131965","1331131978"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d2646f96ed744f323c034551bf4e7cc2.jpg","text":"TemporaryFile(/tmp/multipartBody5507129891153959004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750920828,"filename":"image_24012025_19_06_03_041524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/399675ab3fb261c7eaae099c50e3c2f2.jpg","text":"TemporaryFile(/tmp/multipartBody2547732656781367082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750920828,"filename":"image_24012025_19_05_02_861784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a101903105a15e25b6f8ae552fb2fbd2.jpg","text":"TemporaryFile(/tmp/multipartBody1272147570688464350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750920828,"filename":"image_24012025_19_06_03_041524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1a258130dd6c2c45d3c74fe5eb5eb07.jpg","text":"TemporaryFile(/tmp/multipartBody6080021431074781170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750920828,"filename":"image_24012025_19_05_02_861784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ece7c06797d736aaaf1db73ac0ed8c0c.jpg","text":"TemporaryFile(/tmp/multipartBody2643788118461385588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750920828,"filename":"image_24012025_19_06_03_041524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1d37990a06cc2114a7cd3e2050a47f61.jpg","text":"TemporaryFile(/tmp/multipartBody3767858912710772716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737750920828,"filename":"image_24012025_19_06_03_041524_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331131960","file1":"1331131959","file0":"1331131956","file4":"1331131965","file5":"1331131978","file3":"1331131962"},"map_files_photo_id_array":[{"photo_id":"1331131978","filename":"file5"},{"photo_id":"1331131960","filename":"file2"},{"photo_id":"1331131965","filename":"file4"},{"photo_id":"1331131959","filename":"file1"},{"photo_id":"1331131956","filename":"file0"},{"photo_id":"1331131962","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331131962":["hashtag1","hashtag2"]},{"1331131956":["hashtag1","hashtag2"]},{"1331131965":["hashtag1","hashtag2"]},{"1331131959":["hashtag1","hashtag2"]},{"1331131960":["hashtag1","hashtag2"]},{"1331131978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331131962, 1331131956, 1331131965, 1331131959, 1331131960, 1331131978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.47082018852234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:35:22.166840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/07/image_24012025_19_07_02_209582_0000.jpg', '/home/pi/Desktop/images/24012025/19/07/image_24012025_19_07_02_209582_0001.jpg', '/home/pi/Desktop/images/24012025/19/07/image_24012025_19_07_02_209582_0002.jpg', '/home/pi/Desktop/images/24012025/19/07/image_24012025_19_07_02_209582_0003.jpg', '/home/pi/Desktop/images/24012025/19/08/image_24012025_19_08_02_408062_0000.jpg', '/home/pi/Desktop/images/24012025/19/08/image_24012025_19_08_02_408062_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/07/image_24012025_19_07_02_209582_0000.jpg
/home/pi/Desktop/images/24012025/19/07/image_24012025_19_07_02_209582_0001.jpg
/home/pi/Desktop/images/24012025/19/07/image_24012025_19_07_02_209582_0002.jpg
/home/pi/Desktop/images/24012025/19/07/image_24012025_19_07_02_209582_0003.jpg
/home/pi/Desktop/images/24012025/19/08/image_24012025_19_08_02_408062_0000.jpg
/home/pi/Desktop/images/24012025/19/08/image_24012025_19_08_02_408062_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331132118","1331132045","1331132048","1331132036","1331132040","1331132034"],"photo_ids_order":["1331132034","1331132036","1331132040","1331132045","1331132048","1331132118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/20a3bdcd6325a8495fad72308497380e.jpg","text":"TemporaryFile(/tmp/multipartBody6203507299442720664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751003433,"filename":"image_24012025_19_08_02_408062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47ca78836c65f02ed6a888c4dc61f888.jpg","text":"TemporaryFile(/tmp/multipartBody2037178034856820145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751003433,"filename":"image_24012025_19_07_02_209582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/311dd1a7d36fc97c699cc4838318f03a.jpg","text":"TemporaryFile(/tmp/multipartBody4057221739496477306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751003433,"filename":"image_24012025_19_08_02_408062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d8b8bcc6abb3be762fc7288b14f64253.jpg","text":"TemporaryFile(/tmp/multipartBody1372377560150199050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751003433,"filename":"image_24012025_19_07_02_209582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0dc344e248ea1421276cf2c1c6218048.jpg","text":"TemporaryFile(/tmp/multipartBody3085036666995125025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751003433,"filename":"image_24012025_19_07_02_209582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad01d232d746d25ec9dc7fcc2f3f373a.jpg","text":"TemporaryFile(/tmp/multipartBody7819152152358613014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751003433,"filename":"image_24012025_19_07_02_209582_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331132040","file1":"1331132036","file0":"1331132034","file4":"1331132048","file5":"1331132118","file3":"1331132045"},"map_files_photo_id_array":[{"photo_id":"1331132118","filename":"file5"},{"photo_id":"1331132040","filename":"file2"},{"photo_id":"1331132048","filename":"file4"},{"photo_id":"1331132036","filename":"file1"},{"photo_id":"1331132034","filename":"file0"},{"photo_id":"1331132045","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331132118":["hashtag1","hashtag2"]},{"1331132045":["hashtag1","hashtag2"]},{"1331132048":["hashtag1","hashtag2"]},{"1331132036":["hashtag1","hashtag2"]},{"1331132040":["hashtag1","hashtag2"]},{"1331132034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331132118, 1331132045, 1331132048, 1331132036, 1331132040, 1331132034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.52647399902344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 21:36:52.296708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/08/image_24012025_19_08_02_408062_0002.jpg', '/home/pi/Desktop/images/24012025/19/08/image_24012025_19_08_02_408062_0003.jpg', '/home/pi/Desktop/images/24012025/19/09/image_24012025_19_09_02_629514_0000.jpg', '/home/pi/Desktop/images/24012025/19/09/image_24012025_19_09_02_629514_0001.jpg', '/home/pi/Desktop/images/24012025/19/09/image_24012025_19_09_02_629514_0002.jpg', '/home/pi/Desktop/images/24012025/19/09/image_24012025_19_09_02_629514_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/08/image_24012025_19_08_02_408062_0002.jpg
/home/pi/Desktop/images/24012025/19/08/image_24012025_19_08_02_408062_0003.jpg
/home/pi/Desktop/images/24012025/19/09/image_24012025_19_09_02_629514_0000.jpg
/home/pi/Desktop/images/24012025/19/09/image_24012025_19_09_02_629514_0001.jpg
/home/pi/Desktop/images/24012025/19/09/image_24012025_19_09_02_629514_0002.jpg
/home/pi/Desktop/images/24012025/19/09/image_24012025_19_09_02_629514_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331132304","1331132279","1331132138","1331132284","1331132296","1331132295"],"photo_ids_order":["1331132138","1331132279","1331132284","1331132295","1331132296","1331132304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/92abd0d0640baff73a5bc82f85f0e77a.jpg","text":"TemporaryFile(/tmp/multipartBody720207288486303065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751097840,"filename":"image_24012025_19_09_02_629514_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a5325084c6b74be8dba198f414dcc6d9.jpg","text":"TemporaryFile(/tmp/multipartBody7548814285519854749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751097840,"filename":"image_24012025_19_08_02_408062_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9475e3b129b1ca212f96ed8fc7a340b5.jpg","text":"TemporaryFile(/tmp/multipartBody848996849166537185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751097840,"filename":"image_24012025_19_08_02_408062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5fef63f624987561defd7cffe2e97aec.jpg","text":"TemporaryFile(/tmp/multipartBody4890597358106013365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751097840,"filename":"image_24012025_19_09_02_629514_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/32339995d46884ad09b6ed6d1c8ef5d7.jpg","text":"TemporaryFile(/tmp/multipartBody7194508845223799782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751097840,"filename":"image_24012025_19_09_02_629514_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f41737029e5e130b67d50c33c3445d9.jpg","text":"TemporaryFile(/tmp/multipartBody2246900587714311510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751097840,"filename":"image_24012025_19_09_02_629514_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331132284","file1":"1331132279","file0":"1331132138","file4":"1331132296","file5":"1331132304","file3":"1331132295"},"map_files_photo_id_array":[{"photo_id":"1331132304","filename":"file5"},{"photo_id":"1331132284","filename":"file2"},{"photo_id":"1331132296","filename":"file4"},{"photo_id":"1331132279","filename":"file1"},{"photo_id":"1331132138","filename":"file0"},{"photo_id":"1331132295","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331132304":["hashtag1","hashtag2"]},{"1331132279":["hashtag1","hashtag2"]},{"1331132138":["hashtag1","hashtag2"]},{"1331132284":["hashtag1","hashtag2"]},{"1331132296":["hashtag1","hashtag2"]},{"1331132295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331132304, 1331132279, 1331132138, 1331132284, 1331132296, 1331132295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.81111788749695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:38:22.719454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/10/image_24012025_19_10_02_743198_0000.jpg', '/home/pi/Desktop/images/24012025/19/10/image_24012025_19_10_02_743198_0001.jpg', '/home/pi/Desktop/images/24012025/19/10/image_24012025_19_10_02_743198_0002.jpg', '/home/pi/Desktop/images/24012025/19/10/image_24012025_19_10_02_743198_0003.jpg', '/home/pi/Desktop/images/24012025/19/11/image_24012025_19_11_02_867754_0000.jpg', '/home/pi/Desktop/images/24012025/19/11/image_24012025_19_11_02_867754_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/10/image_24012025_19_10_02_743198_0000.jpg
/home/pi/Desktop/images/24012025/19/10/image_24012025_19_10_02_743198_0001.jpg
/home/pi/Desktop/images/24012025/19/10/image_24012025_19_10_02_743198_0002.jpg
/home/pi/Desktop/images/24012025/19/10/image_24012025_19_10_02_743198_0003.jpg
/home/pi/Desktop/images/24012025/19/11/image_24012025_19_11_02_867754_0000.jpg
/home/pi/Desktop/images/24012025/19/11/image_24012025_19_11_02_867754_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331132405","1331132395","1331132394","1331132490","1331132466","1331132430"],"photo_ids_order":["1331132394","1331132395","1331132405","1331132430","1331132466","1331132490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ac66b7a14feb21da1c023750e8ee84e4.jpg","text":"TemporaryFile(/tmp/multipartBody8415063282377054772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751192294,"filename":"image_24012025_19_10_02_743198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/72fa8135760181e86d0f636cafe5cd4d.jpg","text":"TemporaryFile(/tmp/multipartBody1942747781214990817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751192294,"filename":"image_24012025_19_10_02_743198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9371429b8b4c31409f6865d304abec6f.jpg","text":"TemporaryFile(/tmp/multipartBody5853556228448670082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751192294,"filename":"image_24012025_19_10_02_743198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f10a2ac8502fd99cf9540295e21eea67.jpg","text":"TemporaryFile(/tmp/multipartBody294344203897148388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751192294,"filename":"image_24012025_19_11_02_867754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad5d7dcb01db52c658feb87718ed09d2.jpg","text":"TemporaryFile(/tmp/multipartBody4187678279971638814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751192294,"filename":"image_24012025_19_11_02_867754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c0c1c31095e0f4827d9422f17c3f1f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2137031992256894418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751192294,"filename":"image_24012025_19_10_02_743198_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331132405","file1":"1331132395","file0":"1331132394","file4":"1331132466","file5":"1331132490","file3":"1331132430"},"map_files_photo_id_array":[{"photo_id":"1331132490","filename":"file5"},{"photo_id":"1331132405","filename":"file2"},{"photo_id":"1331132466","filename":"file4"},{"photo_id":"1331132395","filename":"file1"},{"photo_id":"1331132394","filename":"file0"},{"photo_id":"1331132430","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331132405":["hashtag1","hashtag2"]},{"1331132395":["hashtag1","hashtag2"]},{"1331132394":["hashtag1","hashtag2"]},{"1331132490":["hashtag1","hashtag2"]},{"1331132466":["hashtag1","hashtag2"]},{"1331132430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331132405, 1331132395, 1331132394, 1331132490, 1331132466, 1331132430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.5968222618103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 21:39:51.891489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/11/image_24012025_19_11_02_867754_0002.jpg', '/home/pi/Desktop/images/24012025/19/11/image_24012025_19_11_02_867754_0003.jpg', '/home/pi/Desktop/images/24012025/19/12/image_24012025_19_12_03_135235_0000.jpg', '/home/pi/Desktop/images/24012025/19/12/image_24012025_19_12_03_135235_0001.jpg', '/home/pi/Desktop/images/24012025/19/12/image_24012025_19_12_03_135235_0002.jpg', '/home/pi/Desktop/images/24012025/19/12/image_24012025_19_12_03_135235_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/11/image_24012025_19_11_02_867754_0002.jpg
/home/pi/Desktop/images/24012025/19/11/image_24012025_19_11_02_867754_0003.jpg
/home/pi/Desktop/images/24012025/19/12/image_24012025_19_12_03_135235_0000.jpg
/home/pi/Desktop/images/24012025/19/12/image_24012025_19_12_03_135235_0001.jpg
/home/pi/Desktop/images/24012025/19/12/image_24012025_19_12_03_135235_0002.jpg
/home/pi/Desktop/images/24012025/19/12/image_24012025_19_12_03_135235_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331132570","1331132555","1331132563","1331132566","1331132569","1331132571"],"photo_ids_order":["1331132555","1331132563","1331132566","1331132569","1331132570","1331132571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dac08878734d528b51b620833213011b.jpg","text":"TemporaryFile(/tmp/multipartBody5220750105602273438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751283066,"filename":"image_24012025_19_12_03_135235_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/656e52ffec250d451111027df37a8cd5.jpg","text":"TemporaryFile(/tmp/multipartBody9198911114136779042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751283066,"filename":"image_24012025_19_11_02_867754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/13a46dcc58399b6d86a8544ef3dc4487.jpg","text":"TemporaryFile(/tmp/multipartBody9197760547941634615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751283066,"filename":"image_24012025_19_11_02_867754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/140e8b7b2c27b110f22596e51f9f7813.jpg","text":"TemporaryFile(/tmp/multipartBody2647198586579761762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751283066,"filename":"image_24012025_19_12_03_135235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d29c3d325f76d4d4550aed1a59359362.jpg","text":"TemporaryFile(/tmp/multipartBody6529896667117942613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751283066,"filename":"image_24012025_19_12_03_135235_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa130151ca960aa7f4d86d81be7bc530.jpg","text":"TemporaryFile(/tmp/multipartBody574970356055061416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751283066,"filename":"image_24012025_19_12_03_135235_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331132566","file1":"1331132563","file0":"1331132555","file4":"1331132570","file5":"1331132571","file3":"1331132569"},"map_files_photo_id_array":[{"photo_id":"1331132571","filename":"file5"},{"photo_id":"1331132566","filename":"file2"},{"photo_id":"1331132570","filename":"file4"},{"photo_id":"1331132563","filename":"file1"},{"photo_id":"1331132555","filename":"file0"},{"photo_id":"1331132569","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331132570":["hashtag1","hashtag2"]},{"1331132555":["hashtag1","hashtag2"]},{"1331132563":["hashtag1","hashtag2"]},{"1331132566":["hashtag1","hashtag2"]},{"1331132569":["hashtag1","hashtag2"]},{"1331132571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331132570, 1331132555, 1331132563, 1331132566, 1331132569, 1331132571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.24566125869751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:41:22.276379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/13/image_24012025_19_13_02_277714_0000.jpg', '/home/pi/Desktop/images/24012025/19/13/image_24012025_19_13_02_277714_0001.jpg', '/home/pi/Desktop/images/24012025/19/13/image_24012025_19_13_02_277714_0002.jpg', '/home/pi/Desktop/images/24012025/19/13/image_24012025_19_13_02_277714_0003.jpg', '/home/pi/Desktop/images/24012025/19/14/image_24012025_19_14_02_482698_0000.jpg', '/home/pi/Desktop/images/24012025/19/14/image_24012025_19_14_02_482698_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/13/image_24012025_19_13_02_277714_0000.jpg
/home/pi/Desktop/images/24012025/19/13/image_24012025_19_13_02_277714_0001.jpg
/home/pi/Desktop/images/24012025/19/13/image_24012025_19_13_02_277714_0002.jpg
/home/pi/Desktop/images/24012025/19/13/image_24012025_19_13_02_277714_0003.jpg
/home/pi/Desktop/images/24012025/19/14/image_24012025_19_14_02_482698_0000.jpg
/home/pi/Desktop/images/24012025/19/14/image_24012025_19_14_02_482698_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331132597","1331132591","1331132615","1331132609","1331132590","1331132602"],"photo_ids_order":["1331132590","1331132591","1331132597","1331132602","1331132609","1331132615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40aa28dff710a1935a911ef988d8b5a3.jpg","text":"TemporaryFile(/tmp/multipartBody2123799182221626773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751370432,"filename":"image_24012025_19_13_02_277714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6592d77080c7289be976dfe037e422dc.jpg","text":"TemporaryFile(/tmp/multipartBody3398459553730951202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751370432,"filename":"image_24012025_19_13_02_277714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a39ea46868647e42d66f55cbd89b36d0.jpg","text":"TemporaryFile(/tmp/multipartBody6708763959889105634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751370432,"filename":"image_24012025_19_14_02_482698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c5f9f7bc71bfc553b94b8c98df0b359.jpg","text":"TemporaryFile(/tmp/multipartBody2799646364334531553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751370432,"filename":"image_24012025_19_14_02_482698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ff7a284c2f2f6d68acd72a11dcd9a81.jpg","text":"TemporaryFile(/tmp/multipartBody358890561525110250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751370432,"filename":"image_24012025_19_13_02_277714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7d7152e0402160fb28404ed708e3d3cf.jpg","text":"TemporaryFile(/tmp/multipartBody8514251941351317536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751370432,"filename":"image_24012025_19_13_02_277714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331132597","file1":"1331132591","file0":"1331132590","file4":"1331132609","file5":"1331132615","file3":"1331132602"},"map_files_photo_id_array":[{"photo_id":"1331132615","filename":"file5"},{"photo_id":"1331132597","filename":"file2"},{"photo_id":"1331132609","filename":"file4"},{"photo_id":"1331132591","filename":"file1"},{"photo_id":"1331132590","filename":"file0"},{"photo_id":"1331132602","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331132597":["hashtag1","hashtag2"]},{"1331132591":["hashtag1","hashtag2"]},{"1331132615":["hashtag1","hashtag2"]},{"1331132609":["hashtag1","hashtag2"]},{"1331132590":["hashtag1","hashtag2"]},{"1331132602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331132597, 1331132591, 1331132615, 1331132609, 1331132590, 1331132602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.0163938999176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 21:42:52.430167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/14/image_24012025_19_14_02_482698_0002.jpg', '/home/pi/Desktop/images/24012025/19/14/image_24012025_19_14_02_482698_0003.jpg', '/home/pi/Desktop/images/24012025/19/15/image_24012025_19_15_02_603072_0000.jpg', '/home/pi/Desktop/images/24012025/19/15/image_24012025_19_15_02_603072_0001.jpg', '/home/pi/Desktop/images/24012025/19/15/image_24012025_19_15_02_603072_0002.jpg', '/home/pi/Desktop/images/24012025/19/15/image_24012025_19_15_02_603072_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/14/image_24012025_19_14_02_482698_0002.jpg
/home/pi/Desktop/images/24012025/19/14/image_24012025_19_14_02_482698_0003.jpg
/home/pi/Desktop/images/24012025/19/15/image_24012025_19_15_02_603072_0000.jpg
/home/pi/Desktop/images/24012025/19/15/image_24012025_19_15_02_603072_0001.jpg
/home/pi/Desktop/images/24012025/19/15/image_24012025_19_15_02_603072_0002.jpg
/home/pi/Desktop/images/24012025/19/15/image_24012025_19_15_02_603072_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331132777","1331132738","1331132752","1331132710","1331132728","1331132763"],"photo_ids_order":["1331132710","1331132728","1331132738","1331132752","1331132763","1331132777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b96552c0ac0fb6de0acb1488110e88a7.jpg","text":"TemporaryFile(/tmp/multipartBody6611195733355108874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751448982,"filename":"image_24012025_19_15_02_603072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f9c7aea3880f4fbbeb1826aa9621e092.jpg","text":"TemporaryFile(/tmp/multipartBody8091175553766369684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751448982,"filename":"image_24012025_19_15_02_603072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3c535ab98cc0de6e3fc1c08a40c56f37.jpg","text":"TemporaryFile(/tmp/multipartBody1482351621178746063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751448982,"filename":"image_24012025_19_15_02_603072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c78d6d15a1e780e1ad1acdf4100b60b8.jpg","text":"TemporaryFile(/tmp/multipartBody3436437424589802738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751448982,"filename":"image_24012025_19_14_02_482698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/93a9d4569c1236dabcae1ca9b3178d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5042172373570995882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751448982,"filename":"image_24012025_19_14_02_482698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b4f620f35de54b835d1af2ebfb8013ab.jpg","text":"TemporaryFile(/tmp/multipartBody3241533973791227678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751448982,"filename":"image_24012025_19_15_02_603072_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331132738","file1":"1331132728","file0":"1331132710","file4":"1331132763","file5":"1331132777","file3":"1331132752"},"map_files_photo_id_array":[{"photo_id":"1331132777","filename":"file5"},{"photo_id":"1331132738","filename":"file2"},{"photo_id":"1331132763","filename":"file4"},{"photo_id":"1331132728","filename":"file1"},{"photo_id":"1331132710","filename":"file0"},{"photo_id":"1331132752","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331132777":["hashtag1","hashtag2"]},{"1331132738":["hashtag1","hashtag2"]},{"1331132752":["hashtag1","hashtag2"]},{"1331132710":["hashtag1","hashtag2"]},{"1331132728":["hashtag1","hashtag2"]},{"1331132763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331132777, 1331132738, 1331132752, 1331132710, 1331132728, 1331132763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.12879014015198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:44:21.850920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0000.jpg', '/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0001.jpg', '/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0002.jpg', '/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0003.jpg', '/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0000.jpg', '/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0000.jpg
/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0001.jpg
/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0002.jpg
/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0003.jpg
/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0000.jpg
/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0001.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 46.033485651016235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:45:22.034458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0000.jpg', '/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0001.jpg', '/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0002.jpg', '/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0003.jpg', '/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0000.jpg', '/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0000.jpg
/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0001.jpg
/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0002.jpg
/home/pi/Desktop/images/24012025/19/16/image_24012025_19_16_02_806148_0003.jpg
/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0000.jpg
/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331132919","1331132912","1331132998","1331132895","1331132928","1331132922"],"photo_ids_order":["1331132895","1331132912","1331132919","1331132922","1331132928","1331132998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c353e266dd174a1d81278aa1b1d6ce2e.jpg","text":"TemporaryFile(/tmp/multipartBody3995284271514226247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751614742,"filename":"image_24012025_19_16_02_806148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/45e3c12150b7886673bef089a37c4931.jpg","text":"TemporaryFile(/tmp/multipartBody7646992670720237760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751614742,"filename":"image_24012025_19_16_02_806148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a76ed662a30357b3ad390b278ad7804c.jpg","text":"TemporaryFile(/tmp/multipartBody6688143260867806212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751614742,"filename":"image_24012025_19_17_03_077259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dbad6baf99ff0d67d70e71629de1cf60.jpg","text":"TemporaryFile(/tmp/multipartBody6573927971779660268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751614742,"filename":"image_24012025_19_16_02_806148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5005ef711345735f275325039272c6ce.jpg","text":"TemporaryFile(/tmp/multipartBody3797149776473117334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751614742,"filename":"image_24012025_19_17_03_077259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9e14867a8e1683fa28e826c7d3ab0471.jpg","text":"TemporaryFile(/tmp/multipartBody9134847051950677550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751614742,"filename":"image_24012025_19_16_02_806148_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331132919","file1":"1331132912","file0":"1331132895","file4":"1331132928","file5":"1331132998","file3":"1331132922"},"map_files_photo_id_array":[{"photo_id":"1331132998","filename":"file5"},{"photo_id":"1331132919","filename":"file2"},{"photo_id":"1331132928","filename":"file4"},{"photo_id":"1331132912","filename":"file1"},{"photo_id":"1331132895","filename":"file0"},{"photo_id":"1331132922","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331132919":["hashtag1","hashtag2"]},{"1331132912":["hashtag1","hashtag2"]},{"1331132998":["hashtag1","hashtag2"]},{"1331132895":["hashtag1","hashtag2"]},{"1331132928":["hashtag1","hashtag2"]},{"1331132922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331132919, 1331132912, 1331132998, 1331132895, 1331132928, 1331132922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.68775033950806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 21:47:02.878975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0002.jpg', '/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0003.jpg', '/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0000.jpg', '/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0001.jpg', '/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0002.jpg', '/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0002.jpg
/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0003.jpg
/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0000.jpg
/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0001.jpg
/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0002.jpg
/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0003.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 49.563390016555786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 21:48:02.821049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0002.jpg', '/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0003.jpg', '/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0000.jpg', '/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0001.jpg', '/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0002.jpg', '/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0002.jpg
/home/pi/Desktop/images/24012025/19/17/image_24012025_19_17_03_077259_0003.jpg
/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0000.jpg
/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0001.jpg
/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0002.jpg
/home/pi/Desktop/images/24012025/19/18/image_24012025_19_18_02_307448_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331133566","1331133701","1331133419","1331133568","1331133661","1331133563"],"photo_ids_order":["1331133419","1331133563","1331133566","1331133568","1331133661","1331133701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d6d4bda69efe715df4bcc14785b52fc4.jpg","text":"TemporaryFile(/tmp/multipartBody3855164847116235025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751780923,"filename":"image_24012025_19_18_02_307448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/65f2626b3ee2ad708368cb9b207f5246.jpg","text":"TemporaryFile(/tmp/multipartBody876126132812501883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751780923,"filename":"image_24012025_19_18_02_307448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/38b568246309c5083d9d6b28db83dacd.jpg","text":"TemporaryFile(/tmp/multipartBody3367499160113602564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751780923,"filename":"image_24012025_19_17_03_077259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6a0a2176c923bdce0583ad7be70cb8b4.jpg","text":"TemporaryFile(/tmp/multipartBody824447018157133962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751780923,"filename":"image_24012025_19_18_02_307448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c3a17c42688bb699631f4fc81c3b3e9f.jpg","text":"TemporaryFile(/tmp/multipartBody6992227356329746084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751780923,"filename":"image_24012025_19_18_02_307448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/844f08063881ca90ae273bdf847a9ef1.jpg","text":"TemporaryFile(/tmp/multipartBody4345517710662854812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751780923,"filename":"image_24012025_19_17_03_077259_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331133566","file1":"1331133563","file0":"1331133419","file4":"1331133661","file5":"1331133701","file3":"1331133568"},"map_files_photo_id_array":[{"photo_id":"1331133701","filename":"file5"},{"photo_id":"1331133566","filename":"file2"},{"photo_id":"1331133661","filename":"file4"},{"photo_id":"1331133563","filename":"file1"},{"photo_id":"1331133419","filename":"file0"},{"photo_id":"1331133568","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331133566":["hashtag1","hashtag2"]},{"1331133701":["hashtag1","hashtag2"]},{"1331133419":["hashtag1","hashtag2"]},{"1331133568":["hashtag1","hashtag2"]},{"1331133661":["hashtag1","hashtag2"]},{"1331133563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331133566, 1331133701, 1331133419, 1331133568, 1331133661, 1331133563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.41822576522827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 21:49:42.684149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/19/image_24012025_19_19_02_489264_0000.jpg', '/home/pi/Desktop/images/24012025/19/19/image_24012025_19_19_02_489264_0001.jpg', '/home/pi/Desktop/images/24012025/19/19/image_24012025_19_19_02_489264_0002.jpg', '/home/pi/Desktop/images/24012025/19/19/image_24012025_19_19_02_489264_0003.jpg', '/home/pi/Desktop/images/24012025/19/20/image_24012025_19_20_02_684523_0000.jpg', '/home/pi/Desktop/images/24012025/19/20/image_24012025_19_20_02_684523_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/19/image_24012025_19_19_02_489264_0000.jpg
/home/pi/Desktop/images/24012025/19/19/image_24012025_19_19_02_489264_0001.jpg
/home/pi/Desktop/images/24012025/19/19/image_24012025_19_19_02_489264_0002.jpg
/home/pi/Desktop/images/24012025/19/19/image_24012025_19_19_02_489264_0003.jpg
/home/pi/Desktop/images/24012025/19/20/image_24012025_19_20_02_684523_0000.jpg
/home/pi/Desktop/images/24012025/19/20/image_24012025_19_20_02_684523_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331133935","1331133911","1331133914","1331133852","1331133918","1331133947"],"photo_ids_order":["1331133852","1331133911","1331133914","1331133918","1331133935","1331133947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fb1939a040b7a0326a777ee96258a319.jpg","text":"TemporaryFile(/tmp/multipartBody8515679506024868359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751864297,"filename":"image_24012025_19_20_02_684523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b8cef39d473d5f2c5a9760cffa20516a.jpg","text":"TemporaryFile(/tmp/multipartBody3032789231074634900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751864297,"filename":"image_24012025_19_19_02_489264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/14f600c1d6ce017923de86122e162bb1.jpg","text":"TemporaryFile(/tmp/multipartBody177961068216904558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751864297,"filename":"image_24012025_19_19_02_489264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/385a8936d94b277f706fd84b50b675dd.jpg","text":"TemporaryFile(/tmp/multipartBody3732860895233528900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751864297,"filename":"image_24012025_19_19_02_489264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0c0ac5aeb321fc2aff8e537da90335b5.jpg","text":"TemporaryFile(/tmp/multipartBody4707841078671345776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751864297,"filename":"image_24012025_19_19_02_489264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/571edd202be097faf8ac054d8a590269.jpg","text":"TemporaryFile(/tmp/multipartBody3526475967666113604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751864297,"filename":"image_24012025_19_20_02_684523_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331133914","file1":"1331133911","file0":"1331133852","file4":"1331133935","file5":"1331133947","file3":"1331133918"},"map_files_photo_id_array":[{"photo_id":"1331133947","filename":"file5"},{"photo_id":"1331133914","filename":"file2"},{"photo_id":"1331133935","filename":"file4"},{"photo_id":"1331133911","filename":"file1"},{"photo_id":"1331133852","filename":"file0"},{"photo_id":"1331133918","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331133935":["hashtag1","hashtag2"]},{"1331133911":["hashtag1","hashtag2"]},{"1331133914":["hashtag1","hashtag2"]},{"1331133852":["hashtag1","hashtag2"]},{"1331133918":["hashtag1","hashtag2"]},{"1331133947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331133935, 1331133911, 1331133914, 1331133852, 1331133918, 1331133947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.67033123970032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 21:51:02.752883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/20/image_24012025_19_20_02_684523_0002.jpg', '/home/pi/Desktop/images/24012025/19/20/image_24012025_19_20_02_684523_0003.jpg', '/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0000.jpg', '/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0001.jpg', '/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0002.jpg', '/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/20/image_24012025_19_20_02_684523_0002.jpg
/home/pi/Desktop/images/24012025/19/20/image_24012025_19_20_02_684523_0003.jpg
/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0000.jpg
/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0001.jpg
/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0002.jpg
/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 19.88808798789978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 21:51:32.070232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/20/image_24012025_19_20_02_684523_0002.jpg', '/home/pi/Desktop/images/24012025/19/20/image_24012025_19_20_02_684523_0003.jpg', '/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0000.jpg', '/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0001.jpg', '/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0002.jpg', '/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/20/image_24012025_19_20_02_684523_0002.jpg
/home/pi/Desktop/images/24012025/19/20/image_24012025_19_20_02_684523_0003.jpg
/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0000.jpg
/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0001.jpg
/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0002.jpg
/home/pi/Desktop/images/24012025/19/21/image_24012025_19_21_02_729368_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331134025","1331134001","1331134102","1331134086","1331134046","1331133989"],"photo_ids_order":["1331133989","1331134001","1331134025","1331134046","1331134086","1331134102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da8efe3b4894b19705f7f67d94f99ee9.jpg","text":"TemporaryFile(/tmp/multipartBody5129091383584518480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751976930,"filename":"image_24012025_19_21_02_729368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9a411d82ce622a37fc470a10a0ed6bdc.jpg","text":"TemporaryFile(/tmp/multipartBody6512918477236344253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751976930,"filename":"image_24012025_19_20_02_684523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b632fc97d1c8374b66fe17c8f970d3b3.jpg","text":"TemporaryFile(/tmp/multipartBody2596288436087459068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751976930,"filename":"image_24012025_19_21_02_729368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/be4bfebc47828794d55980ef357e55c8.jpg","text":"TemporaryFile(/tmp/multipartBody6951033289926518917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751976930,"filename":"image_24012025_19_21_02_729368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a4823ba167b918931331b1c484906d77.jpg","text":"TemporaryFile(/tmp/multipartBody8959084102586895119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751976930,"filename":"image_24012025_19_21_02_729368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d6c358ce4457b44bf14c6c89834c90c4.jpg","text":"TemporaryFile(/tmp/multipartBody2395770966446848976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737751976930,"filename":"image_24012025_19_20_02_684523_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331134025","file1":"1331134001","file0":"1331133989","file4":"1331134086","file5":"1331134102","file3":"1331134046"},"map_files_photo_id_array":[{"photo_id":"1331134102","filename":"file5"},{"photo_id":"1331134025","filename":"file2"},{"photo_id":"1331134086","filename":"file4"},{"photo_id":"1331134001","filename":"file1"},{"photo_id":"1331133989","filename":"file0"},{"photo_id":"1331134046","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331134025":["hashtag1","hashtag2"]},{"1331134001":["hashtag1","hashtag2"]},{"1331134102":["hashtag1","hashtag2"]},{"1331134086":["hashtag1","hashtag2"]},{"1331134046":["hashtag1","hashtag2"]},{"1331133989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331134025, 1331134001, 1331134102, 1331134086, 1331134046, 1331133989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.82841110229492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 21:52:52.242978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0000.jpg', '/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0001.jpg', '/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0002.jpg', '/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0003.jpg', '/home/pi/Desktop/images/24012025/19/23/image_24012025_19_23_03_099935_0000.jpg', '/home/pi/Desktop/images/24012025/19/23/image_24012025_19_23_03_099935_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0000.jpg
/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0001.jpg
/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0002.jpg
/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0003.jpg
/home/pi/Desktop/images/24012025/19/23/image_24012025_19_23_03_099935_0000.jpg
/home/pi/Desktop/images/24012025/19/23/image_24012025_19_23_03_099935_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 41.39616060256958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 21:53:42.444619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0000.jpg', '/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0001.jpg', '/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0002.jpg', '/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0003.jpg', '/home/pi/Desktop/images/24012025/19/23/image_24012025_19_23_03_099935_0000.jpg', '/home/pi/Desktop/images/24012025/19/23/image_24012025_19_23_03_099935_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0000.jpg
/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0001.jpg
/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0002.jpg
/home/pi/Desktop/images/24012025/19/22/image_24012025_19_22_02_962775_0003.jpg
/home/pi/Desktop/images/24012025/19/23/image_24012025_19_23_03_099935_0000.jpg
/home/pi/Desktop/images/24012025/19/23/image_24012025_19_23_03_099935_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331134249","1331134260","1331134263","1331134245","1331134253","1331134241"],"photo_ids_order":["1331134241","1331134245","1331134249","1331134253","1331134260","1331134263"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a0f248e3178b2ad9e88427aa9cac1451.jpg","text":"TemporaryFile(/tmp/multipartBody7427506933840845864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752125892,"filename":"image_24012025_19_22_02_962775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1f5848a876f5214c729ff364afe2adf.jpg","text":"TemporaryFile(/tmp/multipartBody6552665576170501627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752125892,"filename":"image_24012025_19_23_03_099935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e7e0a6d42a365a6a5bccadb49c80082c.jpg","text":"TemporaryFile(/tmp/multipartBody1287626146991488483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752125892,"filename":"image_24012025_19_23_03_099935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dce49f8eec577ed74681ab604b1c8f45.jpg","text":"TemporaryFile(/tmp/multipartBody1303050860499910379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752125892,"filename":"image_24012025_19_22_02_962775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98ad8a8c1c8647a831c2b70f4a1b5d90.jpg","text":"TemporaryFile(/tmp/multipartBody286779751460113521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752125892,"filename":"image_24012025_19_22_02_962775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/81d600cd6d1b2c6cf84c1bf421898208.jpg","text":"TemporaryFile(/tmp/multipartBody556825819429305487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752125892,"filename":"image_24012025_19_22_02_962775_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331134249","file1":"1331134245","file0":"1331134241","file4":"1331134260","file5":"1331134263","file3":"1331134253"},"map_files_photo_id_array":[{"photo_id":"1331134263","filename":"file5"},{"photo_id":"1331134249","filename":"file2"},{"photo_id":"1331134260","filename":"file4"},{"photo_id":"1331134245","filename":"file1"},{"photo_id":"1331134241","filename":"file0"},{"photo_id":"1331134253","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331134249":["hashtag1","hashtag2"]},{"1331134260":["hashtag1","hashtag2"]},{"1331134263":["hashtag1","hashtag2"]},{"1331134245":["hashtag1","hashtag2"]},{"1331134253":["hashtag1","hashtag2"]},{"1331134241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331134249, 1331134260, 1331134263, 1331134245, 1331134253, 1331134241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.43045616149902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 21:55:21.823633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/23/image_24012025_19_23_03_099935_0002.jpg', '/home/pi/Desktop/images/24012025/19/23/image_24012025_19_23_03_099935_0003.jpg', '/home/pi/Desktop/images/24012025/19/24/image_24012025_19_24_02_368121_0000.jpg', '/home/pi/Desktop/images/24012025/19/24/image_24012025_19_24_02_368121_0001.jpg', '/home/pi/Desktop/images/24012025/19/24/image_24012025_19_24_02_368121_0002.jpg', '/home/pi/Desktop/images/24012025/19/24/image_24012025_19_24_02_368121_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/23/image_24012025_19_23_03_099935_0002.jpg
/home/pi/Desktop/images/24012025/19/23/image_24012025_19_23_03_099935_0003.jpg
/home/pi/Desktop/images/24012025/19/24/image_24012025_19_24_02_368121_0000.jpg
/home/pi/Desktop/images/24012025/19/24/image_24012025_19_24_02_368121_0001.jpg
/home/pi/Desktop/images/24012025/19/24/image_24012025_19_24_02_368121_0002.jpg
/home/pi/Desktop/images/24012025/19/24/image_24012025_19_24_02_368121_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331134321","1331134290","1331134284","1331134305","1331134280","1331134298"],"photo_ids_order":["1331134280","1331134284","1331134290","1331134298","1331134305","1331134321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9c3f744aa856723fc723b82948c127cb.jpg","text":"TemporaryFile(/tmp/multipartBody735973921444242783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752210024,"filename":"image_24012025_19_24_02_368121_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8d68ac072b5f0c3a75334589f5be9cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1586685560649167221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752210024,"filename":"image_24012025_19_24_02_368121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/90f80b892fcf739ce592a82bef60e3a3.jpg","text":"TemporaryFile(/tmp/multipartBody4580845079043593812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752210024,"filename":"image_24012025_19_23_03_099935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f3005ac331fcbd72b419842cbd3bc9ad.jpg","text":"TemporaryFile(/tmp/multipartBody3870139720933208709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752210024,"filename":"image_24012025_19_24_02_368121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48cc7653fee4b0d118cbbc00c32d880e.jpg","text":"TemporaryFile(/tmp/multipartBody9006623269794481109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752210024,"filename":"image_24012025_19_23_03_099935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd8cc5e57fa8274074a849636c6cd3c8.jpg","text":"TemporaryFile(/tmp/multipartBody7312815095273727808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752210024,"filename":"image_24012025_19_24_02_368121_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331134290","file1":"1331134284","file0":"1331134280","file4":"1331134305","file5":"1331134321","file3":"1331134298"},"map_files_photo_id_array":[{"photo_id":"1331134321","filename":"file5"},{"photo_id":"1331134290","filename":"file2"},{"photo_id":"1331134305","filename":"file4"},{"photo_id":"1331134284","filename":"file1"},{"photo_id":"1331134280","filename":"file0"},{"photo_id":"1331134298","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331134321":["hashtag1","hashtag2"]},{"1331134290":["hashtag1","hashtag2"]},{"1331134284":["hashtag1","hashtag2"]},{"1331134305":["hashtag1","hashtag2"]},{"1331134280":["hashtag1","hashtag2"]},{"1331134298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331134321, 1331134290, 1331134284, 1331134305, 1331134280, 1331134298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.33528804779053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 21:56:41.971195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0000.jpg', '/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0001.jpg', '/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0002.jpg', '/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0003.jpg', '/home/pi/Desktop/images/24012025/19/26/image_24012025_19_26_02_755710_0000.jpg', '/home/pi/Desktop/images/24012025/19/26/image_24012025_19_26_02_755710_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0000.jpg
/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0001.jpg
/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0002.jpg
/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0003.jpg
/home/pi/Desktop/images/24012025/19/26/image_24012025_19_26_02_755710_0000.jpg
/home/pi/Desktop/images/24012025/19/26/image_24012025_19_26_02_755710_0001.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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 21:59:03.087020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0000.jpg', '/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0001.jpg', '/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0002.jpg', '/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0003.jpg', '/home/pi/Desktop/images/24012025/19/26/image_24012025_19_26_02_755710_0000.jpg', '/home/pi/Desktop/images/24012025/19/26/image_24012025_19_26_02_755710_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0000.jpg
/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0001.jpg
/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0002.jpg
/home/pi/Desktop/images/24012025/19/25/image_24012025_19_25_02_468678_0003.jpg
/home/pi/Desktop/images/24012025/19/26/image_24012025_19_26_02_755710_0000.jpg
/home/pi/Desktop/images/24012025/19/26/image_24012025_19_26_02_755710_0001.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":["1331135079","1331135094","1331135076","1331135090","1331135084","1331135087"],"photo_ids_order":["1331135076","1331135079","1331135084","1331135087","1331135090","1331135094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bfdd90dcbf1ee49b03e9116cd88edbcb.jpg","text":"TemporaryFile(/tmp/multipartBody2578914328139670628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752425580,"filename":"image_24012025_19_25_02_468678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/94d3aff45c327a142a6c4636873b30e6.jpg","text":"TemporaryFile(/tmp/multipartBody6454605181412428979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752425580,"filename":"image_24012025_19_26_02_755710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdc171c08173b0afa1737eb1138ae28e.jpg","text":"TemporaryFile(/tmp/multipartBody8838516564639015231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752425580,"filename":"image_24012025_19_25_02_468678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7bd23fcbb746a9760b4f5791686666a0.jpg","text":"TemporaryFile(/tmp/multipartBody2244353277030803014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752425580,"filename":"image_24012025_19_26_02_755710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7fd9f8f12af86814b9042a66f26c0ab6.jpg","text":"TemporaryFile(/tmp/multipartBody8023936671324625559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752425580,"filename":"image_24012025_19_25_02_468678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8e877183755d352455ebd5ee32c220cc.jpg","text":"TemporaryFile(/tmp/multipartBody5736233226224894972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752425580,"filename":"image_24012025_19_25_02_468678_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331135084","file1":"1331135079","file0":"1331135076","file4":"1331135090","file5":"1331135094","file3":"1331135087"},"map_files_photo_id_array":[{"photo_id":"1331135094","filename":"file5"},{"photo_id":"1331135084","filename":"file2"},{"photo_id":"1331135090","filename":"file4"},{"photo_id":"1331135079","filename":"file1"},{"photo_id":"1331135076","filename":"file0"},{"photo_id":"1331135087","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331135079":["hashtag1","hashtag2"]},{"1331135094":["hashtag1","hashtag2"]},{"1331135076":["hashtag1","hashtag2"]},{"1331135090":["hashtag1","hashtag2"]},{"1331135084":["hashtag1","hashtag2"]},{"1331135087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331135079, 1331135094, 1331135076, 1331135090, 1331135084, 1331135087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.0726203918457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:00:22.694788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/26/image_24012025_19_26_02_755710_0002.jpg', '/home/pi/Desktop/images/24012025/19/26/image_24012025_19_26_02_755710_0003.jpg', '/home/pi/Desktop/images/24012025/19/27/image_24012025_19_27_02_832577_0000.jpg', '/home/pi/Desktop/images/24012025/19/27/image_24012025_19_27_02_832577_0001.jpg', '/home/pi/Desktop/images/24012025/19/27/image_24012025_19_27_02_832577_0002.jpg', '/home/pi/Desktop/images/24012025/19/27/image_24012025_19_27_02_832577_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/26/image_24012025_19_26_02_755710_0002.jpg
/home/pi/Desktop/images/24012025/19/26/image_24012025_19_26_02_755710_0003.jpg
/home/pi/Desktop/images/24012025/19/27/image_24012025_19_27_02_832577_0000.jpg
/home/pi/Desktop/images/24012025/19/27/image_24012025_19_27_02_832577_0001.jpg
/home/pi/Desktop/images/24012025/19/27/image_24012025_19_27_02_832577_0002.jpg
/home/pi/Desktop/images/24012025/19/27/image_24012025_19_27_02_832577_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331135149","1331135245","1331135226","1331135154","1331135138","1331135132"],"photo_ids_order":["1331135132","1331135138","1331135149","1331135154","1331135226","1331135245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5db2cba4d40d9ab6862e12b462bd5abb.jpg","text":"TemporaryFile(/tmp/multipartBody5100756201032890931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752519670,"filename":"image_24012025_19_27_02_832577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2fe98747ebe1585fd8a1adcfedc6d601.jpg","text":"TemporaryFile(/tmp/multipartBody412836138306123504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752519670,"filename":"image_24012025_19_27_02_832577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b5326a233635e68aea525a68b0610a0.jpg","text":"TemporaryFile(/tmp/multipartBody2042898732233957822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752519670,"filename":"image_24012025_19_27_02_832577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/169591d242dc0723add76cc4cabaa264.jpg","text":"TemporaryFile(/tmp/multipartBody1236814205909545106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752519670,"filename":"image_24012025_19_27_02_832577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e385b832614e8bee5bd52e0da9548fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7120375736515179582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752519670,"filename":"image_24012025_19_26_02_755710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8e9da3634b4823e21c883e1b790bcf08.jpg","text":"TemporaryFile(/tmp/multipartBody6635345049374758283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752519670,"filename":"image_24012025_19_26_02_755710_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331135149","file1":"1331135138","file0":"1331135132","file4":"1331135226","file5":"1331135245","file3":"1331135154"},"map_files_photo_id_array":[{"photo_id":"1331135245","filename":"file5"},{"photo_id":"1331135149","filename":"file2"},{"photo_id":"1331135226","filename":"file4"},{"photo_id":"1331135138","filename":"file1"},{"photo_id":"1331135132","filename":"file0"},{"photo_id":"1331135154","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331135149":["hashtag1","hashtag2"]},{"1331135245":["hashtag1","hashtag2"]},{"1331135226":["hashtag1","hashtag2"]},{"1331135154":["hashtag1","hashtag2"]},{"1331135138":["hashtag1","hashtag2"]},{"1331135132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331135149, 1331135245, 1331135226, 1331135154, 1331135138, 1331135132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.51796269416809 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 22:02:02.434571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/28/image_24012025_19_28_03_050590_0000.jpg', '/home/pi/Desktop/images/24012025/19/28/image_24012025_19_28_03_050590_0001.jpg', '/home/pi/Desktop/images/24012025/19/28/image_24012025_19_28_03_050590_0002.jpg', '/home/pi/Desktop/images/24012025/19/28/image_24012025_19_28_03_050590_0003.jpg', '/home/pi/Desktop/images/24012025/19/29/image_24012025_19_29_02_151575_0000.jpg', '/home/pi/Desktop/images/24012025/19/29/image_24012025_19_29_02_151575_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/28/image_24012025_19_28_03_050590_0000.jpg
/home/pi/Desktop/images/24012025/19/28/image_24012025_19_28_03_050590_0001.jpg
/home/pi/Desktop/images/24012025/19/28/image_24012025_19_28_03_050590_0002.jpg
/home/pi/Desktop/images/24012025/19/28/image_24012025_19_28_03_050590_0003.jpg
/home/pi/Desktop/images/24012025/19/29/image_24012025_19_29_02_151575_0000.jpg
/home/pi/Desktop/images/24012025/19/29/image_24012025_19_29_02_151575_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331135295","1331135298","1331135292","1331135310","1331135304","1331135288"],"photo_ids_order":["1331135288","1331135292","1331135295","1331135298","1331135304","1331135310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cf6999409bd4cd04ddf78995b19f49c6.jpg","text":"TemporaryFile(/tmp/multipartBody4744550795501060848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752615240,"filename":"image_24012025_19_28_03_050590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc9c25a4a9e66d90ee0e0676f1bb0e14.jpg","text":"TemporaryFile(/tmp/multipartBody5106049829053165929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752615240,"filename":"image_24012025_19_28_03_050590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/02246c0c28942805c573c8cb87a32e0c.jpg","text":"TemporaryFile(/tmp/multipartBody8795647670615196208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752615240,"filename":"image_24012025_19_28_03_050590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9cb39572860577a332d9be84d7fcdc67.jpg","text":"TemporaryFile(/tmp/multipartBody4720916324555423749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752615240,"filename":"image_24012025_19_29_02_151575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1d79dde79fd0a858bb0b49ef8cca34f.jpg","text":"TemporaryFile(/tmp/multipartBody9139282444663410401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752615240,"filename":"image_24012025_19_29_02_151575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/26a90a3c9936a37d3eaad57968d15e30.jpg","text":"TemporaryFile(/tmp/multipartBody2175967166920981622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752615240,"filename":"image_24012025_19_28_03_050590_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331135295","file1":"1331135292","file0":"1331135288","file4":"1331135304","file5":"1331135310","file3":"1331135298"},"map_files_photo_id_array":[{"photo_id":"1331135310","filename":"file5"},{"photo_id":"1331135295","filename":"file2"},{"photo_id":"1331135304","filename":"file4"},{"photo_id":"1331135292","filename":"file1"},{"photo_id":"1331135288","filename":"file0"},{"photo_id":"1331135298","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331135295":["hashtag1","hashtag2"]},{"1331135298":["hashtag1","hashtag2"]},{"1331135292":["hashtag1","hashtag2"]},{"1331135310":["hashtag1","hashtag2"]},{"1331135304":["hashtag1","hashtag2"]},{"1331135288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331135295, 1331135298, 1331135292, 1331135310, 1331135304, 1331135288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.83331084251404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:03:32.226274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/29/image_24012025_19_29_02_151575_0002.jpg', '/home/pi/Desktop/images/24012025/19/29/image_24012025_19_29_02_151575_0003.jpg', '/home/pi/Desktop/images/24012025/19/30/image_24012025_19_30_02_376461_0000.jpg', '/home/pi/Desktop/images/24012025/19/30/image_24012025_19_30_02_376461_0001.jpg', '/home/pi/Desktop/images/24012025/19/30/image_24012025_19_30_02_376461_0002.jpg', '/home/pi/Desktop/images/24012025/19/30/image_24012025_19_30_02_376461_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/29/image_24012025_19_29_02_151575_0002.jpg
/home/pi/Desktop/images/24012025/19/29/image_24012025_19_29_02_151575_0003.jpg
/home/pi/Desktop/images/24012025/19/30/image_24012025_19_30_02_376461_0000.jpg
/home/pi/Desktop/images/24012025/19/30/image_24012025_19_30_02_376461_0001.jpg
/home/pi/Desktop/images/24012025/19/30/image_24012025_19_30_02_376461_0002.jpg
/home/pi/Desktop/images/24012025/19/30/image_24012025_19_30_02_376461_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331135607","1331135597","1331135537","1331135593","1331135587","1331135590"],"photo_ids_order":["1331135537","1331135587","1331135590","1331135593","1331135597","1331135607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fe8ccb7620c5809e8d384e511a16539a.jpg","text":"TemporaryFile(/tmp/multipartBody3865687405024647384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752716253,"filename":"image_24012025_19_30_02_376461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ae836eee36196a345c460227000a6d2f.jpg","text":"TemporaryFile(/tmp/multipartBody3777174032919446359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752716253,"filename":"image_24012025_19_30_02_376461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0bc0fcfbbb8b60efc280c6acc86f6607.jpg","text":"TemporaryFile(/tmp/multipartBody1510718179403637088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752716253,"filename":"image_24012025_19_29_02_151575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/adb394e2993897d69aa6a42110bed543.jpg","text":"TemporaryFile(/tmp/multipartBody4553361753698366773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752716253,"filename":"image_24012025_19_30_02_376461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cb61c00c3eb0197b5387af796de2f413.jpg","text":"TemporaryFile(/tmp/multipartBody1076733257219214682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752716253,"filename":"image_24012025_19_29_02_151575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/426bc85780c1a40211e94f33e121c706.jpg","text":"TemporaryFile(/tmp/multipartBody5327531266667758115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752716253,"filename":"image_24012025_19_30_02_376461_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331135590","file1":"1331135587","file0":"1331135537","file4":"1331135597","file5":"1331135607","file3":"1331135593"},"map_files_photo_id_array":[{"photo_id":"1331135607","filename":"file5"},{"photo_id":"1331135590","filename":"file2"},{"photo_id":"1331135597","filename":"file4"},{"photo_id":"1331135587","filename":"file1"},{"photo_id":"1331135537","filename":"file0"},{"photo_id":"1331135593","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331135607":["hashtag1","hashtag2"]},{"1331135597":["hashtag1","hashtag2"]},{"1331135537":["hashtag1","hashtag2"]},{"1331135593":["hashtag1","hashtag2"]},{"1331135587":["hashtag1","hashtag2"]},{"1331135590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331135607, 1331135597, 1331135537, 1331135593, 1331135587, 1331135590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.4459011554718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:05:22.674708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/31/image_24012025_19_31_02_567417_0000.jpg', '/home/pi/Desktop/images/24012025/19/31/image_24012025_19_31_02_567417_0001.jpg', '/home/pi/Desktop/images/24012025/19/31/image_24012025_19_31_02_567417_0002.jpg', '/home/pi/Desktop/images/24012025/19/31/image_24012025_19_31_02_567417_0003.jpg', '/home/pi/Desktop/images/24012025/19/32/image_24012025_19_32_02_805449_0000.jpg', '/home/pi/Desktop/images/24012025/19/32/image_24012025_19_32_02_805449_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/31/image_24012025_19_31_02_567417_0000.jpg
/home/pi/Desktop/images/24012025/19/31/image_24012025_19_31_02_567417_0001.jpg
/home/pi/Desktop/images/24012025/19/31/image_24012025_19_31_02_567417_0002.jpg
/home/pi/Desktop/images/24012025/19/31/image_24012025_19_31_02_567417_0003.jpg
/home/pi/Desktop/images/24012025/19/32/image_24012025_19_32_02_805449_0000.jpg
/home/pi/Desktop/images/24012025/19/32/image_24012025_19_32_02_805449_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331135644","1331135865","1331135673","1331135858","1331135753","1331135872"],"photo_ids_order":["1331135644","1331135673","1331135753","1331135858","1331135865","1331135872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff52e402d38eea6b0bf91f7c22c4c2aa.jpg","text":"TemporaryFile(/tmp/multipartBody8793834056264361859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752800407,"filename":"image_24012025_19_31_02_567417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/30557a7fef833f07292ce4d0b8c3c107.jpg","text":"TemporaryFile(/tmp/multipartBody3648407829122799028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752800407,"filename":"image_24012025_19_32_02_805449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47f50bbdd04a5a3047a4f3aee281a121.jpg","text":"TemporaryFile(/tmp/multipartBody6295572945196865837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752800407,"filename":"image_24012025_19_31_02_567417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9bbad9eff6884a6d65be0c5a2ce9ce64.jpg","text":"TemporaryFile(/tmp/multipartBody7376547679276048507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752800407,"filename":"image_24012025_19_31_02_567417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/011cb0485f11ecb85c23d3b7bc547924.jpg","text":"TemporaryFile(/tmp/multipartBody541110369101989652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752800407,"filename":"image_24012025_19_31_02_567417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/70daf0801b476fc83f4d529ed9553f84.jpg","text":"TemporaryFile(/tmp/multipartBody2569884018236921934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752800407,"filename":"image_24012025_19_32_02_805449_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331135753","file1":"1331135673","file0":"1331135644","file4":"1331135865","file5":"1331135872","file3":"1331135858"},"map_files_photo_id_array":[{"photo_id":"1331135872","filename":"file5"},{"photo_id":"1331135753","filename":"file2"},{"photo_id":"1331135865","filename":"file4"},{"photo_id":"1331135673","filename":"file1"},{"photo_id":"1331135644","filename":"file0"},{"photo_id":"1331135858","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331135644":["hashtag1","hashtag2"]},{"1331135865":["hashtag1","hashtag2"]},{"1331135673":["hashtag1","hashtag2"]},{"1331135858":["hashtag1","hashtag2"]},{"1331135753":["hashtag1","hashtag2"]},{"1331135872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331135644, 1331135865, 1331135673, 1331135858, 1331135753, 1331135872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.20250391960144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:06:51.730340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/32/image_24012025_19_32_02_805449_0002.jpg', '/home/pi/Desktop/images/24012025/19/32/image_24012025_19_32_02_805449_0003.jpg', '/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0000.jpg', '/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0001.jpg', '/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0002.jpg', '/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/32/image_24012025_19_32_02_805449_0002.jpg
/home/pi/Desktop/images/24012025/19/32/image_24012025_19_32_02_805449_0003.jpg
/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0000.jpg
/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0001.jpg
/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0002.jpg
/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 42.036078691482544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 22:07:41.946681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/32/image_24012025_19_32_02_805449_0002.jpg', '/home/pi/Desktop/images/24012025/19/32/image_24012025_19_32_02_805449_0003.jpg', '/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0000.jpg', '/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0001.jpg', '/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0002.jpg', '/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/32/image_24012025_19_32_02_805449_0002.jpg
/home/pi/Desktop/images/24012025/19/32/image_24012025_19_32_02_805449_0003.jpg
/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0000.jpg
/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0001.jpg
/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0002.jpg
/home/pi/Desktop/images/24012025/19/33/image_24012025_19_33_02_864236_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331135977","1331135959","1331135964","1331135975","1331135969","1331135974"],"photo_ids_order":["1331135959","1331135964","1331135969","1331135974","1331135975","1331135977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5138117a9bcd72ecbee3a11290322e27.jpg","text":"TemporaryFile(/tmp/multipartBody4897875552510048599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752941221,"filename":"image_24012025_19_33_02_864236_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a9c01ad974bb07c1d1201404adb3bbb1.jpg","text":"TemporaryFile(/tmp/multipartBody6939167414865343478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752941221,"filename":"image_24012025_19_32_02_805449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5bbe943784c46f272ee1093aa1b0b8b.jpg","text":"TemporaryFile(/tmp/multipartBody2746879386663799802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752941221,"filename":"image_24012025_19_32_02_805449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/17932f797d2562f2cb6348ecb10819c8.jpg","text":"TemporaryFile(/tmp/multipartBody8476415845212202868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752941221,"filename":"image_24012025_19_33_02_864236_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c2ed92c9011f8a26a40d93066fcad8a0.jpg","text":"TemporaryFile(/tmp/multipartBody6227206678027110984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752941221,"filename":"image_24012025_19_33_02_864236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f236bacec7b5dce4cfb2c2f2bab2c9a1.jpg","text":"TemporaryFile(/tmp/multipartBody1433749768535609049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737752941221,"filename":"image_24012025_19_33_02_864236_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331135969","file1":"1331135964","file0":"1331135959","file4":"1331135975","file5":"1331135977","file3":"1331135974"},"map_files_photo_id_array":[{"photo_id":"1331135977","filename":"file5"},{"photo_id":"1331135969","filename":"file2"},{"photo_id":"1331135975","filename":"file4"},{"photo_id":"1331135964","filename":"file1"},{"photo_id":"1331135959","filename":"file0"},{"photo_id":"1331135974","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331135977":["hashtag1","hashtag2"]},{"1331135959":["hashtag1","hashtag2"]},{"1331135964":["hashtag1","hashtag2"]},{"1331135975":["hashtag1","hashtag2"]},{"1331135969":["hashtag1","hashtag2"]},{"1331135974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331135977, 1331135959, 1331135964, 1331135975, 1331135969, 1331135974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.95021033287048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 22:09:02.819602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/34/image_24012025_19_34_03_029866_0000.jpg', '/home/pi/Desktop/images/24012025/19/34/image_24012025_19_34_03_029866_0001.jpg', '/home/pi/Desktop/images/24012025/19/34/image_24012025_19_34_03_029866_0002.jpg', '/home/pi/Desktop/images/24012025/19/34/image_24012025_19_34_03_029866_0003.jpg', '/home/pi/Desktop/images/24012025/19/35/image_24012025_19_35_02_218717_0000.jpg', '/home/pi/Desktop/images/24012025/19/35/image_24012025_19_35_02_218717_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/34/image_24012025_19_34_03_029866_0000.jpg
/home/pi/Desktop/images/24012025/19/34/image_24012025_19_34_03_029866_0001.jpg
/home/pi/Desktop/images/24012025/19/34/image_24012025_19_34_03_029866_0002.jpg
/home/pi/Desktop/images/24012025/19/34/image_24012025_19_34_03_029866_0003.jpg
/home/pi/Desktop/images/24012025/19/35/image_24012025_19_35_02_218717_0000.jpg
/home/pi/Desktop/images/24012025/19/35/image_24012025_19_35_02_218717_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331136564","1331136396","1331136342","1331136834","1331136278","1331136869"],"photo_ids_order":["1331136278","1331136342","1331136396","1331136564","1331136834","1331136869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/55f5d0988dee1642fab317a7525e531b.jpg","text":"TemporaryFile(/tmp/multipartBody3741632688139199830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753038252,"filename":"image_24012025_19_34_03_029866_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47a482c80b3b938bee9461b7a079c8f0.jpg","text":"TemporaryFile(/tmp/multipartBody9219806004299750563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753038252,"filename":"image_24012025_19_34_03_029866_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ebeacf6a9e3958faef53df111c90b287.jpg","text":"TemporaryFile(/tmp/multipartBody6107976300916159215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753038252,"filename":"image_24012025_19_34_03_029866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ebba6106ce6108cbfe96ff99a05a6c1.jpg","text":"TemporaryFile(/tmp/multipartBody5959295719924756195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753038252,"filename":"image_24012025_19_35_02_218717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/07a109063d8c05f0e464d7c3efa783a1.jpg","text":"TemporaryFile(/tmp/multipartBody4515420533153384564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753038252,"filename":"image_24012025_19_34_03_029866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c02bbe1db4e9eae8e9b393e5768de1f1.jpg","text":"TemporaryFile(/tmp/multipartBody396828503326613032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753038252,"filename":"image_24012025_19_35_02_218717_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331136396","file1":"1331136342","file0":"1331136278","file4":"1331136834","file5":"1331136869","file3":"1331136564"},"map_files_photo_id_array":[{"photo_id":"1331136869","filename":"file5"},{"photo_id":"1331136396","filename":"file2"},{"photo_id":"1331136834","filename":"file4"},{"photo_id":"1331136342","filename":"file1"},{"photo_id":"1331136278","filename":"file0"},{"photo_id":"1331136564","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331136564":["hashtag1","hashtag2"]},{"1331136396":["hashtag1","hashtag2"]},{"1331136342":["hashtag1","hashtag2"]},{"1331136834":["hashtag1","hashtag2"]},{"1331136278":["hashtag1","hashtag2"]},{"1331136869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331136564, 1331136396, 1331136342, 1331136834, 1331136278, 1331136869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.74902963638306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 22:10:42.341056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/35/image_24012025_19_35_02_218717_0002.jpg', '/home/pi/Desktop/images/24012025/19/35/image_24012025_19_35_02_218717_0003.jpg', '/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0000.jpg', '/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0001.jpg', '/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0002.jpg', '/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/35/image_24012025_19_35_02_218717_0002.jpg
/home/pi/Desktop/images/24012025/19/35/image_24012025_19_35_02_218717_0003.jpg
/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0000.jpg
/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0001.jpg
/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0002.jpg
/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 38.105236291885376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:11:22.611621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/35/image_24012025_19_35_02_218717_0002.jpg', '/home/pi/Desktop/images/24012025/19/35/image_24012025_19_35_02_218717_0003.jpg', '/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0000.jpg', '/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0001.jpg', '/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0002.jpg', '/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/35/image_24012025_19_35_02_218717_0002.jpg
/home/pi/Desktop/images/24012025/19/35/image_24012025_19_35_02_218717_0003.jpg
/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0000.jpg
/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0001.jpg
/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0002.jpg
/home/pi/Desktop/images/24012025/19/36/image_24012025_19_36_02_352501_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331137368","1331136921","1331137061","1331137342","1331137293","1331137287"],"photo_ids_order":["1331136921","1331137061","1331137287","1331137293","1331137342","1331137368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8ed0e039ff891ef66b2f1d06f02d1e9.jpg","text":"TemporaryFile(/tmp/multipartBody7763865741823819941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753169525,"filename":"image_24012025_19_36_02_352501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/377f6c882390ed4607b43e487a6d6eea.jpg","text":"TemporaryFile(/tmp/multipartBody114352451621790166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753169525,"filename":"image_24012025_19_35_02_218717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e57883400ad206c0c403c2fd1cbbb0e7.jpg","text":"TemporaryFile(/tmp/multipartBody2067947614269633880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753169525,"filename":"image_24012025_19_35_02_218717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d13a5312ae6103e7448119235c34117.jpg","text":"TemporaryFile(/tmp/multipartBody7857998074355079616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753169525,"filename":"image_24012025_19_36_02_352501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b280f6c76bca96d6f98a366d4f4c708b.jpg","text":"TemporaryFile(/tmp/multipartBody412067262451322544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753169525,"filename":"image_24012025_19_36_02_352501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f7cf8e04cb86324500b5c2df8e9254e.jpg","text":"TemporaryFile(/tmp/multipartBody3335352410342648497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753169525,"filename":"image_24012025_19_36_02_352501_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331137287","file1":"1331137061","file0":"1331136921","file4":"1331137342","file5":"1331137368","file3":"1331137293"},"map_files_photo_id_array":[{"photo_id":"1331137368","filename":"file5"},{"photo_id":"1331137287","filename":"file2"},{"photo_id":"1331137342","filename":"file4"},{"photo_id":"1331137061","filename":"file1"},{"photo_id":"1331136921","filename":"file0"},{"photo_id":"1331137293","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331137368":["hashtag1","hashtag2"]},{"1331136921":["hashtag1","hashtag2"]},{"1331137061":["hashtag1","hashtag2"]},{"1331137342":["hashtag1","hashtag2"]},{"1331137293":["hashtag1","hashtag2"]},{"1331137287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331137368, 1331136921, 1331137061, 1331137342, 1331137293, 1331137287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.29018378257751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:12:52.727874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/37/image_24012025_19_37_02_668920_0000.jpg', '/home/pi/Desktop/images/24012025/19/37/image_24012025_19_37_02_668920_0001.jpg', '/home/pi/Desktop/images/24012025/19/37/image_24012025_19_37_02_668920_0002.jpg', '/home/pi/Desktop/images/24012025/19/37/image_24012025_19_37_02_668920_0003.jpg', '/home/pi/Desktop/images/24012025/19/38/image_24012025_19_38_02_785733_0000.jpg', '/home/pi/Desktop/images/24012025/19/38/image_24012025_19_38_02_785733_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/37/image_24012025_19_37_02_668920_0000.jpg
/home/pi/Desktop/images/24012025/19/37/image_24012025_19_37_02_668920_0001.jpg
/home/pi/Desktop/images/24012025/19/37/image_24012025_19_37_02_668920_0002.jpg
/home/pi/Desktop/images/24012025/19/37/image_24012025_19_37_02_668920_0003.jpg
/home/pi/Desktop/images/24012025/19/38/image_24012025_19_38_02_785733_0000.jpg
/home/pi/Desktop/images/24012025/19/38/image_24012025_19_38_02_785733_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331137665","1331137709","1331137693","1331137712","1331137717","1331137680"],"photo_ids_order":["1331137665","1331137680","1331137693","1331137709","1331137712","1331137717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/36ee968ab6d7627da6859a4c73d70840.jpg","text":"TemporaryFile(/tmp/multipartBody4457802218903431510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753263843,"filename":"image_24012025_19_37_02_668920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e8a1b749da9c5fcfec405a56882a852a.jpg","text":"TemporaryFile(/tmp/multipartBody1045633230278407146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753263843,"filename":"image_24012025_19_37_02_668920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7879476582ddd77965798545bc9dde50.jpg","text":"TemporaryFile(/tmp/multipartBody903267711328678921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753263843,"filename":"image_24012025_19_37_02_668920_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/256a67d65c3c88ae0968c20585a37784.jpg","text":"TemporaryFile(/tmp/multipartBody2503211709661554967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753263843,"filename":"image_24012025_19_38_02_785733_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a947d673deda0d5cc59a51e4a45d192.jpg","text":"TemporaryFile(/tmp/multipartBody7526479378162840670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753263843,"filename":"image_24012025_19_38_02_785733_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e7f2c6dd767d6fe9f23645e27ba131d8.jpg","text":"TemporaryFile(/tmp/multipartBody2763309899459339618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753263843,"filename":"image_24012025_19_37_02_668920_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331137693","file1":"1331137680","file0":"1331137665","file4":"1331137712","file5":"1331137717","file3":"1331137709"},"map_files_photo_id_array":[{"photo_id":"1331137717","filename":"file5"},{"photo_id":"1331137693","filename":"file2"},{"photo_id":"1331137712","filename":"file4"},{"photo_id":"1331137680","filename":"file1"},{"photo_id":"1331137665","filename":"file0"},{"photo_id":"1331137709","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331137665":["hashtag1","hashtag2"]},{"1331137709":["hashtag1","hashtag2"]},{"1331137693":["hashtag1","hashtag2"]},{"1331137712":["hashtag1","hashtag2"]},{"1331137717":["hashtag1","hashtag2"]},{"1331137680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331137665, 1331137709, 1331137693, 1331137712, 1331137717, 1331137680)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 88.88026237487793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:14:32.107132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/38/image_24012025_19_38_02_785733_0002.jpg', '/home/pi/Desktop/images/24012025/19/38/image_24012025_19_38_02_785733_0003.jpg', '/home/pi/Desktop/images/24012025/19/39/image_24012025_19_39_02_916250_0000.jpg', '/home/pi/Desktop/images/24012025/19/39/image_24012025_19_39_02_916250_0001.jpg', '/home/pi/Desktop/images/24012025/19/39/image_24012025_19_39_02_916250_0002.jpg', '/home/pi/Desktop/images/24012025/19/39/image_24012025_19_39_02_916250_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/38/image_24012025_19_38_02_785733_0002.jpg
/home/pi/Desktop/images/24012025/19/38/image_24012025_19_38_02_785733_0003.jpg
/home/pi/Desktop/images/24012025/19/39/image_24012025_19_39_02_916250_0000.jpg
/home/pi/Desktop/images/24012025/19/39/image_24012025_19_39_02_916250_0001.jpg
/home/pi/Desktop/images/24012025/19/39/image_24012025_19_39_02_916250_0002.jpg
/home/pi/Desktop/images/24012025/19/39/image_24012025_19_39_02_916250_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331137988","1331137892","1331137868","1331138017","1331137978","1331137858"],"photo_ids_order":["1331137858","1331137868","1331137892","1331137978","1331137988","1331138017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5c0abb56de1ed03ff6ce3fed5697504f.jpg","text":"TemporaryFile(/tmp/multipartBody6806584758313305401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753364997,"filename":"image_24012025_19_39_02_916250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eecea95324b46971f0c1c70058124197.jpg","text":"TemporaryFile(/tmp/multipartBody1429743728677787178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753364997,"filename":"image_24012025_19_39_02_916250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e60bcfa07ebf1aa61f06384f023d316.jpg","text":"TemporaryFile(/tmp/multipartBody4492856487588748397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753364997,"filename":"image_24012025_19_38_02_785733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/daeaeb87330a128b90db628bfe78ab9a.jpg","text":"TemporaryFile(/tmp/multipartBody1256375047365713591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753364997,"filename":"image_24012025_19_39_02_916250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b3b0c72fb3ce0e0ca5f67adac309c5ba.jpg","text":"TemporaryFile(/tmp/multipartBody5606398607746163044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753364997,"filename":"image_24012025_19_39_02_916250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ad4c601ef3d841997e7672009b617e8.jpg","text":"TemporaryFile(/tmp/multipartBody7152329358665804688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753364997,"filename":"image_24012025_19_38_02_785733_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331137892","file1":"1331137868","file0":"1331137858","file4":"1331137988","file5":"1331138017","file3":"1331137978"},"map_files_photo_id_array":[{"photo_id":"1331138017","filename":"file5"},{"photo_id":"1331137892","filename":"file2"},{"photo_id":"1331137988","filename":"file4"},{"photo_id":"1331137868","filename":"file1"},{"photo_id":"1331137858","filename":"file0"},{"photo_id":"1331137978","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331137988":["hashtag1","hashtag2"]},{"1331137892":["hashtag1","hashtag2"]},{"1331137868":["hashtag1","hashtag2"]},{"1331138017":["hashtag1","hashtag2"]},{"1331137978":["hashtag1","hashtag2"]},{"1331137858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331137988, 1331137892, 1331137868, 1331138017, 1331137978, 1331137858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.88771438598633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 22:16:02.849530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/40/image_24012025_19_40_03_197689_0000.jpg', '/home/pi/Desktop/images/24012025/19/40/image_24012025_19_40_03_197689_0001.jpg', '/home/pi/Desktop/images/24012025/19/40/image_24012025_19_40_03_197689_0002.jpg', '/home/pi/Desktop/images/24012025/19/40/image_24012025_19_40_03_197689_0003.jpg', '/home/pi/Desktop/images/24012025/19/41/image_24012025_19_41_02_246190_0000.jpg', '/home/pi/Desktop/images/24012025/19/41/image_24012025_19_41_02_246190_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/40/image_24012025_19_40_03_197689_0000.jpg
/home/pi/Desktop/images/24012025/19/40/image_24012025_19_40_03_197689_0001.jpg
/home/pi/Desktop/images/24012025/19/40/image_24012025_19_40_03_197689_0002.jpg
/home/pi/Desktop/images/24012025/19/40/image_24012025_19_40_03_197689_0003.jpg
/home/pi/Desktop/images/24012025/19/41/image_24012025_19_41_02_246190_0000.jpg
/home/pi/Desktop/images/24012025/19/41/image_24012025_19_41_02_246190_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331138063","1331138068","1331138056","1331138065","1331138059","1331138073"],"photo_ids_order":["1331138056","1331138059","1331138063","1331138065","1331138068","1331138073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a8297ffb3bc7e248d981fbfe6629e6d4.jpg","text":"TemporaryFile(/tmp/multipartBody5646720116228432536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753460749,"filename":"image_24012025_19_40_03_197689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec7f70a725d469d37a6b954608838b01.jpg","text":"TemporaryFile(/tmp/multipartBody8018979912273563483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753460749,"filename":"image_24012025_19_41_02_246190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98bf448f19a24d7b61df54a311431524.jpg","text":"TemporaryFile(/tmp/multipartBody4870107704226585911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753460749,"filename":"image_24012025_19_40_03_197689_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/207194aaa26be17a08a24009011f1eca.jpg","text":"TemporaryFile(/tmp/multipartBody1001519214692669168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753460749,"filename":"image_24012025_19_40_03_197689_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6cec6992fa08dc9cc8a160fbd86ac633.jpg","text":"TemporaryFile(/tmp/multipartBody2433129350348593031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753460749,"filename":"image_24012025_19_40_03_197689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b631b58861150dfbd071cbff086070a6.jpg","text":"TemporaryFile(/tmp/multipartBody2925340016998479154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753460749,"filename":"image_24012025_19_41_02_246190_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331138063","file1":"1331138059","file0":"1331138056","file4":"1331138068","file5":"1331138073","file3":"1331138065"},"map_files_photo_id_array":[{"photo_id":"1331138073","filename":"file5"},{"photo_id":"1331138063","filename":"file2"},{"photo_id":"1331138068","filename":"file4"},{"photo_id":"1331138059","filename":"file1"},{"photo_id":"1331138056","filename":"file0"},{"photo_id":"1331138065","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331138063":["hashtag1","hashtag2"]},{"1331138068":["hashtag1","hashtag2"]},{"1331138056":["hashtag1","hashtag2"]},{"1331138065":["hashtag1","hashtag2"]},{"1331138059":["hashtag1","hashtag2"]},{"1331138073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331138063, 1331138068, 1331138056, 1331138065, 1331138059, 1331138073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.56954908370972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:17:32.598609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/41/image_24012025_19_41_02_246190_0002.jpg', '/home/pi/Desktop/images/24012025/19/41/image_24012025_19_41_02_246190_0003.jpg', '/home/pi/Desktop/images/24012025/19/42/image_24012025_19_42_02_476599_0000.jpg', '/home/pi/Desktop/images/24012025/19/42/image_24012025_19_42_02_476599_0001.jpg', '/home/pi/Desktop/images/24012025/19/42/image_24012025_19_42_02_476599_0002.jpg', '/home/pi/Desktop/images/24012025/19/42/image_24012025_19_42_02_476599_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/41/image_24012025_19_41_02_246190_0002.jpg
/home/pi/Desktop/images/24012025/19/41/image_24012025_19_41_02_246190_0003.jpg
/home/pi/Desktop/images/24012025/19/42/image_24012025_19_42_02_476599_0000.jpg
/home/pi/Desktop/images/24012025/19/42/image_24012025_19_42_02_476599_0001.jpg
/home/pi/Desktop/images/24012025/19/42/image_24012025_19_42_02_476599_0002.jpg
/home/pi/Desktop/images/24012025/19/42/image_24012025_19_42_02_476599_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331138366","1331138336","1331138324","1331138290","1331138275","1331138298"],"photo_ids_order":["1331138275","1331138290","1331138298","1331138324","1331138336","1331138366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/95c91a6f0e0344bf25534eecc4d2f185.jpg","text":"TemporaryFile(/tmp/multipartBody5517106931929504050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753533908,"filename":"image_24012025_19_42_02_476599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/302c1f625661f3f70c4601ee6555fd3c.jpg","text":"TemporaryFile(/tmp/multipartBody6426785349745311984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753533908,"filename":"image_24012025_19_42_02_476599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12891a28c6368e57f4110b15a4f1f08c.jpg","text":"TemporaryFile(/tmp/multipartBody7222790728410460022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753533908,"filename":"image_24012025_19_42_02_476599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/769f6ebd4e46ae33a4850143f12ffcd9.jpg","text":"TemporaryFile(/tmp/multipartBody1834804646714609475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753533908,"filename":"image_24012025_19_41_02_246190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f98676f518eb8f6bfb0d86e547a69c71.jpg","text":"TemporaryFile(/tmp/multipartBody4908357246509952955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753533908,"filename":"image_24012025_19_41_02_246190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b107cb1d6df7651b9c425651e82fe5e2.jpg","text":"TemporaryFile(/tmp/multipartBody5506995349837067325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753533908,"filename":"image_24012025_19_42_02_476599_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331138298","file1":"1331138290","file0":"1331138275","file4":"1331138336","file5":"1331138366","file3":"1331138324"},"map_files_photo_id_array":[{"photo_id":"1331138366","filename":"file5"},{"photo_id":"1331138298","filename":"file2"},{"photo_id":"1331138336","filename":"file4"},{"photo_id":"1331138290","filename":"file1"},{"photo_id":"1331138275","filename":"file0"},{"photo_id":"1331138324","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331138366":["hashtag1","hashtag2"]},{"1331138336":["hashtag1","hashtag2"]},{"1331138324":["hashtag1","hashtag2"]},{"1331138290":["hashtag1","hashtag2"]},{"1331138275":["hashtag1","hashtag2"]},{"1331138298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331138366, 1331138336, 1331138324, 1331138290, 1331138275, 1331138298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.25857090950012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:18:51.813106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/43/image_24012025_19_43_02_594069_0000.jpg', '/home/pi/Desktop/images/24012025/19/43/image_24012025_19_43_02_594069_0001.jpg', '/home/pi/Desktop/images/24012025/19/43/image_24012025_19_43_02_594069_0002.jpg', '/home/pi/Desktop/images/24012025/19/43/image_24012025_19_43_02_594069_0003.jpg', '/home/pi/Desktop/images/24012025/19/44/image_24012025_19_44_02_730397_0000.jpg', '/home/pi/Desktop/images/24012025/19/44/image_24012025_19_44_02_730397_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/43/image_24012025_19_43_02_594069_0000.jpg
/home/pi/Desktop/images/24012025/19/43/image_24012025_19_43_02_594069_0001.jpg
/home/pi/Desktop/images/24012025/19/43/image_24012025_19_43_02_594069_0002.jpg
/home/pi/Desktop/images/24012025/19/43/image_24012025_19_43_02_594069_0003.jpg
/home/pi/Desktop/images/24012025/19/44/image_24012025_19_44_02_730397_0000.jpg
/home/pi/Desktop/images/24012025/19/44/image_24012025_19_44_02_730397_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331139314","1331138828","1331139316","1331138994","1331138799","1331138784"],"photo_ids_order":["1331138784","1331138799","1331138828","1331138994","1331139314","1331139316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c2e338c93ca4ec71e4913fe7db7830a1.jpg","text":"TemporaryFile(/tmp/multipartBody1733562234256605187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753616635,"filename":"image_24012025_19_44_02_730397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6608a156de76f3ad675b2ed59ac25612.jpg","text":"TemporaryFile(/tmp/multipartBody2408833092634364299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753616635,"filename":"image_24012025_19_43_02_594069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3d1dfff8a15271c26b1888e8e4669ff5.jpg","text":"TemporaryFile(/tmp/multipartBody1886906612369971833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753616635,"filename":"image_24012025_19_44_02_730397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc3bab769097ebc695623927c67e2bbc.jpg","text":"TemporaryFile(/tmp/multipartBody4856604246578449585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753616635,"filename":"image_24012025_19_43_02_594069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/740b8705fa29dd9871c65f2cc0756962.jpg","text":"TemporaryFile(/tmp/multipartBody7870395199591817500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753616635,"filename":"image_24012025_19_43_02_594069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6469cce2c5f85609087562272946239c.jpg","text":"TemporaryFile(/tmp/multipartBody8840358889405973619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753616635,"filename":"image_24012025_19_43_02_594069_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331138828","file1":"1331138799","file0":"1331138784","file4":"1331139314","file5":"1331139316","file3":"1331138994"},"map_files_photo_id_array":[{"photo_id":"1331139316","filename":"file5"},{"photo_id":"1331138828","filename":"file2"},{"photo_id":"1331139314","filename":"file4"},{"photo_id":"1331138799","filename":"file1"},{"photo_id":"1331138784","filename":"file0"},{"photo_id":"1331138994","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331139314":["hashtag1","hashtag2"]},{"1331138828":["hashtag1","hashtag2"]},{"1331139316":["hashtag1","hashtag2"]},{"1331138994":["hashtag1","hashtag2"]},{"1331138799":["hashtag1","hashtag2"]},{"1331138784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331139314, 1331138828, 1331139316, 1331138994, 1331138799, 1331138784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.37231802940369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:20:22.184432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/44/image_24012025_19_44_02_730397_0002.jpg', '/home/pi/Desktop/images/24012025/19/44/image_24012025_19_44_02_730397_0003.jpg', '/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0000.jpg', '/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0001.jpg', '/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0002.jpg', '/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/44/image_24012025_19_44_02_730397_0002.jpg
/home/pi/Desktop/images/24012025/19/44/image_24012025_19_44_02_730397_0003.jpg
/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0000.jpg
/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0001.jpg
/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0002.jpg
/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 22.061622619628906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:20:52.167182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/44/image_24012025_19_44_02_730397_0002.jpg', '/home/pi/Desktop/images/24012025/19/44/image_24012025_19_44_02_730397_0003.jpg', '/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0000.jpg', '/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0001.jpg', '/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0002.jpg', '/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/44/image_24012025_19_44_02_730397_0002.jpg
/home/pi/Desktop/images/24012025/19/44/image_24012025_19_44_02_730397_0003.jpg
/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0000.jpg
/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0001.jpg
/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0002.jpg
/home/pi/Desktop/images/24012025/19/45/image_24012025_19_45_02_993046_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331139722","1331139716","1331139685","1331139720","1331139714","1331139689"],"photo_ids_order":["1331139685","1331139689","1331139714","1331139716","1331139720","1331139722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/738ed2d30cfd2867f7f8f366fe9345a0.jpg","text":"TemporaryFile(/tmp/multipartBody3959094260371752317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753746872,"filename":"image_24012025_19_45_02_993046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8482fe5a0cf64f2881c6b51aac91763a.jpg","text":"TemporaryFile(/tmp/multipartBody2533417613879129749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753746872,"filename":"image_24012025_19_45_02_993046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7bf6316b083765776808edebfe7d52e4.jpg","text":"TemporaryFile(/tmp/multipartBody7757477164242007313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753746872,"filename":"image_24012025_19_44_02_730397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b7f447545691fbd15471ab7f9dcdaf4.jpg","text":"TemporaryFile(/tmp/multipartBody1453204882729860590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753746872,"filename":"image_24012025_19_45_02_993046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b6dddfd0a96ba2cf4695d0055afb3bf5.jpg","text":"TemporaryFile(/tmp/multipartBody6330313053629821060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753746872,"filename":"image_24012025_19_45_02_993046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a04b4d80d4268812ba07b9c1012ad2f.jpg","text":"TemporaryFile(/tmp/multipartBody6162425055895192784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753746872,"filename":"image_24012025_19_44_02_730397_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331139714","file1":"1331139689","file0":"1331139685","file4":"1331139720","file5":"1331139722","file3":"1331139716"},"map_files_photo_id_array":[{"photo_id":"1331139722","filename":"file5"},{"photo_id":"1331139714","filename":"file2"},{"photo_id":"1331139720","filename":"file4"},{"photo_id":"1331139689","filename":"file1"},{"photo_id":"1331139685","filename":"file0"},{"photo_id":"1331139716","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331139722":["hashtag1","hashtag2"]},{"1331139716":["hashtag1","hashtag2"]},{"1331139685":["hashtag1","hashtag2"]},{"1331139720":["hashtag1","hashtag2"]},{"1331139714":["hashtag1","hashtag2"]},{"1331139689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331139722, 1331139716, 1331139685, 1331139720, 1331139714, 1331139689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.77847647666931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:22:22.592314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0000.jpg', '/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0001.jpg', '/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0002.jpg', '/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0003.jpg', '/home/pi/Desktop/images/24012025/19/47/image_24012025_19_47_02_348288_0000.jpg', '/home/pi/Desktop/images/24012025/19/47/image_24012025_19_47_02_348288_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0000.jpg
/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0001.jpg
/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0002.jpg
/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0003.jpg
/home/pi/Desktop/images/24012025/19/47/image_24012025_19_47_02_348288_0000.jpg
/home/pi/Desktop/images/24012025/19/47/image_24012025_19_47_02_348288_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 28.478611946105957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:22:52.483876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0000.jpg', '/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0001.jpg', '/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0002.jpg', '/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0003.jpg', '/home/pi/Desktop/images/24012025/19/47/image_24012025_19_47_02_348288_0000.jpg', '/home/pi/Desktop/images/24012025/19/47/image_24012025_19_47_02_348288_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0000.jpg
/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0001.jpg
/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0002.jpg
/home/pi/Desktop/images/24012025/19/46/image_24012025_19_46_03_092240_0003.jpg
/home/pi/Desktop/images/24012025/19/47/image_24012025_19_47_02_348288_0000.jpg
/home/pi/Desktop/images/24012025/19/47/image_24012025_19_47_02_348288_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331139985","1331139979","1331139987","1331139972","1331140009","1331140024"],"photo_ids_order":["1331139972","1331139979","1331139985","1331139987","1331140009","1331140024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/66d21e28c4c25ce7cd1cf3a92c1a6a3c.jpg","text":"TemporaryFile(/tmp/multipartBody4803510250209651996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753868209,"filename":"image_24012025_19_46_03_092240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/54d01ada6ec915bf77d543ee4543a391.jpg","text":"TemporaryFile(/tmp/multipartBody5679381438945958852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753868209,"filename":"image_24012025_19_46_03_092240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ab500c0cfce67a8f885f020a4da3cb4.jpg","text":"TemporaryFile(/tmp/multipartBody3281027629251463314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753868209,"filename":"image_24012025_19_46_03_092240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b1cd181dca31159b839ad2007e306f63.jpg","text":"TemporaryFile(/tmp/multipartBody9125055125625452476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753868209,"filename":"image_24012025_19_46_03_092240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7a74fdd86506d9630805b5b1c01940d6.jpg","text":"TemporaryFile(/tmp/multipartBody812379023236805104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753868209,"filename":"image_24012025_19_47_02_348288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c7b6709a6055450295b35853bbfe6951.jpg","text":"TemporaryFile(/tmp/multipartBody7377022318447177145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753868209,"filename":"image_24012025_19_47_02_348288_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331139985","file1":"1331139979","file0":"1331139972","file4":"1331140009","file5":"1331140024","file3":"1331139987"},"map_files_photo_id_array":[{"photo_id":"1331140024","filename":"file5"},{"photo_id":"1331139985","filename":"file2"},{"photo_id":"1331140009","filename":"file4"},{"photo_id":"1331139979","filename":"file1"},{"photo_id":"1331139972","filename":"file0"},{"photo_id":"1331139987","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331139985":["hashtag1","hashtag2"]},{"1331139979":["hashtag1","hashtag2"]},{"1331139987":["hashtag1","hashtag2"]},{"1331139972":["hashtag1","hashtag2"]},{"1331140009":["hashtag1","hashtag2"]},{"1331140024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331139985, 1331139979, 1331139987, 1331139972, 1331140009, 1331140024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.55526089668274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:24:31.801614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/47/image_24012025_19_47_02_348288_0002.jpg', '/home/pi/Desktop/images/24012025/19/47/image_24012025_19_47_02_348288_0003.jpg', '/home/pi/Desktop/images/24012025/19/48/image_24012025_19_48_02_512275_0000.jpg', '/home/pi/Desktop/images/24012025/19/48/image_24012025_19_48_02_512275_0001.jpg', '/home/pi/Desktop/images/24012025/19/48/image_24012025_19_48_02_512275_0002.jpg', '/home/pi/Desktop/images/24012025/19/48/image_24012025_19_48_02_512275_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/47/image_24012025_19_47_02_348288_0002.jpg
/home/pi/Desktop/images/24012025/19/47/image_24012025_19_47_02_348288_0003.jpg
/home/pi/Desktop/images/24012025/19/48/image_24012025_19_48_02_512275_0000.jpg
/home/pi/Desktop/images/24012025/19/48/image_24012025_19_48_02_512275_0001.jpg
/home/pi/Desktop/images/24012025/19/48/image_24012025_19_48_02_512275_0002.jpg
/home/pi/Desktop/images/24012025/19/48/image_24012025_19_48_02_512275_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331140209","1331140220","1331140214","1331140202","1331140204","1331140224"],"photo_ids_order":["1331140202","1331140204","1331140209","1331140214","1331140220","1331140224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b942888bd36562af0d7597aee45242a4.jpg","text":"TemporaryFile(/tmp/multipartBody5409725865242246556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753980882,"filename":"image_24012025_19_48_02_512275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2f78b7d197de93d82019e25ac02eed16.jpg","text":"TemporaryFile(/tmp/multipartBody4218287127792651326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753980882,"filename":"image_24012025_19_48_02_512275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/70bcdb8a17ecde826421aad2c7180942.jpg","text":"TemporaryFile(/tmp/multipartBody3555028193342950511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753980882,"filename":"image_24012025_19_48_02_512275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/28450debb40fc158241c63011ffe5361.jpg","text":"TemporaryFile(/tmp/multipartBody6848099771790027582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753980882,"filename":"image_24012025_19_47_02_348288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/669733ae9d686aa436eb9b4fa3f72a1f.jpg","text":"TemporaryFile(/tmp/multipartBody7147949369553120984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753980882,"filename":"image_24012025_19_47_02_348288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8c1acc015f1d05ad0903336c4a8f9951.jpg","text":"TemporaryFile(/tmp/multipartBody6714646753540728426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737753980882,"filename":"image_24012025_19_48_02_512275_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331140209","file1":"1331140204","file0":"1331140202","file4":"1331140220","file5":"1331140224","file3":"1331140214"},"map_files_photo_id_array":[{"photo_id":"1331140224","filename":"file5"},{"photo_id":"1331140209","filename":"file2"},{"photo_id":"1331140220","filename":"file4"},{"photo_id":"1331140204","filename":"file1"},{"photo_id":"1331140202","filename":"file0"},{"photo_id":"1331140214","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331140209":["hashtag1","hashtag2"]},{"1331140220":["hashtag1","hashtag2"]},{"1331140214":["hashtag1","hashtag2"]},{"1331140202":["hashtag1","hashtag2"]},{"1331140204":["hashtag1","hashtag2"]},{"1331140224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331140209, 1331140220, 1331140214, 1331140202, 1331140204, 1331140224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.0223081111908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:26:22.187882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/49/image_24012025_19_49_02_671042_0000.jpg', '/home/pi/Desktop/images/24012025/19/49/image_24012025_19_49_02_671042_0001.jpg', '/home/pi/Desktop/images/24012025/19/49/image_24012025_19_49_02_671042_0002.jpg', '/home/pi/Desktop/images/24012025/19/49/image_24012025_19_49_02_671042_0003.jpg', '/home/pi/Desktop/images/24012025/19/50/image_24012025_19_50_02_834989_0000.jpg', '/home/pi/Desktop/images/24012025/19/50/image_24012025_19_50_02_834989_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/49/image_24012025_19_49_02_671042_0000.jpg
/home/pi/Desktop/images/24012025/19/49/image_24012025_19_49_02_671042_0001.jpg
/home/pi/Desktop/images/24012025/19/49/image_24012025_19_49_02_671042_0002.jpg
/home/pi/Desktop/images/24012025/19/49/image_24012025_19_49_02_671042_0003.jpg
/home/pi/Desktop/images/24012025/19/50/image_24012025_19_50_02_834989_0000.jpg
/home/pi/Desktop/images/24012025/19/50/image_24012025_19_50_02_834989_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331140273","1331140267","1331140276","1331140264","1331140251","1331140269"],"photo_ids_order":["1331140251","1331140264","1331140267","1331140269","1331140273","1331140276"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bcc8f918e4379e86473ccec31d67875a.jpg","text":"TemporaryFile(/tmp/multipartBody7696392892996706039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754086923,"filename":"image_24012025_19_50_02_834989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/df83f51a614f9e8ae0e3ef2eecfe52bf.jpg","text":"TemporaryFile(/tmp/multipartBody1412857270466303362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754086923,"filename":"image_24012025_19_49_02_671042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7709355df171ce71d38dea3c072561f7.jpg","text":"TemporaryFile(/tmp/multipartBody8017390925557248118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754086923,"filename":"image_24012025_19_50_02_834989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/34e998d8959f7fbdf41a9504f5c095ff.jpg","text":"TemporaryFile(/tmp/multipartBody4390803005419690711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754086923,"filename":"image_24012025_19_49_02_671042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ca72b1196552689e5345ad8c5108a55.jpg","text":"TemporaryFile(/tmp/multipartBody3889444680476310851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754086923,"filename":"image_24012025_19_49_02_671042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/22fe639bcc74ee5c65ea7dab48dcfb22.jpg","text":"TemporaryFile(/tmp/multipartBody7292376958133826678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754086923,"filename":"image_24012025_19_49_02_671042_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331140267","file1":"1331140264","file0":"1331140251","file4":"1331140273","file5":"1331140276","file3":"1331140269"},"map_files_photo_id_array":[{"photo_id":"1331140276","filename":"file5"},{"photo_id":"1331140267","filename":"file2"},{"photo_id":"1331140273","filename":"file4"},{"photo_id":"1331140264","filename":"file1"},{"photo_id":"1331140251","filename":"file0"},{"photo_id":"1331140269","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331140273":["hashtag1","hashtag2"]},{"1331140267":["hashtag1","hashtag2"]},{"1331140276":["hashtag1","hashtag2"]},{"1331140264":["hashtag1","hashtag2"]},{"1331140251":["hashtag1","hashtag2"]},{"1331140269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331140273, 1331140267, 1331140276, 1331140264, 1331140251, 1331140269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.26808786392212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 22:28:03.042541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/50/image_24012025_19_50_02_834989_0002.jpg', '/home/pi/Desktop/images/24012025/19/50/image_24012025_19_50_02_834989_0003.jpg', '/home/pi/Desktop/images/24012025/19/51/image_24012025_19_51_03_036990_0000.jpg', '/home/pi/Desktop/images/24012025/19/51/image_24012025_19_51_03_036990_0001.jpg', '/home/pi/Desktop/images/24012025/19/51/image_24012025_19_51_03_036990_0002.jpg', '/home/pi/Desktop/images/24012025/19/51/image_24012025_19_51_03_036990_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/50/image_24012025_19_50_02_834989_0002.jpg
/home/pi/Desktop/images/24012025/19/50/image_24012025_19_50_02_834989_0003.jpg
/home/pi/Desktop/images/24012025/19/51/image_24012025_19_51_03_036990_0000.jpg
/home/pi/Desktop/images/24012025/19/51/image_24012025_19_51_03_036990_0001.jpg
/home/pi/Desktop/images/24012025/19/51/image_24012025_19_51_03_036990_0002.jpg
/home/pi/Desktop/images/24012025/19/51/image_24012025_19_51_03_036990_0003.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":["1331140311","1331140307","1331140288","1331140297","1331140302","1331140292"],"photo_ids_order":["1331140288","1331140292","1331140297","1331140302","1331140307","1331140311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a526df9291f7e3a04be683c5df05d121.jpg","text":"TemporaryFile(/tmp/multipartBody7680130314334555050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754165202,"filename":"image_24012025_19_51_03_036990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f8dffbf798cd54eb66c54c3a764ad59e.jpg","text":"TemporaryFile(/tmp/multipartBody8441960313158296649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754165202,"filename":"image_24012025_19_51_03_036990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5f5d48353fd94dd1be21fac1f958b6bc.jpg","text":"TemporaryFile(/tmp/multipartBody908753994135652560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754165202,"filename":"image_24012025_19_50_02_834989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3282d270788b827305095b79bf5a017c.jpg","text":"TemporaryFile(/tmp/multipartBody5377332075623195085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754165202,"filename":"image_24012025_19_51_03_036990_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ca0490797a06189e9b30b9173d95f17.jpg","text":"TemporaryFile(/tmp/multipartBody7783661220509993279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754165202,"filename":"image_24012025_19_51_03_036990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e2cb33d21923d6d788a9038482acde73.jpg","text":"TemporaryFile(/tmp/multipartBody5729293361809510896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754165202,"filename":"image_24012025_19_50_02_834989_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331140297","file1":"1331140292","file0":"1331140288","file4":"1331140307","file5":"1331140311","file3":"1331140302"},"map_files_photo_id_array":[{"photo_id":"1331140311","filename":"file5"},{"photo_id":"1331140297","filename":"file2"},{"photo_id":"1331140307","filename":"file4"},{"photo_id":"1331140292","filename":"file1"},{"photo_id":"1331140288","filename":"file0"},{"photo_id":"1331140302","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331140311":["hashtag1","hashtag2"]},{"1331140307":["hashtag1","hashtag2"]},{"1331140288":["hashtag1","hashtag2"]},{"1331140297":["hashtag1","hashtag2"]},{"1331140302":["hashtag1","hashtag2"]},{"1331140292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331140311, 1331140307, 1331140288, 1331140297, 1331140302, 1331140292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.64007329940796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:29:22.894144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/52/image_24012025_19_52_02_206459_0000.jpg', '/home/pi/Desktop/images/24012025/19/52/image_24012025_19_52_02_206459_0001.jpg', '/home/pi/Desktop/images/24012025/19/52/image_24012025_19_52_02_206459_0002.jpg', '/home/pi/Desktop/images/24012025/19/52/image_24012025_19_52_02_206459_0003.jpg', '/home/pi/Desktop/images/24012025/19/53/image_24012025_19_53_02_382739_0000.jpg', '/home/pi/Desktop/images/24012025/19/53/image_24012025_19_53_02_382739_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/52/image_24012025_19_52_02_206459_0000.jpg
/home/pi/Desktop/images/24012025/19/52/image_24012025_19_52_02_206459_0001.jpg
/home/pi/Desktop/images/24012025/19/52/image_24012025_19_52_02_206459_0002.jpg
/home/pi/Desktop/images/24012025/19/52/image_24012025_19_52_02_206459_0003.jpg
/home/pi/Desktop/images/24012025/19/53/image_24012025_19_53_02_382739_0000.jpg
/home/pi/Desktop/images/24012025/19/53/image_24012025_19_53_02_382739_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331140410","1331140399","1331140403","1331140396","1331140434","1331140391"],"photo_ids_order":["1331140391","1331140396","1331140399","1331140403","1331140410","1331140434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0e45dc0692c030a5f02ae5a3ae206b58.jpg","text":"TemporaryFile(/tmp/multipartBody9084021518896425711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754248761,"filename":"image_24012025_19_53_02_382739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c6a8218e5e5d0c061741e0440c1b8647.jpg","text":"TemporaryFile(/tmp/multipartBody6875082299823328682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754248761,"filename":"image_24012025_19_52_02_206459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c870b97fc18eef6b515be11f0acaf7d1.jpg","text":"TemporaryFile(/tmp/multipartBody741704177307323338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754248761,"filename":"image_24012025_19_52_02_206459_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7312224873ea65dd1bc752c823a3e49.jpg","text":"TemporaryFile(/tmp/multipartBody7368967003027996566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754248761,"filename":"image_24012025_19_52_02_206459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc77af5e41cc3dca20301d6fc2714201.jpg","text":"TemporaryFile(/tmp/multipartBody7285698045896110477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754248761,"filename":"image_24012025_19_53_02_382739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40c413a855df54b2d788da9df47c6f58.jpg","text":"TemporaryFile(/tmp/multipartBody4475142268898462463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754248761,"filename":"image_24012025_19_52_02_206459_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331140399","file1":"1331140396","file0":"1331140391","file4":"1331140410","file5":"1331140434","file3":"1331140403"},"map_files_photo_id_array":[{"photo_id":"1331140434","filename":"file5"},{"photo_id":"1331140399","filename":"file2"},{"photo_id":"1331140410","filename":"file4"},{"photo_id":"1331140396","filename":"file1"},{"photo_id":"1331140391","filename":"file0"},{"photo_id":"1331140403","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331140410":["hashtag1","hashtag2"]},{"1331140399":["hashtag1","hashtag2"]},{"1331140403":["hashtag1","hashtag2"]},{"1331140396":["hashtag1","hashtag2"]},{"1331140434":["hashtag1","hashtag2"]},{"1331140391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331140410, 1331140399, 1331140403, 1331140396, 1331140434, 1331140391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.68122553825378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 22:30:41.938118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/53/image_24012025_19_53_02_382739_0002.jpg', '/home/pi/Desktop/images/24012025/19/53/image_24012025_19_53_02_382739_0003.jpg', '/home/pi/Desktop/images/24012025/19/54/image_24012025_19_54_02_686766_0000.jpg', '/home/pi/Desktop/images/24012025/19/54/image_24012025_19_54_02_686766_0001.jpg', '/home/pi/Desktop/images/24012025/19/54/image_24012025_19_54_02_686766_0002.jpg', '/home/pi/Desktop/images/24012025/19/54/image_24012025_19_54_02_686766_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/53/image_24012025_19_53_02_382739_0002.jpg
/home/pi/Desktop/images/24012025/19/53/image_24012025_19_53_02_382739_0003.jpg
/home/pi/Desktop/images/24012025/19/54/image_24012025_19_54_02_686766_0000.jpg
/home/pi/Desktop/images/24012025/19/54/image_24012025_19_54_02_686766_0001.jpg
/home/pi/Desktop/images/24012025/19/54/image_24012025_19_54_02_686766_0002.jpg
/home/pi/Desktop/images/24012025/19/54/image_24012025_19_54_02_686766_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331140547","1331140508","1331140558","1331140492","1331140528","1331140522"],"photo_ids_order":["1331140492","1331140508","1331140522","1331140528","1331140547","1331140558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3d00a77ef3c7171de60ee30073df506b.jpg","text":"TemporaryFile(/tmp/multipartBody3353840444831865088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754324022,"filename":"image_24012025_19_54_02_686766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48e670e59e7074c9dff32bdadd7469b5.jpg","text":"TemporaryFile(/tmp/multipartBody4841074248378423548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754324022,"filename":"image_24012025_19_53_02_382739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3137e2b5b76159b5403173333b47bd79.jpg","text":"TemporaryFile(/tmp/multipartBody2567648487632098970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754324022,"filename":"image_24012025_19_54_02_686766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af7c6f43466af97b27ef8bfd61f524e1.jpg","text":"TemporaryFile(/tmp/multipartBody8720167085815701438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754324022,"filename":"image_24012025_19_53_02_382739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d2045db47187ad0798983247d67fba6.jpg","text":"TemporaryFile(/tmp/multipartBody6449846781092261931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754324022,"filename":"image_24012025_19_54_02_686766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b5e4c650e36ddb22ef3f96cd817e01c7.jpg","text":"TemporaryFile(/tmp/multipartBody2911050468277596404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754324022,"filename":"image_24012025_19_54_02_686766_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331140522","file1":"1331140508","file0":"1331140492","file4":"1331140547","file5":"1331140558","file3":"1331140528"},"map_files_photo_id_array":[{"photo_id":"1331140558","filename":"file5"},{"photo_id":"1331140522","filename":"file2"},{"photo_id":"1331140547","filename":"file4"},{"photo_id":"1331140508","filename":"file1"},{"photo_id":"1331140492","filename":"file0"},{"photo_id":"1331140528","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331140547":["hashtag1","hashtag2"]},{"1331140508":["hashtag1","hashtag2"]},{"1331140558":["hashtag1","hashtag2"]},{"1331140492":["hashtag1","hashtag2"]},{"1331140528":["hashtag1","hashtag2"]},{"1331140522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331140547, 1331140508, 1331140558, 1331140492, 1331140528, 1331140522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.14056301116943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 22:32:02.552152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0000.jpg', '/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0001.jpg', '/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0002.jpg', '/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0003.jpg', '/home/pi/Desktop/images/24012025/19/56/image_24012025_19_56_02_947484_0000.jpg', '/home/pi/Desktop/images/24012025/19/56/image_24012025_19_56_02_947484_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0000.jpg
/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0001.jpg
/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0002.jpg
/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0003.jpg
/home/pi/Desktop/images/24012025/19/56/image_24012025_19_56_02_947484_0000.jpg
/home/pi/Desktop/images/24012025/19/56/image_24012025_19_56_02_947484_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 30.750723123550415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 22:32:42.196142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0000.jpg', '/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0001.jpg', '/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0002.jpg', '/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0003.jpg', '/home/pi/Desktop/images/24012025/19/56/image_24012025_19_56_02_947484_0000.jpg', '/home/pi/Desktop/images/24012025/19/56/image_24012025_19_56_02_947484_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0000.jpg
/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0001.jpg
/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0002.jpg
/home/pi/Desktop/images/24012025/19/55/image_24012025_19_55_02_747226_0003.jpg
/home/pi/Desktop/images/24012025/19/56/image_24012025_19_56_02_947484_0000.jpg
/home/pi/Desktop/images/24012025/19/56/image_24012025_19_56_02_947484_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331140691","1331140685","1331140679","1331140667","1331140676","1331140672"],"photo_ids_order":["1331140667","1331140672","1331140676","1331140679","1331140685","1331140691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/61cc49aeb8dcbea76ee4b8dd43c4cc10.jpg","text":"TemporaryFile(/tmp/multipartBody7150179574580154135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754448546,"filename":"image_24012025_19_56_02_947484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/15a7b58a96dcc7480be7777657e52756.jpg","text":"TemporaryFile(/tmp/multipartBody3318926378756247831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754448546,"filename":"image_24012025_19_56_02_947484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/27641d724e48972b8e4e2507b948f25a.jpg","text":"TemporaryFile(/tmp/multipartBody4111498862473773873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754448546,"filename":"image_24012025_19_55_02_747226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/47797f02f72b20a5a63cea5cf632ff7a.jpg","text":"TemporaryFile(/tmp/multipartBody6723194991891784897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754448546,"filename":"image_24012025_19_55_02_747226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/77751a93a3f32275d89147a8e3df3c33.jpg","text":"TemporaryFile(/tmp/multipartBody2289799152626648524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754448546,"filename":"image_24012025_19_55_02_747226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db07e2ea5badc527b1ef3f491dabe3d5.jpg","text":"TemporaryFile(/tmp/multipartBody2755954947480892375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754448546,"filename":"image_24012025_19_55_02_747226_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331140676","file1":"1331140672","file0":"1331140667","file4":"1331140685","file5":"1331140691","file3":"1331140679"},"map_files_photo_id_array":[{"photo_id":"1331140691","filename":"file5"},{"photo_id":"1331140676","filename":"file2"},{"photo_id":"1331140685","filename":"file4"},{"photo_id":"1331140672","filename":"file1"},{"photo_id":"1331140667","filename":"file0"},{"photo_id":"1331140679","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331140691":["hashtag1","hashtag2"]},{"1331140685":["hashtag1","hashtag2"]},{"1331140679":["hashtag1","hashtag2"]},{"1331140667":["hashtag1","hashtag2"]},{"1331140676":["hashtag1","hashtag2"]},{"1331140672":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331140691, 1331140685, 1331140679, 1331140667, 1331140676, 1331140672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.8096022605896 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:34:22.636383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/56/image_24012025_19_56_02_947484_0002.jpg', '/home/pi/Desktop/images/24012025/19/56/image_24012025_19_56_02_947484_0003.jpg', '/home/pi/Desktop/images/24012025/19/57/image_24012025_19_57_03_167646_0000.jpg', '/home/pi/Desktop/images/24012025/19/57/image_24012025_19_57_03_167646_0001.jpg', '/home/pi/Desktop/images/24012025/19/57/image_24012025_19_57_03_167646_0002.jpg', '/home/pi/Desktop/images/24012025/19/57/image_24012025_19_57_03_167646_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/56/image_24012025_19_56_02_947484_0002.jpg
/home/pi/Desktop/images/24012025/19/56/image_24012025_19_56_02_947484_0003.jpg
/home/pi/Desktop/images/24012025/19/57/image_24012025_19_57_03_167646_0000.jpg
/home/pi/Desktop/images/24012025/19/57/image_24012025_19_57_03_167646_0001.jpg
/home/pi/Desktop/images/24012025/19/57/image_24012025_19_57_03_167646_0002.jpg
/home/pi/Desktop/images/24012025/19/57/image_24012025_19_57_03_167646_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331140760","1331140757","1331140747","1331140767","1331140755","1331140752"],"photo_ids_order":["1331140747","1331140752","1331140755","1331140757","1331140760","1331140767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ceaa97e775ca685519e0b25dc26005f1.jpg","text":"TemporaryFile(/tmp/multipartBody7306805513695930114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754570085,"filename":"image_24012025_19_57_03_167646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/78c0b48450b43ab8279c5c944b707a22.jpg","text":"TemporaryFile(/tmp/multipartBody5725728991350519623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754570085,"filename":"image_24012025_19_57_03_167646_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ee50e21e0d6db015840d1c0943d8a55.jpg","text":"TemporaryFile(/tmp/multipartBody4893822338477763536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754570085,"filename":"image_24012025_19_56_02_947484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/db0359ee1c31a9132c356d48cc016d72.jpg","text":"TemporaryFile(/tmp/multipartBody8153579543833104558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754570085,"filename":"image_24012025_19_57_03_167646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a699a6f3a954a4322a9cc1f0a1eb828f.jpg","text":"TemporaryFile(/tmp/multipartBody6625045598416661285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754570085,"filename":"image_24012025_19_57_03_167646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/038d392fa4a5e40c8c4ca6cdc2daec89.jpg","text":"TemporaryFile(/tmp/multipartBody4989599003729290308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754570085,"filename":"image_24012025_19_56_02_947484_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331140755","file1":"1331140752","file0":"1331140747","file4":"1331140760","file5":"1331140767","file3":"1331140757"},"map_files_photo_id_array":[{"photo_id":"1331140767","filename":"file5"},{"photo_id":"1331140755","filename":"file2"},{"photo_id":"1331140760","filename":"file4"},{"photo_id":"1331140752","filename":"file1"},{"photo_id":"1331140747","filename":"file0"},{"photo_id":"1331140757","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331140760":["hashtag1","hashtag2"]},{"1331140757":["hashtag1","hashtag2"]},{"1331140747":["hashtag1","hashtag2"]},{"1331140767":["hashtag1","hashtag2"]},{"1331140755":["hashtag1","hashtag2"]},{"1331140752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331140760, 1331140757, 1331140747, 1331140767, 1331140755, 1331140752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.88038492202759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:36:21.957393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0000.jpg', '/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0001.jpg', '/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0002.jpg', '/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0003.jpg', '/home/pi/Desktop/images/24012025/19/59/image_24012025_19_59_02_471957_0000.jpg', '/home/pi/Desktop/images/24012025/19/59/image_24012025_19_59_02_471957_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0000.jpg
/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0001.jpg
/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0002.jpg
/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0003.jpg
/home/pi/Desktop/images/24012025/19/59/image_24012025_19_59_02_471957_0000.jpg
/home/pi/Desktop/images/24012025/19/59/image_24012025_19_59_02_471957_0001.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 51.13147330284119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:37:22.151031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0000.jpg', '/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0001.jpg', '/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0002.jpg', '/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0003.jpg', '/home/pi/Desktop/images/24012025/19/59/image_24012025_19_59_02_471957_0000.jpg', '/home/pi/Desktop/images/24012025/19/59/image_24012025_19_59_02_471957_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0000.jpg
/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0001.jpg
/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0002.jpg
/home/pi/Desktop/images/24012025/19/58/image_24012025_19_58_02_356967_0003.jpg
/home/pi/Desktop/images/24012025/19/59/image_24012025_19_59_02_471957_0000.jpg
/home/pi/Desktop/images/24012025/19/59/image_24012025_19_59_02_471957_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331141197","1331141851","1331141475","1331140849","1331140836","1331141855"],"photo_ids_order":["1331140836","1331140849","1331141197","1331141475","1331141851","1331141855"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d0512a2a7d89d6f51fd8f6ed1199957d.jpg","text":"TemporaryFile(/tmp/multipartBody5913937040419197976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754726277,"filename":"image_24012025_19_58_02_356967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/129a74ebeb870b62acb7303678a0d672.jpg","text":"TemporaryFile(/tmp/multipartBody2237267862878155600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754726277,"filename":"image_24012025_19_59_02_471957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/96352e84c7ec93aa9747b2fd7f768125.jpg","text":"TemporaryFile(/tmp/multipartBody5379176635398780058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754726277,"filename":"image_24012025_19_58_02_356967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b35a91b3ed3dd6c9c06064473a70622.jpg","text":"TemporaryFile(/tmp/multipartBody9113058006477158164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754726277,"filename":"image_24012025_19_58_02_356967_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2fd78d64eb7810d0524be8e2513e587b.jpg","text":"TemporaryFile(/tmp/multipartBody4786035266631457345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754726277,"filename":"image_24012025_19_58_02_356967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/75b0dc41a5b5f4cdefb355432eaced43.jpg","text":"TemporaryFile(/tmp/multipartBody6432270698287152645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754726277,"filename":"image_24012025_19_59_02_471957_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331141197","file1":"1331140849","file0":"1331140836","file4":"1331141851","file5":"1331141855","file3":"1331141475"},"map_files_photo_id_array":[{"photo_id":"1331141855","filename":"file5"},{"photo_id":"1331141197","filename":"file2"},{"photo_id":"1331141851","filename":"file4"},{"photo_id":"1331140849","filename":"file1"},{"photo_id":"1331140836","filename":"file0"},{"photo_id":"1331141475","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331141197":["hashtag1","hashtag2"]},{"1331141851":["hashtag1","hashtag2"]},{"1331141475":["hashtag1","hashtag2"]},{"1331140849":["hashtag1","hashtag2"]},{"1331140836":["hashtag1","hashtag2"]},{"1331141855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331141197, 1331141851, 1331141475, 1331140849, 1331140836, 1331141855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.54998207092285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 22:38:42.321777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/19/59/image_24012025_19_59_02_471957_0002.jpg', '/home/pi/Desktop/images/24012025/19/59/image_24012025_19_59_02_471957_0003.jpg', '/home/pi/Desktop/images/24012025/20/00/image_24012025_20_00_02_623417_0000.jpg', '/home/pi/Desktop/images/24012025/20/00/image_24012025_20_00_02_623417_0001.jpg', '/home/pi/Desktop/images/24012025/20/00/image_24012025_20_00_02_623417_0002.jpg', '/home/pi/Desktop/images/24012025/20/00/image_24012025_20_00_02_623417_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/19/59/image_24012025_19_59_02_471957_0002.jpg
/home/pi/Desktop/images/24012025/19/59/image_24012025_19_59_02_471957_0003.jpg
/home/pi/Desktop/images/24012025/20/00/image_24012025_20_00_02_623417_0000.jpg
/home/pi/Desktop/images/24012025/20/00/image_24012025_20_00_02_623417_0001.jpg
/home/pi/Desktop/images/24012025/20/00/image_24012025_20_00_02_623417_0002.jpg
/home/pi/Desktop/images/24012025/20/00/image_24012025_20_00_02_623417_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331142070","1331141956","1331142099","1331141991","1331141973","1331141942"],"photo_ids_order":["1331141942","1331141956","1331141973","1331141991","1331142070","1331142099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3b223cae800380d2715d0561d448813e.jpg","text":"TemporaryFile(/tmp/multipartBody2750679074628251815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754806281,"filename":"image_24012025_20_00_02_623417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6208f6d831e54803978fa24a96522f43.jpg","text":"TemporaryFile(/tmp/multipartBody2520971479249806470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754806281,"filename":"image_24012025_19_59_02_471957_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/be7114aa85e85ed8614e360da182a1c5.jpg","text":"TemporaryFile(/tmp/multipartBody2755680155334454099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754806281,"filename":"image_24012025_20_00_02_623417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7ab8da45b1ea1bfa044f50ad75e2aee.jpg","text":"TemporaryFile(/tmp/multipartBody1554366417324088794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754806281,"filename":"image_24012025_20_00_02_623417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ef797877530ef5fdeb375da50760c611.jpg","text":"TemporaryFile(/tmp/multipartBody2870554079671263765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754806281,"filename":"image_24012025_20_00_02_623417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d63d008949016596cde33b5070ced655.jpg","text":"TemporaryFile(/tmp/multipartBody98598676016504977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754806281,"filename":"image_24012025_19_59_02_471957_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331141973","file1":"1331141956","file0":"1331141942","file4":"1331142070","file5":"1331142099","file3":"1331141991"},"map_files_photo_id_array":[{"photo_id":"1331142099","filename":"file5"},{"photo_id":"1331141973","filename":"file2"},{"photo_id":"1331142070","filename":"file4"},{"photo_id":"1331141956","filename":"file1"},{"photo_id":"1331141942","filename":"file0"},{"photo_id":"1331141991","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331142070":["hashtag1","hashtag2"]},{"1331141956":["hashtag1","hashtag2"]},{"1331142099":["hashtag1","hashtag2"]},{"1331141991":["hashtag1","hashtag2"]},{"1331141973":["hashtag1","hashtag2"]},{"1331141942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331142070, 1331141956, 1331142099, 1331141991, 1331141973, 1331141942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.51927471160889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 22:40:03.157592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/01/image_24012025_20_01_02_836404_0000.jpg', '/home/pi/Desktop/images/24012025/20/01/image_24012025_20_01_02_836404_0001.jpg', '/home/pi/Desktop/images/24012025/20/01/image_24012025_20_01_02_836404_0002.jpg', '/home/pi/Desktop/images/24012025/20/01/image_24012025_20_01_02_836404_0003.jpg', '/home/pi/Desktop/images/24012025/20/02/image_24012025_20_02_03_043577_0000.jpg', '/home/pi/Desktop/images/24012025/20/02/image_24012025_20_02_03_043577_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/01/image_24012025_20_01_02_836404_0000.jpg
/home/pi/Desktop/images/24012025/20/01/image_24012025_20_01_02_836404_0001.jpg
/home/pi/Desktop/images/24012025/20/01/image_24012025_20_01_02_836404_0002.jpg
/home/pi/Desktop/images/24012025/20/01/image_24012025_20_01_02_836404_0003.jpg
/home/pi/Desktop/images/24012025/20/02/image_24012025_20_02_03_043577_0000.jpg
/home/pi/Desktop/images/24012025/20/02/image_24012025_20_02_03_043577_0001.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":["1331142592","1331142595","1331142711","1331142717","1331142680","1331142713"],"photo_ids_order":["1331142592","1331142595","1331142680","1331142711","1331142713","1331142717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f9dc719b6952bb2ea3f4c141eea40c4.jpg","text":"TemporaryFile(/tmp/multipartBody4961630386988783577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754882385,"filename":"image_24012025_20_01_02_836404_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1db01648f885381e7b5145210ec9e663.jpg","text":"TemporaryFile(/tmp/multipartBody8098657553859350021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754882385,"filename":"image_24012025_20_01_02_836404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/79cabb1c54ff8d07bb367f6b9cb7b3dc.jpg","text":"TemporaryFile(/tmp/multipartBody7591699977968472934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754882385,"filename":"image_24012025_20_01_02_836404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e9942337ebb3ed618042f466916ae88f.jpg","text":"TemporaryFile(/tmp/multipartBody7402011273531520670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754882385,"filename":"image_24012025_20_02_03_043577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/badf2e94758a160c7f51d1bc099f1474.jpg","text":"TemporaryFile(/tmp/multipartBody8395830894051390061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754882385,"filename":"image_24012025_20_01_02_836404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/88e52bd56fb4ab674a355dc98b7ac8e0.jpg","text":"TemporaryFile(/tmp/multipartBody6989748028322377514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754882385,"filename":"image_24012025_20_02_03_043577_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331142680","file1":"1331142595","file0":"1331142592","file4":"1331142713","file5":"1331142717","file3":"1331142711"},"map_files_photo_id_array":[{"photo_id":"1331142717","filename":"file5"},{"photo_id":"1331142680","filename":"file2"},{"photo_id":"1331142713","filename":"file4"},{"photo_id":"1331142595","filename":"file1"},{"photo_id":"1331142592","filename":"file0"},{"photo_id":"1331142711","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331142592":["hashtag1","hashtag2"]},{"1331142595":["hashtag1","hashtag2"]},{"1331142711":["hashtag1","hashtag2"]},{"1331142717":["hashtag1","hashtag2"]},{"1331142680":["hashtag1","hashtag2"]},{"1331142713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331142592, 1331142595, 1331142711, 1331142717, 1331142680, 1331142713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.02035164833069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:41:21.777546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/02/image_24012025_20_02_03_043577_0002.jpg', '/home/pi/Desktop/images/24012025/20/02/image_24012025_20_02_03_043577_0003.jpg', '/home/pi/Desktop/images/24012025/20/03/image_24012025_20_03_02_196904_0000.jpg', '/home/pi/Desktop/images/24012025/20/03/image_24012025_20_03_02_196904_0001.jpg', '/home/pi/Desktop/images/24012025/20/03/image_24012025_20_03_02_196904_0002.jpg', '/home/pi/Desktop/images/24012025/20/03/image_24012025_20_03_02_196904_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/02/image_24012025_20_02_03_043577_0002.jpg
/home/pi/Desktop/images/24012025/20/02/image_24012025_20_02_03_043577_0003.jpg
/home/pi/Desktop/images/24012025/20/03/image_24012025_20_03_02_196904_0000.jpg
/home/pi/Desktop/images/24012025/20/03/image_24012025_20_03_02_196904_0001.jpg
/home/pi/Desktop/images/24012025/20/03/image_24012025_20_03_02_196904_0002.jpg
/home/pi/Desktop/images/24012025/20/03/image_24012025_20_03_02_196904_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331142739","1331142768","1331142762","1331142738","1331142747","1331142773"],"photo_ids_order":["1331142738","1331142739","1331142747","1331142762","1331142768","1331142773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1e622d45baaa4c6f4d5d41ba1902e95b.jpg","text":"TemporaryFile(/tmp/multipartBody4273074539110763945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754964853,"filename":"image_24012025_20_02_03_043577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff0c25bcdbd243c62f146d8dbf9bc58c.jpg","text":"TemporaryFile(/tmp/multipartBody3560978755081315076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754964853,"filename":"image_24012025_20_03_02_196904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c0a486dcf51d5ed1323a2f9b4999a0c1.jpg","text":"TemporaryFile(/tmp/multipartBody1743179500722744888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754964853,"filename":"image_24012025_20_03_02_196904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/912e1c837bf8b4e7f35d364b28649508.jpg","text":"TemporaryFile(/tmp/multipartBody2836072287558826112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754964853,"filename":"image_24012025_20_02_03_043577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bf4ad97b92505ad68765116d1da3aa39.jpg","text":"TemporaryFile(/tmp/multipartBody7652956237592557466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754964853,"filename":"image_24012025_20_03_02_196904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8eb14c96a681e7539a05dacafa9a8c8d.jpg","text":"TemporaryFile(/tmp/multipartBody359475585393787326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737754964853,"filename":"image_24012025_20_03_02_196904_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331142747","file1":"1331142739","file0":"1331142738","file4":"1331142768","file5":"1331142773","file3":"1331142762"},"map_files_photo_id_array":[{"photo_id":"1331142773","filename":"file5"},{"photo_id":"1331142747","filename":"file2"},{"photo_id":"1331142768","filename":"file4"},{"photo_id":"1331142739","filename":"file1"},{"photo_id":"1331142738","filename":"file0"},{"photo_id":"1331142762","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331142739":["hashtag1","hashtag2"]},{"1331142768":["hashtag1","hashtag2"]},{"1331142762":["hashtag1","hashtag2"]},{"1331142738":["hashtag1","hashtag2"]},{"1331142747":["hashtag1","hashtag2"]},{"1331142773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331142739, 1331142768, 1331142762, 1331142738, 1331142747, 1331142773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.94579768180847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 22:42:41.941650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/04/image_24012025_20_04_02_409482_0000.jpg', '/home/pi/Desktop/images/24012025/20/04/image_24012025_20_04_02_409482_0001.jpg', '/home/pi/Desktop/images/24012025/20/04/image_24012025_20_04_02_409482_0002.jpg', '/home/pi/Desktop/images/24012025/20/04/image_24012025_20_04_02_409482_0003.jpg', '/home/pi/Desktop/images/24012025/20/05/image_24012025_20_05_02_588036_0000.jpg', '/home/pi/Desktop/images/24012025/20/05/image_24012025_20_05_02_588036_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/04/image_24012025_20_04_02_409482_0000.jpg
/home/pi/Desktop/images/24012025/20/04/image_24012025_20_04_02_409482_0001.jpg
/home/pi/Desktop/images/24012025/20/04/image_24012025_20_04_02_409482_0002.jpg
/home/pi/Desktop/images/24012025/20/04/image_24012025_20_04_02_409482_0003.jpg
/home/pi/Desktop/images/24012025/20/05/image_24012025_20_05_02_588036_0000.jpg
/home/pi/Desktop/images/24012025/20/05/image_24012025_20_05_02_588036_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331142799","1331142783","1331142807","1331142794","1331142788","1331142803"],"photo_ids_order":["1331142783","1331142788","1331142794","1331142799","1331142803","1331142807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40f3c3252e8eee3806c1b9ae0c1173ac.jpg","text":"TemporaryFile(/tmp/multipartBody5370566221240755304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755044080,"filename":"image_24012025_20_04_02_409482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5fe84984a8ac5cf348179653d7fa61d5.jpg","text":"TemporaryFile(/tmp/multipartBody3723116786848834134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755044080,"filename":"image_24012025_20_04_02_409482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/faf77b80ba4fdd3c32f132568648a97f.jpg","text":"TemporaryFile(/tmp/multipartBody5617549306187650880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755044080,"filename":"image_24012025_20_05_02_588036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5ebad1c9ea43338b090357e322946315.jpg","text":"TemporaryFile(/tmp/multipartBody1274489374653019518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755044080,"filename":"image_24012025_20_04_02_409482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cdb29995abc4b8010e9244ae88a6be96.jpg","text":"TemporaryFile(/tmp/multipartBody5001369937036832848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755044080,"filename":"image_24012025_20_04_02_409482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f45c1cbb5555c313ce380f32ac40539b.jpg","text":"TemporaryFile(/tmp/multipartBody3089909294682358815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755044080,"filename":"image_24012025_20_05_02_588036_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331142794","file1":"1331142788","file0":"1331142783","file4":"1331142803","file5":"1331142807","file3":"1331142799"},"map_files_photo_id_array":[{"photo_id":"1331142807","filename":"file5"},{"photo_id":"1331142794","filename":"file2"},{"photo_id":"1331142803","filename":"file4"},{"photo_id":"1331142788","filename":"file1"},{"photo_id":"1331142783","filename":"file0"},{"photo_id":"1331142799","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331142799":["hashtag1","hashtag2"]},{"1331142783":["hashtag1","hashtag2"]},{"1331142807":["hashtag1","hashtag2"]},{"1331142794":["hashtag1","hashtag2"]},{"1331142788":["hashtag1","hashtag2"]},{"1331142803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331142799, 1331142783, 1331142807, 1331142794, 1331142788, 1331142803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.23135995864868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 22:44:02.672786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/05/image_24012025_20_05_02_588036_0002.jpg', '/home/pi/Desktop/images/24012025/20/05/image_24012025_20_05_02_588036_0003.jpg', '/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0000.jpg', '/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0001.jpg', '/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0002.jpg', '/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/05/image_24012025_20_05_02_588036_0002.jpg
/home/pi/Desktop/images/24012025/20/05/image_24012025_20_05_02_588036_0003.jpg
/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0000.jpg
/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0001.jpg
/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0002.jpg
/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 25.30074715614319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:44:32.327544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/05/image_24012025_20_05_02_588036_0002.jpg', '/home/pi/Desktop/images/24012025/20/05/image_24012025_20_05_02_588036_0003.jpg', '/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0000.jpg', '/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0001.jpg', '/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0002.jpg', '/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/05/image_24012025_20_05_02_588036_0002.jpg
/home/pi/Desktop/images/24012025/20/05/image_24012025_20_05_02_588036_0003.jpg
/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0000.jpg
/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0001.jpg
/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0002.jpg
/home/pi/Desktop/images/24012025/20/06/image_24012025_20_06_02_728099_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331143216","1331143339","1331143309","1331143095","1331143074","1331143268"],"photo_ids_order":["1331143074","1331143095","1331143216","1331143268","1331143309","1331143339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3780918aa61b702dc13fb6686391b4e4.jpg","text":"TemporaryFile(/tmp/multipartBody4508222521994976665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755177346,"filename":"image_24012025_20_06_02_728099_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d1965beaadcbf872eaaa71f34f60a07.jpg","text":"TemporaryFile(/tmp/multipartBody5599182233547047759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755177346,"filename":"image_24012025_20_06_02_728099_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4de233ad91100f2394e5819986af657a.jpg","text":"TemporaryFile(/tmp/multipartBody4077419936707368782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755177346,"filename":"image_24012025_20_06_02_728099_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a2424efead0e7e5fa1fa4c171bc0fc55.jpg","text":"TemporaryFile(/tmp/multipartBody7484452192889309796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755177346,"filename":"image_24012025_20_05_02_588036_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ebcbf329566df8657144b968be61e07.jpg","text":"TemporaryFile(/tmp/multipartBody4395562683342077989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755177346,"filename":"image_24012025_20_05_02_588036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b501442b848f404e323dc8464aca6573.jpg","text":"TemporaryFile(/tmp/multipartBody5625527585724123466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755177346,"filename":"image_24012025_20_06_02_728099_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331143216","file1":"1331143095","file0":"1331143074","file4":"1331143309","file5":"1331143339","file3":"1331143268"},"map_files_photo_id_array":[{"photo_id":"1331143339","filename":"file5"},{"photo_id":"1331143216","filename":"file2"},{"photo_id":"1331143309","filename":"file4"},{"photo_id":"1331143095","filename":"file1"},{"photo_id":"1331143074","filename":"file0"},{"photo_id":"1331143268","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331143216":["hashtag1","hashtag2"]},{"1331143339":["hashtag1","hashtag2"]},{"1331143309":["hashtag1","hashtag2"]},{"1331143095":["hashtag1","hashtag2"]},{"1331143074":["hashtag1","hashtag2"]},{"1331143268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331143216, 1331143339, 1331143309, 1331143095, 1331143074, 1331143268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.54598879814148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:46:22.718011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/07/image_24012025_20_07_02_898484_0000.jpg', '/home/pi/Desktop/images/24012025/20/07/image_24012025_20_07_02_898484_0001.jpg', '/home/pi/Desktop/images/24012025/20/07/image_24012025_20_07_02_898484_0002.jpg', '/home/pi/Desktop/images/24012025/20/07/image_24012025_20_07_02_898484_0003.jpg', '/home/pi/Desktop/images/24012025/20/08/image_24012025_20_08_03_071198_0000.jpg', '/home/pi/Desktop/images/24012025/20/08/image_24012025_20_08_03_071198_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/07/image_24012025_20_07_02_898484_0000.jpg
/home/pi/Desktop/images/24012025/20/07/image_24012025_20_07_02_898484_0001.jpg
/home/pi/Desktop/images/24012025/20/07/image_24012025_20_07_02_898484_0002.jpg
/home/pi/Desktop/images/24012025/20/07/image_24012025_20_07_02_898484_0003.jpg
/home/pi/Desktop/images/24012025/20/08/image_24012025_20_08_03_071198_0000.jpg
/home/pi/Desktop/images/24012025/20/08/image_24012025_20_08_03_071198_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331143374","1331143364","1331143403","1331143412","1331143409","1331143369"],"photo_ids_order":["1331143364","1331143369","1331143374","1331143403","1331143409","1331143412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f7449f713ce1e87d632c5b90ee75efb.jpg","text":"TemporaryFile(/tmp/multipartBody8768956902544812450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755262927,"filename":"image_24012025_20_07_02_898484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/941a25b976d3105d20cb9e55fafe1236.jpg","text":"TemporaryFile(/tmp/multipartBody2329024198384141536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755262927,"filename":"image_24012025_20_07_02_898484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ba3053876a5966fe11765dd4c6abb903.jpg","text":"TemporaryFile(/tmp/multipartBody6087727229677780776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755262927,"filename":"image_24012025_20_07_02_898484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1fea7b304fafc79b6d4027da699b9357.jpg","text":"TemporaryFile(/tmp/multipartBody297061423876807689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755262927,"filename":"image_24012025_20_08_03_071198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/be97f708785754bdd3569760323baea1.jpg","text":"TemporaryFile(/tmp/multipartBody4160843250325514445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755262927,"filename":"image_24012025_20_08_03_071198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/02b3e84701b13d4936c49cb6506fa9df.jpg","text":"TemporaryFile(/tmp/multipartBody8324205835430390192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755262927,"filename":"image_24012025_20_07_02_898484_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331143374","file1":"1331143369","file0":"1331143364","file4":"1331143409","file5":"1331143412","file3":"1331143403"},"map_files_photo_id_array":[{"photo_id":"1331143412","filename":"file5"},{"photo_id":"1331143374","filename":"file2"},{"photo_id":"1331143409","filename":"file4"},{"photo_id":"1331143369","filename":"file1"},{"photo_id":"1331143364","filename":"file0"},{"photo_id":"1331143403","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331143374":["hashtag1","hashtag2"]},{"1331143364":["hashtag1","hashtag2"]},{"1331143403":["hashtag1","hashtag2"]},{"1331143412":["hashtag1","hashtag2"]},{"1331143409":["hashtag1","hashtag2"]},{"1331143369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331143374, 1331143364, 1331143403, 1331143412, 1331143409, 1331143369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.71878290176392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 22:47:41.918815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/08/image_24012025_20_08_03_071198_0002.jpg', '/home/pi/Desktop/images/24012025/20/08/image_24012025_20_08_03_071198_0003.jpg', '/home/pi/Desktop/images/24012025/20/09/image_24012025_20_09_02_242044_0000.jpg', '/home/pi/Desktop/images/24012025/20/09/image_24012025_20_09_02_242044_0001.jpg', '/home/pi/Desktop/images/24012025/20/09/image_24012025_20_09_02_242044_0002.jpg', '/home/pi/Desktop/images/24012025/20/09/image_24012025_20_09_02_242044_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/08/image_24012025_20_08_03_071198_0002.jpg
/home/pi/Desktop/images/24012025/20/08/image_24012025_20_08_03_071198_0003.jpg
/home/pi/Desktop/images/24012025/20/09/image_24012025_20_09_02_242044_0000.jpg
/home/pi/Desktop/images/24012025/20/09/image_24012025_20_09_02_242044_0001.jpg
/home/pi/Desktop/images/24012025/20/09/image_24012025_20_09_02_242044_0002.jpg
/home/pi/Desktop/images/24012025/20/09/image_24012025_20_09_02_242044_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331143828","1331143686","1331143902","1331143970","1331143885","1331143879"],"photo_ids_order":["1331143686","1331143828","1331143879","1331143885","1331143902","1331143970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6d20ae519edac2229b27ef3e2f6eb0d2.jpg","text":"TemporaryFile(/tmp/multipartBody5584909969458482971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755352193,"filename":"image_24012025_20_08_03_071198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/07144210b26c935609b5bd887229fb4e.jpg","text":"TemporaryFile(/tmp/multipartBody6072135166236185711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755352193,"filename":"image_24012025_20_08_03_071198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fa2aec74fd11e1c4df9f9187a8f049bf.jpg","text":"TemporaryFile(/tmp/multipartBody8291966216456596302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755352193,"filename":"image_24012025_20_09_02_242044_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/595b1f4d16b46ce910ba5f3bafc63e0a.jpg","text":"TemporaryFile(/tmp/multipartBody1116577525487620160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755352193,"filename":"image_24012025_20_09_02_242044_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/25fe1481fbe6361af7f5c8a785ef6df2.jpg","text":"TemporaryFile(/tmp/multipartBody1063938842127279181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755352193,"filename":"image_24012025_20_09_02_242044_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fde483d910ba4e6718be7a73f57b8003.jpg","text":"TemporaryFile(/tmp/multipartBody3894731521704636003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755352193,"filename":"image_24012025_20_09_02_242044_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331143879","file1":"1331143828","file0":"1331143686","file4":"1331143902","file5":"1331143970","file3":"1331143885"},"map_files_photo_id_array":[{"photo_id":"1331143970","filename":"file5"},{"photo_id":"1331143879","filename":"file2"},{"photo_id":"1331143902","filename":"file4"},{"photo_id":"1331143828","filename":"file1"},{"photo_id":"1331143686","filename":"file0"},{"photo_id":"1331143885","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331143828":["hashtag1","hashtag2"]},{"1331143686":["hashtag1","hashtag2"]},{"1331143902":["hashtag1","hashtag2"]},{"1331143970":["hashtag1","hashtag2"]},{"1331143885":["hashtag1","hashtag2"]},{"1331143879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331143828, 1331143686, 1331143902, 1331143970, 1331143885, 1331143879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.50536155700684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:49:22.271953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/10/image_24012025_20_10_02_422212_0000.jpg', '/home/pi/Desktop/images/24012025/20/10/image_24012025_20_10_02_422212_0001.jpg', '/home/pi/Desktop/images/24012025/20/10/image_24012025_20_10_02_422212_0002.jpg', '/home/pi/Desktop/images/24012025/20/10/image_24012025_20_10_02_422212_0003.jpg', '/home/pi/Desktop/images/24012025/20/11/image_24012025_20_11_02_678299_0000.jpg', '/home/pi/Desktop/images/24012025/20/11/image_24012025_20_11_02_678299_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/10/image_24012025_20_10_02_422212_0000.jpg
/home/pi/Desktop/images/24012025/20/10/image_24012025_20_10_02_422212_0001.jpg
/home/pi/Desktop/images/24012025/20/10/image_24012025_20_10_02_422212_0002.jpg
/home/pi/Desktop/images/24012025/20/10/image_24012025_20_10_02_422212_0003.jpg
/home/pi/Desktop/images/24012025/20/11/image_24012025_20_11_02_678299_0000.jpg
/home/pi/Desktop/images/24012025/20/11/image_24012025_20_11_02_678299_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331144211","1331144216","1331144266","1331144353","1331144233","1331144224"],"photo_ids_order":["1331144211","1331144216","1331144224","1331144233","1331144266","1331144353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/df6275e929e77112e1b3eb4cf7eabfc3.jpg","text":"TemporaryFile(/tmp/multipartBody6102522331490524835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755449493,"filename":"image_24012025_20_10_02_422212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ede3b9267023e8403b3880c5dacb601.jpg","text":"TemporaryFile(/tmp/multipartBody3873671652611741779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755449493,"filename":"image_24012025_20_10_02_422212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/01839ff76f6c0cc52b7a38bc05fc84fa.jpg","text":"TemporaryFile(/tmp/multipartBody5458418226575300775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755449493,"filename":"image_24012025_20_11_02_678299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/87a0efe3b02f5f0e9fc24b64e28ac08b.jpg","text":"TemporaryFile(/tmp/multipartBody319616678052244744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755449493,"filename":"image_24012025_20_11_02_678299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed7433f8117b778fe0ce9f1214f38fd9.jpg","text":"TemporaryFile(/tmp/multipartBody8405272628664116891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755449493,"filename":"image_24012025_20_10_02_422212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b62c52ec0943bf946c9e685bd34f32de.jpg","text":"TemporaryFile(/tmp/multipartBody4357202256885902433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755449493,"filename":"image_24012025_20_10_02_422212_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331144224","file1":"1331144216","file0":"1331144211","file4":"1331144266","file5":"1331144353","file3":"1331144233"},"map_files_photo_id_array":[{"photo_id":"1331144353","filename":"file5"},{"photo_id":"1331144224","filename":"file2"},{"photo_id":"1331144266","filename":"file4"},{"photo_id":"1331144216","filename":"file1"},{"photo_id":"1331144211","filename":"file0"},{"photo_id":"1331144233","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331144211":["hashtag1","hashtag2"]},{"1331144216":["hashtag1","hashtag2"]},{"1331144266":["hashtag1","hashtag2"]},{"1331144353":["hashtag1","hashtag2"]},{"1331144233":["hashtag1","hashtag2"]},{"1331144224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331144211, 1331144216, 1331144266, 1331144353, 1331144233, 1331144224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.10871863365173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:50:52.479425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/11/image_24012025_20_11_02_678299_0002.jpg', '/home/pi/Desktop/images/24012025/20/11/image_24012025_20_11_02_678299_0003.jpg', '/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0000.jpg', '/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0001.jpg', '/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0002.jpg', '/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/11/image_24012025_20_11_02_678299_0002.jpg
/home/pi/Desktop/images/24012025/20/11/image_24012025_20_11_02_678299_0003.jpg
/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0000.jpg
/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0001.jpg
/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0002.jpg
/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 18.135045766830444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 22:51:22.714237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/11/image_24012025_20_11_02_678299_0002.jpg', '/home/pi/Desktop/images/24012025/20/11/image_24012025_20_11_02_678299_0003.jpg', '/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0000.jpg', '/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0001.jpg', '/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0002.jpg', '/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/11/image_24012025_20_11_02_678299_0002.jpg
/home/pi/Desktop/images/24012025/20/11/image_24012025_20_11_02_678299_0003.jpg
/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0000.jpg
/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0001.jpg
/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0002.jpg
/home/pi/Desktop/images/24012025/20/12/image_24012025_20_12_02_868202_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331144649","1331144628","1331144657","1331144621","1331144665","1331144638"],"photo_ids_order":["1331144621","1331144628","1331144638","1331144649","1331144657","1331144665"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/62295ca848e62c019dc7adfcde544da7.jpg","text":"TemporaryFile(/tmp/multipartBody7240398885526465838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755585201,"filename":"image_24012025_20_12_02_868202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98c7ed56f9709c919b84fba22f26bb17.jpg","text":"TemporaryFile(/tmp/multipartBody3222886933498241553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755585201,"filename":"image_24012025_20_11_02_678299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/12c9f431a0c75b3fb60989d63442bd9d.jpg","text":"TemporaryFile(/tmp/multipartBody6695951795568890742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755585201,"filename":"image_24012025_20_12_02_868202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7883ecc067895ffe789447646e9867d7.jpg","text":"TemporaryFile(/tmp/multipartBody5427867943697851660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755585201,"filename":"image_24012025_20_11_02_678299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23bda0aa8f72b2cbe39cdcbe4b7fdb1d.jpg","text":"TemporaryFile(/tmp/multipartBody2586291968360038488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755585201,"filename":"image_24012025_20_12_02_868202_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8a8f85f48d2cfb71c9e9cd12a97ff607.jpg","text":"TemporaryFile(/tmp/multipartBody6421613792529237808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755585201,"filename":"image_24012025_20_12_02_868202_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331144638","file1":"1331144628","file0":"1331144621","file4":"1331144657","file5":"1331144665","file3":"1331144649"},"map_files_photo_id_array":[{"photo_id":"1331144665","filename":"file5"},{"photo_id":"1331144638","filename":"file2"},{"photo_id":"1331144657","filename":"file4"},{"photo_id":"1331144628","filename":"file1"},{"photo_id":"1331144621","filename":"file0"},{"photo_id":"1331144649","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331144649":["hashtag1","hashtag2"]},{"1331144628":["hashtag1","hashtag2"]},{"1331144657":["hashtag1","hashtag2"]},{"1331144621":["hashtag1","hashtag2"]},{"1331144665":["hashtag1","hashtag2"]},{"1331144638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331144649, 1331144628, 1331144657, 1331144621, 1331144665, 1331144638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.58207488059998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 22:53:02.631209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/13/image_24012025_20_13_03_092182_0000.jpg', '/home/pi/Desktop/images/24012025/20/13/image_24012025_20_13_03_092182_0001.jpg', '/home/pi/Desktop/images/24012025/20/13/image_24012025_20_13_03_092182_0002.jpg', '/home/pi/Desktop/images/24012025/20/13/image_24012025_20_13_03_092182_0003.jpg', '/home/pi/Desktop/images/24012025/20/14/image_24012025_20_14_02_282962_0000.jpg', '/home/pi/Desktop/images/24012025/20/14/image_24012025_20_14_02_282962_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/13/image_24012025_20_13_03_092182_0000.jpg
/home/pi/Desktop/images/24012025/20/13/image_24012025_20_13_03_092182_0001.jpg
/home/pi/Desktop/images/24012025/20/13/image_24012025_20_13_03_092182_0002.jpg
/home/pi/Desktop/images/24012025/20/13/image_24012025_20_13_03_092182_0003.jpg
/home/pi/Desktop/images/24012025/20/14/image_24012025_20_14_02_282962_0000.jpg
/home/pi/Desktop/images/24012025/20/14/image_24012025_20_14_02_282962_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331144784","1331144777","1331144804","1331144788","1331144796","1331144781"],"photo_ids_order":["1331144777","1331144781","1331144784","1331144788","1331144796","1331144804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a7625003bc213d42cc836648e46780a.jpg","text":"TemporaryFile(/tmp/multipartBody2668962172899202107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755678669,"filename":"image_24012025_20_13_03_092182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5e6be88aaf7ca25dd31c125e8b20da7c.jpg","text":"TemporaryFile(/tmp/multipartBody2847226252440509404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755678669,"filename":"image_24012025_20_13_03_092182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/90985a42f70aa704af69b1ad0207636c.jpg","text":"TemporaryFile(/tmp/multipartBody4390232705635445857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755678669,"filename":"image_24012025_20_14_02_282962_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c76335490eb06dcca33c32b5c3a045a0.jpg","text":"TemporaryFile(/tmp/multipartBody461095399537032907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755678669,"filename":"image_24012025_20_13_03_092182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/698bd699c375309cbac6aed0520a271b.jpg","text":"TemporaryFile(/tmp/multipartBody4820407806149768798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755678669,"filename":"image_24012025_20_14_02_282962_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6d532850ac054db790ee6eec6066153c.jpg","text":"TemporaryFile(/tmp/multipartBody8455468508962894943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755678669,"filename":"image_24012025_20_13_03_092182_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331144784","file1":"1331144781","file0":"1331144777","file4":"1331144796","file5":"1331144804","file3":"1331144788"},"map_files_photo_id_array":[{"photo_id":"1331144804","filename":"file5"},{"photo_id":"1331144784","filename":"file2"},{"photo_id":"1331144796","filename":"file4"},{"photo_id":"1331144781","filename":"file1"},{"photo_id":"1331144777","filename":"file0"},{"photo_id":"1331144788","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331144784":["hashtag1","hashtag2"]},{"1331144777":["hashtag1","hashtag2"]},{"1331144804":["hashtag1","hashtag2"]},{"1331144788":["hashtag1","hashtag2"]},{"1331144796":["hashtag1","hashtag2"]},{"1331144781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331144784, 1331144777, 1331144804, 1331144788, 1331144796, 1331144781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.66648173332214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 22:54:42.185323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/14/image_24012025_20_14_02_282962_0002.jpg', '/home/pi/Desktop/images/24012025/20/14/image_24012025_20_14_02_282962_0003.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0000.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0001.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0002.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/14/image_24012025_20_14_02_282962_0002.jpg
/home/pi/Desktop/images/24012025/20/14/image_24012025_20_14_02_282962_0003.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0000.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0001.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0002.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 41.11209845542908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:55:32.353430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/14/image_24012025_20_14_02_282962_0002.jpg', '/home/pi/Desktop/images/24012025/20/14/image_24012025_20_14_02_282962_0003.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0000.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0001.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0002.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/14/image_24012025_20_14_02_282962_0002.jpg
/home/pi/Desktop/images/24012025/20/14/image_24012025_20_14_02_282962_0003.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0000.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0001.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0002.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_02_425467_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331144850","1331144844","1331144942","1331145091","1331144854","1331145036"],"photo_ids_order":["1331144844","1331144850","1331144854","1331144942","1331145036","1331145091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a9eb4cccd4e91507371a8d7ba8a98f72.jpg","text":"TemporaryFile(/tmp/multipartBody4301060702504921430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755826506,"filename":"image_24012025_20_14_02_282962_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9a0e9be0cbaf7cb048c8f78a611dad31.jpg","text":"TemporaryFile(/tmp/multipartBody682498931237654137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755826506,"filename":"image_24012025_20_14_02_282962_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/16ee7d6e7a881e593ce58cf01247aa6b.jpg","text":"TemporaryFile(/tmp/multipartBody3677549612979079827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755826506,"filename":"image_24012025_20_15_02_425467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/335ef3c1d1ede9f5f55b803b0beccc99.jpg","text":"TemporaryFile(/tmp/multipartBody5020410157924153793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755826506,"filename":"image_24012025_20_15_02_425467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd80db31954f332e06dce0c0b3bf8bc1.jpg","text":"TemporaryFile(/tmp/multipartBody1005009495128576624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755826506,"filename":"image_24012025_20_15_02_425467_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3d01b7440ae8aa3efd89d94c3b669fb2.jpg","text":"TemporaryFile(/tmp/multipartBody7948915985164808648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737755826506,"filename":"image_24012025_20_15_02_425467_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331144854","file1":"1331144850","file0":"1331144844","file4":"1331145036","file5":"1331145091","file3":"1331144942"},"map_files_photo_id_array":[{"photo_id":"1331145091","filename":"file5"},{"photo_id":"1331144854","filename":"file2"},{"photo_id":"1331145036","filename":"file4"},{"photo_id":"1331144850","filename":"file1"},{"photo_id":"1331144844","filename":"file0"},{"photo_id":"1331144942","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331144850":["hashtag1","hashtag2"]},{"1331144844":["hashtag1","hashtag2"]},{"1331144942":["hashtag1","hashtag2"]},{"1331145091":["hashtag1","hashtag2"]},{"1331144854":["hashtag1","hashtag2"]},{"1331145036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331144850, 1331144844, 1331144942, 1331145091, 1331144854, 1331145036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.22118854522705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 22:57:03.329488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0000.jpg', '/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0001.jpg', '/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0002.jpg', '/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0003.jpg', '/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0000.jpg', '/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0000.jpg
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0001.jpg
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0002.jpg
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0003.jpg
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0000.jpg
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0001.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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 22:59:02.567588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0000.jpg', '/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0001.jpg', '/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0002.jpg', '/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0003.jpg', '/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0000.jpg', '/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0000.jpg
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0001.jpg
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0002.jpg
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0003.jpg
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0000.jpg
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 39.09391522407532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 22:59:52.062947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0000.jpg', '/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0001.jpg', '/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0002.jpg', '/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0003.jpg', '/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0000.jpg', '/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0000.jpg
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0001.jpg
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0002.jpg
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_02_619262_0003.jpg
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0000.jpg
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331145918","1331145711","1331145705","1331145842","1331145758","1331145778"],"photo_ids_order":["1331145705","1331145711","1331145758","1331145778","1331145842","1331145918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2874358c2e5dee86785b0deefb05a9df.jpg","text":"TemporaryFile(/tmp/multipartBody8307902186981258131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756107024,"filename":"image_24012025_20_17_02_904380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/365e48e9bc2f95c01f3173f82294e548.jpg","text":"TemporaryFile(/tmp/multipartBody4851970256918727640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756107024,"filename":"image_24012025_20_16_02_619262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b10c4317e38afc4d38ab400001b0cfe0.jpg","text":"TemporaryFile(/tmp/multipartBody7128517802322690066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756107024,"filename":"image_24012025_20_16_02_619262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dc63208bf3b48db6d90d7bc9ef6afcea.jpg","text":"TemporaryFile(/tmp/multipartBody5483642769280848495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756107024,"filename":"image_24012025_20_17_02_904380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f2b7dbc341e9a5cfaeb126dc6a6c45a4.jpg","text":"TemporaryFile(/tmp/multipartBody6596587649154733260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756107024,"filename":"image_24012025_20_16_02_619262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5163c7d6d9e0683fb485b0e50b279f9b.jpg","text":"TemporaryFile(/tmp/multipartBody8786503908139540607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756107024,"filename":"image_24012025_20_16_02_619262_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331145758","file1":"1331145711","file0":"1331145705","file4":"1331145842","file5":"1331145918","file3":"1331145778"},"map_files_photo_id_array":[{"photo_id":"1331145918","filename":"file5"},{"photo_id":"1331145758","filename":"file2"},{"photo_id":"1331145842","filename":"file4"},{"photo_id":"1331145711","filename":"file1"},{"photo_id":"1331145705","filename":"file0"},{"photo_id":"1331145778","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331145918":["hashtag1","hashtag2"]},{"1331145711":["hashtag1","hashtag2"]},{"1331145705":["hashtag1","hashtag2"]},{"1331145842":["hashtag1","hashtag2"]},{"1331145758":["hashtag1","hashtag2"]},{"1331145778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331145918, 1331145711, 1331145705, 1331145842, 1331145758, 1331145778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 115.82455968856812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:01:52.462946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0002.jpg', '/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0003.jpg', '/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_02_937120_0000.jpg', '/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_02_937120_0001.jpg', '/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_02_937120_0002.jpg', '/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_02_937120_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0002.jpg
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_02_904380_0003.jpg
/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_02_937120_0000.jpg
/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_02_937120_0001.jpg
/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_02_937120_0002.jpg
/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_02_937120_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331146163","1331146145","1331146100","1331146159","1331146147","1331146146"],"photo_ids_order":["1331146100","1331146145","1331146146","1331146147","1331146159","1331146163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a3e67797301f5d15d1f3fc02866d4ec8.jpg","text":"TemporaryFile(/tmp/multipartBody1457609406162028467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756205244,"filename":"image_24012025_20_18_02_937120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1dc2271f9090a57603a5f6ba5f379320.jpg","text":"TemporaryFile(/tmp/multipartBody2815772714911535198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756205244,"filename":"image_24012025_20_17_02_904380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1737c399521c73c40a294a15815dedf2.jpg","text":"TemporaryFile(/tmp/multipartBody5537036941129690200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756205244,"filename":"image_24012025_20_17_02_904380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a285c1123b7baa63c6fc0ebab59b278f.jpg","text":"TemporaryFile(/tmp/multipartBody7394593825925518475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756205244,"filename":"image_24012025_20_18_02_937120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b41e93f18ca15b994af36a519d3886b1.jpg","text":"TemporaryFile(/tmp/multipartBody5201758822822330694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756205244,"filename":"image_24012025_20_18_02_937120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c10a838e3104249a7b59ee98fa78250d.jpg","text":"TemporaryFile(/tmp/multipartBody3232058475660502519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756205244,"filename":"image_24012025_20_18_02_937120_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331146146","file1":"1331146145","file0":"1331146100","file4":"1331146159","file5":"1331146163","file3":"1331146147"},"map_files_photo_id_array":[{"photo_id":"1331146163","filename":"file5"},{"photo_id":"1331146146","filename":"file2"},{"photo_id":"1331146159","filename":"file4"},{"photo_id":"1331146145","filename":"file1"},{"photo_id":"1331146100","filename":"file0"},{"photo_id":"1331146147","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331146163":["hashtag1","hashtag2"]},{"1331146145":["hashtag1","hashtag2"]},{"1331146100":["hashtag1","hashtag2"]},{"1331146159":["hashtag1","hashtag2"]},{"1331146147":["hashtag1","hashtag2"]},{"1331146146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331146163, 1331146145, 1331146100, 1331146159, 1331146147, 1331146146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.70651292800903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 23:03:21.883206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_02_126193_0000.jpg', '/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_02_126193_0001.jpg', '/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_02_126193_0002.jpg', '/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_02_126193_0003.jpg', '/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_02_286922_0000.jpg', '/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_02_286922_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_02_126193_0000.jpg
/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_02_126193_0001.jpg
/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_02_126193_0002.jpg
/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_02_126193_0003.jpg
/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_02_286922_0000.jpg
/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_02_286922_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331146223","1331146232","1331146229","1331146234","1331146236","1331146218"],"photo_ids_order":["1331146218","1331146223","1331146229","1331146232","1331146234","1331146236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5b456a372dcdf49f2474c73d3b3a6e5f.jpg","text":"TemporaryFile(/tmp/multipartBody4461630530852299167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756299319,"filename":"image_24012025_20_19_02_126193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bb06ff12929eac53d965f1eca2b96eee.jpg","text":"TemporaryFile(/tmp/multipartBody3185469039558667399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756299319,"filename":"image_24012025_20_19_02_126193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2169e2f77bfbcb42a7ed469a5482f935.jpg","text":"TemporaryFile(/tmp/multipartBody1362442579840699065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756299319,"filename":"image_24012025_20_19_02_126193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e40818fa224911c2578edf2e0df33bcc.jpg","text":"TemporaryFile(/tmp/multipartBody1931833887570911839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756299319,"filename":"image_24012025_20_20_02_286922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/da36c084934e327935baaec7d9723817.jpg","text":"TemporaryFile(/tmp/multipartBody673509508470770587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756299319,"filename":"image_24012025_20_20_02_286922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1bbd61fda7a55b4f8bc04edf61c5404c.jpg","text":"TemporaryFile(/tmp/multipartBody5257535377562082787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756299319,"filename":"image_24012025_20_19_02_126193_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331146229","file1":"1331146223","file0":"1331146218","file4":"1331146234","file5":"1331146236","file3":"1331146232"},"map_files_photo_id_array":[{"photo_id":"1331146236","filename":"file5"},{"photo_id":"1331146229","filename":"file2"},{"photo_id":"1331146234","filename":"file4"},{"photo_id":"1331146223","filename":"file1"},{"photo_id":"1331146218","filename":"file0"},{"photo_id":"1331146232","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331146223":["hashtag1","hashtag2"]},{"1331146232":["hashtag1","hashtag2"]},{"1331146229":["hashtag1","hashtag2"]},{"1331146234":["hashtag1","hashtag2"]},{"1331146236":["hashtag1","hashtag2"]},{"1331146218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331146223, 1331146232, 1331146229, 1331146234, 1331146236, 1331146218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.84304976463318 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 23:05:02.910052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_02_286922_0002.jpg', '/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_02_286922_0003.jpg', '/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_02_490598_0000.jpg', '/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_02_490598_0001.jpg', '/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_02_490598_0002.jpg', '/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_02_490598_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_02_286922_0002.jpg
/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_02_286922_0003.jpg
/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_02_490598_0000.jpg
/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_02_490598_0001.jpg
/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_02_490598_0002.jpg
/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_02_490598_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331146268","1331146283","1331146285","1331146296","1331146290","1331146284"],"photo_ids_order":["1331146268","1331146283","1331146284","1331146285","1331146290","1331146296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0a9ab44010f0bea455ff3a066c4c93f3.jpg","text":"TemporaryFile(/tmp/multipartBody2107777278692138120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756390026,"filename":"image_24012025_20_20_02_286922_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eb80dad38f7bb00315fe86cc18d100db.jpg","text":"TemporaryFile(/tmp/multipartBody5724011583881410946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756390026,"filename":"image_24012025_20_20_02_286922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/07d7f6f1b979d8eb5380dfe64ac2c565.jpg","text":"TemporaryFile(/tmp/multipartBody638703967074163599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756390026,"filename":"image_24012025_20_21_02_490598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/98a3e71f994fa1c82bee687f5b54f1d8.jpg","text":"TemporaryFile(/tmp/multipartBody585080838715886600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756390026,"filename":"image_24012025_20_21_02_490598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c064ca69ccf358da63d88d24dc25d7c4.jpg","text":"TemporaryFile(/tmp/multipartBody6986307828946635683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756390026,"filename":"image_24012025_20_21_02_490598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2d9ea1367c364240c9edae34c2b14079.jpg","text":"TemporaryFile(/tmp/multipartBody7220753509232831357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756390026,"filename":"image_24012025_20_21_02_490598_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331146284","file1":"1331146283","file0":"1331146268","file4":"1331146290","file5":"1331146296","file3":"1331146285"},"map_files_photo_id_array":[{"photo_id":"1331146296","filename":"file5"},{"photo_id":"1331146284","filename":"file2"},{"photo_id":"1331146290","filename":"file4"},{"photo_id":"1331146283","filename":"file1"},{"photo_id":"1331146268","filename":"file0"},{"photo_id":"1331146285","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331146268":["hashtag1","hashtag2"]},{"1331146283":["hashtag1","hashtag2"]},{"1331146285":["hashtag1","hashtag2"]},{"1331146296":["hashtag1","hashtag2"]},{"1331146290":["hashtag1","hashtag2"]},{"1331146284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331146268, 1331146283, 1331146285, 1331146296, 1331146290, 1331146284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.95888352394104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:06:32.392835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_02_715226_0000.jpg', '/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_02_715226_0001.jpg', '/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_02_715226_0002.jpg', '/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_02_715226_0003.jpg', '/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_02_876906_0000.jpg', '/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_02_876906_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_02_715226_0000.jpg
/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_02_715226_0001.jpg
/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_02_715226_0002.jpg
/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_02_715226_0003.jpg
/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_02_876906_0000.jpg
/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_02_876906_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331146841","1331146759","1331146906","1331146893","1331146752","1331146836"],"photo_ids_order":["1331146752","1331146759","1331146836","1331146841","1331146893","1331146906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e4c017631aec02a198760ba7db2bc6b3.jpg","text":"TemporaryFile(/tmp/multipartBody3284725511164084117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756481225,"filename":"image_24012025_20_22_02_715226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/806cef92298930bab139fa315d919612.jpg","text":"TemporaryFile(/tmp/multipartBody8818742259991758041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756481225,"filename":"image_24012025_20_22_02_715226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3f700d90d75fbbcea09f0ed01215782e.jpg","text":"TemporaryFile(/tmp/multipartBody5604234573046396287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756481225,"filename":"image_24012025_20_23_02_876906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/77645dd54e387eafb2e344e8ff985853.jpg","text":"TemporaryFile(/tmp/multipartBody8539670566354737950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756481225,"filename":"image_24012025_20_23_02_876906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0c7436ab463663921336f50a7d2a6aed.jpg","text":"TemporaryFile(/tmp/multipartBody7580816136702195432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756481225,"filename":"image_24012025_20_22_02_715226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bc5a76b095c449a91859c196e0aaa875.jpg","text":"TemporaryFile(/tmp/multipartBody1080777184009719830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756481225,"filename":"image_24012025_20_22_02_715226_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331146836","file1":"1331146759","file0":"1331146752","file4":"1331146893","file5":"1331146906","file3":"1331146841"},"map_files_photo_id_array":[{"photo_id":"1331146906","filename":"file5"},{"photo_id":"1331146836","filename":"file2"},{"photo_id":"1331146893","filename":"file4"},{"photo_id":"1331146759","filename":"file1"},{"photo_id":"1331146752","filename":"file0"},{"photo_id":"1331146841","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331146841":["hashtag1","hashtag2"]},{"1331146759":["hashtag1","hashtag2"]},{"1331146906":["hashtag1","hashtag2"]},{"1331146893":["hashtag1","hashtag2"]},{"1331146752":["hashtag1","hashtag2"]},{"1331146836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331146841, 1331146759, 1331146906, 1331146893, 1331146752, 1331146836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.11907505989075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 23:08:03.270572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_02_876906_0002.jpg', '/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_02_876906_0003.jpg', '/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_03_086382_0000.jpg', '/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_03_086382_0001.jpg', '/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_03_086382_0002.jpg', '/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_03_086382_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_02_876906_0002.jpg
/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_02_876906_0003.jpg
/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_03_086382_0000.jpg
/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_03_086382_0001.jpg
/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_03_086382_0002.jpg
/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_03_086382_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331148277","1331148250","1331148267","1331148249","1331148263","1331148251"],"photo_ids_order":["1331148249","1331148250","1331148251","1331148263","1331148267","1331148277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cfd8de95025ce2d1aec201ae800e6eb7.jpg","text":"TemporaryFile(/tmp/multipartBody6412947430124479758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756569845,"filename":"image_24012025_20_24_03_086382_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fc8790f7df1a453ae995085973117d1e.jpg","text":"TemporaryFile(/tmp/multipartBody3577262080064252006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756569845,"filename":"image_24012025_20_23_02_876906_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/07fc85a14ca4523f0537755ec08dd2ca.jpg","text":"TemporaryFile(/tmp/multipartBody853748093703283906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756569845,"filename":"image_24012025_20_24_03_086382_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d1b1019eff2742a3878d4ebcc9be62d8.jpg","text":"TemporaryFile(/tmp/multipartBody2008083596449936220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756569845,"filename":"image_24012025_20_23_02_876906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f8fc6064f16015b63fd8274d18c03ff.jpg","text":"TemporaryFile(/tmp/multipartBody5550352138026834063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756569845,"filename":"image_24012025_20_24_03_086382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a47858f4b05583f3964030a9a0f47077.jpg","text":"TemporaryFile(/tmp/multipartBody2005960369155003839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756569845,"filename":"image_24012025_20_24_03_086382_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331148251","file1":"1331148250","file0":"1331148249","file4":"1331148267","file5":"1331148277","file3":"1331148263"},"map_files_photo_id_array":[{"photo_id":"1331148277","filename":"file5"},{"photo_id":"1331148251","filename":"file2"},{"photo_id":"1331148267","filename":"file4"},{"photo_id":"1331148250","filename":"file1"},{"photo_id":"1331148249","filename":"file0"},{"photo_id":"1331148263","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331148277":["hashtag1","hashtag2"]},{"1331148250":["hashtag1","hashtag2"]},{"1331148267":["hashtag1","hashtag2"]},{"1331148249":["hashtag1","hashtag2"]},{"1331148263":["hashtag1","hashtag2"]},{"1331148251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331148277, 1331148250, 1331148267, 1331148249, 1331148263, 1331148251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.93721103668213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:09:31.943525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_02_244785_0000.jpg', '/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_02_244785_0001.jpg', '/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_02_244785_0002.jpg', '/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_02_244785_0003.jpg', '/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_02_453611_0000.jpg', '/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_02_453611_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_02_244785_0000.jpg
/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_02_244785_0001.jpg
/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_02_244785_0002.jpg
/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_02_244785_0003.jpg
/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_02_453611_0000.jpg
/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_02_453611_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331149086","1331149155","1331149122","1331148948","1331148959","1331149054"],"photo_ids_order":["1331148948","1331148959","1331149054","1331149086","1331149122","1331149155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ffac2d1c83d2c6c2c2a7a835e99bc284.jpg","text":"TemporaryFile(/tmp/multipartBody69408504478138947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756679525,"filename":"image_24012025_20_25_02_244785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a87de1118eb8d3c611a9a2ff05772ab6.jpg","text":"TemporaryFile(/tmp/multipartBody1338644155534925110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756679525,"filename":"image_24012025_20_26_02_453611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b78f6496ddf3df92bffc05c55f86e5ab.jpg","text":"TemporaryFile(/tmp/multipartBody2374913426181228711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756679525,"filename":"image_24012025_20_26_02_453611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/eadf918b8cb799724b89f13e397d2784.jpg","text":"TemporaryFile(/tmp/multipartBody5272676978762671494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756679525,"filename":"image_24012025_20_25_02_244785_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e184e8abd19c7070382d1c2fad98015a.jpg","text":"TemporaryFile(/tmp/multipartBody50502990611781957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756679525,"filename":"image_24012025_20_25_02_244785_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3465dd5675e5dcda164a41fd48d5025f.jpg","text":"TemporaryFile(/tmp/multipartBody1377410214108448501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756679525,"filename":"image_24012025_20_25_02_244785_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331149054","file1":"1331148959","file0":"1331148948","file4":"1331149122","file5":"1331149155","file3":"1331149086"},"map_files_photo_id_array":[{"photo_id":"1331149155","filename":"file5"},{"photo_id":"1331149054","filename":"file2"},{"photo_id":"1331149122","filename":"file4"},{"photo_id":"1331148959","filename":"file1"},{"photo_id":"1331148948","filename":"file0"},{"photo_id":"1331149086","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331149086":["hashtag1","hashtag2"]},{"1331149155":["hashtag1","hashtag2"]},{"1331149122":["hashtag1","hashtag2"]},{"1331148948":["hashtag1","hashtag2"]},{"1331148959":["hashtag1","hashtag2"]},{"1331149054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331149086, 1331149155, 1331149122, 1331148948, 1331148959, 1331149054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.87266826629639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 23:11:22.390999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_02_453611_0002.jpg', '/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_02_453611_0003.jpg', '/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_02_600189_0000.jpg', '/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_02_600189_0001.jpg', '/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_02_600189_0002.jpg', '/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_02_600189_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_02_453611_0002.jpg
/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_02_453611_0003.jpg
/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_02_600189_0000.jpg
/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_02_600189_0001.jpg
/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_02_600189_0002.jpg
/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_02_600189_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331149290","1331149284","1331149289","1331149279","1331149288","1331149177"],"photo_ids_order":["1331149177","1331149279","1331149284","1331149288","1331149289","1331149290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dbb6f0c42bc48963501172e5488f57cc.jpg","text":"TemporaryFile(/tmp/multipartBody8186267792164404472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756787411,"filename":"image_24012025_20_27_02_600189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/64c4271359882dae8a8f0807fd98c992.jpg","text":"TemporaryFile(/tmp/multipartBody261259284614843818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756787411,"filename":"image_24012025_20_27_02_600189_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b8c4815899e69f3abc438bc02b5cee6e.jpg","text":"TemporaryFile(/tmp/multipartBody2628841358167133196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756787411,"filename":"image_24012025_20_27_02_600189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bea376ad3c36aa748cfdaf80285b51e4.jpg","text":"TemporaryFile(/tmp/multipartBody7858476032453383243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756787411,"filename":"image_24012025_20_26_02_453611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bda55a535baaba30566a055c8821cc90.jpg","text":"TemporaryFile(/tmp/multipartBody336908187302126868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756787411,"filename":"image_24012025_20_27_02_600189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2e06ffe4b589bc5366c77659f0a2e553.jpg","text":"TemporaryFile(/tmp/multipartBody6770916264052368155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756787411,"filename":"image_24012025_20_26_02_453611_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331149284","file1":"1331149279","file0":"1331149177","file4":"1331149289","file5":"1331149290","file3":"1331149288"},"map_files_photo_id_array":[{"photo_id":"1331149290","filename":"file5"},{"photo_id":"1331149284","filename":"file2"},{"photo_id":"1331149289","filename":"file4"},{"photo_id":"1331149279","filename":"file1"},{"photo_id":"1331149177","filename":"file0"},{"photo_id":"1331149288","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331149290":["hashtag1","hashtag2"]},{"1331149284":["hashtag1","hashtag2"]},{"1331149289":["hashtag1","hashtag2"]},{"1331149279":["hashtag1","hashtag2"]},{"1331149288":["hashtag1","hashtag2"]},{"1331149177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331149290, 1331149284, 1331149289, 1331149279, 1331149288, 1331149177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.9548408985138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 23:13:22.733666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_02_850845_0000.jpg', '/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_02_850845_0001.jpg', '/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_02_850845_0002.jpg', '/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_02_850845_0003.jpg', '/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_03_051617_0000.jpg', '/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_03_051617_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_02_850845_0000.jpg
/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_02_850845_0001.jpg
/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_02_850845_0002.jpg
/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_02_850845_0003.jpg
/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_03_051617_0000.jpg
/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_03_051617_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331149395","1331149356","1331149349","1331149334","1331149337","1331149390"],"photo_ids_order":["1331149334","1331149337","1331149349","1331149356","1331149390","1331149395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/239cc6dfc3f2a4bba28998f2c2e42363.jpg","text":"TemporaryFile(/tmp/multipartBody3936354500960744929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756892941,"filename":"image_24012025_20_29_03_051617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/14bd447fa72b475d76fe8089c949f52c.jpg","text":"TemporaryFile(/tmp/multipartBody5879979067992765888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756892941,"filename":"image_24012025_20_28_02_850845_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/25c4c6afa1beddac0e5c058fcc3ca954.jpg","text":"TemporaryFile(/tmp/multipartBody4781577773340041815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756892941,"filename":"image_24012025_20_28_02_850845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b7e11b3a6ec612360a77a03d62fb62e8.jpg","text":"TemporaryFile(/tmp/multipartBody8593414205563634455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756892941,"filename":"image_24012025_20_28_02_850845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e2db7f999eaf5e262f0cc43d5eb08a90.jpg","text":"TemporaryFile(/tmp/multipartBody5562247467995744953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756892941,"filename":"image_24012025_20_28_02_850845_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/870b0b1863b89e4e71d825625ccd4b68.jpg","text":"TemporaryFile(/tmp/multipartBody5836821464101976128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737756892941,"filename":"image_24012025_20_29_03_051617_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331149349","file1":"1331149337","file0":"1331149334","file4":"1331149390","file5":"1331149395","file3":"1331149356"},"map_files_photo_id_array":[{"photo_id":"1331149395","filename":"file5"},{"photo_id":"1331149349","filename":"file2"},{"photo_id":"1331149390","filename":"file4"},{"photo_id":"1331149337","filename":"file1"},{"photo_id":"1331149334","filename":"file0"},{"photo_id":"1331149356","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331149395":["hashtag1","hashtag2"]},{"1331149356":["hashtag1","hashtag2"]},{"1331149349":["hashtag1","hashtag2"]},{"1331149334":["hashtag1","hashtag2"]},{"1331149337":["hashtag1","hashtag2"]},{"1331149390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331149395, 1331149356, 1331149349, 1331149334, 1331149337, 1331149390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.073002576828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 23:15:02.773920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_03_051617_0002.jpg', '/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_03_051617_0003.jpg', '/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_02_250699_0000.jpg', '/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_02_250699_0001.jpg', '/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_02_250699_0002.jpg', '/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_02_250699_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_03_051617_0002.jpg
/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_03_051617_0003.jpg
/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_02_250699_0000.jpg
/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_02_250699_0001.jpg
/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_02_250699_0002.jpg
/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_02_250699_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331149711","1331149612","1331149609","1331149593","1331149560","1331149578"],"photo_ids_order":["1331149560","1331149578","1331149593","1331149609","1331149612","1331149711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d3cc1074eb9a73ead1c7620037450724.jpg","text":"TemporaryFile(/tmp/multipartBody4742748160955402247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757009783,"filename":"image_24012025_20_30_02_250699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/57661e10411110e3760e75a6f6ee6cef.jpg","text":"TemporaryFile(/tmp/multipartBody6487887752950270780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757009783,"filename":"image_24012025_20_30_02_250699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7f4b5b69ee6be6bae8e9369833694ee1.jpg","text":"TemporaryFile(/tmp/multipartBody5608260030466511760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757009783,"filename":"image_24012025_20_30_02_250699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4ecd96d2187fe368192bffe84ad75b47.jpg","text":"TemporaryFile(/tmp/multipartBody7381021244533334071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757009783,"filename":"image_24012025_20_30_02_250699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ff4f62db0d4d9bd98047bf4e938fc1a.jpg","text":"TemporaryFile(/tmp/multipartBody447756590137934045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757009783,"filename":"image_24012025_20_29_03_051617_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b0b863611504a3a92ac0ce5e6d0d7de8.jpg","text":"TemporaryFile(/tmp/multipartBody2965499586876243670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757009783,"filename":"image_24012025_20_29_03_051617_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331149593","file1":"1331149578","file0":"1331149560","file4":"1331149612","file5":"1331149711","file3":"1331149609"},"map_files_photo_id_array":[{"photo_id":"1331149711","filename":"file5"},{"photo_id":"1331149593","filename":"file2"},{"photo_id":"1331149612","filename":"file4"},{"photo_id":"1331149578","filename":"file1"},{"photo_id":"1331149560","filename":"file0"},{"photo_id":"1331149609","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331149711":["hashtag1","hashtag2"]},{"1331149612":["hashtag1","hashtag2"]},{"1331149609":["hashtag1","hashtag2"]},{"1331149593":["hashtag1","hashtag2"]},{"1331149560":["hashtag1","hashtag2"]},{"1331149578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331149711, 1331149612, 1331149609, 1331149593, 1331149560, 1331149578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.66091346740723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:16:52.159253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0000.jpg', '/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0001.jpg', '/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0002.jpg', '/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0003.jpg', '/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_02_635160_0000.jpg', '/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_02_635160_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0000.jpg
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0001.jpg
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0002.jpg
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0003.jpg
/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_02_635160_0000.jpg
/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_02_635160_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 26.32057285308838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 23:17:22.313299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0000.jpg', '/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0001.jpg', '/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0002.jpg', '/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0003.jpg', '/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_02_635160_0000.jpg', '/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_02_635160_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0000.jpg
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0001.jpg
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0002.jpg
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_02_390275_0003.jpg
/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_02_635160_0000.jpg
/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_02_635160_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331150071","1331150020","1331150017","1331150008","1331150007","1331150012"],"photo_ids_order":["1331150007","1331150008","1331150012","1331150017","1331150020","1331150071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c270ce7bc770f683ec61af378cb174ea.jpg","text":"TemporaryFile(/tmp/multipartBody327753118964674963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757131143,"filename":"image_24012025_20_32_02_635160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f6e5ed877ac527b5bd6c5aaa2630853.jpg","text":"TemporaryFile(/tmp/multipartBody2780187679877830147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757131143,"filename":"image_24012025_20_32_02_635160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4a68a57f7f9bbfc22634e27a05dfd1a2.jpg","text":"TemporaryFile(/tmp/multipartBody6750871638891485566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757131143,"filename":"image_24012025_20_31_02_390275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/61c733b0dc28f7063adc0139e361c1fa.jpg","text":"TemporaryFile(/tmp/multipartBody2729799849471420451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757131143,"filename":"image_24012025_20_31_02_390275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7cc2574162ba7010e093263684ddc48d.jpg","text":"TemporaryFile(/tmp/multipartBody7886221623704419746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757131143,"filename":"image_24012025_20_31_02_390275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/36c3731daf1a8b29090da38ac3c80ebf.jpg","text":"TemporaryFile(/tmp/multipartBody1319113127881753308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757131143,"filename":"image_24012025_20_31_02_390275_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331150012","file1":"1331150008","file0":"1331150007","file4":"1331150020","file5":"1331150071","file3":"1331150017"},"map_files_photo_id_array":[{"photo_id":"1331150071","filename":"file5"},{"photo_id":"1331150012","filename":"file2"},{"photo_id":"1331150020","filename":"file4"},{"photo_id":"1331150008","filename":"file1"},{"photo_id":"1331150007","filename":"file0"},{"photo_id":"1331150017","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331150071":["hashtag1","hashtag2"]},{"1331150020":["hashtag1","hashtag2"]},{"1331150017":["hashtag1","hashtag2"]},{"1331150008":["hashtag1","hashtag2"]},{"1331150007":["hashtag1","hashtag2"]},{"1331150012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331150071, 1331150020, 1331150017, 1331150008, 1331150007, 1331150012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.84922170639038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 23:18:42.571085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_02_635160_0002.jpg', '/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_02_635160_0003.jpg', '/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_02_840209_0000.jpg', '/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_02_840209_0003.jpg', '/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_03_142505_0000.jpg', '/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_03_142505_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_02_635160_0002.jpg
/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_02_635160_0003.jpg
/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_02_840209_0000.jpg
/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_02_840209_0003.jpg
/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_03_142505_0000.jpg
/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_03_142505_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331150851","1331150794","1331150835","1331150622","1331150651","1331150825"],"photo_ids_order":["1331150622","1331150651","1331150794","1331150825","1331150835","1331150851"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/047c528f7565126e321a5a0f2408e86c.jpg","text":"TemporaryFile(/tmp/multipartBody2957141147977061096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757228186,"filename":"image_24012025_20_34_03_142505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc5f2207fcd4626353233941e7a60861.jpg","text":"TemporaryFile(/tmp/multipartBody4050407046808554170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757228186,"filename":"image_24012025_20_33_02_840209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3fda6a1549a0f4ad7ee59634e0d3f73f.jpg","text":"TemporaryFile(/tmp/multipartBody5353570649674958257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757228186,"filename":"image_24012025_20_34_03_142505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ef82a9bd4cc7c6b0749cacaed5172c1.jpg","text":"TemporaryFile(/tmp/multipartBody8780159796746997962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757228186,"filename":"image_24012025_20_32_02_635160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f4e89f2b21f66e0b3c07b609d521e76a.jpg","text":"TemporaryFile(/tmp/multipartBody287428455863204148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757228186,"filename":"image_24012025_20_32_02_635160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ef6bea115f41b7f207a5c06fed11a3cc.jpg","text":"TemporaryFile(/tmp/multipartBody6700118024125151932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757228186,"filename":"image_24012025_20_33_02_840209_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331150794","file1":"1331150651","file0":"1331150622","file4":"1331150835","file5":"1331150851","file3":"1331150825"},"map_files_photo_id_array":[{"photo_id":"1331150851","filename":"file5"},{"photo_id":"1331150794","filename":"file2"},{"photo_id":"1331150835","filename":"file4"},{"photo_id":"1331150651","filename":"file1"},{"photo_id":"1331150622","filename":"file0"},{"photo_id":"1331150825","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331150851":["hashtag1","hashtag2"]},{"1331150794":["hashtag1","hashtag2"]},{"1331150835":["hashtag1","hashtag2"]},{"1331150622":["hashtag1","hashtag2"]},{"1331150651":["hashtag1","hashtag2"]},{"1331150825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331150851, 1331150794, 1331150835, 1331150622, 1331150651, 1331150825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.53566288948059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:20:31.875802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_03_142505_0002.jpg', '/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_02_202700_0000.jpg', '/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_02_202700_0001.jpg', '/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_02_392505_0001.jpg', '/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_02_392505_0002.jpg', '/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_02_392505_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_03_142505_0002.jpg
/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_02_202700_0000.jpg
/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_02_202700_0001.jpg
/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_02_392505_0001.jpg
/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_02_392505_0002.jpg
/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_02_392505_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 24.14812445640564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 23:21:02.563658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_03_142505_0002.jpg', '/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_02_202700_0000.jpg', '/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_02_202700_0001.jpg', '/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_02_392505_0001.jpg', '/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_02_392505_0002.jpg', '/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_02_392505_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_03_142505_0002.jpg
/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_02_202700_0000.jpg
/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_02_202700_0001.jpg
/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_02_392505_0001.jpg
/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_02_392505_0002.jpg
/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_02_392505_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331151219","1331151182","1331151167","1331151212","1331151215","1331151223"],"photo_ids_order":["1331151167","1331151182","1331151212","1331151215","1331151219","1331151223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9bec2e2706ff2cffd269a1195b4f6295.jpg","text":"TemporaryFile(/tmp/multipartBody4852850310328459439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757363404,"filename":"image_24012025_20_36_02_392505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/87376ce9af8a6b56809f34f471f657b2.jpg","text":"TemporaryFile(/tmp/multipartBody992099352057367682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757363404,"filename":"image_24012025_20_35_02_202700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1ae4f22e1c25ad4096b4d9ade2130ea.jpg","text":"TemporaryFile(/tmp/multipartBody9128104385975856984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757363404,"filename":"image_24012025_20_34_03_142505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d7d9167d749e743e920b88d7407ee9a8.jpg","text":"TemporaryFile(/tmp/multipartBody6590076560365759447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757363404,"filename":"image_24012025_20_35_02_202700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd9785f222ac6b1044958bfe8a6bded4.jpg","text":"TemporaryFile(/tmp/multipartBody3355851430904810493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757363404,"filename":"image_24012025_20_36_02_392505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b88dda29b2f4a82748271f91428ce167.jpg","text":"TemporaryFile(/tmp/multipartBody295024546565019302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757363404,"filename":"image_24012025_20_36_02_392505_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331151212","file1":"1331151182","file0":"1331151167","file4":"1331151219","file5":"1331151223","file3":"1331151215"},"map_files_photo_id_array":[{"photo_id":"1331151223","filename":"file5"},{"photo_id":"1331151212","filename":"file2"},{"photo_id":"1331151219","filename":"file4"},{"photo_id":"1331151182","filename":"file1"},{"photo_id":"1331151167","filename":"file0"},{"photo_id":"1331151215","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331151219":["hashtag1","hashtag2"]},{"1331151182":["hashtag1","hashtag2"]},{"1331151167":["hashtag1","hashtag2"]},{"1331151212":["hashtag1","hashtag2"]},{"1331151215":["hashtag1","hashtag2"]},{"1331151223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331151219, 1331151182, 1331151167, 1331151212, 1331151215, 1331151223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.44765305519104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 23:22:42.319106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_02_568288_0000.jpg', '/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_02_568288_0001.jpg', '/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_02_568288_0002.jpg', '/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_02_568288_0003.jpg', '/home/pi/Desktop/images/24012025/20/38/image_24012025_20_38_02_908683_0002.jpg', '/home/pi/Desktop/images/24012025/20/44/image_24012025_20_44_02_879019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_02_568288_0000.jpg
/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_02_568288_0001.jpg
/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_02_568288_0002.jpg
/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_02_568288_0003.jpg
/home/pi/Desktop/images/24012025/20/38/image_24012025_20_38_02_908683_0002.jpg
/home/pi/Desktop/images/24012025/20/44/image_24012025_20_44_02_879019_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331151309","1331151293","1331151284","1331151287","1331151289","1331151277"],"photo_ids_order":["1331151277","1331151284","1331151287","1331151289","1331151293","1331151309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f807c6514c2e90236e5cf82fa4119c2f.jpg","text":"TemporaryFile(/tmp/multipartBody3211348572788160419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757454454,"filename":"image_24012025_20_44_02_879019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/42b39a4f73c99c88a3d9049f688df338.jpg","text":"TemporaryFile(/tmp/multipartBody7527918031869872190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757454454,"filename":"image_24012025_20_38_02_908683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a8a375c356b3b7843fd369fc9c8b8652.jpg","text":"TemporaryFile(/tmp/multipartBody8545209697392122555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757454454,"filename":"image_24012025_20_37_02_568288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ed9091d28c5399c841b437571a3155e1.jpg","text":"TemporaryFile(/tmp/multipartBody2286871150079317556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757454454,"filename":"image_24012025_20_37_02_568288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7439016672cc968e25158bfbb1d9e8db.jpg","text":"TemporaryFile(/tmp/multipartBody4729131943934636646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757454454,"filename":"image_24012025_20_37_02_568288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/dd4bad278bb290a54f4e1906ee0fa6bf.jpg","text":"TemporaryFile(/tmp/multipartBody3837177206943435955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757454454,"filename":"image_24012025_20_37_02_568288_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331151287","file1":"1331151284","file0":"1331151277","file4":"1331151293","file5":"1331151309","file3":"1331151289"},"map_files_photo_id_array":[{"photo_id":"1331151309","filename":"file5"},{"photo_id":"1331151287","filename":"file2"},{"photo_id":"1331151293","filename":"file4"},{"photo_id":"1331151284","filename":"file1"},{"photo_id":"1331151277","filename":"file0"},{"photo_id":"1331151289","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331151309":["hashtag1","hashtag2"]},{"1331151293":["hashtag1","hashtag2"]},{"1331151284":["hashtag1","hashtag2"]},{"1331151287":["hashtag1","hashtag2"]},{"1331151289":["hashtag1","hashtag2"]},{"1331151277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331151309, 1331151293, 1331151284, 1331151287, 1331151289, 1331151277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.41297340393066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 23:24:22.656297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/52/image_24012025_20_52_02_391414_0000.jpg', '/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_02_947301_0000.jpg', '/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_02_947301_0002.jpg', '/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_02_947301_0003.jpg', '/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_03_177566_0000.jpg', '/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_03_177566_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/20/52/image_24012025_20_52_02_391414_0000.jpg
/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_02_947301_0000.jpg
/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_02_947301_0002.jpg
/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_02_947301_0003.jpg
/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_03_177566_0000.jpg
/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_03_177566_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331151366","1331151348","1331151342","1331151362","1331151356","1331151370"],"photo_ids_order":["1331151342","1331151348","1331151356","1331151362","1331151366","1331151370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b1f6c63c40025c7740445f331b35d852.jpg","text":"TemporaryFile(/tmp/multipartBody1682273835193391751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757557647,"filename":"image_24012025_21_02_03_177566_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a84f6ba7e8fb12c4a5b39ed941fbff3.jpg","text":"TemporaryFile(/tmp/multipartBody5336706832728829435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757557647,"filename":"image_24012025_21_01_02_947301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bea7c83a27cc8ded1c54bcfacdcba9db.jpg","text":"TemporaryFile(/tmp/multipartBody8900988024224956983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757557647,"filename":"image_24012025_20_52_02_391414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/890de1caabde74c48381135ccc2d646a.jpg","text":"TemporaryFile(/tmp/multipartBody4890959703409057658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757557647,"filename":"image_24012025_21_01_02_947301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/cc4d220215534bd7e72db474f42dfd02.jpg","text":"TemporaryFile(/tmp/multipartBody550712400991598209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757557647,"filename":"image_24012025_21_01_02_947301_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/21aabffb6fe19f3a7a80834c8f1f9c3f.jpg","text":"TemporaryFile(/tmp/multipartBody5670633983165330575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757557647,"filename":"image_24012025_21_02_03_177566_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331151356","file1":"1331151348","file0":"1331151342","file4":"1331151366","file5":"1331151370","file3":"1331151362"},"map_files_photo_id_array":[{"photo_id":"1331151370","filename":"file5"},{"photo_id":"1331151356","filename":"file2"},{"photo_id":"1331151366","filename":"file4"},{"photo_id":"1331151348","filename":"file1"},{"photo_id":"1331151342","filename":"file0"},{"photo_id":"1331151362","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331151366":["hashtag1","hashtag2"]},{"1331151348":["hashtag1","hashtag2"]},{"1331151342":["hashtag1","hashtag2"]},{"1331151362":["hashtag1","hashtag2"]},{"1331151356":["hashtag1","hashtag2"]},{"1331151370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331151366, 1331151348, 1331151342, 1331151362, 1331151356, 1331151370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.8132975101471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 23:26:02.409327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_03_177566_0002.jpg', '/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_03_177566_0003.jpg', '/home/pi/Desktop/images/24012025/21/03/image_24012025_21_03_02_245832_0000.jpg', '/home/pi/Desktop/images/24012025/21/03/image_24012025_21_03_02_245832_0001.jpg', '/home/pi/Desktop/images/24012025/21/03/image_24012025_21_03_02_245832_0002.jpg', '/home/pi/Desktop/images/24012025/21/03/image_24012025_21_03_02_245832_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_03_177566_0002.jpg
/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_03_177566_0003.jpg
/home/pi/Desktop/images/24012025/21/03/image_24012025_21_03_02_245832_0000.jpg
/home/pi/Desktop/images/24012025/21/03/image_24012025_21_03_02_245832_0001.jpg
/home/pi/Desktop/images/24012025/21/03/image_24012025_21_03_02_245832_0002.jpg
/home/pi/Desktop/images/24012025/21/03/image_24012025_21_03_02_245832_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331151406","1331151534","1331151470","1331151434","1331151487","1331151547"],"photo_ids_order":["1331151406","1331151434","1331151470","1331151487","1331151534","1331151547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9df4bbc31f8bf9f197677ec590938b96.jpg","text":"TemporaryFile(/tmp/multipartBody7162935702708268508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757650753,"filename":"image_24012025_21_02_03_177566_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4b901be8028f44529fdd257429166842.jpg","text":"TemporaryFile(/tmp/multipartBody1699377328579822578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757650753,"filename":"image_24012025_21_03_02_245832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0efdb8b05130b4240fa9ad6c03269a83.jpg","text":"TemporaryFile(/tmp/multipartBody283807705978446769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757650753,"filename":"image_24012025_21_03_02_245832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40a04a66c5edb9d162c23e3eee54084b.jpg","text":"TemporaryFile(/tmp/multipartBody1847706152413416115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757650753,"filename":"image_24012025_21_02_03_177566_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f5817aeefb8f30ac5bbf066521247be8.jpg","text":"TemporaryFile(/tmp/multipartBody7797696349573699295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757650753,"filename":"image_24012025_21_03_02_245832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/deddc8f83c5793698f78e25f984db11a.jpg","text":"TemporaryFile(/tmp/multipartBody2161165545002112184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757650753,"filename":"image_24012025_21_03_02_245832_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331151470","file1":"1331151434","file0":"1331151406","file4":"1331151534","file5":"1331151547","file3":"1331151487"},"map_files_photo_id_array":[{"photo_id":"1331151547","filename":"file5"},{"photo_id":"1331151470","filename":"file2"},{"photo_id":"1331151534","filename":"file4"},{"photo_id":"1331151434","filename":"file1"},{"photo_id":"1331151406","filename":"file0"},{"photo_id":"1331151487","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331151406":["hashtag1","hashtag2"]},{"1331151534":["hashtag1","hashtag2"]},{"1331151470":["hashtag1","hashtag2"]},{"1331151434":["hashtag1","hashtag2"]},{"1331151487":["hashtag1","hashtag2"]},{"1331151547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331151406, 1331151534, 1331151470, 1331151434, 1331151487, 1331151547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.34162449836731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:27:32.202888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_02_407774_0000.jpg', '/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_02_407774_0001.jpg', '/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_02_407774_0002.jpg', '/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_02_407774_0003.jpg', '/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_02_675765_0000.jpg', '/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_02_675765_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_02_407774_0000.jpg
/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_02_407774_0001.jpg
/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_02_407774_0002.jpg
/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_02_407774_0003.jpg
/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_02_675765_0000.jpg
/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_02_675765_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331152152","1331151972","1331152209","1331152211","1331152042","1331152150"],"photo_ids_order":["1331151972","1331152042","1331152150","1331152152","1331152209","1331152211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/95c283c28c6e92635f2c3afb7fcacd36.jpg","text":"TemporaryFile(/tmp/multipartBody871978676012624744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757747595,"filename":"image_24012025_21_04_02_407774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ad217b398fcba44f734bb7ea2ac812b8.jpg","text":"TemporaryFile(/tmp/multipartBody3131255808243404796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757747595,"filename":"image_24012025_21_04_02_407774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1259608ece5bbfdec729a54bab1e714.jpg","text":"TemporaryFile(/tmp/multipartBody6731557985744472665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757747595,"filename":"image_24012025_21_05_02_675765_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0ada5ce8bfaae7f121131a76d3eb6677.jpg","text":"TemporaryFile(/tmp/multipartBody4974358700924763122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757747595,"filename":"image_24012025_21_05_02_675765_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3d046200da432823a930c29cf3720824.jpg","text":"TemporaryFile(/tmp/multipartBody385817525777499642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757747595,"filename":"image_24012025_21_04_02_407774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/53d42863378411fdcf53467557b8f8fc.jpg","text":"TemporaryFile(/tmp/multipartBody8187630312225294048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757747595,"filename":"image_24012025_21_04_02_407774_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331152150","file1":"1331152042","file0":"1331151972","file4":"1331152209","file5":"1331152211","file3":"1331152152"},"map_files_photo_id_array":[{"photo_id":"1331152211","filename":"file5"},{"photo_id":"1331152150","filename":"file2"},{"photo_id":"1331152209","filename":"file4"},{"photo_id":"1331152042","filename":"file1"},{"photo_id":"1331151972","filename":"file0"},{"photo_id":"1331152152","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331152152":["hashtag1","hashtag2"]},{"1331151972":["hashtag1","hashtag2"]},{"1331152209":["hashtag1","hashtag2"]},{"1331152211":["hashtag1","hashtag2"]},{"1331152042":["hashtag1","hashtag2"]},{"1331152150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331152152, 1331151972, 1331152209, 1331152211, 1331152042, 1331152150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.92694139480591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 23:29:03.257688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_02_675765_0002.jpg', '/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_02_675765_0003.jpg', '/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_02_814889_0000.jpg', '/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_02_814889_0001.jpg', '/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_02_814889_0002.jpg', '/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_02_814889_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_02_675765_0002.jpg
/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_02_675765_0003.jpg
/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_02_814889_0000.jpg
/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_02_814889_0001.jpg
/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_02_814889_0002.jpg
/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_02_814889_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331152326","1331152346","1331152351","1331152342","1331152339","1331152330"],"photo_ids_order":["1331152326","1331152330","1331152339","1331152342","1331152346","1331152351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/31b1b743f1a1fc9acced192a5601710e.jpg","text":"TemporaryFile(/tmp/multipartBody7010607404835401992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757829263,"filename":"image_24012025_21_05_02_675765_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/020c128d64dd43d71a355e3742cd0ffe.jpg","text":"TemporaryFile(/tmp/multipartBody5599344032575425197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757829263,"filename":"image_24012025_21_06_02_814889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1ebf2182105248e5fe6980a1d1a32e8e.jpg","text":"TemporaryFile(/tmp/multipartBody973761411823670369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757829263,"filename":"image_24012025_21_06_02_814889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/96122d7a14722844bc089801e022d5db.jpg","text":"TemporaryFile(/tmp/multipartBody5381634174738443391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757829263,"filename":"image_24012025_21_06_02_814889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c4a1d81d1e0e8c72fac1d669e01c6293.jpg","text":"TemporaryFile(/tmp/multipartBody3527608121255389671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757829263,"filename":"image_24012025_21_06_02_814889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1acc1042844a55901beb32b4a99e90d6.jpg","text":"TemporaryFile(/tmp/multipartBody8784545951372766225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757829263,"filename":"image_24012025_21_05_02_675765_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331152339","file1":"1331152330","file0":"1331152326","file4":"1331152346","file5":"1331152351","file3":"1331152342"},"map_files_photo_id_array":[{"photo_id":"1331152351","filename":"file5"},{"photo_id":"1331152339","filename":"file2"},{"photo_id":"1331152346","filename":"file4"},{"photo_id":"1331152330","filename":"file1"},{"photo_id":"1331152326","filename":"file0"},{"photo_id":"1331152342","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331152326":["hashtag1","hashtag2"]},{"1331152346":["hashtag1","hashtag2"]},{"1331152351":["hashtag1","hashtag2"]},{"1331152342":["hashtag1","hashtag2"]},{"1331152339":["hashtag1","hashtag2"]},{"1331152330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331152326, 1331152346, 1331152351, 1331152342, 1331152339, 1331152330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.81282949447632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:30:32.784523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_02_990993_0000.jpg', '/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_02_990993_0001.jpg', '/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_02_990993_0002.jpg', '/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_02_990993_0003.jpg', '/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_02_210727_0000.jpg', '/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_02_210727_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_02_990993_0000.jpg
/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_02_990993_0001.jpg
/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_02_990993_0002.jpg
/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_02_990993_0003.jpg
/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_02_210727_0000.jpg
/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_02_210727_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331152842","1331152793","1331152553","1331152672","1331152764","1331152686"],"photo_ids_order":["1331152553","1331152672","1331152686","1331152764","1331152793","1331152842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d5d909dd71a64f563d91c3e3d36884c9.jpg","text":"TemporaryFile(/tmp/multipartBody6893959516173518171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757919561,"filename":"image_24012025_21_08_02_210727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ce8b75a656d8e9a9c948771fd0516123.jpg","text":"TemporaryFile(/tmp/multipartBody3208142095954321187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757919561,"filename":"image_24012025_21_08_02_210727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9315a8ff08b8c6bec2085c1f3e1a7354.jpg","text":"TemporaryFile(/tmp/multipartBody3085761736981771501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757919561,"filename":"image_24012025_21_07_02_990993_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a58d70806d5f2a9ef9e8bdee80378fe.jpg","text":"TemporaryFile(/tmp/multipartBody9127733212867128432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757919561,"filename":"image_24012025_21_07_02_990993_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c835dd17b63fd8357dfa67e01431a0f6.jpg","text":"TemporaryFile(/tmp/multipartBody9064346226965870270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757919561,"filename":"image_24012025_21_07_02_990993_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/606e195712eda0fe89e4a75ffb45f300.jpg","text":"TemporaryFile(/tmp/multipartBody6047032438736512956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737757919561,"filename":"image_24012025_21_07_02_990993_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331152686","file1":"1331152672","file0":"1331152553","file4":"1331152793","file5":"1331152842","file3":"1331152764"},"map_files_photo_id_array":[{"photo_id":"1331152842","filename":"file5"},{"photo_id":"1331152686","filename":"file2"},{"photo_id":"1331152793","filename":"file4"},{"photo_id":"1331152672","filename":"file1"},{"photo_id":"1331152553","filename":"file0"},{"photo_id":"1331152764","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331152842":["hashtag1","hashtag2"]},{"1331152793":["hashtag1","hashtag2"]},{"1331152553":["hashtag1","hashtag2"]},{"1331152672":["hashtag1","hashtag2"]},{"1331152764":["hashtag1","hashtag2"]},{"1331152686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331152842, 1331152793, 1331152553, 1331152672, 1331152764, 1331152686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.21925163269043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:31:51.904608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_02_210727_0002.jpg', '/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_02_210727_0003.jpg', '/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_02_391937_0000.jpg', '/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_02_391937_0001.jpg', '/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_02_391937_0002.jpg', '/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_02_391937_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_02_210727_0002.jpg
/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_02_210727_0003.jpg
/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_02_391937_0000.jpg
/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_02_391937_0001.jpg
/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_02_391937_0002.jpg
/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_02_391937_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331152985","1331152997","1331152976","1331152990","1331153005","1331152980"],"photo_ids_order":["1331152976","1331152980","1331152985","1331152990","1331152997","1331153005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/91bef12700bc1a823a926d76fb938eba.jpg","text":"TemporaryFile(/tmp/multipartBody2313009494597286429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758010052,"filename":"image_24012025_21_09_02_391937_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/337b77ed1ca6d6313b669a8b5a4b84f6.jpg","text":"TemporaryFile(/tmp/multipartBody2715924322930168651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758010052,"filename":"image_24012025_21_09_02_391937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bae5112e25d08681d32c02fbed974fec.jpg","text":"TemporaryFile(/tmp/multipartBody363486376789427159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758010052,"filename":"image_24012025_21_08_02_210727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4f2f4593568c856e0e7e3f3f898610c8.jpg","text":"TemporaryFile(/tmp/multipartBody3373362481892998598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758010052,"filename":"image_24012025_21_09_02_391937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ecf8e1cd23a307760e426d4655df7a8e.jpg","text":"TemporaryFile(/tmp/multipartBody360252248042406388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758010052,"filename":"image_24012025_21_09_02_391937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/48de25c52b60bf1dc3985cb580a72fec.jpg","text":"TemporaryFile(/tmp/multipartBody6753507969641409852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758010052,"filename":"image_24012025_21_08_02_210727_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331152985","file1":"1331152980","file0":"1331152976","file4":"1331152997","file5":"1331153005","file3":"1331152990"},"map_files_photo_id_array":[{"photo_id":"1331153005","filename":"file5"},{"photo_id":"1331152985","filename":"file2"},{"photo_id":"1331152997","filename":"file4"},{"photo_id":"1331152980","filename":"file1"},{"photo_id":"1331152976","filename":"file0"},{"photo_id":"1331152990","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331152985":["hashtag1","hashtag2"]},{"1331152997":["hashtag1","hashtag2"]},{"1331152976":["hashtag1","hashtag2"]},{"1331152990":["hashtag1","hashtag2"]},{"1331153005":["hashtag1","hashtag2"]},{"1331152980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331152985, 1331152997, 1331152976, 1331152990, 1331153005, 1331152980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.69266033172607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:33:32.206826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_02_596178_0000.jpg', '/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_02_596178_0001.jpg', '/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_02_596178_0002.jpg', '/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_02_596178_0003.jpg', '/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_02_678127_0000.jpg', '/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_02_678127_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_02_596178_0000.jpg
/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_02_596178_0001.jpg
/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_02_596178_0002.jpg
/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_02_596178_0003.jpg
/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_02_678127_0000.jpg
/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_02_678127_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331153022","1331153016","1331153051","1331153053","1331153047","1331153052"],"photo_ids_order":["1331153016","1331153022","1331153047","1331153051","1331153052","1331153053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6842bace2aa3d71e96b0e1d534aac46c.jpg","text":"TemporaryFile(/tmp/multipartBody7051550953108863090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758098391,"filename":"image_24012025_21_10_02_596178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2a796ffc429ac5e565c3663ee3dd9000.jpg","text":"TemporaryFile(/tmp/multipartBody6150886768223321036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758098391,"filename":"image_24012025_21_10_02_596178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51389d2e3f788343457b5d9cc61d9ea3.jpg","text":"TemporaryFile(/tmp/multipartBody8623367908065835510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758098391,"filename":"image_24012025_21_10_02_596178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8cc879c2738f24f37c28377459dc5b7b.jpg","text":"TemporaryFile(/tmp/multipartBody3793697852974903811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758098391,"filename":"image_24012025_21_11_02_678127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9228762854a56a2fb1a2d96a13a9efa5.jpg","text":"TemporaryFile(/tmp/multipartBody6181878854740122757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758098391,"filename":"image_24012025_21_10_02_596178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/97242eb03016f7098cbf04e29023d250.jpg","text":"TemporaryFile(/tmp/multipartBody6233699594133854770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758098391,"filename":"image_24012025_21_11_02_678127_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331153047","file1":"1331153022","file0":"1331153016","file4":"1331153052","file5":"1331153053","file3":"1331153051"},"map_files_photo_id_array":[{"photo_id":"1331153053","filename":"file5"},{"photo_id":"1331153047","filename":"file2"},{"photo_id":"1331153052","filename":"file4"},{"photo_id":"1331153022","filename":"file1"},{"photo_id":"1331153016","filename":"file0"},{"photo_id":"1331153051","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331153022":["hashtag1","hashtag2"]},{"1331153016":["hashtag1","hashtag2"]},{"1331153051":["hashtag1","hashtag2"]},{"1331153053":["hashtag1","hashtag2"]},{"1331153047":["hashtag1","hashtag2"]},{"1331153052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331153022, 1331153016, 1331153051, 1331153053, 1331153047, 1331153052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.85689687728882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 23:35:03.168700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_02_678127_0002.jpg', '/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_02_678127_0003.jpg', '/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_02_888894_0000.jpg', '/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_02_888894_0001.jpg', '/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_02_888894_0002.jpg', '/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_02_888894_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_02_678127_0002.jpg
/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_02_678127_0003.jpg
/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_02_888894_0000.jpg
/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_02_888894_0001.jpg
/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_02_888894_0002.jpg
/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_02_888894_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331153247","1331153307","1331153348","1331153135","1331153374","1331153244"],"photo_ids_order":["1331153135","1331153244","1331153247","1331153307","1331153348","1331153374"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/edbee29f4b9dd21cb82838c855b740a7.jpg","text":"TemporaryFile(/tmp/multipartBody2562597123044639711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758208944,"filename":"image_24012025_21_12_02_888894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1a0e884f0cb0142b892112f937bfc2d0.jpg","text":"TemporaryFile(/tmp/multipartBody6431965247892175489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758208944,"filename":"image_24012025_21_12_02_888894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5197e19ccdfc59578d2965c49832bf17.jpg","text":"TemporaryFile(/tmp/multipartBody8210513646885433218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758208944,"filename":"image_24012025_21_12_02_888894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d99280ccbabf5b13b55062481aac0270.jpg","text":"TemporaryFile(/tmp/multipartBody8755763079924307961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758208944,"filename":"image_24012025_21_11_02_678127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e4509625aadc22aa647e845fa2d9d1c4.jpg","text":"TemporaryFile(/tmp/multipartBody1175849233300264881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758208944,"filename":"image_24012025_21_12_02_888894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/6cede4eaadf44be0939835c06f55e3b7.jpg","text":"TemporaryFile(/tmp/multipartBody7773748696599696536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758208944,"filename":"image_24012025_21_11_02_678127_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331153247","file1":"1331153244","file0":"1331153135","file4":"1331153348","file5":"1331153374","file3":"1331153307"},"map_files_photo_id_array":[{"photo_id":"1331153374","filename":"file5"},{"photo_id":"1331153247","filename":"file2"},{"photo_id":"1331153348","filename":"file4"},{"photo_id":"1331153244","filename":"file1"},{"photo_id":"1331153135","filename":"file0"},{"photo_id":"1331153307","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331153247":["hashtag1","hashtag2"]},{"1331153307":["hashtag1","hashtag2"]},{"1331153348":["hashtag1","hashtag2"]},{"1331153135":["hashtag1","hashtag2"]},{"1331153374":["hashtag1","hashtag2"]},{"1331153244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331153247, 1331153307, 1331153348, 1331153135, 1331153374, 1331153244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.15561962127686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-24 23:36:42.745510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0000.jpg', '/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0001.jpg', '/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0002.jpg', '/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0003.jpg', '/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_02_253491_0000.jpg', '/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_02_253491_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0000.jpg
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0001.jpg
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0002.jpg
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0003.jpg
/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_02_253491_0000.jpg
/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_02_253491_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 43.58576560020447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:37:31.938960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0000.jpg', '/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0001.jpg', '/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0002.jpg', '/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0003.jpg', '/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_02_253491_0000.jpg', '/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_02_253491_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0000.jpg
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0001.jpg
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0002.jpg
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_03_091706_0003.jpg
/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_02_253491_0000.jpg
/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_02_253491_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331153459","1331153414","1331153422","1331153454","1331153457","1331153436"],"photo_ids_order":["1331153414","1331153422","1331153436","1331153454","1331153457","1331153459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c429d3c2fe6d21c949b3e06199876b04.jpg","text":"TemporaryFile(/tmp/multipartBody7903984127006237983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758340219,"filename":"image_24012025_21_14_02_253491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/54543c54cb15f9d996c791f7f20bb21c.jpg","text":"TemporaryFile(/tmp/multipartBody6706048188609906484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758340219,"filename":"image_24012025_21_13_03_091706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c41757e24fa8b6842a0634a61df2a62c.jpg","text":"TemporaryFile(/tmp/multipartBody1544415328035327428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758340219,"filename":"image_24012025_21_13_03_091706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/850cc56f8d42a0c8b69320dcf711c276.jpg","text":"TemporaryFile(/tmp/multipartBody8972837477068317026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758340219,"filename":"image_24012025_21_13_03_091706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1f3e4368bf876b9b858b943cc8bfff01.jpg","text":"TemporaryFile(/tmp/multipartBody7036108559713218917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758340219,"filename":"image_24012025_21_14_02_253491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8fd665f951b65ac09877ee658b2f2426.jpg","text":"TemporaryFile(/tmp/multipartBody95136489011140725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758340219,"filename":"image_24012025_21_13_03_091706_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331153436","file1":"1331153422","file0":"1331153414","file4":"1331153457","file5":"1331153459","file3":"1331153454"},"map_files_photo_id_array":[{"photo_id":"1331153459","filename":"file5"},{"photo_id":"1331153436","filename":"file2"},{"photo_id":"1331153457","filename":"file4"},{"photo_id":"1331153422","filename":"file1"},{"photo_id":"1331153414","filename":"file0"},{"photo_id":"1331153454","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331153459":["hashtag1","hashtag2"]},{"1331153414":["hashtag1","hashtag2"]},{"1331153422":["hashtag1","hashtag2"]},{"1331153454":["hashtag1","hashtag2"]},{"1331153457":["hashtag1","hashtag2"]},{"1331153436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331153459, 1331153414, 1331153422, 1331153454, 1331153457, 1331153436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.92959904670715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 23:39:02.938719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_02_253491_0002.jpg', '/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_02_253491_0003.jpg', '/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_02_536441_0000.jpg', '/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_02_536441_0001.jpg', '/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_02_536441_0002.jpg', '/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_02_536441_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_02_253491_0002.jpg
/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_02_253491_0003.jpg
/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_02_536441_0000.jpg
/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_02_536441_0001.jpg
/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_02_536441_0002.jpg
/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_02_536441_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331153517","1331153511","1331153491","1331153603","1331153595","1331153478"],"photo_ids_order":["1331153478","1331153491","1331153511","1331153517","1331153595","1331153603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/58521809ac9591b3bfbb585bce14b457.jpg","text":"TemporaryFile(/tmp/multipartBody5752272051129440667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758429803,"filename":"image_24012025_21_15_02_536441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c18f2943e4def575486f8e1627c396d5.jpg","text":"TemporaryFile(/tmp/multipartBody3344457928310750799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758429803,"filename":"image_24012025_21_15_02_536441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/4e22ca03f6b1cb35076490b8ae8891dc.jpg","text":"TemporaryFile(/tmp/multipartBody348998802200899798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758429803,"filename":"image_24012025_21_14_02_253491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8689f7b8e191dd0bf3ee5d0a1d56e527.jpg","text":"TemporaryFile(/tmp/multipartBody6248794768705775373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758429803,"filename":"image_24012025_21_15_02_536441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ff0354e4c991783fdcad9ad7066032c8.jpg","text":"TemporaryFile(/tmp/multipartBody1513586248221117815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758429803,"filename":"image_24012025_21_15_02_536441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1271af0e399d33e6effa48a70ee2ed94.jpg","text":"TemporaryFile(/tmp/multipartBody6369381319270396946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758429803,"filename":"image_24012025_21_14_02_253491_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331153511","file1":"1331153491","file0":"1331153478","file4":"1331153595","file5":"1331153603","file3":"1331153517"},"map_files_photo_id_array":[{"photo_id":"1331153603","filename":"file5"},{"photo_id":"1331153511","filename":"file2"},{"photo_id":"1331153595","filename":"file4"},{"photo_id":"1331153491","filename":"file1"},{"photo_id":"1331153478","filename":"file0"},{"photo_id":"1331153517","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331153517":["hashtag1","hashtag2"]},{"1331153511":["hashtag1","hashtag2"]},{"1331153491":["hashtag1","hashtag2"]},{"1331153603":["hashtag1","hashtag2"]},{"1331153595":["hashtag1","hashtag2"]},{"1331153478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331153517, 1331153511, 1331153491, 1331153603, 1331153595, 1331153478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.27105689048767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:40:32.518071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0000.jpg', '/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0001.jpg', '/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0002.jpg', '/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0003.jpg', '/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_02_928144_0000.jpg', '/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_02_928144_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0000.jpg
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0001.jpg
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0002.jpg
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0003.jpg
/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_02_928144_0000.jpg
/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_02_928144_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 32.91928577423096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 23:41:22.743882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0000.jpg', '/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0001.jpg', '/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0002.jpg', '/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0003.jpg', '/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_02_928144_0000.jpg', '/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_02_928144_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0000.jpg
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0001.jpg
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0002.jpg
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_02_668567_0003.jpg
/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_02_928144_0000.jpg
/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_02_928144_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331153774","1331153753","1331153770","1331153764","1331153758","1331153752"],"photo_ids_order":["1331153752","1331153753","1331153758","1331153764","1331153770","1331153774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f086ffd9808abb9110fdf7fbe1d1385.jpg","text":"TemporaryFile(/tmp/multipartBody5461348526460815551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758570834,"filename":"image_24012025_21_17_02_928144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ec7e5fdd76bfef0ec56f116420b69f05.jpg","text":"TemporaryFile(/tmp/multipartBody4799339808919390086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758570834,"filename":"image_24012025_21_16_02_668567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8b361f55e8f517c0f50028e5f67601f1.jpg","text":"TemporaryFile(/tmp/multipartBody2884089766792450787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758570834,"filename":"image_24012025_21_17_02_928144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/975abc6507847243cbbe2eb11fd8424f.jpg","text":"TemporaryFile(/tmp/multipartBody3101580597143389191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758570834,"filename":"image_24012025_21_16_02_668567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/39ccb574315a0d50d190263f8dc700b2.jpg","text":"TemporaryFile(/tmp/multipartBody4245783795150462171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758570834,"filename":"image_24012025_21_16_02_668567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ba53dce57285dc0110da7404f941d1e7.jpg","text":"TemporaryFile(/tmp/multipartBody5098706115446476347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758570834,"filename":"image_24012025_21_16_02_668567_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331153758","file1":"1331153753","file0":"1331153752","file4":"1331153770","file5":"1331153774","file3":"1331153764"},"map_files_photo_id_array":[{"photo_id":"1331153774","filename":"file5"},{"photo_id":"1331153758","filename":"file2"},{"photo_id":"1331153770","filename":"file4"},{"photo_id":"1331153753","filename":"file1"},{"photo_id":"1331153752","filename":"file0"},{"photo_id":"1331153764","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331153774":["hashtag1","hashtag2"]},{"1331153753":["hashtag1","hashtag2"]},{"1331153770":["hashtag1","hashtag2"]},{"1331153764":["hashtag1","hashtag2"]},{"1331153758":["hashtag1","hashtag2"]},{"1331153752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331153774, 1331153753, 1331153770, 1331153764, 1331153758, 1331153752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.08346891403198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:42:51.895804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_02_928144_0002.jpg', '/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_02_928144_0003.jpg', '/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_03_062423_0000.jpg', '/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_03_062423_0001.jpg', '/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_03_062423_0002.jpg', '/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_03_062423_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_02_928144_0002.jpg
/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_02_928144_0003.jpg
/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_03_062423_0000.jpg
/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_03_062423_0001.jpg
/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_03_062423_0002.jpg
/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_03_062423_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331154476","1331154251","1331153962","1331154736","1331153800","1331153850"],"photo_ids_order":["1331153800","1331153850","1331153962","1331154251","1331154476","1331154736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/982fc23d703533d8416887643ae21415.jpg","text":"TemporaryFile(/tmp/multipartBody4625765066240679925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758663022,"filename":"image_24012025_21_18_03_062423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d2cd426f69d720286f6e9ff043438bb5.jpg","text":"TemporaryFile(/tmp/multipartBody5431992025466074144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758663022,"filename":"image_24012025_21_18_03_062423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/ebc45db61c2de73fc0617da9a64f6902.jpg","text":"TemporaryFile(/tmp/multipartBody1218134115646141146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758663022,"filename":"image_24012025_21_18_03_062423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/43e215acb51110704092829c4a39e5fc.jpg","text":"TemporaryFile(/tmp/multipartBody8643555094626796218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758663022,"filename":"image_24012025_21_18_03_062423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e9222f44f48e7ec440eee17cc38a0ddc.jpg","text":"TemporaryFile(/tmp/multipartBody4198340100204663027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758663022,"filename":"image_24012025_21_17_02_928144_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/0af9d5585f65864257fd4b827c211968.jpg","text":"TemporaryFile(/tmp/multipartBody3928717121239457654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758663022,"filename":"image_24012025_21_17_02_928144_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331153962","file1":"1331153850","file0":"1331153800","file4":"1331154476","file5":"1331154736","file3":"1331154251"},"map_files_photo_id_array":[{"photo_id":"1331154736","filename":"file5"},{"photo_id":"1331153962","filename":"file2"},{"photo_id":"1331154476","filename":"file4"},{"photo_id":"1331153850","filename":"file1"},{"photo_id":"1331153800","filename":"file0"},{"photo_id":"1331154251","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331154476":["hashtag1","hashtag2"]},{"1331154251":["hashtag1","hashtag2"]},{"1331153962":["hashtag1","hashtag2"]},{"1331154736":["hashtag1","hashtag2"]},{"1331153800":["hashtag1","hashtag2"]},{"1331153850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331154476, 1331154251, 1331153962, 1331154736, 1331153800, 1331153850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.3309416770935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:44:32.299354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_02_262105_0000.jpg', '/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_02_262105_0001.jpg', '/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_02_262105_0002.jpg', '/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_02_262105_0003.jpg', '/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_02_397059_0000.jpg', '/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_02_397059_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_02_262105_0000.jpg
/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_02_262105_0001.jpg
/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_02_262105_0002.jpg
/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_02_262105_0003.jpg
/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_02_397059_0000.jpg
/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_02_397059_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331155016","1331155024","1331154982","1331154970","1331155020","1331154987"],"photo_ids_order":["1331154970","1331154982","1331154987","1331155016","1331155020","1331155024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51d73e71415b4977e28b453580cc9b08.jpg","text":"TemporaryFile(/tmp/multipartBody2589682664236267604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758770363,"filename":"image_24012025_21_19_02_262105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a42cbb8cbf2992c24bff011b27a441a4.jpg","text":"TemporaryFile(/tmp/multipartBody2438051883767623487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758770363,"filename":"image_24012025_21_20_02_397059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3ff3909858cf950758aafa3fb01366f8.jpg","text":"TemporaryFile(/tmp/multipartBody8697600119492974300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758770363,"filename":"image_24012025_21_19_02_262105_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23cdfa9181a1037160ba02c3ba288e86.jpg","text":"TemporaryFile(/tmp/multipartBody1971121590739979139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758770363,"filename":"image_24012025_21_19_02_262105_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/23221afa1628ad00e8a16c9750f95112.jpg","text":"TemporaryFile(/tmp/multipartBody5268692972741247576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758770363,"filename":"image_24012025_21_20_02_397059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/95cdffc85a7afae694a93ecc4a341be0.jpg","text":"TemporaryFile(/tmp/multipartBody16348313512034722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758770363,"filename":"image_24012025_21_19_02_262105_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331154987","file1":"1331154982","file0":"1331154970","file4":"1331155020","file5":"1331155024","file3":"1331155016"},"map_files_photo_id_array":[{"photo_id":"1331155024","filename":"file5"},{"photo_id":"1331154987","filename":"file2"},{"photo_id":"1331155020","filename":"file4"},{"photo_id":"1331154982","filename":"file1"},{"photo_id":"1331154970","filename":"file0"},{"photo_id":"1331155016","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331155016":["hashtag1","hashtag2"]},{"1331155024":["hashtag1","hashtag2"]},{"1331154982":["hashtag1","hashtag2"]},{"1331154970":["hashtag1","hashtag2"]},{"1331155020":["hashtag1","hashtag2"]},{"1331154987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331155016, 1331155024, 1331154982, 1331154970, 1331155020, 1331154987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.64994025230408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 23:46:22.616372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_02_397059_0002.jpg', '/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_02_397059_0003.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0000.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0001.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0002.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_02_397059_0002.jpg
/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_02_397059_0003.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0000.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0001.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0002.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0003.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 47.949458599090576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 23:47:21.947837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_02_397059_0002.jpg', '/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_02_397059_0003.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0000.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0001.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0002.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_02_397059_0002.jpg
/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_02_397059_0003.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0000.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0001.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0002.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_02_469069_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331156719","1331156704","1331156718","1331156631","1331156717","1331156627"],"photo_ids_order":["1331156627","1331156631","1331156704","1331156717","1331156718","1331156719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2bdaeed00645f7b86b21464c0cd45546.jpg","text":"TemporaryFile(/tmp/multipartBody944777999597827391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758931847,"filename":"image_24012025_21_21_02_469069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/295063911b4092e20ec991adfcd979b8.jpg","text":"TemporaryFile(/tmp/multipartBody4808416296590872917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758931847,"filename":"image_24012025_21_21_02_469069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fbfb2e09f3649c6637da7f21105f82e1.jpg","text":"TemporaryFile(/tmp/multipartBody5898997116682149799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758931847,"filename":"image_24012025_21_21_02_469069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e47c1b81923b65b4e7e8744d18c866a9.jpg","text":"TemporaryFile(/tmp/multipartBody9140640239888140486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758931847,"filename":"image_24012025_21_20_02_397059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/29adf4b8ab24e8cbf22d3a2fdb294fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8599066364744656093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758931847,"filename":"image_24012025_21_21_02_469069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/c189465c1704cf60c099dcc152c7a146.jpg","text":"TemporaryFile(/tmp/multipartBody5362123400572515778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737758931847,"filename":"image_24012025_21_20_02_397059_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331156704","file1":"1331156631","file0":"1331156627","file4":"1331156718","file5":"1331156719","file3":"1331156717"},"map_files_photo_id_array":[{"photo_id":"1331156719","filename":"file5"},{"photo_id":"1331156704","filename":"file2"},{"photo_id":"1331156718","filename":"file4"},{"photo_id":"1331156631","filename":"file1"},{"photo_id":"1331156627","filename":"file0"},{"photo_id":"1331156717","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331156719":["hashtag1","hashtag2"]},{"1331156704":["hashtag1","hashtag2"]},{"1331156718":["hashtag1","hashtag2"]},{"1331156631":["hashtag1","hashtag2"]},{"1331156717":["hashtag1","hashtag2"]},{"1331156627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331156719, 1331156704, 1331156718, 1331156631, 1331156717, 1331156627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.62099885940552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:48:52.008444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_02_730094_0000.jpg', '/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_02_730094_0001.jpg', '/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_02_730094_0002.jpg', '/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_02_730094_0003.jpg', '/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_02_884403_0000.jpg', '/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_02_884403_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_02_730094_0000.jpg
/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_02_730094_0001.jpg
/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_02_730094_0002.jpg
/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_02_730094_0003.jpg
/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_02_884403_0000.jpg
/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_02_884403_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331156745","1331156748","1331156753","1331156747","1331156741","1331156750"],"photo_ids_order":["1331156741","1331156745","1331156747","1331156748","1331156750","1331156753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/49a057fdc49dfb92e543fe1b90e9ebb5.jpg","text":"TemporaryFile(/tmp/multipartBody14479782867182735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759013668,"filename":"image_24012025_21_22_02_730094_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f0770e094ab16b5c703e885ed08e8219.jpg","text":"TemporaryFile(/tmp/multipartBody7800073359662059975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759013668,"filename":"image_24012025_21_22_02_730094_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/edc26355cc326fc6b2ab5b1827091a51.jpg","text":"TemporaryFile(/tmp/multipartBody4649332619241808498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759013668,"filename":"image_24012025_21_23_02_884403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/704323b0936e7d3b7f3b068be439e316.jpg","text":"TemporaryFile(/tmp/multipartBody968636843861394653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759013668,"filename":"image_24012025_21_22_02_730094_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3816acddf220bfd24d789fe38da81c6a.jpg","text":"TemporaryFile(/tmp/multipartBody8906535607079996313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759013668,"filename":"image_24012025_21_22_02_730094_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ce05aa9505032d678d133e8d15f7bfa.jpg","text":"TemporaryFile(/tmp/multipartBody8887860889738650753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759013668,"filename":"image_24012025_21_23_02_884403_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331156747","file1":"1331156745","file0":"1331156741","file4":"1331156750","file5":"1331156753","file3":"1331156748"},"map_files_photo_id_array":[{"photo_id":"1331156753","filename":"file5"},{"photo_id":"1331156747","filename":"file2"},{"photo_id":"1331156750","filename":"file4"},{"photo_id":"1331156745","filename":"file1"},{"photo_id":"1331156741","filename":"file0"},{"photo_id":"1331156748","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331156745":["hashtag1","hashtag2"]},{"1331156748":["hashtag1","hashtag2"]},{"1331156753":["hashtag1","hashtag2"]},{"1331156747":["hashtag1","hashtag2"]},{"1331156741":["hashtag1","hashtag2"]},{"1331156750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331156745, 1331156748, 1331156753, 1331156747, 1331156741, 1331156750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.6386833190918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 23:50:22.392176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_02_884403_0002.jpg', '/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_02_884403_0003.jpg', '/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_03_078189_0000.jpg', '/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_03_078189_0001.jpg', '/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_03_078189_0002.jpg', '/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_03_078189_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_02_884403_0002.jpg
/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_02_884403_0003.jpg
/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_03_078189_0000.jpg
/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_03_078189_0001.jpg
/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_03_078189_0002.jpg
/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_03_078189_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331156997","1331156818","1331157111","1331156823","1331156882","1331156878"],"photo_ids_order":["1331156818","1331156823","1331156878","1331156882","1331156997","1331157111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/5899eecaf84363049028bd2d7e12e7a0.jpg","text":"TemporaryFile(/tmp/multipartBody1004689116064872226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759128199,"filename":"image_24012025_21_24_03_078189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9d911474a040bf5349a8ed3dd1589053.jpg","text":"TemporaryFile(/tmp/multipartBody7628803347800723382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759128199,"filename":"image_24012025_21_23_02_884403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/08dfc9c0b010fb9c646dadd2b623a4bb.jpg","text":"TemporaryFile(/tmp/multipartBody5329315438533371810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759128199,"filename":"image_24012025_21_24_03_078189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/76fbe43b2380463dc4a82573a904d55f.jpg","text":"TemporaryFile(/tmp/multipartBody2849992406409275272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759128199,"filename":"image_24012025_21_23_02_884403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/fd09473dd444363b4ba196f86cc3622e.jpg","text":"TemporaryFile(/tmp/multipartBody1519910831069778786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759128199,"filename":"image_24012025_21_24_03_078189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/9b8196270e0cd955cc8a4c6b2a192c9b.jpg","text":"TemporaryFile(/tmp/multipartBody3151288316433982028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759128199,"filename":"image_24012025_21_24_03_078189_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331156878","file1":"1331156823","file0":"1331156818","file4":"1331156997","file5":"1331157111","file3":"1331156882"},"map_files_photo_id_array":[{"photo_id":"1331157111","filename":"file5"},{"photo_id":"1331156878","filename":"file2"},{"photo_id":"1331156997","filename":"file4"},{"photo_id":"1331156823","filename":"file1"},{"photo_id":"1331156818","filename":"file0"},{"photo_id":"1331156882","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331156997":["hashtag1","hashtag2"]},{"1331156818":["hashtag1","hashtag2"]},{"1331157111":["hashtag1","hashtag2"]},{"1331156823":["hashtag1","hashtag2"]},{"1331156882":["hashtag1","hashtag2"]},{"1331156878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331156997, 1331156818, 1331157111, 1331156823, 1331156882, 1331156878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.81293082237244 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 23:52:21.714345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0000.jpg', '/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0001.jpg', '/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0002.jpg', '/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0003.jpg', '/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0000.jpg', '/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0000.jpg
/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0001.jpg
/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0002.jpg
/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0003.jpg
/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0000.jpg
/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0001.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 44.59782147407532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-24 23:53:22.049467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0000.jpg', '/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0001.jpg', '/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0002.jpg', '/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0003.jpg', '/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0000.jpg', '/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0000.jpg
/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0001.jpg
/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0002.jpg
/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_02_333439_0003.jpg
/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0000.jpg
/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331157642","1331157641","1331157635","1331157638","1331157626","1331157619"],"photo_ids_order":["1331157619","1331157626","1331157635","1331157638","1331157641","1331157642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/40c9487667e609a2397de05ceea2f147.jpg","text":"TemporaryFile(/tmp/multipartBody7546677185169518897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759298107,"filename":"image_24012025_21_26_02_482695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3c33417322d9466d31d3d8957ff3063e.jpg","text":"TemporaryFile(/tmp/multipartBody7068786870459463075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759298107,"filename":"image_24012025_21_26_02_482695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8432a530f570dc3631f32d39e92b4789.jpg","text":"TemporaryFile(/tmp/multipartBody1185832573972108277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759298107,"filename":"image_24012025_21_25_02_333439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/04e308e7055faa91d9927837bcbd39c9.jpg","text":"TemporaryFile(/tmp/multipartBody5289163201608122879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759298107,"filename":"image_24012025_21_25_02_333439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/b972b2bd9644db33ddfead8048a885d9.jpg","text":"TemporaryFile(/tmp/multipartBody8162411575744446413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759298107,"filename":"image_24012025_21_25_02_333439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a1d9786d12b03e47ab113938d84d96f4.jpg","text":"TemporaryFile(/tmp/multipartBody1499090568204374790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759298107,"filename":"image_24012025_21_25_02_333439_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331157635","file1":"1331157626","file0":"1331157619","file4":"1331157641","file5":"1331157642","file3":"1331157638"},"map_files_photo_id_array":[{"photo_id":"1331157642","filename":"file5"},{"photo_id":"1331157635","filename":"file2"},{"photo_id":"1331157641","filename":"file4"},{"photo_id":"1331157626","filename":"file1"},{"photo_id":"1331157619","filename":"file0"},{"photo_id":"1331157638","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331157642":["hashtag1","hashtag2"]},{"1331157641":["hashtag1","hashtag2"]},{"1331157635":["hashtag1","hashtag2"]},{"1331157638":["hashtag1","hashtag2"]},{"1331157626":["hashtag1","hashtag2"]},{"1331157619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331157642, 1331157641, 1331157635, 1331157638, 1331157626, 1331157619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.0463216304779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:54:52.170718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0002.jpg', '/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0003.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0000.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0001.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0002.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0002.jpg
/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0003.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0000.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0001.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0002.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 34.653329610824585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-24 23:55:32.337619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0002.jpg', '/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0003.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0000.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0001.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0002.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0002.jpg
/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_02_482695_0003.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0000.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0001.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0002.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_02_672117_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331157882","1331157867","1331157831","1331157912","1331157884","1331157905"],"photo_ids_order":["1331157831","1331157867","1331157882","1331157884","1331157905","1331157912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/2ca4de7e96b563b7e1e47cc4dffe4e30.jpg","text":"TemporaryFile(/tmp/multipartBody1857554349660564569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759424446,"filename":"image_24012025_21_27_02_672117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d60e361c351c86d47e1b37d5f72b9be5.jpg","text":"TemporaryFile(/tmp/multipartBody6401340157724580277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759424446,"filename":"image_24012025_21_26_02_482695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/1c4910a2c548a1b49f9d0b0fbe187575.jpg","text":"TemporaryFile(/tmp/multipartBody373636657900676359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759424446,"filename":"image_24012025_21_26_02_482695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/26c5fc555d99a342e321cd2c82df8d13.jpg","text":"TemporaryFile(/tmp/multipartBody904530548748262858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759424446,"filename":"image_24012025_21_27_02_672117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/51bdd687233e3052763437d8dc4705b5.jpg","text":"TemporaryFile(/tmp/multipartBody7771293959204048406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759424446,"filename":"image_24012025_21_27_02_672117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/bca10fe03e115f6572ac0614fb9d8b5b.jpg","text":"TemporaryFile(/tmp/multipartBody8515951703752547379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759424446,"filename":"image_24012025_21_27_02_672117_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331157882","file1":"1331157867","file0":"1331157831","file4":"1331157905","file5":"1331157912","file3":"1331157884"},"map_files_photo_id_array":[{"photo_id":"1331157912","filename":"file5"},{"photo_id":"1331157882","filename":"file2"},{"photo_id":"1331157905","filename":"file4"},{"photo_id":"1331157867","filename":"file1"},{"photo_id":"1331157831","filename":"file0"},{"photo_id":"1331157884","filename":"file3"}],"portfolio_id":19862469,"hashtag_by_photo_ids":[{"1331157882":["hashtag1","hashtag2"]},{"1331157867":["hashtag1","hashtag2"]},{"1331157831":["hashtag1","hashtag2"]},{"1331157912":["hashtag1","hashtag2"]},{"1331157884":["hashtag1","hashtag2"]},{"1331157905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862469 used, photo_id : ArrayBuffer(1331157882, 1331157867, 1331157831, 1331157912, 1331157884, 1331157905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.62428903579712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-24 23:57:02.447836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862469
  datou_current_id : 2508272
in upload_from_sqlite, uploading in 19862469
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_02_931430_0000.jpg', '/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_02_931430_0001.jpg', '/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_02_931430_0002.jpg', '/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_02_931430_0003.jpg', '/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_03_174876_0000.jpg', '/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_03_174876_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2508272&datou=0
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_02_931430_0000.jpg
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_02_931430_0001.jpg
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_02_931430_0002.jpg
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_02_931430_0003.jpg
/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_03_174876_0000.jpg
/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_03_174876_0001.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! 
